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 return wxThread::IsMain();
151 class wxPyTipProvider
: public wxTipProvider
{
153 wxPyTipProvider(size_t currentTip
)
154 : wxTipProvider(currentTip
) {}
156 DEC_PYCALLBACK_STRING__pure(GetTip
);
161 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
164 #include <wx/generic/dragimgg.h>
166 // A Log class that can be derived from in wxPython
167 class wxPyLog
: public wxLog
{
169 wxPyLog() : wxLog() {}
171 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
173 wxPyTState
* state
= wxPyBeginBlockThreads();
174 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog")))
175 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(isi)", level
, szString
, t
));
176 wxPyEndBlockThreads(state
);
178 wxLog::DoLog(level
, szString
, t
);
181 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
183 wxPyTState
* state
= wxPyBeginBlockThreads();
184 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString")))
185 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(si)", szString
, t
));
186 wxPyEndBlockThreads(state
);
188 wxLog::DoLogString(szString
, t
);
193 // C++ version of wxProcess derived class
195 class wxPyProcess
: public wxProcess
{
197 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
198 : wxProcess(parent
, id
)
201 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
206 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
209 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
210 // A C++ stub class for wxJoystick for platforms that don't have it.
211 class wxJoystick
: public wxObject
{
213 wxJoystick(int joystick
= wxJOYSTICK1
) {
214 wxPyTState
* state
= wxPyBeginBlockThreads();
215 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
216 wxPyEndBlockThreads(state
);
218 wxPoint
GetPosition() { return wxPoint(-1,-1); }
219 int GetZPosition() { return -1; }
220 int GetButtonState() { return -1; }
221 int GetPOVPosition() { return -1; }
222 int GetPOVCTSPosition() { return -1; }
223 int GetRudderPosition() { return -1; }
224 int GetUPosition() { return -1; }
225 int GetVPosition() { return -1; }
226 int GetMovementThreshold() { return -1; }
227 void SetMovementThreshold(int threshold
) {}
229 bool IsOk(void) { return FALSE
; }
230 int GetNumberJoysticks() { return -1; }
231 int GetManufacturerId() { return -1; }
232 int GetProductId() { return -1; }
233 wxString
GetProductName() { return ""; }
234 int GetXMin() { return -1; }
235 int GetYMin() { return -1; }
236 int GetZMin() { return -1; }
237 int GetXMax() { return -1; }
238 int GetYMax() { return -1; }
239 int GetZMax() { return -1; }
240 int GetNumberButtons() { return -1; }
241 int GetNumberAxes() { return -1; }
242 int GetMaxButtons() { return -1; }
243 int GetMaxAxes() { return -1; }
244 int GetPollingMin() { return -1; }
245 int GetPollingMax() { return -1; }
246 int GetRudderMin() { return -1; }
247 int GetRudderMax() { return -1; }
248 int GetUMin() { return -1; }
249 int GetUMax() { return -1; }
250 int GetVMin() { return -1; }
251 int GetVMax() { return -1; }
253 bool HasRudder() { return FALSE
; }
254 bool HasZ() { return FALSE
; }
255 bool HasU() { return FALSE
; }
256 bool HasV() { return FALSE
; }
257 bool HasPOV() { return FALSE
; }
258 bool HasPOV4Dir() { return FALSE
; }
259 bool HasPOVCTS() { return FALSE
; }
261 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
262 bool ReleaseCapture() { return FALSE
; }
267 // A C++ stub class for wxWave for platforms that don't have it.
268 class wxWave
: public wxObject
271 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
272 wxPyTState
* state
= wxPyBeginBlockThreads();
273 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
274 wxPyEndBlockThreads(state
);
276 wxWave(int size
, const wxByte
* data
) {
277 wxPyTState
* state
= wxPyBeginBlockThreads();
278 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
279 wxPyEndBlockThreads(state
);
284 bool IsOk() const { return FALSE
; }
285 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
289 // Implementations of some alternate "constructors"
290 wxWave
* wxWaveData(const wxString
& data
) {
291 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
295 extern wxMimeTypesManager
* wxTheMimeTypesManager
;
299 #include <wx/docview.h>
303 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
304 PyObject
* _resultobj
;
307 char * _arg1
= (char *) NULL
;
308 char * _arg2
= (char *) NULL
;
309 char * _arg3
= (char *) NULL
;
310 char * _arg4
= (char *) "*.*";
311 int _arg5
= (int ) 0;
312 wxWindow
* _arg6
= (wxWindow
*) NULL
;
313 int _arg7
= (int ) -1;
314 int _arg8
= (int ) -1;
315 PyObject
* _argo6
= 0;
316 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|ssssiOii:wxFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
322 if (_argo6
== Py_None
) { _arg6
= NULL
; }
323 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
329 wxPy_BEGIN_ALLOW_THREADS
;
330 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
332 wxPy_END_ALLOW_THREADS
;
334 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
342 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
343 PyObject
* _resultobj
;
346 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
347 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
348 wxWindow
* _arg3
= (wxWindow
*) NULL
;
349 int _arg4
= (int ) -1;
350 int _arg5
= (int ) -1;
351 bool _arg6
= (bool ) TRUE
;
352 PyObject
* _obj0
= 0;
353 PyObject
* _obj1
= 0;
354 PyObject
* _obj2
= 0;
355 PyObject
* _argo3
= 0;
356 int tempbool6
= (int) TRUE
;
357 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
363 #if PYTHON_API_VERSION >= 1009
364 char* tmpPtr
; int tmpSize
;
365 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
366 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
369 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
371 _arg0
= new wxString(tmpPtr
, tmpSize
);
373 if (!PyString_Check(_obj0
)) {
374 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
377 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
382 #if PYTHON_API_VERSION >= 1009
383 char* tmpPtr
; int tmpSize
;
384 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
385 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
388 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
390 _arg1
= new wxString(tmpPtr
, tmpSize
);
392 if (!PyString_Check(_obj1
)) {
393 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
396 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
401 #if PYTHON_API_VERSION >= 1009
402 char* tmpPtr
; int tmpSize
;
403 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
404 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
407 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
409 _arg2
= new wxString(tmpPtr
, tmpSize
);
411 if (!PyString_Check(_obj2
)) {
412 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
415 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
419 if (_argo3
== Py_None
) { _arg3
= NULL
; }
420 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
425 _arg6
= (bool ) tempbool6
;
427 wxPy_BEGIN_ALLOW_THREADS
;
428 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
430 wxPy_END_ALLOW_THREADS
;
432 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
452 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
453 PyObject
* _resultobj
;
456 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
457 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
458 wxWindow
* _arg3
= (wxWindow
*) NULL
;
459 PyObject
* _obj0
= 0;
460 PyObject
* _obj1
= 0;
461 PyObject
* _obj2
= 0;
462 PyObject
* _argo3
= 0;
463 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
469 #if PYTHON_API_VERSION >= 1009
470 char* tmpPtr
; int tmpSize
;
471 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
472 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
475 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
477 _arg0
= new wxString(tmpPtr
, tmpSize
);
479 if (!PyString_Check(_obj0
)) {
480 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
483 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
488 #if PYTHON_API_VERSION >= 1009
489 char* tmpPtr
; int tmpSize
;
490 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
491 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
494 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
496 _arg1
= new wxString(tmpPtr
, tmpSize
);
498 if (!PyString_Check(_obj1
)) {
499 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
502 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
507 #if PYTHON_API_VERSION >= 1009
508 char* tmpPtr
; int tmpSize
;
509 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
510 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
513 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
515 _arg2
= new wxString(tmpPtr
, tmpSize
);
517 if (!PyString_Check(_obj2
)) {
518 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
521 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
525 if (_argo3
== Py_None
) { _arg3
= NULL
; }
526 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
527 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
532 wxPy_BEGIN_ALLOW_THREADS
;
533 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
535 wxPy_END_ALLOW_THREADS
;
537 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
557 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
558 PyObject
* _resultobj
;
564 wxWindow
* _arg4
= (wxWindow
*) NULL
;
565 int _arg5
= (int ) -1;
566 int _arg6
= (int ) -1;
567 bool _arg7
= (bool ) TRUE
;
568 int _arg8
= (int ) 150;
569 int _arg9
= (int ) 200;
570 PyObject
* _obj0
= 0;
571 PyObject
* _obj1
= 0;
572 PyObject
* _obj3
= 0;
573 PyObject
* _argo4
= 0;
574 int tempbool7
= (int) TRUE
;
575 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
581 #if PYTHON_API_VERSION >= 1009
582 char* tmpPtr
; int tmpSize
;
583 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
584 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
587 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
589 _arg0
= new wxString(tmpPtr
, tmpSize
);
591 if (!PyString_Check(_obj0
)) {
592 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
595 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
599 #if PYTHON_API_VERSION >= 1009
600 char* tmpPtr
; int tmpSize
;
601 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
602 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
605 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
607 _arg1
= new wxString(tmpPtr
, tmpSize
);
609 if (!PyString_Check(_obj1
)) {
610 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
613 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
618 _arg3
= wxString_LIST_helper(_obj3
);
624 if (_argo4
== Py_None
) { _arg4
= NULL
; }
625 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
630 _arg7
= (bool ) tempbool7
;
633 _arg2
= PyList_Size(_obj3
);
640 wxPy_BEGIN_ALLOW_THREADS
;
641 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
643 wxPy_END_ALLOW_THREADS
;
645 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
664 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
665 PyObject
* _resultobj
;
671 wxWindow
* _arg4
= (wxWindow
*) NULL
;
672 int _arg5
= (int ) -1;
673 int _arg6
= (int ) -1;
674 bool _arg7
= (bool ) TRUE
;
675 int _arg8
= (int ) 150;
676 int _arg9
= (int ) 200;
677 PyObject
* _obj0
= 0;
678 PyObject
* _obj1
= 0;
679 PyObject
* _obj3
= 0;
680 PyObject
* _argo4
= 0;
681 int tempbool7
= (int) TRUE
;
682 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
688 #if PYTHON_API_VERSION >= 1009
689 char* tmpPtr
; int tmpSize
;
690 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
691 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
694 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
696 _arg0
= new wxString(tmpPtr
, tmpSize
);
698 if (!PyString_Check(_obj0
)) {
699 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
702 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
706 #if PYTHON_API_VERSION >= 1009
707 char* tmpPtr
; int tmpSize
;
708 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
709 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
712 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
714 _arg1
= new wxString(tmpPtr
, tmpSize
);
716 if (!PyString_Check(_obj1
)) {
717 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
720 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
725 _arg3
= wxString_LIST_helper(_obj3
);
731 if (_argo4
== Py_None
) { _arg4
= NULL
; }
732 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
737 _arg7
= (bool ) tempbool7
;
740 _arg2
= PyList_Size(_obj3
);
747 wxPy_BEGIN_ALLOW_THREADS
;
748 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
750 wxPy_END_ALLOW_THREADS
;
751 } _resultobj
= Py_BuildValue("i",_result
);
766 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
767 PyObject
* _resultobj
;
770 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
771 int _arg2
= (int ) wxOK
|wxCENTRE
;
772 wxWindow
* _arg3
= (wxWindow
*) NULL
;
773 int _arg4
= (int ) -1;
774 int _arg5
= (int ) -1;
775 PyObject
* _obj0
= 0;
776 PyObject
* _obj1
= 0;
777 PyObject
* _argo3
= 0;
778 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
784 #if PYTHON_API_VERSION >= 1009
785 char* tmpPtr
; int tmpSize
;
786 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
787 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
790 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
792 _arg0
= new wxString(tmpPtr
, tmpSize
);
794 if (!PyString_Check(_obj0
)) {
795 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
798 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
803 #if PYTHON_API_VERSION >= 1009
804 char* tmpPtr
; int tmpSize
;
805 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
806 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
809 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
811 _arg1
= new wxString(tmpPtr
, tmpSize
);
813 if (!PyString_Check(_obj1
)) {
814 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
817 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
821 if (_argo3
== Py_None
) { _arg3
= NULL
; }
822 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
828 wxPy_BEGIN_ALLOW_THREADS
;
829 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
831 wxPy_END_ALLOW_THREADS
;
832 } _resultobj
= Py_BuildValue("i",_result
);
844 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
845 PyObject
* _resultobj
;
851 long _arg4
= (long ) 0;
852 long _arg5
= (long ) 100;
853 wxWindow
* _arg6
= (wxWindow
*) NULL
;
854 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
855 PyObject
* _obj0
= 0;
856 PyObject
* _obj1
= 0;
857 PyObject
* _obj2
= 0;
858 PyObject
* _argo6
= 0;
860 PyObject
* _obj7
= 0;
861 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
867 #if PYTHON_API_VERSION >= 1009
868 char* tmpPtr
; int tmpSize
;
869 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
870 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
873 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
875 _arg0
= new wxString(tmpPtr
, tmpSize
);
877 if (!PyString_Check(_obj0
)) {
878 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
881 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
885 #if PYTHON_API_VERSION >= 1009
886 char* tmpPtr
; int tmpSize
;
887 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
888 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
891 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
893 _arg1
= new wxString(tmpPtr
, tmpSize
);
895 if (!PyString_Check(_obj1
)) {
896 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
899 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
903 #if PYTHON_API_VERSION >= 1009
904 char* tmpPtr
; int tmpSize
;
905 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
906 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
909 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
911 _arg2
= new wxString(tmpPtr
, tmpSize
);
913 if (!PyString_Check(_obj2
)) {
914 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
917 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
921 if (_argo6
== Py_None
) { _arg6
= NULL
; }
922 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
923 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
930 if (! wxPoint_helper(_obj7
, &_arg7
))
934 wxPy_BEGIN_ALLOW_THREADS
;
935 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
937 wxPy_END_ALLOW_THREADS
;
938 } _resultobj
= Py_BuildValue("l",_result
);
954 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
955 PyObject
* _resultobj
;
957 char *_kwnames
[] = { NULL
};
960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
963 wxPy_BEGIN_ALLOW_THREADS
;
964 _result
= (bool )wxColourDisplay();
966 wxPy_END_ALLOW_THREADS
;
967 } _resultobj
= Py_BuildValue("i",_result
);
971 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
972 PyObject
* _resultobj
;
974 char *_kwnames
[] = { NULL
};
977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
980 wxPy_BEGIN_ALLOW_THREADS
;
981 _result
= (int )wxDisplayDepth();
983 wxPy_END_ALLOW_THREADS
;
984 } _resultobj
= Py_BuildValue("i",_result
);
988 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
989 PyObject
* _resultobj
;
991 char *_kwnames
[] = { NULL
};
994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
997 wxPy_BEGIN_ALLOW_THREADS
;
998 _result
= (int )wxGetDisplayDepth();
1000 wxPy_END_ALLOW_THREADS
;
1001 } _resultobj
= Py_BuildValue("i",_result
);
1005 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1006 PyObject
* _resultobj
;
1011 char *_kwnames
[] = { NULL
};
1020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1023 wxPy_BEGIN_ALLOW_THREADS
;
1024 wxDisplaySize(_arg0
,_arg1
);
1026 wxPy_END_ALLOW_THREADS
;
1027 } Py_INCREF(Py_None
);
1028 _resultobj
= Py_None
;
1031 o
= PyInt_FromLong((long) (*_arg0
));
1032 _resultobj
= t_output_helper(_resultobj
, o
);
1036 o
= PyInt_FromLong((long) (*_arg1
));
1037 _resultobj
= t_output_helper(_resultobj
, o
);
1042 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1043 PyObject
* _resultobj
;
1045 char *_kwnames
[] = { NULL
};
1049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1052 wxPy_BEGIN_ALLOW_THREADS
;
1053 _result
= new wxSize (wxGetDisplaySize());
1055 wxPy_END_ALLOW_THREADS
;
1056 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1057 _resultobj
= Py_BuildValue("s",_ptemp
);
1061 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1062 PyObject
* _resultobj
;
1067 char *_kwnames
[] = { NULL
};
1076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1079 wxPy_BEGIN_ALLOW_THREADS
;
1080 wxDisplaySizeMM(_arg0
,_arg1
);
1082 wxPy_END_ALLOW_THREADS
;
1083 } Py_INCREF(Py_None
);
1084 _resultobj
= Py_None
;
1087 o
= PyInt_FromLong((long) (*_arg0
));
1088 _resultobj
= t_output_helper(_resultobj
, o
);
1092 o
= PyInt_FromLong((long) (*_arg1
));
1093 _resultobj
= t_output_helper(_resultobj
, o
);
1098 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1099 PyObject
* _resultobj
;
1101 char *_kwnames
[] = { NULL
};
1105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1108 wxPy_BEGIN_ALLOW_THREADS
;
1109 _result
= new wxSize (wxGetDisplaySizeMM());
1111 wxPy_END_ALLOW_THREADS
;
1112 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1113 _resultobj
= Py_BuildValue("s",_ptemp
);
1117 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1118 PyObject
* _resultobj
;
1127 char *_kwnames
[] = { NULL
};
1142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1145 wxPy_BEGIN_ALLOW_THREADS
;
1146 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1148 wxPy_END_ALLOW_THREADS
;
1149 } Py_INCREF(Py_None
);
1150 _resultobj
= Py_None
;
1153 o
= PyInt_FromLong((long) (*_arg0
));
1154 _resultobj
= t_output_helper(_resultobj
, o
);
1158 o
= PyInt_FromLong((long) (*_arg1
));
1159 _resultobj
= t_output_helper(_resultobj
, o
);
1163 o
= PyInt_FromLong((long) (*_arg2
));
1164 _resultobj
= t_output_helper(_resultobj
, o
);
1168 o
= PyInt_FromLong((long) (*_arg3
));
1169 _resultobj
= t_output_helper(_resultobj
, o
);
1174 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1175 PyObject
* _resultobj
;
1177 char *_kwnames
[] = { NULL
};
1181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1184 wxPy_BEGIN_ALLOW_THREADS
;
1185 _result
= new wxRect (wxGetClientDisplayRect());
1187 wxPy_END_ALLOW_THREADS
;
1188 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1189 _resultobj
= Py_BuildValue("s",_ptemp
);
1193 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1194 PyObject
* _resultobj
;
1196 PyObject
* _argo0
= 0;
1197 char *_kwnames
[] = { "cursor", NULL
};
1200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1210 wxPy_BEGIN_ALLOW_THREADS
;
1211 wxSetCursor(*_arg0
);
1213 wxPy_END_ALLOW_THREADS
;
1214 } Py_INCREF(Py_None
);
1215 _resultobj
= Py_None
;
1219 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1220 PyObject
* _resultobj
;
1223 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1224 PyObject
* _obj0
= 0;
1225 PyObject
* _argo1
= 0;
1226 char *_kwnames
[] = { "label","parent", NULL
};
1229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
1232 #if PYTHON_API_VERSION >= 1009
1233 char* tmpPtr
; int tmpSize
;
1234 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1235 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1238 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1240 _arg0
= new wxString(tmpPtr
, tmpSize
);
1242 if (!PyString_Check(_obj0
)) {
1243 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1246 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1250 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1251 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1257 wxPy_BEGIN_ALLOW_THREADS
;
1258 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
1260 wxPy_END_ALLOW_THREADS
;
1261 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1269 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1270 PyObject
* _resultobj
;
1273 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1274 PyObject
* _obj0
= 0;
1275 PyObject
* _argo1
= 0;
1276 char *_kwnames
[] = { "name","parent", NULL
};
1279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1282 #if PYTHON_API_VERSION >= 1009
1283 char* tmpPtr
; int tmpSize
;
1284 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1285 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1288 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1290 _arg0
= new wxString(tmpPtr
, tmpSize
);
1292 if (!PyString_Check(_obj0
)) {
1293 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1296 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1300 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1301 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1307 wxPy_BEGIN_ALLOW_THREADS
;
1308 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1310 wxPy_END_ALLOW_THREADS
;
1311 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1319 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1320 PyObject
* _resultobj
;
1321 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1322 PyObject
* _argo0
= 0;
1323 char *_kwnames
[] = { "cursor", NULL
};
1326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1336 wxPy_BEGIN_ALLOW_THREADS
;
1337 wxBeginBusyCursor(_arg0
);
1339 wxPy_END_ALLOW_THREADS
;
1340 } Py_INCREF(Py_None
);
1341 _resultobj
= Py_None
;
1345 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1346 PyObject
* _resultobj
;
1348 char *_kwnames
[] = { NULL
};
1351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1354 wxPy_BEGIN_ALLOW_THREADS
;
1355 _result
= (wxWindow
*)wxGetActiveWindow();
1357 wxPy_END_ALLOW_THREADS
;
1358 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1362 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1363 PyObject
* _resultobj
;
1367 PyObject
* _obj0
= 0;
1368 char *_kwnames
[] = { "pt", NULL
};
1371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1375 if (! wxPoint_helper(_obj0
, &_arg0
))
1379 wxPy_BEGIN_ALLOW_THREADS
;
1380 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1382 wxPy_END_ALLOW_THREADS
;
1383 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1387 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1388 PyObject
* _resultobj
;
1392 PyObject
* _obj0
= 0;
1393 char *_kwnames
[] = { "pt", NULL
};
1396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1400 if (! wxPoint_helper(_obj0
, &_arg0
))
1404 wxPy_BEGIN_ALLOW_THREADS
;
1405 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1407 wxPy_END_ALLOW_THREADS
;
1408 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1412 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1413 PyObject
* _resultobj
;
1417 char *_kwnames
[] = { "name","value", NULL
};
1420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1423 wxPy_BEGIN_ALLOW_THREADS
;
1424 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1426 wxPy_END_ALLOW_THREADS
;
1427 } _resultobj
= Py_BuildValue("i",_result
);
1431 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1432 PyObject
* _resultobj
;
1433 char *_kwnames
[] = { NULL
};
1436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1439 wxPy_BEGIN_ALLOW_THREADS
;
1442 wxPy_END_ALLOW_THREADS
;
1443 } Py_INCREF(Py_None
);
1444 _resultobj
= Py_None
;
1448 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
* _resultobj
;
1452 char *_kwnames
[] = { "resource", NULL
};
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1459 wxPy_BEGIN_ALLOW_THREADS
;
1460 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1462 wxPy_END_ALLOW_THREADS
;
1463 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1464 _resultobj
= Py_BuildValue("s",_ptemp
);
1468 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1469 PyObject
* _resultobj
;
1472 char *_kwnames
[] = { "resource", NULL
};
1476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1479 wxPy_BEGIN_ALLOW_THREADS
;
1480 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1482 wxPy_END_ALLOW_THREADS
;
1483 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1484 _resultobj
= Py_BuildValue("s",_ptemp
);
1488 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1489 PyObject
* _resultobj
;
1490 wxMenuBar
* _result
;
1492 char *_kwnames
[] = { "resource", NULL
};
1495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1498 wxPy_BEGIN_ALLOW_THREADS
;
1499 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1501 wxPy_END_ALLOW_THREADS
;
1502 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1506 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1507 PyObject
* _resultobj
;
1510 char *_kwnames
[] = { "name", NULL
};
1513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1516 wxPy_BEGIN_ALLOW_THREADS
;
1517 _result
= (int )wxResourceGetIdentifier(_arg0
);
1519 wxPy_END_ALLOW_THREADS
;
1520 } _resultobj
= Py_BuildValue("i",_result
);
1524 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1525 PyObject
* _resultobj
;
1528 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1529 PyObject
* _argo1
= 0;
1530 char *_kwnames
[] = { "resource","table", NULL
};
1533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1536 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1537 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1543 wxPy_BEGIN_ALLOW_THREADS
;
1544 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1546 wxPy_END_ALLOW_THREADS
;
1547 } _resultobj
= Py_BuildValue("i",_result
);
1551 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1552 PyObject
* _resultobj
;
1555 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1556 PyObject
* _argo1
= 0;
1557 char *_kwnames
[] = { "filename","table", NULL
};
1560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1563 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1564 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1565 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1570 wxPy_BEGIN_ALLOW_THREADS
;
1571 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1573 wxPy_END_ALLOW_THREADS
;
1574 } _resultobj
= Py_BuildValue("i",_result
);
1578 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1579 PyObject
* _resultobj
;
1582 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1583 PyObject
* _argo1
= 0;
1584 char *_kwnames
[] = { "resource","table", NULL
};
1587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1590 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1591 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1597 wxPy_BEGIN_ALLOW_THREADS
;
1598 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1600 wxPy_END_ALLOW_THREADS
;
1601 } _resultobj
= Py_BuildValue("i",_result
);
1605 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1606 PyObject
* _resultobj
;
1609 char *_kwnames
[] = { "index", NULL
};
1613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1616 wxPy_BEGIN_ALLOW_THREADS
;
1617 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1619 wxPy_END_ALLOW_THREADS
;
1620 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1621 _resultobj
= Py_BuildValue("s",_ptemp
);
1625 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1626 PyObject
* _resultobj
;
1629 char *_kwnames
[] = { "index", NULL
};
1633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1636 wxPy_BEGIN_ALLOW_THREADS
;
1637 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1639 wxPy_END_ALLOW_THREADS
;
1640 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1641 _resultobj
= Py_BuildValue("s",_ptemp
);
1645 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1646 PyObject
* _resultobj
;
1649 char *_kwnames
[] = { "index", NULL
};
1652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1655 wxPy_BEGIN_ALLOW_THREADS
;
1656 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1658 wxPy_END_ALLOW_THREADS
;
1659 } _resultobj
= Py_BuildValue("i",_result
);
1663 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1664 PyObject
* _resultobj
;
1666 char *_kwnames
[] = { NULL
};
1669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1672 wxPy_BEGIN_ALLOW_THREADS
;
1673 _result
= (int )wxCaret_GetBlinkTime();
1675 wxPy_END_ALLOW_THREADS
;
1676 } _resultobj
= Py_BuildValue("i",_result
);
1680 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1681 PyObject
* _resultobj
;
1683 char *_kwnames
[] = { "milliseconds", NULL
};
1686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1689 wxPy_BEGIN_ALLOW_THREADS
;
1690 wxCaret_SetBlinkTime(_arg0
);
1692 wxPy_END_ALLOW_THREADS
;
1693 } Py_INCREF(Py_None
);
1694 _resultobj
= Py_None
;
1698 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1699 PyObject
* _resultobj
;
1701 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1702 PyObject
* _argo0
= 0;
1703 char *_kwnames
[] = { "win", NULL
};
1706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1716 wxPy_BEGIN_ALLOW_THREADS
;
1717 _result
= (bool )wxSafeYield(_arg0
);
1719 wxPy_END_ALLOW_THREADS
;
1720 } _resultobj
= Py_BuildValue("i",_result
);
1724 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1725 PyObject
* _resultobj
;
1726 wxEvtHandler
* _arg0
;
1728 PyObject
* _argo0
= 0;
1729 PyObject
* _argo1
= 0;
1730 char *_kwnames
[] = { "dest","event", NULL
};
1733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1743 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1744 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1750 wxPy_BEGIN_ALLOW_THREADS
;
1751 wxPostEvent(_arg0
,*_arg1
);
1753 wxPy_END_ALLOW_THREADS
;
1754 } Py_INCREF(Py_None
);
1755 _resultobj
= Py_None
;
1759 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1760 PyObject
* _resultobj
;
1761 char *_kwnames
[] = { NULL
};
1764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1767 wxPy_BEGIN_ALLOW_THREADS
;
1770 wxPy_END_ALLOW_THREADS
;
1771 } Py_INCREF(Py_None
);
1772 _resultobj
= Py_None
;
1776 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1777 PyObject
* _resultobj
;
1778 char *_kwnames
[] = { NULL
};
1781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1784 wxPy_BEGIN_ALLOW_THREADS
;
1787 wxPy_END_ALLOW_THREADS
;
1788 } Py_INCREF(Py_None
);
1789 _resultobj
= Py_None
;
1793 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
* _resultobj
;
1795 char *_kwnames
[] = { NULL
};
1798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1801 wxPy_BEGIN_ALLOW_THREADS
;
1804 wxPy_END_ALLOW_THREADS
;
1805 } Py_INCREF(Py_None
);
1806 _resultobj
= Py_None
;
1810 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1811 PyObject
* _resultobj
;
1813 char *_kwnames
[] = { NULL
};
1816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1819 wxPy_BEGIN_ALLOW_THREADS
;
1820 _result
= (bool )wxThread_IsMain();
1822 wxPy_END_ALLOW_THREADS
;
1823 } _resultobj
= Py_BuildValue("i",_result
);
1827 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1828 PyObject
* _resultobj
;
1831 wxTipProvider
* _arg1
;
1832 bool _arg2
= (bool ) TRUE
;
1833 PyObject
* _argo0
= 0;
1834 PyObject
* _argo1
= 0;
1835 int tempbool2
= (int) TRUE
;
1836 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1849 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1850 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1855 _arg2
= (bool ) tempbool2
;
1857 wxPy_BEGIN_ALLOW_THREADS
;
1858 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1860 wxPy_END_ALLOW_THREADS
;
1861 } _resultobj
= Py_BuildValue("i",_result
);
1865 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
* _resultobj
;
1867 wxTipProvider
* _result
;
1870 PyObject
* _obj0
= 0;
1871 char *_kwnames
[] = { "filename","currentTip", NULL
};
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1878 #if PYTHON_API_VERSION >= 1009
1879 char* tmpPtr
; int tmpSize
;
1880 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1881 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1884 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1886 _arg0
= new wxString(tmpPtr
, tmpSize
);
1888 if (!PyString_Check(_obj0
)) {
1889 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1892 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1896 wxPy_BEGIN_ALLOW_THREADS
;
1897 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1899 wxPy_END_ALLOW_THREADS
;
1901 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1902 _resultobj
= Py_BuildValue("s",_ptemp
);
1905 _resultobj
= Py_None
;
1914 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1915 PyObject
* _resultobj
;
1916 unsigned long _result
;
1917 char *_kwnames
[] = { NULL
};
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1923 wxPy_BEGIN_ALLOW_THREADS
;
1924 _result
= (unsigned long )wxSysErrorCode();
1926 wxPy_END_ALLOW_THREADS
;
1927 } _resultobj
= Py_BuildValue("l",_result
);
1931 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1932 PyObject
* _resultobj
;
1934 unsigned long _arg0
= (unsigned long ) 0;
1935 char *_kwnames
[] = { "nErrCode", NULL
};
1938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1941 wxPy_BEGIN_ALLOW_THREADS
;
1942 _result
= (char *)wxSysErrorMsg(_arg0
);
1944 wxPy_END_ALLOW_THREADS
;
1945 } _resultobj
= Py_BuildValue("s", _result
);
1949 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1950 PyObject
* _resultobj
;
1952 char *_kwnames
[] = { "szFormat", NULL
};
1955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
1958 wxPy_BEGIN_ALLOW_THREADS
;
1959 wxLogFatalError(_arg0
);
1961 wxPy_END_ALLOW_THREADS
;
1962 } Py_INCREF(Py_None
);
1963 _resultobj
= Py_None
;
1967 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1968 PyObject
* _resultobj
;
1970 char *_kwnames
[] = { "szFormat", NULL
};
1973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
1976 wxPy_BEGIN_ALLOW_THREADS
;
1979 wxPy_END_ALLOW_THREADS
;
1980 } Py_INCREF(Py_None
);
1981 _resultobj
= Py_None
;
1985 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
* _resultobj
;
1988 char *_kwnames
[] = { "szFormat", NULL
};
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
1994 wxPy_BEGIN_ALLOW_THREADS
;
1995 wxLogWarning(_arg0
);
1997 wxPy_END_ALLOW_THREADS
;
1998 } Py_INCREF(Py_None
);
1999 _resultobj
= Py_None
;
2003 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2004 PyObject
* _resultobj
;
2006 char *_kwnames
[] = { "szFormat", NULL
};
2009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
2012 wxPy_BEGIN_ALLOW_THREADS
;
2013 wxLogMessage(_arg0
);
2015 wxPy_END_ALLOW_THREADS
;
2016 } Py_INCREF(Py_None
);
2017 _resultobj
= Py_None
;
2021 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
* _resultobj
;
2024 char *_kwnames
[] = { "szFormat", NULL
};
2027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
2030 wxPy_BEGIN_ALLOW_THREADS
;
2033 wxPy_END_ALLOW_THREADS
;
2034 } Py_INCREF(Py_None
);
2035 _resultobj
= Py_None
;
2039 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
* _resultobj
;
2042 char *_kwnames
[] = { "szFormat", NULL
};
2045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
2048 wxPy_BEGIN_ALLOW_THREADS
;
2049 wxLogVerbose(_arg0
);
2051 wxPy_END_ALLOW_THREADS
;
2052 } Py_INCREF(Py_None
);
2053 _resultobj
= Py_None
;
2057 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2058 PyObject
* _resultobj
;
2060 char *_kwnames
[] = { "szFormat", NULL
};
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
2066 wxPy_BEGIN_ALLOW_THREADS
;
2069 wxPy_END_ALLOW_THREADS
;
2070 } Py_INCREF(Py_None
);
2071 _resultobj
= Py_None
;
2075 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2076 PyObject
* _resultobj
;
2079 PyObject
* _argo0
= 0;
2080 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
2086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2093 wxPy_BEGIN_ALLOW_THREADS
;
2094 wxLogStatus(_arg0
,_arg1
);
2096 wxPy_END_ALLOW_THREADS
;
2097 } Py_INCREF(Py_None
);
2098 _resultobj
= Py_None
;
2102 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2103 PyObject
* _resultobj
;
2105 char *_kwnames
[] = { "szFormat", NULL
};
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2111 wxPy_BEGIN_ALLOW_THREADS
;
2112 wxLogSysError(_arg0
);
2114 wxPy_END_ALLOW_THREADS
;
2115 } Py_INCREF(Py_None
);
2116 _resultobj
= Py_None
;
2120 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2121 PyObject
* _resultobj
;
2124 int _arg1
= (int ) FALSE
;
2125 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2126 PyObject
* _obj0
= 0;
2127 PyObject
* _argo2
= 0;
2128 char *_kwnames
[] = { "command","sync","process", NULL
};
2131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2134 #if PYTHON_API_VERSION >= 1009
2135 char* tmpPtr
; int tmpSize
;
2136 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2137 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2140 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2142 _arg0
= new wxString(tmpPtr
, tmpSize
);
2144 if (!PyString_Check(_obj0
)) {
2145 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2148 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2152 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2153 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2159 wxPy_BEGIN_ALLOW_THREADS
;
2160 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2162 wxPy_END_ALLOW_THREADS
;
2163 } _resultobj
= Py_BuildValue("l",_result
);
2171 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2172 PyObject
* _resultobj
;
2175 PyObject
* _obj0
= 0;
2176 char *_kwnames
[] = { "data", NULL
};
2180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2183 #if PYTHON_API_VERSION >= 1009
2184 char* tmpPtr
; int tmpSize
;
2185 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2186 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2189 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2191 _arg0
= new wxString(tmpPtr
, tmpSize
);
2193 if (!PyString_Check(_obj0
)) {
2194 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2197 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2201 wxPy_BEGIN_ALLOW_THREADS
;
2202 _result
= (wxWave
*)wxWaveData(*_arg0
);
2204 wxPy_END_ALLOW_THREADS
;
2206 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2207 _resultobj
= Py_BuildValue("s",_ptemp
);
2210 _resultobj
= Py_None
;
2219 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2221 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2225 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2229 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2230 pyobj
= PyString_FromString(ptemp
);
2234 static void *SwigwxToolTipTowxObject(void *ptr
) {
2237 src
= (wxToolTip
*) ptr
;
2238 dest
= (wxObject
*) src
;
2239 return (void *) dest
;
2242 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2243 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2244 PyObject
* _resultobj
;
2245 wxToolTip
* _result
;
2247 PyObject
* _obj0
= 0;
2248 char *_kwnames
[] = { "tip", NULL
};
2252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2255 #if PYTHON_API_VERSION >= 1009
2256 char* tmpPtr
; int tmpSize
;
2257 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2258 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2261 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2263 _arg0
= new wxString(tmpPtr
, tmpSize
);
2265 if (!PyString_Check(_obj0
)) {
2266 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2269 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2273 wxPy_BEGIN_ALLOW_THREADS
;
2274 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2276 wxPy_END_ALLOW_THREADS
;
2278 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2279 _resultobj
= Py_BuildValue("s",_ptemp
);
2282 _resultobj
= Py_None
;
2291 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2292 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2293 PyObject
* _resultobj
;
2296 PyObject
* _argo0
= 0;
2297 PyObject
* _obj1
= 0;
2298 char *_kwnames
[] = { "self","tip", NULL
};
2301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2311 #if PYTHON_API_VERSION >= 1009
2312 char* tmpPtr
; int tmpSize
;
2313 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2314 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2317 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2319 _arg1
= new wxString(tmpPtr
, tmpSize
);
2321 if (!PyString_Check(_obj1
)) {
2322 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2325 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2329 wxPy_BEGIN_ALLOW_THREADS
;
2330 wxToolTip_SetTip(_arg0
,*_arg1
);
2332 wxPy_END_ALLOW_THREADS
;
2333 } Py_INCREF(Py_None
);
2334 _resultobj
= Py_None
;
2342 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2343 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2344 PyObject
* _resultobj
;
2347 PyObject
* _argo0
= 0;
2348 char *_kwnames
[] = { "self", NULL
};
2351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2354 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2355 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2361 wxPy_BEGIN_ALLOW_THREADS
;
2362 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2364 wxPy_END_ALLOW_THREADS
;
2366 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2374 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2375 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2376 PyObject
* _resultobj
;
2379 PyObject
* _argo0
= 0;
2380 char *_kwnames
[] = { "self", NULL
};
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2393 wxPy_BEGIN_ALLOW_THREADS
;
2394 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2396 wxPy_END_ALLOW_THREADS
;
2397 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2401 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2402 PyObject
* _resultobj
;
2405 char *_kwnames
[] = { "flag", NULL
};
2408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2410 _arg0
= (bool ) tempbool0
;
2412 wxPy_BEGIN_ALLOW_THREADS
;
2413 wxToolTip::Enable(_arg0
);
2415 wxPy_END_ALLOW_THREADS
;
2416 } Py_INCREF(Py_None
);
2417 _resultobj
= Py_None
;
2421 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2422 PyObject
* _resultobj
;
2424 char *_kwnames
[] = { "milliseconds", NULL
};
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2430 wxPy_BEGIN_ALLOW_THREADS
;
2431 wxToolTip::SetDelay(_arg0
);
2433 wxPy_END_ALLOW_THREADS
;
2434 } Py_INCREF(Py_None
);
2435 _resultobj
= Py_None
;
2439 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2440 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2441 PyObject
* _resultobj
;
2445 PyObject
* _argo0
= 0;
2447 PyObject
* _obj1
= 0;
2448 char *_kwnames
[] = { "window","size", NULL
};
2452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2463 if (! wxSize_helper(_obj1
, &_arg1
))
2467 wxPy_BEGIN_ALLOW_THREADS
;
2468 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2470 wxPy_END_ALLOW_THREADS
;
2472 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2473 _resultobj
= Py_BuildValue("s",_ptemp
);
2476 _resultobj
= Py_None
;
2481 #define delete_wxCaret(_swigobj) (delete _swigobj)
2482 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2483 PyObject
* _resultobj
;
2485 PyObject
* _argo0
= 0;
2486 char *_kwnames
[] = { "self", NULL
};
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2499 wxPy_BEGIN_ALLOW_THREADS
;
2500 delete_wxCaret(_arg0
);
2502 wxPy_END_ALLOW_THREADS
;
2503 } Py_INCREF(Py_None
);
2504 _resultobj
= Py_None
;
2508 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2509 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2510 PyObject
* _resultobj
;
2513 PyObject
* _argo0
= 0;
2514 char *_kwnames
[] = { "self", NULL
};
2517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2527 wxPy_BEGIN_ALLOW_THREADS
;
2528 _result
= (bool )wxCaret_IsOk(_arg0
);
2530 wxPy_END_ALLOW_THREADS
;
2531 } _resultobj
= Py_BuildValue("i",_result
);
2535 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2536 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
* _resultobj
;
2540 PyObject
* _argo0
= 0;
2541 char *_kwnames
[] = { "self", NULL
};
2544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2554 wxPy_BEGIN_ALLOW_THREADS
;
2555 _result
= (bool )wxCaret_IsVisible(_arg0
);
2557 wxPy_END_ALLOW_THREADS
;
2558 } _resultobj
= Py_BuildValue("i",_result
);
2562 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2563 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
* _resultobj
;
2570 PyObject
* _argo0
= 0;
2571 char *_kwnames
[] = { "self", NULL
};
2580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2590 wxPy_BEGIN_ALLOW_THREADS
;
2591 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2593 wxPy_END_ALLOW_THREADS
;
2594 } Py_INCREF(Py_None
);
2595 _resultobj
= Py_None
;
2598 o
= PyInt_FromLong((long) (*_arg1
));
2599 _resultobj
= t_output_helper(_resultobj
, o
);
2603 o
= PyInt_FromLong((long) (*_arg2
));
2604 _resultobj
= t_output_helper(_resultobj
, o
);
2609 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2610 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2611 PyObject
* _resultobj
;
2614 PyObject
* _argo0
= 0;
2615 char *_kwnames
[] = { "self", NULL
};
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2629 wxPy_BEGIN_ALLOW_THREADS
;
2630 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2632 wxPy_END_ALLOW_THREADS
;
2633 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2634 _resultobj
= Py_BuildValue("s",_ptemp
);
2638 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2639 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2640 PyObject
* _resultobj
;
2646 PyObject
* _argo0
= 0;
2647 char *_kwnames
[] = { "self", NULL
};
2656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2666 wxPy_BEGIN_ALLOW_THREADS
;
2667 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2669 wxPy_END_ALLOW_THREADS
;
2670 } Py_INCREF(Py_None
);
2671 _resultobj
= Py_None
;
2674 o
= PyInt_FromLong((long) (*_arg1
));
2675 _resultobj
= t_output_helper(_resultobj
, o
);
2679 o
= PyInt_FromLong((long) (*_arg2
));
2680 _resultobj
= t_output_helper(_resultobj
, o
);
2685 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2686 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2687 PyObject
* _resultobj
;
2690 PyObject
* _argo0
= 0;
2691 char *_kwnames
[] = { "self", NULL
};
2695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2698 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2699 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2705 wxPy_BEGIN_ALLOW_THREADS
;
2706 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2708 wxPy_END_ALLOW_THREADS
;
2709 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2710 _resultobj
= Py_BuildValue("s",_ptemp
);
2714 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2715 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2716 PyObject
* _resultobj
;
2719 PyObject
* _argo0
= 0;
2720 char *_kwnames
[] = { "self", NULL
};
2723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2733 wxPy_BEGIN_ALLOW_THREADS
;
2734 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2736 wxPy_END_ALLOW_THREADS
;
2737 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2741 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2742 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2743 PyObject
* _resultobj
;
2747 PyObject
* _argo0
= 0;
2748 char *_kwnames
[] = { "self","x","y", NULL
};
2751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2761 wxPy_BEGIN_ALLOW_THREADS
;
2762 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2764 wxPy_END_ALLOW_THREADS
;
2765 } Py_INCREF(Py_None
);
2766 _resultobj
= Py_None
;
2770 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2771 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
* _resultobj
;
2775 PyObject
* _argo0
= 0;
2777 PyObject
* _obj1
= 0;
2778 char *_kwnames
[] = { "self","pt", NULL
};
2781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2792 if (! wxPoint_helper(_obj1
, &_arg1
))
2796 wxPy_BEGIN_ALLOW_THREADS
;
2797 wxCaret_Move(_arg0
,*_arg1
);
2799 wxPy_END_ALLOW_THREADS
;
2800 } Py_INCREF(Py_None
);
2801 _resultobj
= Py_None
;
2805 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2806 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
* _resultobj
;
2811 PyObject
* _argo0
= 0;
2812 char *_kwnames
[] = { "self","width","height", NULL
};
2815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2818 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2819 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2825 wxPy_BEGIN_ALLOW_THREADS
;
2826 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2828 wxPy_END_ALLOW_THREADS
;
2829 } Py_INCREF(Py_None
);
2830 _resultobj
= Py_None
;
2834 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2835 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2836 PyObject
* _resultobj
;
2839 PyObject
* _argo0
= 0;
2841 PyObject
* _obj1
= 0;
2842 char *_kwnames
[] = { "self","size", NULL
};
2845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2856 if (! wxSize_helper(_obj1
, &_arg1
))
2860 wxPy_BEGIN_ALLOW_THREADS
;
2861 wxCaret_SetSize(_arg0
,*_arg1
);
2863 wxPy_END_ALLOW_THREADS
;
2864 } Py_INCREF(Py_None
);
2865 _resultobj
= Py_None
;
2869 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2870 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2871 PyObject
* _resultobj
;
2873 int _arg1
= (int ) TRUE
;
2874 PyObject
* _argo0
= 0;
2875 char *_kwnames
[] = { "self","show", NULL
};
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
2881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2888 wxPy_BEGIN_ALLOW_THREADS
;
2889 wxCaret_Show(_arg0
,_arg1
);
2891 wxPy_END_ALLOW_THREADS
;
2892 } Py_INCREF(Py_None
);
2893 _resultobj
= Py_None
;
2897 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2898 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
* _resultobj
;
2901 PyObject
* _argo0
= 0;
2902 char *_kwnames
[] = { "self", NULL
};
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
2908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
2915 wxPy_BEGIN_ALLOW_THREADS
;
2916 wxCaret_Hide(_arg0
);
2918 wxPy_END_ALLOW_THREADS
;
2919 } Py_INCREF(Py_None
);
2920 _resultobj
= Py_None
;
2924 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
2925 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2926 PyObject
* _resultobj
;
2927 wxPyFontEnumerator
* _result
;
2928 char *_kwnames
[] = { NULL
};
2932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
2935 wxPy_BEGIN_ALLOW_THREADS
;
2936 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
2938 wxPy_END_ALLOW_THREADS
;
2940 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
2941 _resultobj
= Py_BuildValue("s",_ptemp
);
2944 _resultobj
= Py_None
;
2949 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
2950 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2951 PyObject
* _resultobj
;
2952 wxPyFontEnumerator
* _arg0
;
2953 PyObject
* _argo0
= 0;
2954 char *_kwnames
[] = { "self", NULL
};
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
2960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
2967 wxPy_BEGIN_ALLOW_THREADS
;
2968 delete_wxPyFontEnumerator(_arg0
);
2970 wxPy_END_ALLOW_THREADS
;
2971 } Py_INCREF(Py_None
);
2972 _resultobj
= Py_None
;
2976 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2977 static PyObject
*_wrap_wxFontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2978 PyObject
* _resultobj
;
2979 wxPyFontEnumerator
* _arg0
;
2982 PyObject
* _argo0
= 0;
2983 PyObject
* _obj1
= 0;
2984 PyObject
* _obj2
= 0;
2985 char *_kwnames
[] = { "self","self","_class", NULL
};
2988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFontEnumerator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p.");
3004 wxPy_BEGIN_ALLOW_THREADS
;
3005 wxFontEnumerator__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3007 wxPy_END_ALLOW_THREADS
;
3008 } Py_INCREF(Py_None
);
3009 _resultobj
= Py_None
;
3013 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
3014 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3015 PyObject
* _resultobj
;
3017 wxPyFontEnumerator
* _arg0
;
3018 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
3019 bool _arg2
= (bool ) FALSE
;
3020 PyObject
* _argo0
= 0;
3021 int tempbool2
= (int) FALSE
;
3022 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3034 _arg2
= (bool ) tempbool2
;
3036 wxPy_BEGIN_ALLOW_THREADS
;
3037 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
3039 wxPy_END_ALLOW_THREADS
;
3040 } _resultobj
= Py_BuildValue("i",_result
);
3044 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3045 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3046 PyObject
* _resultobj
;
3048 wxPyFontEnumerator
* _arg0
;
3049 char * _arg1
= (char *) "";
3050 PyObject
* _argo0
= 0;
3051 char *_kwnames
[] = { "self","facename", NULL
};
3054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
3057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3064 wxPy_BEGIN_ALLOW_THREADS
;
3065 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
3067 wxPy_END_ALLOW_THREADS
;
3068 } _resultobj
= Py_BuildValue("i",_result
);
3072 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3073 wxArrayString
* arr
= self
->GetEncodings();
3074 return wxArrayString2PyList_helper(arr
);
3076 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
* _resultobj
;
3079 wxPyFontEnumerator
* _arg0
;
3080 PyObject
* _argo0
= 0;
3081 char *_kwnames
[] = { "self", NULL
};
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3094 wxPy_BEGIN_ALLOW_THREADS
;
3095 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3097 wxPy_END_ALLOW_THREADS
;
3099 _resultobj
= _result
;
3104 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3105 wxArrayString
* arr
= self
->GetFacenames();
3106 return wxArrayString2PyList_helper(arr
);
3108 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
* _resultobj
;
3111 wxPyFontEnumerator
* _arg0
;
3112 PyObject
* _argo0
= 0;
3113 char *_kwnames
[] = { "self", NULL
};
3116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3126 wxPy_BEGIN_ALLOW_THREADS
;
3127 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3129 wxPy_END_ALLOW_THREADS
;
3131 _resultobj
= _result
;
3136 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3137 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3138 PyObject
* _resultobj
;
3139 wxBusyCursor
* _result
;
3140 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3141 PyObject
* _argo0
= 0;
3142 char *_kwnames
[] = { "cursor", NULL
};
3146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3156 wxPy_BEGIN_ALLOW_THREADS
;
3157 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3159 wxPy_END_ALLOW_THREADS
;
3161 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3162 _resultobj
= Py_BuildValue("s",_ptemp
);
3165 _resultobj
= Py_None
;
3170 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3171 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
* _resultobj
;
3173 wxBusyCursor
* _arg0
;
3174 PyObject
* _argo0
= 0;
3175 char *_kwnames
[] = { "self", NULL
};
3178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3188 wxPy_BEGIN_ALLOW_THREADS
;
3189 delete_wxBusyCursor(_arg0
);
3191 wxPy_END_ALLOW_THREADS
;
3192 } Py_INCREF(Py_None
);
3193 _resultobj
= Py_None
;
3197 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3198 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3199 PyObject
* _resultobj
;
3200 wxWindowDisabler
* _result
;
3201 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3202 PyObject
* _argo0
= 0;
3203 char *_kwnames
[] = { "winToSkip", NULL
};
3207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3217 wxPy_BEGIN_ALLOW_THREADS
;
3218 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3220 wxPy_END_ALLOW_THREADS
;
3222 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3223 _resultobj
= Py_BuildValue("s",_ptemp
);
3226 _resultobj
= Py_None
;
3231 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3232 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
* _resultobj
;
3234 wxWindowDisabler
* _arg0
;
3235 PyObject
* _argo0
= 0;
3236 char *_kwnames
[] = { "self", NULL
};
3239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3249 wxPy_BEGIN_ALLOW_THREADS
;
3250 delete_wxWindowDisabler(_arg0
);
3252 wxPy_END_ALLOW_THREADS
;
3253 } Py_INCREF(Py_None
);
3254 _resultobj
= Py_None
;
3258 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3259 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3260 PyObject
* _resultobj
;
3261 wxMutexGuiLocker
* _result
;
3262 char *_kwnames
[] = { NULL
};
3266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3269 wxPy_BEGIN_ALLOW_THREADS
;
3270 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3272 wxPy_END_ALLOW_THREADS
;
3274 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3275 _resultobj
= Py_BuildValue("s",_ptemp
);
3278 _resultobj
= Py_None
;
3283 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3284 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
* _resultobj
;
3286 wxMutexGuiLocker
* _arg0
;
3287 PyObject
* _argo0
= 0;
3288 char *_kwnames
[] = { "self", NULL
};
3291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3301 wxPy_BEGIN_ALLOW_THREADS
;
3302 delete_wxMutexGuiLocker(_arg0
);
3304 wxPy_END_ALLOW_THREADS
;
3305 } Py_INCREF(Py_None
);
3306 _resultobj
= Py_None
;
3310 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3311 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3312 PyObject
* _resultobj
;
3313 wxTipProvider
* _arg0
;
3314 PyObject
* _argo0
= 0;
3315 char *_kwnames
[] = { "self", NULL
};
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3328 wxPy_BEGIN_ALLOW_THREADS
;
3329 delete_wxTipProvider(_arg0
);
3331 wxPy_END_ALLOW_THREADS
;
3332 } Py_INCREF(Py_None
);
3333 _resultobj
= Py_None
;
3337 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3338 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3339 PyObject
* _resultobj
;
3341 wxTipProvider
* _arg0
;
3342 PyObject
* _argo0
= 0;
3343 char *_kwnames
[] = { "self", NULL
};
3346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3356 wxPy_BEGIN_ALLOW_THREADS
;
3357 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3359 wxPy_END_ALLOW_THREADS
;
3361 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3369 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3370 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
* _resultobj
;
3373 wxTipProvider
* _arg0
;
3374 PyObject
* _argo0
= 0;
3375 char *_kwnames
[] = { "self", NULL
};
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3388 wxPy_BEGIN_ALLOW_THREADS
;
3389 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3391 wxPy_END_ALLOW_THREADS
;
3392 } _resultobj
= Py_BuildValue("i",_result
);
3396 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3397 wxPyTipProvider
*src
;
3398 wxTipProvider
*dest
;
3399 src
= (wxPyTipProvider
*) ptr
;
3400 dest
= (wxTipProvider
*) src
;
3401 return (void *) dest
;
3404 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3405 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
* _resultobj
;
3407 wxPyTipProvider
* _result
;
3409 char *_kwnames
[] = { "currentTip", NULL
};
3413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3416 wxPy_BEGIN_ALLOW_THREADS
;
3417 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3419 wxPy_END_ALLOW_THREADS
;
3421 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3422 _resultobj
= Py_BuildValue("s",_ptemp
);
3425 _resultobj
= Py_None
;
3430 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3431 wxGenericDragImage
*src
;
3433 src
= (wxGenericDragImage
*) ptr
;
3434 dest
= (wxObject
*) src
;
3435 return (void *) dest
;
3438 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3439 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3440 PyObject
* _resultobj
;
3441 wxGenericDragImage
* _result
;
3443 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3444 PyObject
* _argo0
= 0;
3445 PyObject
* _argo1
= 0;
3446 char *_kwnames
[] = { "image","cursor", NULL
};
3450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3460 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3461 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3467 wxPy_BEGIN_ALLOW_THREADS
;
3468 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3470 wxPy_END_ALLOW_THREADS
;
3472 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3473 _resultobj
= Py_BuildValue("s",_ptemp
);
3476 _resultobj
= Py_None
;
3481 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3482 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3483 PyObject
* _resultobj
;
3484 wxGenericDragImage
* _result
;
3486 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3487 PyObject
* _argo0
= 0;
3488 PyObject
* _argo1
= 0;
3489 char *_kwnames
[] = { "image","cursor", NULL
};
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3503 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3504 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3505 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3510 wxPy_BEGIN_ALLOW_THREADS
;
3511 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3513 wxPy_END_ALLOW_THREADS
;
3515 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3516 _resultobj
= Py_BuildValue("s",_ptemp
);
3519 _resultobj
= Py_None
;
3524 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3525 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3526 PyObject
* _resultobj
;
3527 wxGenericDragImage
* _result
;
3529 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3530 PyObject
* _obj0
= 0;
3531 PyObject
* _argo1
= 0;
3532 char *_kwnames
[] = { "str","cursor", NULL
};
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3539 #if PYTHON_API_VERSION >= 1009
3540 char* tmpPtr
; int tmpSize
;
3541 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3542 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3545 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3547 _arg0
= new wxString(tmpPtr
, tmpSize
);
3549 if (!PyString_Check(_obj0
)) {
3550 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3553 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3557 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3558 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3564 wxPy_BEGIN_ALLOW_THREADS
;
3565 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3567 wxPy_END_ALLOW_THREADS
;
3569 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3570 _resultobj
= Py_BuildValue("s",_ptemp
);
3573 _resultobj
= Py_None
;
3582 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3583 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
* _resultobj
;
3585 wxGenericDragImage
* _result
;
3587 wxTreeItemId
* _arg1
;
3588 PyObject
* _argo0
= 0;
3589 PyObject
* _argo1
= 0;
3590 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3604 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3605 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3611 wxPy_BEGIN_ALLOW_THREADS
;
3612 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3614 wxPy_END_ALLOW_THREADS
;
3616 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3617 _resultobj
= Py_BuildValue("s",_ptemp
);
3620 _resultobj
= Py_None
;
3625 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3626 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3627 PyObject
* _resultobj
;
3628 wxGenericDragImage
* _result
;
3631 PyObject
* _argo0
= 0;
3632 char *_kwnames
[] = { "listCtrl","id", NULL
};
3636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3646 wxPy_BEGIN_ALLOW_THREADS
;
3647 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3649 wxPy_END_ALLOW_THREADS
;
3651 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3652 _resultobj
= Py_BuildValue("s",_ptemp
);
3655 _resultobj
= Py_None
;
3660 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3661 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3662 PyObject
* _resultobj
;
3663 wxGenericDragImage
* _arg0
;
3664 PyObject
* _argo0
= 0;
3665 char *_kwnames
[] = { "self", NULL
};
3668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3671 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3672 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3673 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3678 wxPy_BEGIN_ALLOW_THREADS
;
3679 delete_wxGenericDragImage(_arg0
);
3681 wxPy_END_ALLOW_THREADS
;
3682 } Py_INCREF(Py_None
);
3683 _resultobj
= Py_None
;
3687 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3688 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
* _resultobj
;
3690 wxGenericDragImage
* _arg0
;
3692 PyObject
* _argo0
= 0;
3693 PyObject
* _argo1
= 0;
3694 char *_kwnames
[] = { "self","bitmap", NULL
};
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3707 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3708 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3714 wxPy_BEGIN_ALLOW_THREADS
;
3715 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3717 wxPy_END_ALLOW_THREADS
;
3718 } Py_INCREF(Py_None
);
3719 _resultobj
= Py_None
;
3723 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3724 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
* _resultobj
;
3727 wxGenericDragImage
* _arg0
;
3730 bool _arg3
= (bool ) FALSE
;
3731 wxRect
* _arg4
= (wxRect
*) NULL
;
3732 PyObject
* _argo0
= 0;
3734 PyObject
* _obj1
= 0;
3735 PyObject
* _argo2
= 0;
3736 int tempbool3
= (int) FALSE
;
3738 PyObject
* _obj4
= 0;
3739 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3753 if (! wxPoint_helper(_obj1
, &_arg1
))
3757 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3758 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3763 _arg3
= (bool ) tempbool3
;
3767 if (! wxRect_helper(_obj4
, &_arg4
))
3771 wxPy_BEGIN_ALLOW_THREADS
;
3772 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3774 wxPy_END_ALLOW_THREADS
;
3775 } _resultobj
= Py_BuildValue("i",_result
);
3779 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3780 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
* _resultobj
;
3783 wxGenericDragImage
* _arg0
;
3787 PyObject
* _argo0
= 0;
3789 PyObject
* _obj1
= 0;
3790 PyObject
* _argo2
= 0;
3791 PyObject
* _argo3
= 0;
3792 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3806 if (! wxPoint_helper(_obj1
, &_arg1
))
3810 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3811 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3817 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3818 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3824 wxPy_BEGIN_ALLOW_THREADS
;
3825 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3827 wxPy_END_ALLOW_THREADS
;
3828 } _resultobj
= Py_BuildValue("i",_result
);
3832 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3833 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
* _resultobj
;
3836 wxGenericDragImage
* _arg0
;
3837 PyObject
* _argo0
= 0;
3838 char *_kwnames
[] = { "self", NULL
};
3841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3851 wxPy_BEGIN_ALLOW_THREADS
;
3852 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3854 wxPy_END_ALLOW_THREADS
;
3855 } _resultobj
= Py_BuildValue("i",_result
);
3859 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3860 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
* _resultobj
;
3863 wxGenericDragImage
* _arg0
;
3865 PyObject
* _argo0
= 0;
3867 PyObject
* _obj1
= 0;
3868 char *_kwnames
[] = { "self","pt", NULL
};
3871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3882 if (! wxPoint_helper(_obj1
, &_arg1
))
3886 wxPy_BEGIN_ALLOW_THREADS
;
3887 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3889 wxPy_END_ALLOW_THREADS
;
3890 } _resultobj
= Py_BuildValue("i",_result
);
3894 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3895 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3896 PyObject
* _resultobj
;
3898 wxGenericDragImage
* _arg0
;
3899 PyObject
* _argo0
= 0;
3900 char *_kwnames
[] = { "self", NULL
};
3903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3913 wxPy_BEGIN_ALLOW_THREADS
;
3914 _result
= (bool )wxDragImage_Show(_arg0
);
3916 wxPy_END_ALLOW_THREADS
;
3917 } _resultobj
= Py_BuildValue("i",_result
);
3921 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3922 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3923 PyObject
* _resultobj
;
3925 wxGenericDragImage
* _arg0
;
3926 PyObject
* _argo0
= 0;
3927 char *_kwnames
[] = { "self", NULL
};
3930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3940 wxPy_BEGIN_ALLOW_THREADS
;
3941 _result
= (bool )wxDragImage_Hide(_arg0
);
3943 wxPy_END_ALLOW_THREADS
;
3944 } _resultobj
= Py_BuildValue("i",_result
);
3948 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3949 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3950 PyObject
* _resultobj
;
3952 wxGenericDragImage
* _arg0
;
3954 PyObject
* _argo0
= 0;
3956 PyObject
* _obj1
= 0;
3957 char *_kwnames
[] = { "self","pos", NULL
};
3961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
3964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
3972 if (! wxPoint_helper(_obj1
, &_arg1
))
3976 wxPy_BEGIN_ALLOW_THREADS
;
3977 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
3979 wxPy_END_ALLOW_THREADS
;
3980 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3981 _resultobj
= Py_BuildValue("s",_ptemp
);
3985 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3986 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3987 PyObject
* _resultobj
;
3989 wxGenericDragImage
* _arg0
;
3994 PyObject
* _argo0
= 0;
3996 PyObject
* _obj1
= 0;
3998 PyObject
* _obj2
= 0;
4001 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4015 if (! wxPoint_helper(_obj1
, &_arg1
))
4020 if (! wxPoint_helper(_obj2
, &_arg2
))
4023 _arg3
= (bool ) tempbool3
;
4024 _arg4
= (bool ) tempbool4
;
4026 wxPy_BEGIN_ALLOW_THREADS
;
4027 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4029 wxPy_END_ALLOW_THREADS
;
4030 } _resultobj
= Py_BuildValue("i",_result
);
4034 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4037 src
= (wxPyTimer
*) ptr
;
4038 dest
= (wxObject
*) src
;
4039 return (void *) dest
;
4042 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4043 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
* _resultobj
;
4045 wxPyTimer
* _result
;
4047 PyObject
* _obj0
= 0;
4048 char *_kwnames
[] = { "notify", NULL
};
4052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4058 wxPy_BEGIN_ALLOW_THREADS
;
4059 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4061 wxPy_END_ALLOW_THREADS
;
4063 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4064 _resultobj
= Py_BuildValue("s",_ptemp
);
4067 _resultobj
= Py_None
;
4072 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4073 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
* _resultobj
;
4076 PyObject
* _argo0
= 0;
4077 char *_kwnames
[] = { "self", NULL
};
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4090 wxPy_BEGIN_ALLOW_THREADS
;
4091 delete_wxPyTimer(_arg0
);
4093 wxPy_END_ALLOW_THREADS
;
4094 } Py_INCREF(Py_None
);
4095 _resultobj
= Py_None
;
4099 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4100 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4101 PyObject
* _resultobj
;
4104 PyObject
* _argo0
= 0;
4105 char *_kwnames
[] = { "self", NULL
};
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4118 wxPy_BEGIN_ALLOW_THREADS
;
4119 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4121 wxPy_END_ALLOW_THREADS
;
4122 } _resultobj
= Py_BuildValue("i",_result
);
4126 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4127 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
* _resultobj
;
4131 PyObject
* _argo0
= 0;
4132 char *_kwnames
[] = { "self", NULL
};
4135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4145 wxPy_BEGIN_ALLOW_THREADS
;
4146 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4148 wxPy_END_ALLOW_THREADS
;
4149 } _resultobj
= Py_BuildValue("i",_result
);
4153 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4154 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
* _resultobj
;
4158 PyObject
* _argo0
= 0;
4159 char *_kwnames
[] = { "self", NULL
};
4162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4172 wxPy_BEGIN_ALLOW_THREADS
;
4173 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4175 wxPy_END_ALLOW_THREADS
;
4176 } _resultobj
= Py_BuildValue("i",_result
);
4180 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4181 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4182 PyObject
* _resultobj
;
4184 wxEvtHandler
* _arg1
;
4185 int _arg2
= (int ) -1;
4186 PyObject
* _argo0
= 0;
4187 PyObject
* _argo1
= 0;
4188 char *_kwnames
[] = { "self","owner","id", NULL
};
4191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4201 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4202 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4208 wxPy_BEGIN_ALLOW_THREADS
;
4209 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4211 wxPy_END_ALLOW_THREADS
;
4212 } Py_INCREF(Py_None
);
4213 _resultobj
= Py_None
;
4217 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4218 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
* _resultobj
;
4221 int _arg1
= (int ) -1;
4222 int _arg2
= (int ) FALSE
;
4223 PyObject
* _argo0
= 0;
4224 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4237 wxPy_BEGIN_ALLOW_THREADS
;
4238 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4240 wxPy_END_ALLOW_THREADS
;
4241 } Py_INCREF(Py_None
);
4242 _resultobj
= Py_None
;
4246 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4247 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
* _resultobj
;
4250 PyObject
* _argo0
= 0;
4251 char *_kwnames
[] = { "self", NULL
};
4254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4264 wxPy_BEGIN_ALLOW_THREADS
;
4265 wxPyTimer_Stop(_arg0
);
4267 wxPy_END_ALLOW_THREADS
;
4268 } Py_INCREF(Py_None
);
4269 _resultobj
= Py_None
;
4273 #define new_wxStopWatch() (new wxStopWatch())
4274 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4275 PyObject
* _resultobj
;
4276 wxStopWatch
* _result
;
4277 char *_kwnames
[] = { NULL
};
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4284 wxPy_BEGIN_ALLOW_THREADS
;
4285 _result
= (wxStopWatch
*)new_wxStopWatch();
4287 wxPy_END_ALLOW_THREADS
;
4289 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4290 _resultobj
= Py_BuildValue("s",_ptemp
);
4293 _resultobj
= Py_None
;
4298 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4299 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4300 PyObject
* _resultobj
;
4301 wxStopWatch
* _arg0
;
4302 long _arg1
= (long ) 0;
4303 PyObject
* _argo0
= 0;
4304 char *_kwnames
[] = { "self","t", NULL
};
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4317 wxPy_BEGIN_ALLOW_THREADS
;
4318 wxStopWatch_Start(_arg0
,_arg1
);
4320 wxPy_END_ALLOW_THREADS
;
4321 } Py_INCREF(Py_None
);
4322 _resultobj
= Py_None
;
4326 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4327 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
* _resultobj
;
4329 wxStopWatch
* _arg0
;
4330 PyObject
* _argo0
= 0;
4331 char *_kwnames
[] = { "self", NULL
};
4334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4344 wxPy_BEGIN_ALLOW_THREADS
;
4345 wxStopWatch_Pause(_arg0
);
4347 wxPy_END_ALLOW_THREADS
;
4348 } Py_INCREF(Py_None
);
4349 _resultobj
= Py_None
;
4353 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4354 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4355 PyObject
* _resultobj
;
4356 wxStopWatch
* _arg0
;
4357 PyObject
* _argo0
= 0;
4358 char *_kwnames
[] = { "self", NULL
};
4361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4364 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4365 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4371 wxPy_BEGIN_ALLOW_THREADS
;
4372 wxStopWatch_Resume(_arg0
);
4374 wxPy_END_ALLOW_THREADS
;
4375 } Py_INCREF(Py_None
);
4376 _resultobj
= Py_None
;
4380 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4381 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
* _resultobj
;
4384 wxStopWatch
* _arg0
;
4385 PyObject
* _argo0
= 0;
4386 char *_kwnames
[] = { "self", NULL
};
4389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4399 wxPy_BEGIN_ALLOW_THREADS
;
4400 _result
= (long )wxStopWatch_Time(_arg0
);
4402 wxPy_END_ALLOW_THREADS
;
4403 } _resultobj
= Py_BuildValue("l",_result
);
4407 #define new_wxLog() (new wxLog())
4408 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
* _resultobj
;
4411 char *_kwnames
[] = { NULL
};
4415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4418 wxPy_BEGIN_ALLOW_THREADS
;
4419 _result
= (wxLog
*)new_wxLog();
4421 wxPy_END_ALLOW_THREADS
;
4423 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4424 _resultobj
= Py_BuildValue("s",_ptemp
);
4427 _resultobj
= Py_None
;
4432 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
* _resultobj
;
4435 char *_kwnames
[] = { NULL
};
4438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4441 wxPy_BEGIN_ALLOW_THREADS
;
4442 _result
= (bool )wxLog::IsEnabled();
4444 wxPy_END_ALLOW_THREADS
;
4445 } _resultobj
= Py_BuildValue("i",_result
);
4449 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4450 PyObject
* _resultobj
;
4452 bool _arg0
= (bool ) TRUE
;
4453 int tempbool0
= (int) TRUE
;
4454 char *_kwnames
[] = { "doIt", NULL
};
4457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4459 _arg0
= (bool ) tempbool0
;
4461 wxPy_BEGIN_ALLOW_THREADS
;
4462 _result
= (bool )wxLog::EnableLogging(_arg0
);
4464 wxPy_END_ALLOW_THREADS
;
4465 } _resultobj
= Py_BuildValue("i",_result
);
4469 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
* _resultobj
;
4473 int _arg2
= (int ) 0;
4474 PyObject
* _argo0
= 0;
4475 char *_kwnames
[] = { "level","szString","t", NULL
};
4478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4488 wxPy_BEGIN_ALLOW_THREADS
;
4489 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
4491 wxPy_END_ALLOW_THREADS
;
4492 } Py_INCREF(Py_None
);
4493 _resultobj
= Py_None
;
4497 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4498 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4499 PyObject
* _resultobj
;
4501 PyObject
* _argo0
= 0;
4502 char *_kwnames
[] = { "self", NULL
};
4505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4515 wxPy_BEGIN_ALLOW_THREADS
;
4518 wxPy_END_ALLOW_THREADS
;
4519 } Py_INCREF(Py_None
);
4520 _resultobj
= Py_None
;
4524 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4525 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
* _resultobj
;
4529 PyObject
* _argo0
= 0;
4530 char *_kwnames
[] = { "self", NULL
};
4533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4543 wxPy_BEGIN_ALLOW_THREADS
;
4544 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4546 wxPy_END_ALLOW_THREADS
;
4547 } _resultobj
= Py_BuildValue("i",_result
);
4551 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
* _resultobj
;
4553 char *_kwnames
[] = { NULL
};
4556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4559 wxPy_BEGIN_ALLOW_THREADS
;
4560 wxLog::FlushActive();
4562 wxPy_END_ALLOW_THREADS
;
4563 } Py_INCREF(Py_None
);
4564 _resultobj
= Py_None
;
4568 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4569 PyObject
* _resultobj
;
4571 char *_kwnames
[] = { NULL
};
4575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4578 wxPy_BEGIN_ALLOW_THREADS
;
4579 _result
= (wxLog
*)wxLog::GetActiveTarget();
4581 wxPy_END_ALLOW_THREADS
;
4583 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4584 _resultobj
= Py_BuildValue("s",_ptemp
);
4587 _resultobj
= Py_None
;
4592 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
* _resultobj
;
4596 PyObject
* _argo0
= 0;
4597 char *_kwnames
[] = { "pLogger", NULL
};
4601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4611 wxPy_BEGIN_ALLOW_THREADS
;
4612 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4614 wxPy_END_ALLOW_THREADS
;
4616 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4617 _resultobj
= Py_BuildValue("s",_ptemp
);
4620 _resultobj
= Py_None
;
4625 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
* _resultobj
;
4627 char *_kwnames
[] = { NULL
};
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4633 wxPy_BEGIN_ALLOW_THREADS
;
4636 wxPy_END_ALLOW_THREADS
;
4637 } Py_INCREF(Py_None
);
4638 _resultobj
= Py_None
;
4642 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
* _resultobj
;
4644 char *_kwnames
[] = { NULL
};
4647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4650 wxPy_BEGIN_ALLOW_THREADS
;
4653 wxPy_END_ALLOW_THREADS
;
4654 } Py_INCREF(Py_None
);
4655 _resultobj
= Py_None
;
4659 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4660 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
* _resultobj
;
4663 bool _arg1
= (bool ) TRUE
;
4664 PyObject
* _argo0
= 0;
4665 int tempbool1
= (int) TRUE
;
4666 char *_kwnames
[] = { "self","bVerbose", NULL
};
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4678 _arg1
= (bool ) tempbool1
;
4680 wxPy_BEGIN_ALLOW_THREADS
;
4681 wxLog_SetVerbose(_arg0
,_arg1
);
4683 wxPy_END_ALLOW_THREADS
;
4684 } Py_INCREF(Py_None
);
4685 _resultobj
= Py_None
;
4689 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4690 PyObject
* _resultobj
;
4691 char *_kwnames
[] = { NULL
};
4694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4697 wxPy_BEGIN_ALLOW_THREADS
;
4698 wxLog::DontCreateOnDemand();
4700 wxPy_END_ALLOW_THREADS
;
4701 } Py_INCREF(Py_None
);
4702 _resultobj
= Py_None
;
4706 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4707 PyObject
* _resultobj
;
4708 wxTraceMask
* _arg0
;
4709 PyObject
* _argo0
= 0;
4710 char *_kwnames
[] = { "ulMask", NULL
};
4713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4716 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4717 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4723 wxPy_BEGIN_ALLOW_THREADS
;
4724 wxLog::SetTraceMask(*_arg0
);
4726 wxPy_END_ALLOW_THREADS
;
4727 } Py_INCREF(Py_None
);
4728 _resultobj
= Py_None
;
4732 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
* _resultobj
;
4735 PyObject
* _obj0
= 0;
4736 char *_kwnames
[] = { "str", NULL
};
4739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4742 #if PYTHON_API_VERSION >= 1009
4743 char* tmpPtr
; int tmpSize
;
4744 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4745 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4748 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4750 _arg0
= new wxString(tmpPtr
, tmpSize
);
4752 if (!PyString_Check(_obj0
)) {
4753 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4756 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4760 wxPy_BEGIN_ALLOW_THREADS
;
4761 wxLog::AddTraceMask(*_arg0
);
4763 wxPy_END_ALLOW_THREADS
;
4764 } Py_INCREF(Py_None
);
4765 _resultobj
= Py_None
;
4773 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
* _resultobj
;
4776 PyObject
* _obj0
= 0;
4777 char *_kwnames
[] = { "str", NULL
};
4780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4783 #if PYTHON_API_VERSION >= 1009
4784 char* tmpPtr
; int tmpSize
;
4785 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4786 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4789 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4791 _arg0
= new wxString(tmpPtr
, tmpSize
);
4793 if (!PyString_Check(_obj0
)) {
4794 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4797 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4801 wxPy_BEGIN_ALLOW_THREADS
;
4802 wxLog::RemoveTraceMask(*_arg0
);
4804 wxPy_END_ALLOW_THREADS
;
4805 } Py_INCREF(Py_None
);
4806 _resultobj
= Py_None
;
4814 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4815 PyObject
* _resultobj
;
4816 char *_kwnames
[] = { NULL
};
4819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
4822 wxPy_BEGIN_ALLOW_THREADS
;
4823 wxLog::ClearTraceMasks();
4825 wxPy_END_ALLOW_THREADS
;
4826 } Py_INCREF(Py_None
);
4827 _resultobj
= Py_None
;
4831 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4832 PyObject
* _resultobj
;
4834 char *_kwnames
[] = { "ts", NULL
};
4837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_SetTimestamp",_kwnames
,&_arg0
))
4840 wxPy_BEGIN_ALLOW_THREADS
;
4841 wxLog::SetTimestamp(_arg0
);
4843 wxPy_END_ALLOW_THREADS
;
4844 } Py_INCREF(Py_None
);
4845 _resultobj
= Py_None
;
4849 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
* _resultobj
;
4852 char *_kwnames
[] = { NULL
};
4855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
4858 wxPy_BEGIN_ALLOW_THREADS
;
4859 _result
= (wxChar
*)wxLog::GetTimestamp();
4861 wxPy_END_ALLOW_THREADS
;
4862 } _resultobj
= Py_BuildValue("s", _result
);
4866 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4867 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
* _resultobj
;
4871 PyObject
* _argo0
= 0;
4872 char *_kwnames
[] = { "self", NULL
};
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4878 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4879 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4880 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4885 wxPy_BEGIN_ALLOW_THREADS
;
4886 _result
= (bool )wxLog_GetVerbose(_arg0
);
4888 wxPy_END_ALLOW_THREADS
;
4889 } _resultobj
= Py_BuildValue("i",_result
);
4893 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4894 PyObject
* _resultobj
;
4895 wxTraceMask
* _result
;
4896 char *_kwnames
[] = { NULL
};
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4903 wxPy_BEGIN_ALLOW_THREADS
;
4904 _result
= new wxTraceMask (wxLog::GetTraceMask());
4906 wxPy_END_ALLOW_THREADS
;
4907 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
4908 _resultobj
= Py_BuildValue("s",_ptemp
);
4912 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
* _resultobj
;
4916 char *_kwnames
[] = { "mask", NULL
};
4919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
4922 wxPy_BEGIN_ALLOW_THREADS
;
4923 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
4925 wxPy_END_ALLOW_THREADS
;
4926 } _resultobj
= Py_BuildValue("i",_result
);
4930 static wxString
wxLog_TimeStamp(wxLog
*self
) {
4932 wxLog::TimeStamp(&msg
);
4935 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4936 PyObject
* _resultobj
;
4939 PyObject
* _argo0
= 0;
4940 char *_kwnames
[] = { "self", NULL
};
4943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
4946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
4953 wxPy_BEGIN_ALLOW_THREADS
;
4954 _result
= new wxString (wxLog_TimeStamp(_arg0
));
4956 wxPy_END_ALLOW_THREADS
;
4958 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4966 static void *SwigwxLogStderrTowxLog(void *ptr
) {
4969 src
= (wxLogStderr
*) ptr
;
4970 dest
= (wxLog
*) src
;
4971 return (void *) dest
;
4974 #define new_wxLogStderr() (new wxLogStderr())
4975 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4976 PyObject
* _resultobj
;
4977 wxLogStderr
* _result
;
4978 char *_kwnames
[] = { NULL
};
4982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
4985 wxPy_BEGIN_ALLOW_THREADS
;
4986 _result
= (wxLogStderr
*)new_wxLogStderr();
4988 wxPy_END_ALLOW_THREADS
;
4990 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
4991 _resultobj
= Py_BuildValue("s",_ptemp
);
4994 _resultobj
= Py_None
;
4999 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5002 src
= (wxLogTextCtrl
*) ptr
;
5003 dest
= (wxLog
*) src
;
5004 return (void *) dest
;
5007 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5008 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
* _resultobj
;
5010 wxLogTextCtrl
* _result
;
5012 PyObject
* _argo0
= 0;
5013 char *_kwnames
[] = { "pTextCtrl", NULL
};
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5027 wxPy_BEGIN_ALLOW_THREADS
;
5028 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5030 wxPy_END_ALLOW_THREADS
;
5032 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5033 _resultobj
= Py_BuildValue("s",_ptemp
);
5036 _resultobj
= Py_None
;
5041 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5044 src
= (wxLogGui
*) ptr
;
5045 dest
= (wxLog
*) src
;
5046 return (void *) dest
;
5049 #define new_wxLogGui() (new wxLogGui())
5050 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5051 PyObject
* _resultobj
;
5053 char *_kwnames
[] = { NULL
};
5057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5060 wxPy_BEGIN_ALLOW_THREADS
;
5061 _result
= (wxLogGui
*)new_wxLogGui();
5063 wxPy_END_ALLOW_THREADS
;
5065 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5066 _resultobj
= Py_BuildValue("s",_ptemp
);
5069 _resultobj
= Py_None
;
5074 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5077 src
= (wxLogWindow
*) ptr
;
5078 dest
= (wxLog
*) src
;
5079 return (void *) dest
;
5082 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5083 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
* _resultobj
;
5085 wxLogWindow
* _result
;
5088 bool _arg2
= (bool ) TRUE
;
5089 bool _arg3
= (bool ) TRUE
;
5090 PyObject
* _argo0
= 0;
5091 int tempbool2
= (int) TRUE
;
5092 int tempbool3
= (int) TRUE
;
5093 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
5100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5106 _arg2
= (bool ) tempbool2
;
5107 _arg3
= (bool ) tempbool3
;
5109 wxPy_BEGIN_ALLOW_THREADS
;
5110 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
5112 wxPy_END_ALLOW_THREADS
;
5114 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5115 _resultobj
= Py_BuildValue("s",_ptemp
);
5118 _resultobj
= Py_None
;
5123 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5124 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
* _resultobj
;
5126 wxLogWindow
* _arg0
;
5127 bool _arg1
= (bool ) TRUE
;
5128 PyObject
* _argo0
= 0;
5129 int tempbool1
= (int) TRUE
;
5130 char *_kwnames
[] = { "self","bShow", NULL
};
5133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5142 _arg1
= (bool ) tempbool1
;
5144 wxPy_BEGIN_ALLOW_THREADS
;
5145 wxLogWindow_Show(_arg0
,_arg1
);
5147 wxPy_END_ALLOW_THREADS
;
5148 } Py_INCREF(Py_None
);
5149 _resultobj
= Py_None
;
5153 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5154 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
* _resultobj
;
5157 wxLogWindow
* _arg0
;
5158 PyObject
* _argo0
= 0;
5159 char *_kwnames
[] = { "self", NULL
};
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5172 wxPy_BEGIN_ALLOW_THREADS
;
5173 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5175 wxPy_END_ALLOW_THREADS
;
5176 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5180 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5181 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5182 PyObject
* _resultobj
;
5184 wxLogWindow
* _arg0
;
5185 PyObject
* _argo0
= 0;
5186 char *_kwnames
[] = { "self", NULL
};
5190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5200 wxPy_BEGIN_ALLOW_THREADS
;
5201 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5203 wxPy_END_ALLOW_THREADS
;
5205 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5206 _resultobj
= Py_BuildValue("s",_ptemp
);
5209 _resultobj
= Py_None
;
5214 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5215 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5216 PyObject
* _resultobj
;
5218 wxLogWindow
* _arg0
;
5219 PyObject
* _argo0
= 0;
5220 char *_kwnames
[] = { "self", NULL
};
5223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5233 wxPy_BEGIN_ALLOW_THREADS
;
5234 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5236 wxPy_END_ALLOW_THREADS
;
5237 } _resultobj
= Py_BuildValue("i",_result
);
5241 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5242 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5243 PyObject
* _resultobj
;
5244 wxLogWindow
* _arg0
;
5246 PyObject
* _argo0
= 0;
5248 char *_kwnames
[] = { "self","bDoPass", NULL
};
5251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5260 _arg1
= (bool ) tempbool1
;
5262 wxPy_BEGIN_ALLOW_THREADS
;
5263 wxLogWindow_PassMessages(_arg0
,_arg1
);
5265 wxPy_END_ALLOW_THREADS
;
5266 } Py_INCREF(Py_None
);
5267 _resultobj
= Py_None
;
5271 #define new_wxLogNull() (new wxLogNull())
5272 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5273 PyObject
* _resultobj
;
5274 wxLogNull
* _result
;
5275 char *_kwnames
[] = { NULL
};
5279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5282 wxPy_BEGIN_ALLOW_THREADS
;
5283 _result
= (wxLogNull
*)new_wxLogNull();
5285 wxPy_END_ALLOW_THREADS
;
5287 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5288 _resultobj
= Py_BuildValue("s",_ptemp
);
5291 _resultobj
= Py_None
;
5296 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5297 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
* _resultobj
;
5300 PyObject
* _argo0
= 0;
5301 char *_kwnames
[] = { "self", NULL
};
5304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5314 wxPy_BEGIN_ALLOW_THREADS
;
5315 delete_wxLogNull(_arg0
);
5317 wxPy_END_ALLOW_THREADS
;
5318 } Py_INCREF(Py_None
);
5319 _resultobj
= Py_None
;
5323 static void *SwigwxLogChainTowxLog(void *ptr
) {
5326 src
= (wxLogChain
*) ptr
;
5327 dest
= (wxLog
*) src
;
5328 return (void *) dest
;
5331 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5332 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
* _resultobj
;
5334 wxLogChain
* _result
;
5336 PyObject
* _argo0
= 0;
5337 char *_kwnames
[] = { "logger", NULL
};
5341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5351 wxPy_BEGIN_ALLOW_THREADS
;
5352 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5354 wxPy_END_ALLOW_THREADS
;
5356 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5357 _resultobj
= Py_BuildValue("s",_ptemp
);
5360 _resultobj
= Py_None
;
5365 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5366 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
* _resultobj
;
5370 PyObject
* _argo0
= 0;
5371 PyObject
* _argo1
= 0;
5372 char *_kwnames
[] = { "self","logger", NULL
};
5375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5385 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5386 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5392 wxPy_BEGIN_ALLOW_THREADS
;
5393 wxLogChain_SetLog(_arg0
,_arg1
);
5395 wxPy_END_ALLOW_THREADS
;
5396 } Py_INCREF(Py_None
);
5397 _resultobj
= Py_None
;
5401 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5402 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
* _resultobj
;
5406 PyObject
* _argo0
= 0;
5408 char *_kwnames
[] = { "self","bDoPass", NULL
};
5411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5420 _arg1
= (bool ) tempbool1
;
5422 wxPy_BEGIN_ALLOW_THREADS
;
5423 wxLogChain_PassMessages(_arg0
,_arg1
);
5425 wxPy_END_ALLOW_THREADS
;
5426 } Py_INCREF(Py_None
);
5427 _resultobj
= Py_None
;
5431 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5432 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5433 PyObject
* _resultobj
;
5436 PyObject
* _argo0
= 0;
5437 char *_kwnames
[] = { "self", NULL
};
5440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5450 wxPy_BEGIN_ALLOW_THREADS
;
5451 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5453 wxPy_END_ALLOW_THREADS
;
5454 } _resultobj
= Py_BuildValue("i",_result
);
5458 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5459 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5460 PyObject
* _resultobj
;
5463 PyObject
* _argo0
= 0;
5464 char *_kwnames
[] = { "self", NULL
};
5468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5478 wxPy_BEGIN_ALLOW_THREADS
;
5479 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5481 wxPy_END_ALLOW_THREADS
;
5483 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5484 _resultobj
= Py_BuildValue("s",_ptemp
);
5487 _resultobj
= Py_None
;
5492 static void *SwigwxPyLogTowxLog(void *ptr
) {
5495 src
= (wxPyLog
*) ptr
;
5496 dest
= (wxLog
*) src
;
5497 return (void *) dest
;
5500 #define new_wxPyLog() (new wxPyLog())
5501 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5502 PyObject
* _resultobj
;
5504 char *_kwnames
[] = { NULL
};
5508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5511 wxPy_BEGIN_ALLOW_THREADS
;
5512 _result
= (wxPyLog
*)new_wxPyLog();
5514 wxPy_END_ALLOW_THREADS
;
5516 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5517 _resultobj
= Py_BuildValue("s",_ptemp
);
5520 _resultobj
= Py_None
;
5525 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5526 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5527 PyObject
* _resultobj
;
5531 PyObject
* _argo0
= 0;
5532 PyObject
* _obj1
= 0;
5533 PyObject
* _obj2
= 0;
5534 char *_kwnames
[] = { "self","self","_class", NULL
};
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5553 wxPy_BEGIN_ALLOW_THREADS
;
5554 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5556 wxPy_END_ALLOW_THREADS
;
5557 } Py_INCREF(Py_None
);
5558 _resultobj
= Py_None
;
5562 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5563 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
* _resultobj
;
5566 PyObject
* _argo0
= 0;
5567 char *_kwnames
[] = { "self", NULL
};
5570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5573 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5574 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5580 wxPy_BEGIN_ALLOW_THREADS
;
5581 wxPyLog_Destroy(_arg0
);
5583 wxPy_END_ALLOW_THREADS
;
5584 } Py_INCREF(Py_None
);
5585 _resultobj
= Py_None
;
5589 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5590 wxProcessEvent
*src
;
5592 src
= (wxProcessEvent
*) ptr
;
5593 dest
= (wxEvent
*) src
;
5594 return (void *) dest
;
5597 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5598 wxProcessEvent
*src
;
5600 src
= (wxProcessEvent
*) ptr
;
5601 dest
= (wxObject
*) src
;
5602 return (void *) dest
;
5605 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5606 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5607 PyObject
* _resultobj
;
5608 wxProcessEvent
* _result
;
5609 int _arg0
= (int ) 0;
5610 int _arg1
= (int ) 0;
5611 int _arg2
= (int ) 0;
5612 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5619 wxPy_BEGIN_ALLOW_THREADS
;
5620 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5622 wxPy_END_ALLOW_THREADS
;
5624 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5625 _resultobj
= Py_BuildValue("s",_ptemp
);
5628 _resultobj
= Py_None
;
5633 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5634 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5635 PyObject
* _resultobj
;
5637 wxProcessEvent
* _arg0
;
5638 PyObject
* _argo0
= 0;
5639 char *_kwnames
[] = { "self", NULL
};
5642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5652 wxPy_BEGIN_ALLOW_THREADS
;
5653 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5655 wxPy_END_ALLOW_THREADS
;
5656 } _resultobj
= Py_BuildValue("i",_result
);
5660 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5661 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5662 PyObject
* _resultobj
;
5664 wxProcessEvent
* _arg0
;
5665 PyObject
* _argo0
= 0;
5666 char *_kwnames
[] = { "self", NULL
};
5669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5679 wxPy_BEGIN_ALLOW_THREADS
;
5680 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5682 wxPy_END_ALLOW_THREADS
;
5683 } _resultobj
= Py_BuildValue("i",_result
);
5687 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5688 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5689 PyObject
* _resultobj
;
5691 wxProcessEvent
* _arg0
;
5693 PyObject
* _argo0
= 0;
5694 char *_kwnames
[] = { "self","m_pid", NULL
};
5697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5707 wxPy_BEGIN_ALLOW_THREADS
;
5708 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5710 wxPy_END_ALLOW_THREADS
;
5711 } _resultobj
= Py_BuildValue("i",_result
);
5715 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5716 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5717 PyObject
* _resultobj
;
5719 wxProcessEvent
* _arg0
;
5720 PyObject
* _argo0
= 0;
5721 char *_kwnames
[] = { "self", NULL
};
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5734 wxPy_BEGIN_ALLOW_THREADS
;
5735 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5737 wxPy_END_ALLOW_THREADS
;
5738 } _resultobj
= Py_BuildValue("i",_result
);
5742 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5743 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
* _resultobj
;
5746 wxProcessEvent
* _arg0
;
5748 PyObject
* _argo0
= 0;
5749 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5762 wxPy_BEGIN_ALLOW_THREADS
;
5763 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5765 wxPy_END_ALLOW_THREADS
;
5766 } _resultobj
= Py_BuildValue("i",_result
);
5770 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5771 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
* _resultobj
;
5774 wxProcessEvent
* _arg0
;
5775 PyObject
* _argo0
= 0;
5776 char *_kwnames
[] = { "self", NULL
};
5779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5789 wxPy_BEGIN_ALLOW_THREADS
;
5790 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5792 wxPy_END_ALLOW_THREADS
;
5793 } _resultobj
= Py_BuildValue("i",_result
);
5797 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5800 src
= (wxPyProcess
*) ptr
;
5801 dest
= (wxEvtHandler
*) src
;
5802 return (void *) dest
;
5805 static void *SwigwxPyProcessTowxObject(void *ptr
) {
5808 src
= (wxPyProcess
*) ptr
;
5809 dest
= (wxObject
*) src
;
5810 return (void *) dest
;
5813 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5814 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5815 PyObject
* _resultobj
;
5816 wxPyProcess
* _result
;
5817 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
5818 int _arg1
= (int ) -1;
5819 PyObject
* _argo0
= 0;
5820 char *_kwnames
[] = { "parent","id", NULL
};
5824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
5827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
5829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
5834 wxPy_BEGIN_ALLOW_THREADS
;
5835 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
5837 wxPy_END_ALLOW_THREADS
;
5839 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
5840 _resultobj
= Py_BuildValue("s",_ptemp
);
5843 _resultobj
= Py_None
;
5848 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
5849 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
* _resultobj
;
5851 wxPyProcess
* _arg0
;
5852 PyObject
* _argo0
= 0;
5853 char *_kwnames
[] = { "self", NULL
};
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
5859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
5866 wxPy_BEGIN_ALLOW_THREADS
;
5867 wxPyProcess_Destroy(_arg0
);
5869 wxPy_END_ALLOW_THREADS
;
5870 } Py_INCREF(Py_None
);
5871 _resultobj
= Py_None
;
5875 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5876 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
* _resultobj
;
5878 wxPyProcess
* _arg0
;
5881 PyObject
* _argo0
= 0;
5882 PyObject
* _obj1
= 0;
5883 PyObject
* _obj2
= 0;
5884 char *_kwnames
[] = { "self","self","_class", NULL
};
5887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
5903 wxPy_BEGIN_ALLOW_THREADS
;
5904 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5906 wxPy_END_ALLOW_THREADS
;
5907 } Py_INCREF(Py_None
);
5908 _resultobj
= Py_None
;
5912 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
5913 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5914 PyObject
* _resultobj
;
5915 wxPyProcess
* _arg0
;
5918 PyObject
* _argo0
= 0;
5919 char *_kwnames
[] = { "self","pid","status", NULL
};
5922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
5932 wxPy_BEGIN_ALLOW_THREADS
;
5933 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
5935 wxPy_END_ALLOW_THREADS
;
5936 } Py_INCREF(Py_None
);
5937 _resultobj
= Py_None
;
5941 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
5942 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5943 PyObject
* _resultobj
;
5944 wxPyProcess
* _arg0
;
5945 PyObject
* _argo0
= 0;
5946 char *_kwnames
[] = { "self", NULL
};
5949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
5952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
5959 wxPy_BEGIN_ALLOW_THREADS
;
5960 wxProcess_Redirect(_arg0
);
5962 wxPy_END_ALLOW_THREADS
;
5963 } Py_INCREF(Py_None
);
5964 _resultobj
= Py_None
;
5968 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
5969 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5970 PyObject
* _resultobj
;
5972 wxPyProcess
* _arg0
;
5973 PyObject
* _argo0
= 0;
5974 char *_kwnames
[] = { "self", NULL
};
5977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
5980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
5987 wxPy_BEGIN_ALLOW_THREADS
;
5988 _result
= (bool )wxProcess_IsRedirected(_arg0
);
5990 wxPy_END_ALLOW_THREADS
;
5991 } _resultobj
= Py_BuildValue("i",_result
);
5995 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
5996 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5997 PyObject
* _resultobj
;
5998 wxPyProcess
* _arg0
;
5999 PyObject
* _argo0
= 0;
6000 char *_kwnames
[] = { "self", NULL
};
6003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6013 wxPy_BEGIN_ALLOW_THREADS
;
6014 wxProcess_Detach(_arg0
);
6016 wxPy_END_ALLOW_THREADS
;
6017 } Py_INCREF(Py_None
);
6018 _resultobj
= Py_None
;
6022 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6023 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6024 PyObject
* _resultobj
;
6025 wxInputStream
* _result
;
6026 wxPyProcess
* _arg0
;
6027 PyObject
* _argo0
= 0;
6028 char *_kwnames
[] = { "self", NULL
};
6031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6034 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6035 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6036 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6041 wxPy_BEGIN_ALLOW_THREADS
;
6042 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6044 wxPy_END_ALLOW_THREADS
;
6046 wxPyInputStream
* _ptr
= NULL
;
6049 _ptr
= new wxPyInputStream(_result
);
6051 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6056 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6057 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6058 PyObject
* _resultobj
;
6059 wxInputStream
* _result
;
6060 wxPyProcess
* _arg0
;
6061 PyObject
* _argo0
= 0;
6062 char *_kwnames
[] = { "self", NULL
};
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6075 wxPy_BEGIN_ALLOW_THREADS
;
6076 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6078 wxPy_END_ALLOW_THREADS
;
6080 wxPyInputStream
* _ptr
= NULL
;
6083 _ptr
= new wxPyInputStream(_result
);
6085 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6090 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6091 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
* _resultobj
;
6093 wxOutputStream
* _result
;
6094 wxPyProcess
* _arg0
;
6095 PyObject
* _argo0
= 0;
6096 char *_kwnames
[] = { "self", NULL
};
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6110 wxPy_BEGIN_ALLOW_THREADS
;
6111 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6113 wxPy_END_ALLOW_THREADS
;
6115 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6116 _resultobj
= Py_BuildValue("s",_ptemp
);
6119 _resultobj
= Py_None
;
6124 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6125 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6126 PyObject
* _resultobj
;
6127 wxPyProcess
* _arg0
;
6128 PyObject
* _argo0
= 0;
6129 char *_kwnames
[] = { "self", NULL
};
6132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6142 wxPy_BEGIN_ALLOW_THREADS
;
6143 wxProcess_CloseOutput(_arg0
);
6145 wxPy_END_ALLOW_THREADS
;
6146 } Py_INCREF(Py_None
);
6147 _resultobj
= Py_None
;
6151 static void *SwigwxJoystickTowxObject(void *ptr
) {
6154 src
= (wxJoystick
*) ptr
;
6155 dest
= (wxObject
*) src
;
6156 return (void *) dest
;
6159 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6160 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6161 PyObject
* _resultobj
;
6162 wxJoystick
* _result
;
6163 int _arg0
= (int ) wxJOYSTICK1
;
6164 char *_kwnames
[] = { "joystick", NULL
};
6168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6171 wxPy_BEGIN_ALLOW_THREADS
;
6172 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6174 wxPy_END_ALLOW_THREADS
;
6176 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6177 _resultobj
= Py_BuildValue("s",_ptemp
);
6180 _resultobj
= Py_None
;
6185 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6186 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6187 PyObject
* _resultobj
;
6189 PyObject
* _argo0
= 0;
6190 char *_kwnames
[] = { "self", NULL
};
6193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6203 wxPy_BEGIN_ALLOW_THREADS
;
6204 delete_wxJoystick(_arg0
);
6206 wxPy_END_ALLOW_THREADS
;
6207 } Py_INCREF(Py_None
);
6208 _resultobj
= Py_None
;
6212 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6213 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
* _resultobj
;
6217 PyObject
* _argo0
= 0;
6218 char *_kwnames
[] = { "self", NULL
};
6222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6232 wxPy_BEGIN_ALLOW_THREADS
;
6233 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6235 wxPy_END_ALLOW_THREADS
;
6236 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6237 _resultobj
= Py_BuildValue("s",_ptemp
);
6241 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6242 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6243 PyObject
* _resultobj
;
6246 PyObject
* _argo0
= 0;
6247 char *_kwnames
[] = { "self", NULL
};
6250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6260 wxPy_BEGIN_ALLOW_THREADS
;
6261 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6263 wxPy_END_ALLOW_THREADS
;
6264 } _resultobj
= Py_BuildValue("i",_result
);
6268 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6269 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
* _resultobj
;
6273 PyObject
* _argo0
= 0;
6274 char *_kwnames
[] = { "self", NULL
};
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6287 wxPy_BEGIN_ALLOW_THREADS
;
6288 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6290 wxPy_END_ALLOW_THREADS
;
6291 } _resultobj
= Py_BuildValue("i",_result
);
6295 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6296 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6297 PyObject
* _resultobj
;
6300 PyObject
* _argo0
= 0;
6301 char *_kwnames
[] = { "self", NULL
};
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6314 wxPy_BEGIN_ALLOW_THREADS
;
6315 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6317 wxPy_END_ALLOW_THREADS
;
6318 } _resultobj
= Py_BuildValue("i",_result
);
6322 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6323 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
* _resultobj
;
6327 PyObject
* _argo0
= 0;
6328 char *_kwnames
[] = { "self", NULL
};
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6341 wxPy_BEGIN_ALLOW_THREADS
;
6342 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6344 wxPy_END_ALLOW_THREADS
;
6345 } _resultobj
= Py_BuildValue("i",_result
);
6349 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6350 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6351 PyObject
* _resultobj
;
6354 PyObject
* _argo0
= 0;
6355 char *_kwnames
[] = { "self", NULL
};
6358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6368 wxPy_BEGIN_ALLOW_THREADS
;
6369 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6371 wxPy_END_ALLOW_THREADS
;
6372 } _resultobj
= Py_BuildValue("i",_result
);
6376 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6377 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
* _resultobj
;
6381 PyObject
* _argo0
= 0;
6382 char *_kwnames
[] = { "self", NULL
};
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6395 wxPy_BEGIN_ALLOW_THREADS
;
6396 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6398 wxPy_END_ALLOW_THREADS
;
6399 } _resultobj
= Py_BuildValue("i",_result
);
6403 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6404 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
* _resultobj
;
6408 PyObject
* _argo0
= 0;
6409 char *_kwnames
[] = { "self", NULL
};
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6422 wxPy_BEGIN_ALLOW_THREADS
;
6423 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6425 wxPy_END_ALLOW_THREADS
;
6426 } _resultobj
= Py_BuildValue("i",_result
);
6430 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6431 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
* _resultobj
;
6435 PyObject
* _argo0
= 0;
6436 char *_kwnames
[] = { "self", NULL
};
6439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6449 wxPy_BEGIN_ALLOW_THREADS
;
6450 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6452 wxPy_END_ALLOW_THREADS
;
6453 } _resultobj
= Py_BuildValue("i",_result
);
6457 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6458 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
* _resultobj
;
6462 PyObject
* _argo0
= 0;
6463 char *_kwnames
[] = { "self","threshold", NULL
};
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6476 wxPy_BEGIN_ALLOW_THREADS
;
6477 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6479 wxPy_END_ALLOW_THREADS
;
6480 } Py_INCREF(Py_None
);
6481 _resultobj
= Py_None
;
6485 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6486 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
* _resultobj
;
6490 PyObject
* _argo0
= 0;
6491 char *_kwnames
[] = { "self", NULL
};
6494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6504 wxPy_BEGIN_ALLOW_THREADS
;
6505 _result
= (bool )wxJoystick_IsOk(_arg0
);
6507 wxPy_END_ALLOW_THREADS
;
6508 } _resultobj
= Py_BuildValue("i",_result
);
6512 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6513 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6514 PyObject
* _resultobj
;
6517 PyObject
* _argo0
= 0;
6518 char *_kwnames
[] = { "self", NULL
};
6521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6531 wxPy_BEGIN_ALLOW_THREADS
;
6532 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6534 wxPy_END_ALLOW_THREADS
;
6535 } _resultobj
= Py_BuildValue("i",_result
);
6539 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6540 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6541 PyObject
* _resultobj
;
6544 PyObject
* _argo0
= 0;
6545 char *_kwnames
[] = { "self", NULL
};
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6558 wxPy_BEGIN_ALLOW_THREADS
;
6559 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6561 wxPy_END_ALLOW_THREADS
;
6562 } _resultobj
= Py_BuildValue("i",_result
);
6566 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6567 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6568 PyObject
* _resultobj
;
6571 PyObject
* _argo0
= 0;
6572 char *_kwnames
[] = { "self", NULL
};
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6585 wxPy_BEGIN_ALLOW_THREADS
;
6586 _result
= (int )wxJoystick_GetProductId(_arg0
);
6588 wxPy_END_ALLOW_THREADS
;
6589 } _resultobj
= Py_BuildValue("i",_result
);
6593 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6594 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6595 PyObject
* _resultobj
;
6598 PyObject
* _argo0
= 0;
6599 char *_kwnames
[] = { "self", NULL
};
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6612 wxPy_BEGIN_ALLOW_THREADS
;
6613 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6615 wxPy_END_ALLOW_THREADS
;
6617 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6625 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6626 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6627 PyObject
* _resultobj
;
6630 PyObject
* _argo0
= 0;
6631 char *_kwnames
[] = { "self", NULL
};
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6644 wxPy_BEGIN_ALLOW_THREADS
;
6645 _result
= (int )wxJoystick_GetXMin(_arg0
);
6647 wxPy_END_ALLOW_THREADS
;
6648 } _resultobj
= Py_BuildValue("i",_result
);
6652 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6653 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6654 PyObject
* _resultobj
;
6657 PyObject
* _argo0
= 0;
6658 char *_kwnames
[] = { "self", NULL
};
6661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6671 wxPy_BEGIN_ALLOW_THREADS
;
6672 _result
= (int )wxJoystick_GetYMin(_arg0
);
6674 wxPy_END_ALLOW_THREADS
;
6675 } _resultobj
= Py_BuildValue("i",_result
);
6679 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6680 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6681 PyObject
* _resultobj
;
6684 PyObject
* _argo0
= 0;
6685 char *_kwnames
[] = { "self", NULL
};
6688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6698 wxPy_BEGIN_ALLOW_THREADS
;
6699 _result
= (int )wxJoystick_GetZMin(_arg0
);
6701 wxPy_END_ALLOW_THREADS
;
6702 } _resultobj
= Py_BuildValue("i",_result
);
6706 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6707 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
* _resultobj
;
6711 PyObject
* _argo0
= 0;
6712 char *_kwnames
[] = { "self", NULL
};
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6725 wxPy_BEGIN_ALLOW_THREADS
;
6726 _result
= (int )wxJoystick_GetXMax(_arg0
);
6728 wxPy_END_ALLOW_THREADS
;
6729 } _resultobj
= Py_BuildValue("i",_result
);
6733 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6734 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
* _resultobj
;
6738 PyObject
* _argo0
= 0;
6739 char *_kwnames
[] = { "self", NULL
};
6742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6752 wxPy_BEGIN_ALLOW_THREADS
;
6753 _result
= (int )wxJoystick_GetYMax(_arg0
);
6755 wxPy_END_ALLOW_THREADS
;
6756 } _resultobj
= Py_BuildValue("i",_result
);
6760 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6761 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6762 PyObject
* _resultobj
;
6765 PyObject
* _argo0
= 0;
6766 char *_kwnames
[] = { "self", NULL
};
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
6772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6779 wxPy_BEGIN_ALLOW_THREADS
;
6780 _result
= (int )wxJoystick_GetZMax(_arg0
);
6782 wxPy_END_ALLOW_THREADS
;
6783 } _resultobj
= Py_BuildValue("i",_result
);
6787 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6788 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
* _resultobj
;
6792 PyObject
* _argo0
= 0;
6793 char *_kwnames
[] = { "self", NULL
};
6796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
6799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
6806 wxPy_BEGIN_ALLOW_THREADS
;
6807 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
6809 wxPy_END_ALLOW_THREADS
;
6810 } _resultobj
= Py_BuildValue("i",_result
);
6814 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
6815 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6816 PyObject
* _resultobj
;
6819 PyObject
* _argo0
= 0;
6820 char *_kwnames
[] = { "self", NULL
};
6823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
6826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
6833 wxPy_BEGIN_ALLOW_THREADS
;
6834 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
6836 wxPy_END_ALLOW_THREADS
;
6837 } _resultobj
= Py_BuildValue("i",_result
);
6841 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
6842 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
* _resultobj
;
6846 PyObject
* _argo0
= 0;
6847 char *_kwnames
[] = { "self", NULL
};
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
6853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
6860 wxPy_BEGIN_ALLOW_THREADS
;
6861 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
6863 wxPy_END_ALLOW_THREADS
;
6864 } _resultobj
= Py_BuildValue("i",_result
);
6868 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
6869 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6870 PyObject
* _resultobj
;
6873 PyObject
* _argo0
= 0;
6874 char *_kwnames
[] = { "self", NULL
};
6877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
6880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
6887 wxPy_BEGIN_ALLOW_THREADS
;
6888 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
6890 wxPy_END_ALLOW_THREADS
;
6891 } _resultobj
= Py_BuildValue("i",_result
);
6895 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
6896 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6897 PyObject
* _resultobj
;
6900 PyObject
* _argo0
= 0;
6901 char *_kwnames
[] = { "self", NULL
};
6904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
6907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
6914 wxPy_BEGIN_ALLOW_THREADS
;
6915 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
6917 wxPy_END_ALLOW_THREADS
;
6918 } _resultobj
= Py_BuildValue("i",_result
);
6922 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
6923 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
* _resultobj
;
6927 PyObject
* _argo0
= 0;
6928 char *_kwnames
[] = { "self", NULL
};
6931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
6934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
6941 wxPy_BEGIN_ALLOW_THREADS
;
6942 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
6944 wxPy_END_ALLOW_THREADS
;
6945 } _resultobj
= Py_BuildValue("i",_result
);
6949 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
6950 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6951 PyObject
* _resultobj
;
6954 PyObject
* _argo0
= 0;
6955 char *_kwnames
[] = { "self", NULL
};
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
6961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
6968 wxPy_BEGIN_ALLOW_THREADS
;
6969 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
6971 wxPy_END_ALLOW_THREADS
;
6972 } _resultobj
= Py_BuildValue("i",_result
);
6976 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
6977 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
* _resultobj
;
6981 PyObject
* _argo0
= 0;
6982 char *_kwnames
[] = { "self", NULL
};
6985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
6988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
6995 wxPy_BEGIN_ALLOW_THREADS
;
6996 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
6998 wxPy_END_ALLOW_THREADS
;
6999 } _resultobj
= Py_BuildValue("i",_result
);
7003 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7004 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7005 PyObject
* _resultobj
;
7008 PyObject
* _argo0
= 0;
7009 char *_kwnames
[] = { "self", NULL
};
7012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7022 wxPy_BEGIN_ALLOW_THREADS
;
7023 _result
= (int )wxJoystick_GetUMin(_arg0
);
7025 wxPy_END_ALLOW_THREADS
;
7026 } _resultobj
= Py_BuildValue("i",_result
);
7030 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7031 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7032 PyObject
* _resultobj
;
7035 PyObject
* _argo0
= 0;
7036 char *_kwnames
[] = { "self", NULL
};
7039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7049 wxPy_BEGIN_ALLOW_THREADS
;
7050 _result
= (int )wxJoystick_GetUMax(_arg0
);
7052 wxPy_END_ALLOW_THREADS
;
7053 } _resultobj
= Py_BuildValue("i",_result
);
7057 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7058 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
* _resultobj
;
7062 PyObject
* _argo0
= 0;
7063 char *_kwnames
[] = { "self", NULL
};
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7076 wxPy_BEGIN_ALLOW_THREADS
;
7077 _result
= (int )wxJoystick_GetVMin(_arg0
);
7079 wxPy_END_ALLOW_THREADS
;
7080 } _resultobj
= Py_BuildValue("i",_result
);
7084 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7085 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
* _resultobj
;
7089 PyObject
* _argo0
= 0;
7090 char *_kwnames
[] = { "self", NULL
};
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7103 wxPy_BEGIN_ALLOW_THREADS
;
7104 _result
= (int )wxJoystick_GetVMax(_arg0
);
7106 wxPy_END_ALLOW_THREADS
;
7107 } _resultobj
= Py_BuildValue("i",_result
);
7111 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7112 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
* _resultobj
;
7116 PyObject
* _argo0
= 0;
7117 char *_kwnames
[] = { "self", NULL
};
7120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7130 wxPy_BEGIN_ALLOW_THREADS
;
7131 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7133 wxPy_END_ALLOW_THREADS
;
7134 } _resultobj
= Py_BuildValue("i",_result
);
7138 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7139 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7140 PyObject
* _resultobj
;
7143 PyObject
* _argo0
= 0;
7144 char *_kwnames
[] = { "self", NULL
};
7147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7157 wxPy_BEGIN_ALLOW_THREADS
;
7158 _result
= (bool )wxJoystick_HasZ(_arg0
);
7160 wxPy_END_ALLOW_THREADS
;
7161 } _resultobj
= Py_BuildValue("i",_result
);
7165 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7166 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
* _resultobj
;
7170 PyObject
* _argo0
= 0;
7171 char *_kwnames
[] = { "self", NULL
};
7174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7184 wxPy_BEGIN_ALLOW_THREADS
;
7185 _result
= (bool )wxJoystick_HasU(_arg0
);
7187 wxPy_END_ALLOW_THREADS
;
7188 } _resultobj
= Py_BuildValue("i",_result
);
7192 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7193 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7194 PyObject
* _resultobj
;
7197 PyObject
* _argo0
= 0;
7198 char *_kwnames
[] = { "self", NULL
};
7201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7211 wxPy_BEGIN_ALLOW_THREADS
;
7212 _result
= (bool )wxJoystick_HasV(_arg0
);
7214 wxPy_END_ALLOW_THREADS
;
7215 } _resultobj
= Py_BuildValue("i",_result
);
7219 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7220 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
* _resultobj
;
7224 PyObject
* _argo0
= 0;
7225 char *_kwnames
[] = { "self", NULL
};
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7238 wxPy_BEGIN_ALLOW_THREADS
;
7239 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7241 wxPy_END_ALLOW_THREADS
;
7242 } _resultobj
= Py_BuildValue("i",_result
);
7246 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7247 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7248 PyObject
* _resultobj
;
7251 PyObject
* _argo0
= 0;
7252 char *_kwnames
[] = { "self", NULL
};
7255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7265 wxPy_BEGIN_ALLOW_THREADS
;
7266 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7268 wxPy_END_ALLOW_THREADS
;
7269 } _resultobj
= Py_BuildValue("i",_result
);
7273 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7274 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7275 PyObject
* _resultobj
;
7278 PyObject
* _argo0
= 0;
7279 char *_kwnames
[] = { "self", NULL
};
7282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7285 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7286 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7292 wxPy_BEGIN_ALLOW_THREADS
;
7293 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7295 wxPy_END_ALLOW_THREADS
;
7296 } _resultobj
= Py_BuildValue("i",_result
);
7300 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7301 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7302 PyObject
* _resultobj
;
7306 int _arg2
= (int ) 0;
7307 PyObject
* _argo0
= 0;
7308 PyObject
* _argo1
= 0;
7309 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7322 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7323 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7329 wxPy_BEGIN_ALLOW_THREADS
;
7330 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7332 wxPy_END_ALLOW_THREADS
;
7333 } _resultobj
= Py_BuildValue("i",_result
);
7337 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7338 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
* _resultobj
;
7342 PyObject
* _argo0
= 0;
7343 char *_kwnames
[] = { "self", NULL
};
7346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7356 wxPy_BEGIN_ALLOW_THREADS
;
7357 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7359 wxPy_END_ALLOW_THREADS
;
7360 } _resultobj
= Py_BuildValue("i",_result
);
7364 static void *SwigwxWaveTowxObject(void *ptr
) {
7367 src
= (wxWave
*) ptr
;
7368 dest
= (wxObject
*) src
;
7369 return (void *) dest
;
7372 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7373 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
* _resultobj
;
7377 bool _arg1
= (bool ) FALSE
;
7378 PyObject
* _obj0
= 0;
7379 int tempbool1
= (int) FALSE
;
7380 char *_kwnames
[] = { "fileName","isResource", NULL
};
7384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7387 #if PYTHON_API_VERSION >= 1009
7388 char* tmpPtr
; int tmpSize
;
7389 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
7390 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7393 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
7395 _arg0
= new wxString(tmpPtr
, tmpSize
);
7397 if (!PyString_Check(_obj0
)) {
7398 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7401 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
7404 _arg1
= (bool ) tempbool1
;
7406 wxPy_BEGIN_ALLOW_THREADS
;
7407 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7409 wxPy_END_ALLOW_THREADS
;
7411 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7412 _resultobj
= Py_BuildValue("s",_ptemp
);
7415 _resultobj
= Py_None
;
7424 #define delete_wxWave(_swigobj) (delete _swigobj)
7425 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7426 PyObject
* _resultobj
;
7428 PyObject
* _argo0
= 0;
7429 char *_kwnames
[] = { "self", NULL
};
7432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7442 wxPy_BEGIN_ALLOW_THREADS
;
7443 delete_wxWave(_arg0
);
7445 wxPy_END_ALLOW_THREADS
;
7446 } Py_INCREF(Py_None
);
7447 _resultobj
= Py_None
;
7451 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7452 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7453 PyObject
* _resultobj
;
7456 PyObject
* _argo0
= 0;
7457 char *_kwnames
[] = { "self", NULL
};
7460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7470 wxPy_BEGIN_ALLOW_THREADS
;
7471 _result
= (bool )wxWave_IsOk(_arg0
);
7473 wxPy_END_ALLOW_THREADS
;
7474 } _resultobj
= Py_BuildValue("i",_result
);
7478 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7479 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7480 PyObject
* _resultobj
;
7483 bool _arg1
= (bool ) TRUE
;
7484 bool _arg2
= (bool ) FALSE
;
7485 PyObject
* _argo0
= 0;
7486 int tempbool1
= (int) TRUE
;
7487 int tempbool2
= (int) FALSE
;
7488 char *_kwnames
[] = { "self","async","looped", NULL
};
7491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7494 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7495 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7496 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7500 _arg1
= (bool ) tempbool1
;
7501 _arg2
= (bool ) tempbool2
;
7503 wxPy_BEGIN_ALLOW_THREADS
;
7504 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7506 wxPy_END_ALLOW_THREADS
;
7507 } _resultobj
= Py_BuildValue("i",_result
);
7511 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7512 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
* _resultobj
;
7514 wxFileTypeInfo
* _result
;
7519 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7526 wxPy_BEGIN_ALLOW_THREADS
;
7527 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
7529 wxPy_END_ALLOW_THREADS
;
7531 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7532 _resultobj
= Py_BuildValue("s",_ptemp
);
7535 _resultobj
= Py_None
;
7540 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7541 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7542 PyObject
* _resultobj
;
7543 wxFileTypeInfo
* _result
;
7544 wxArrayString
* _arg0
;
7545 PyObject
* _obj0
= 0;
7546 char *_kwnames
[] = { "sArray", NULL
};
7550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7553 if (! PySequence_Check(_obj0
)) {
7554 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7557 _arg0
= new wxArrayString
;
7558 int i
, len
=PySequence_Length(_obj0
);
7559 for (i
=0; i
<len
; i
++) {
7560 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7561 PyObject
* str
= PyObject_Str(item
);
7562 _arg0
->Add(PyString_AsString(item
));
7568 wxPy_BEGIN_ALLOW_THREADS
;
7569 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
7571 wxPy_END_ALLOW_THREADS
;
7573 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7574 _resultobj
= Py_BuildValue("s",_ptemp
);
7577 _resultobj
= Py_None
;
7586 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7587 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7588 PyObject
* _resultobj
;
7589 wxFileTypeInfo
* _result
;
7590 char *_kwnames
[] = { NULL
};
7594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
7597 wxPy_BEGIN_ALLOW_THREADS
;
7598 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
7600 wxPy_END_ALLOW_THREADS
;
7602 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7603 _resultobj
= Py_BuildValue("s",_ptemp
);
7606 _resultobj
= Py_None
;
7611 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
7612 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7613 PyObject
* _resultobj
;
7615 wxFileTypeInfo
* _arg0
;
7616 PyObject
* _argo0
= 0;
7617 char *_kwnames
[] = { "self", NULL
};
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
7623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
7630 wxPy_BEGIN_ALLOW_THREADS
;
7631 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
7633 wxPy_END_ALLOW_THREADS
;
7634 } _resultobj
= Py_BuildValue("i",_result
);
7638 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
7639 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7640 PyObject
* _resultobj
;
7641 wxFileTypeInfo
* _arg0
;
7643 int _arg2
= (int ) 0;
7644 PyObject
* _argo0
= 0;
7645 PyObject
* _obj1
= 0;
7646 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
7649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
7652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
7659 #if PYTHON_API_VERSION >= 1009
7660 char* tmpPtr
; int tmpSize
;
7661 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7662 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7665 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7667 _arg1
= new wxString(tmpPtr
, tmpSize
);
7669 if (!PyString_Check(_obj1
)) {
7670 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7673 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7677 wxPy_BEGIN_ALLOW_THREADS
;
7678 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
7680 wxPy_END_ALLOW_THREADS
;
7681 } Py_INCREF(Py_None
);
7682 _resultobj
= Py_None
;
7690 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
7691 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
* _resultobj
;
7693 wxFileTypeInfo
* _arg0
;
7695 PyObject
* _argo0
= 0;
7696 PyObject
* _obj1
= 0;
7697 char *_kwnames
[] = { "self","shortDesc", NULL
};
7700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
7703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
7710 #if PYTHON_API_VERSION >= 1009
7711 char* tmpPtr
; int tmpSize
;
7712 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
7713 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7716 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
7718 _arg1
= new wxString(tmpPtr
, tmpSize
);
7720 if (!PyString_Check(_obj1
)) {
7721 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7724 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
7728 wxPy_BEGIN_ALLOW_THREADS
;
7729 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
7731 wxPy_END_ALLOW_THREADS
;
7732 } Py_INCREF(Py_None
);
7733 _resultobj
= Py_None
;
7741 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
7742 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7743 PyObject
* _resultobj
;
7745 wxFileTypeInfo
* _arg0
;
7746 PyObject
* _argo0
= 0;
7747 char *_kwnames
[] = { "self", NULL
};
7750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
7753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
7760 wxPy_BEGIN_ALLOW_THREADS
;
7761 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
7762 _result
= (wxString
*) &_result_ref
;
7764 wxPy_END_ALLOW_THREADS
;
7766 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7771 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
7772 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7773 PyObject
* _resultobj
;
7775 wxFileTypeInfo
* _arg0
;
7776 PyObject
* _argo0
= 0;
7777 char *_kwnames
[] = { "self", NULL
};
7780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
7783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
7790 wxPy_BEGIN_ALLOW_THREADS
;
7791 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
7792 _result
= (wxString
*) &_result_ref
;
7794 wxPy_END_ALLOW_THREADS
;
7796 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7801 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
7802 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7803 PyObject
* _resultobj
;
7805 wxFileTypeInfo
* _arg0
;
7806 PyObject
* _argo0
= 0;
7807 char *_kwnames
[] = { "self", NULL
};
7810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
7813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
7820 wxPy_BEGIN_ALLOW_THREADS
;
7821 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
7822 _result
= (wxString
*) &_result_ref
;
7824 wxPy_END_ALLOW_THREADS
;
7826 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7831 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
7832 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7833 PyObject
* _resultobj
;
7835 wxFileTypeInfo
* _arg0
;
7836 PyObject
* _argo0
= 0;
7837 char *_kwnames
[] = { "self", NULL
};
7840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
7843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
7850 wxPy_BEGIN_ALLOW_THREADS
;
7851 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
7852 _result
= (wxString
*) &_result_ref
;
7854 wxPy_END_ALLOW_THREADS
;
7856 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7861 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
7862 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
* _resultobj
;
7865 wxFileTypeInfo
* _arg0
;
7866 PyObject
* _argo0
= 0;
7867 char *_kwnames
[] = { "self", NULL
};
7870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
7873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
7880 wxPy_BEGIN_ALLOW_THREADS
;
7881 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
7882 _result
= (wxString
*) &_result_ref
;
7884 wxPy_END_ALLOW_THREADS
;
7886 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7891 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
7892 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
7893 return wxArrayString2PyList_helper(arr
);
7895 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7896 PyObject
* _resultobj
;
7898 wxFileTypeInfo
* _arg0
;
7899 PyObject
* _argo0
= 0;
7900 char *_kwnames
[] = { "self", NULL
};
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
7906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
7913 wxPy_BEGIN_ALLOW_THREADS
;
7914 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
7916 wxPy_END_ALLOW_THREADS
;
7918 _resultobj
= _result
;
7923 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
7924 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7925 PyObject
* _resultobj
;
7927 wxFileTypeInfo
* _arg0
;
7928 PyObject
* _argo0
= 0;
7929 char *_kwnames
[] = { "self", NULL
};
7932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
7935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
7942 wxPy_BEGIN_ALLOW_THREADS
;
7943 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
7945 wxPy_END_ALLOW_THREADS
;
7946 } _resultobj
= Py_BuildValue("i",_result
);
7950 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
7951 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7952 PyObject
* _resultobj
;
7954 wxFileTypeInfo
* _arg0
;
7955 PyObject
* _argo0
= 0;
7956 char *_kwnames
[] = { "self", NULL
};
7959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
7962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
7969 wxPy_BEGIN_ALLOW_THREADS
;
7970 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
7971 _result
= (wxString
*) &_result_ref
;
7973 wxPy_END_ALLOW_THREADS
;
7975 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7980 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
7981 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7982 PyObject
* _resultobj
;
7984 wxFileTypeInfo
* _arg0
;
7985 PyObject
* _argo0
= 0;
7986 char *_kwnames
[] = { "self", NULL
};
7989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
7992 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7993 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7994 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
7999 wxPy_BEGIN_ALLOW_THREADS
;
8000 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8002 wxPy_END_ALLOW_THREADS
;
8003 } _resultobj
= Py_BuildValue("i",_result
);
8007 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8008 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8009 PyObject
* _resultobj
;
8010 wxFileType
* _result
;
8011 wxFileTypeInfo
* _arg0
;
8012 PyObject
* _argo0
= 0;
8013 char *_kwnames
[] = { "ftInfo", NULL
};
8017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8027 wxPy_BEGIN_ALLOW_THREADS
;
8028 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8030 wxPy_END_ALLOW_THREADS
;
8032 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8033 _resultobj
= Py_BuildValue("s",_ptemp
);
8036 _resultobj
= Py_None
;
8041 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8043 if (self
->GetMimeType(&str
))
8044 return PyString_FromString(str
.c_str());
8048 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8049 PyObject
* _resultobj
;
8052 PyObject
* _argo0
= 0;
8053 char *_kwnames
[] = { "self", NULL
};
8056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8066 wxPy_BEGIN_ALLOW_THREADS
;
8067 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8069 wxPy_END_ALLOW_THREADS
;
8071 _resultobj
= _result
;
8076 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8078 if (self
->GetMimeTypes(arr
))
8079 return wxArrayString2PyList_helper(arr
);
8083 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8084 PyObject
* _resultobj
;
8087 PyObject
* _argo0
= 0;
8088 char *_kwnames
[] = { "self", NULL
};
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8101 wxPy_BEGIN_ALLOW_THREADS
;
8102 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8104 wxPy_END_ALLOW_THREADS
;
8106 _resultobj
= _result
;
8111 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8113 if (self
->GetExtensions(arr
))
8114 return wxArrayString2PyList_helper(arr
);
8118 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8119 PyObject
* _resultobj
;
8122 PyObject
* _argo0
= 0;
8123 char *_kwnames
[] = { "self", NULL
};
8126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8136 wxPy_BEGIN_ALLOW_THREADS
;
8137 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8139 wxPy_END_ALLOW_THREADS
;
8141 _resultobj
= _result
;
8146 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8148 if (self
->GetIcon(&icon
))
8149 return new wxIcon(icon
);
8153 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8154 PyObject
* _resultobj
;
8157 PyObject
* _argo0
= 0;
8158 char *_kwnames
[] = { "self", NULL
};
8162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8172 wxPy_BEGIN_ALLOW_THREADS
;
8173 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8175 wxPy_END_ALLOW_THREADS
;
8177 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8178 _resultobj
= Py_BuildValue("s",_ptemp
);
8181 _resultobj
= Py_None
;
8186 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8190 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8191 wxPyTState
* state
= wxPyBeginBlockThreads();
8192 PyObject
* tuple
= PyTuple_New(3);
8193 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8195 PyTuple_SetItem(tuple
, 1, PyString_FromString(iconFile
.c_str()));
8196 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8197 wxPyEndBlockThreads(state
);
8203 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
* _resultobj
;
8207 PyObject
* _argo0
= 0;
8208 char *_kwnames
[] = { "self", NULL
};
8211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8221 wxPy_BEGIN_ALLOW_THREADS
;
8222 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8224 wxPy_END_ALLOW_THREADS
;
8226 _resultobj
= _result
;
8231 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8233 if (self
->GetDescription(&str
))
8234 return PyString_FromString(str
.c_str());
8238 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8239 PyObject
* _resultobj
;
8242 PyObject
* _argo0
= 0;
8243 char *_kwnames
[] = { "self", NULL
};
8246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8256 wxPy_BEGIN_ALLOW_THREADS
;
8257 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8259 wxPy_END_ALLOW_THREADS
;
8261 _resultobj
= _result
;
8266 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8268 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
8269 return PyString_FromString(str
.c_str());
8273 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
* _resultobj
;
8278 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8279 PyObject
* _argo0
= 0;
8280 PyObject
* _obj1
= 0;
8281 PyObject
* _obj2
= 0;
8282 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8295 #if PYTHON_API_VERSION >= 1009
8296 char* tmpPtr
; int tmpSize
;
8297 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8298 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8301 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8303 _arg1
= new wxString(tmpPtr
, tmpSize
);
8305 if (!PyString_Check(_obj1
)) {
8306 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8309 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8314 #if PYTHON_API_VERSION >= 1009
8315 char* tmpPtr
; int tmpSize
;
8316 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8317 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8320 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8322 _arg2
= new wxString(tmpPtr
, tmpSize
);
8324 if (!PyString_Check(_obj2
)) {
8325 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8328 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8332 wxPy_BEGIN_ALLOW_THREADS
;
8333 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8335 wxPy_END_ALLOW_THREADS
;
8337 _resultobj
= _result
;
8350 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8352 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
8353 return PyString_FromString(str
.c_str());
8357 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8358 PyObject
* _resultobj
;
8362 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8363 PyObject
* _argo0
= 0;
8364 PyObject
* _obj1
= 0;
8365 PyObject
* _obj2
= 0;
8366 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8379 #if PYTHON_API_VERSION >= 1009
8380 char* tmpPtr
; int tmpSize
;
8381 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8382 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8385 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8387 _arg1
= new wxString(tmpPtr
, tmpSize
);
8389 if (!PyString_Check(_obj1
)) {
8390 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8393 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8398 #if PYTHON_API_VERSION >= 1009
8399 char* tmpPtr
; int tmpSize
;
8400 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8401 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8404 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8406 _arg2
= new wxString(tmpPtr
, tmpSize
);
8408 if (!PyString_Check(_obj2
)) {
8409 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8412 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8416 wxPy_BEGIN_ALLOW_THREADS
;
8417 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8419 wxPy_END_ALLOW_THREADS
;
8421 _resultobj
= _result
;
8434 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8435 wxArrayString verbs
;
8436 wxArrayString commands
;
8437 if (self
->GetAllCommands(&verbs
, &commands
,
8438 wxFileType::MessageParameters(filename
, mimetype
))) {
8439 wxPyTState
* state
= wxPyBeginBlockThreads();
8440 PyObject
* tuple
= PyTuple_New(2);
8441 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8442 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8443 wxPyEndBlockThreads(state
);
8449 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
* _resultobj
;
8454 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
8455 PyObject
* _argo0
= 0;
8456 PyObject
* _obj1
= 0;
8457 PyObject
* _obj2
= 0;
8458 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8471 #if PYTHON_API_VERSION >= 1009
8472 char* tmpPtr
; int tmpSize
;
8473 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8474 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8477 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8479 _arg1
= new wxString(tmpPtr
, tmpSize
);
8481 if (!PyString_Check(_obj1
)) {
8482 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8485 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8490 #if PYTHON_API_VERSION >= 1009
8491 char* tmpPtr
; int tmpSize
;
8492 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8493 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8496 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8498 _arg2
= new wxString(tmpPtr
, tmpSize
);
8500 if (!PyString_Check(_obj2
)) {
8501 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8504 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8508 wxPy_BEGIN_ALLOW_THREADS
;
8509 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8511 wxPy_END_ALLOW_THREADS
;
8513 _resultobj
= _result
;
8526 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8527 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8528 PyObject
* _resultobj
;
8533 bool _arg3
= (bool ) TRUE
;
8534 PyObject
* _argo0
= 0;
8535 PyObject
* _obj1
= 0;
8536 PyObject
* _obj2
= 0;
8537 int tempbool3
= (int) TRUE
;
8538 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8551 #if PYTHON_API_VERSION >= 1009
8552 char* tmpPtr
; int tmpSize
;
8553 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8554 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8557 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8559 _arg1
= new wxString(tmpPtr
, tmpSize
);
8561 if (!PyString_Check(_obj1
)) {
8562 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8565 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8569 #if PYTHON_API_VERSION >= 1009
8570 char* tmpPtr
; int tmpSize
;
8571 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8572 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8575 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8577 _arg2
= new wxString(tmpPtr
, tmpSize
);
8579 if (!PyString_Check(_obj2
)) {
8580 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8583 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8586 _arg3
= (bool ) tempbool3
;
8588 wxPy_BEGIN_ALLOW_THREADS
;
8589 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8591 wxPy_END_ALLOW_THREADS
;
8592 } _resultobj
= Py_BuildValue("i",_result
);
8604 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8605 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
* _resultobj
;
8609 wxString
* _arg1
= (wxString
*) &wxEmptyString
;
8610 int _arg2
= (int ) 0;
8611 PyObject
* _argo0
= 0;
8612 PyObject
* _obj1
= 0;
8613 char *_kwnames
[] = { "self","cmd","index", NULL
};
8616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8627 #if PYTHON_API_VERSION >= 1009
8628 char* tmpPtr
; int tmpSize
;
8629 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8630 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8633 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8635 _arg1
= new wxString(tmpPtr
, tmpSize
);
8637 if (!PyString_Check(_obj1
)) {
8638 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8641 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8645 wxPy_BEGIN_ALLOW_THREADS
;
8646 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
8648 wxPy_END_ALLOW_THREADS
;
8649 } _resultobj
= Py_BuildValue("i",_result
);
8657 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
8658 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8659 PyObject
* _resultobj
;
8662 PyObject
* _argo0
= 0;
8663 char *_kwnames
[] = { "self", NULL
};
8666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
8669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
8676 wxPy_BEGIN_ALLOW_THREADS
;
8677 _result
= (bool )wxFileType_Unassociate(_arg0
);
8679 wxPy_END_ALLOW_THREADS
;
8680 } _resultobj
= Py_BuildValue("i",_result
);
8684 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8685 PyObject
* _resultobj
;
8688 wxFileType::MessageParameters
* _arg1
;
8689 PyObject
* _obj0
= 0;
8690 PyObject
* _argo1
= 0;
8691 char *_kwnames
[] = { "command","params", NULL
};
8694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
8697 #if PYTHON_API_VERSION >= 1009
8698 char* tmpPtr
; int tmpSize
;
8699 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
8700 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8703 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
8705 _arg0
= new wxString(tmpPtr
, tmpSize
);
8707 if (!PyString_Check(_obj0
)) {
8708 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8711 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
8715 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8716 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
8717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
8722 wxPy_BEGIN_ALLOW_THREADS
;
8723 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
8725 wxPy_END_ALLOW_THREADS
;
8727 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8739 #define delete_wxFileType(_swigobj) (delete _swigobj)
8740 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8741 PyObject
* _resultobj
;
8743 PyObject
* _argo0
= 0;
8744 char *_kwnames
[] = { "self", NULL
};
8747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
8750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
8757 wxPy_BEGIN_ALLOW_THREADS
;
8758 delete_wxFileType(_arg0
);
8760 wxPy_END_ALLOW_THREADS
;
8761 } Py_INCREF(Py_None
);
8762 _resultobj
= Py_None
;
8766 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8767 PyObject
* _resultobj
;
8771 PyObject
* _obj0
= 0;
8772 PyObject
* _obj1
= 0;
8773 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
8776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
8779 #if PYTHON_API_VERSION >= 1009
8780 char* tmpPtr
; int tmpSize
;
8781 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
8782 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8785 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
8787 _arg0
= new wxString(tmpPtr
, tmpSize
);
8789 if (!PyString_Check(_obj0
)) {
8790 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8793 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
8797 #if PYTHON_API_VERSION >= 1009
8798 char* tmpPtr
; int tmpSize
;
8799 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8800 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8803 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8805 _arg1
= new wxString(tmpPtr
, tmpSize
);
8807 if (!PyString_Check(_obj1
)) {
8808 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8811 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8815 wxPy_BEGIN_ALLOW_THREADS
;
8816 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
8818 wxPy_END_ALLOW_THREADS
;
8819 } _resultobj
= Py_BuildValue("i",_result
);
8831 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
8832 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
* _resultobj
;
8834 wxMimeTypesManager
* _result
;
8835 char *_kwnames
[] = { NULL
};
8839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
8842 wxPy_BEGIN_ALLOW_THREADS
;
8843 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
8845 wxPy_END_ALLOW_THREADS
;
8847 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
8848 _resultobj
= Py_BuildValue("s",_ptemp
);
8851 _resultobj
= Py_None
;
8856 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
8857 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
* _resultobj
;
8859 wxMimeTypesManager
* _arg0
;
8860 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
8861 wxString
* _arg2
= (wxString
*) &wxEmptyString
;
8862 PyObject
* _argo0
= 0;
8863 PyObject
* _obj2
= 0;
8864 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
8867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
8872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
8878 #if PYTHON_API_VERSION >= 1009
8879 char* tmpPtr
; int tmpSize
;
8880 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
8881 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8884 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
8886 _arg2
= new wxString(tmpPtr
, tmpSize
);
8888 if (!PyString_Check(_obj2
)) {
8889 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8892 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
8896 wxPy_BEGIN_ALLOW_THREADS
;
8897 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
8899 wxPy_END_ALLOW_THREADS
;
8900 } Py_INCREF(Py_None
);
8901 _resultobj
= Py_None
;
8909 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
8910 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8911 PyObject
* _resultobj
;
8912 wxMimeTypesManager
* _arg0
;
8913 PyObject
* _argo0
= 0;
8914 char *_kwnames
[] = { "self", NULL
};
8917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
8920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
8922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
8927 wxPy_BEGIN_ALLOW_THREADS
;
8928 wxMimeTypesManager_ClearData(_arg0
);
8930 wxPy_END_ALLOW_THREADS
;
8931 } Py_INCREF(Py_None
);
8932 _resultobj
= Py_None
;
8936 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
8937 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8938 PyObject
* _resultobj
;
8939 wxFileType
* _result
;
8940 wxMimeTypesManager
* _arg0
;
8942 PyObject
* _argo0
= 0;
8943 PyObject
* _obj1
= 0;
8944 char *_kwnames
[] = { "self","ext", NULL
};
8948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
8951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
8953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
8958 #if PYTHON_API_VERSION >= 1009
8959 char* tmpPtr
; int tmpSize
;
8960 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
8961 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8964 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
8966 _arg1
= new wxString(tmpPtr
, tmpSize
);
8968 if (!PyString_Check(_obj1
)) {
8969 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
8972 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
8976 wxPy_BEGIN_ALLOW_THREADS
;
8977 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
8979 wxPy_END_ALLOW_THREADS
;
8981 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8982 _resultobj
= Py_BuildValue("s",_ptemp
);
8985 _resultobj
= Py_None
;
8994 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
8995 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8996 PyObject
* _resultobj
;
8997 wxFileType
* _result
;
8998 wxMimeTypesManager
* _arg0
;
9000 PyObject
* _argo0
= 0;
9001 PyObject
* _obj1
= 0;
9002 char *_kwnames
[] = { "self","mimeType", NULL
};
9006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9016 #if PYTHON_API_VERSION >= 1009
9017 char* tmpPtr
; int tmpSize
;
9018 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9019 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9022 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9024 _arg1
= new wxString(tmpPtr
, tmpSize
);
9026 if (!PyString_Check(_obj1
)) {
9027 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9030 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9034 wxPy_BEGIN_ALLOW_THREADS
;
9035 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9037 wxPy_END_ALLOW_THREADS
;
9039 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9040 _resultobj
= Py_BuildValue("s",_ptemp
);
9043 _resultobj
= Py_None
;
9052 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9053 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9054 PyObject
* _resultobj
;
9056 wxMimeTypesManager
* _arg0
;
9058 bool _arg2
= (bool ) FALSE
;
9059 PyObject
* _argo0
= 0;
9060 PyObject
* _obj1
= 0;
9061 int tempbool2
= (int) FALSE
;
9062 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9068 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9069 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9070 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9075 #if PYTHON_API_VERSION >= 1009
9076 char* tmpPtr
; int tmpSize
;
9077 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9078 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9081 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9083 _arg1
= new wxString(tmpPtr
, tmpSize
);
9085 if (!PyString_Check(_obj1
)) {
9086 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9089 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9092 _arg2
= (bool ) tempbool2
;
9094 wxPy_BEGIN_ALLOW_THREADS
;
9095 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9097 wxPy_END_ALLOW_THREADS
;
9098 } _resultobj
= Py_BuildValue("i",_result
);
9106 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9107 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9108 PyObject
* _resultobj
;
9110 wxMimeTypesManager
* _arg0
;
9112 PyObject
* _argo0
= 0;
9113 PyObject
* _obj1
= 0;
9114 char *_kwnames
[] = { "self","filename", NULL
};
9117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9127 #if PYTHON_API_VERSION >= 1009
9128 char* tmpPtr
; int tmpSize
;
9129 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9130 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9133 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9135 _arg1
= new wxString(tmpPtr
, tmpSize
);
9137 if (!PyString_Check(_obj1
)) {
9138 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9141 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9145 wxPy_BEGIN_ALLOW_THREADS
;
9146 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9148 wxPy_END_ALLOW_THREADS
;
9149 } _resultobj
= Py_BuildValue("i",_result
);
9157 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9159 self
->EnumAllFileTypes(arr
);
9160 return wxArrayString2PyList_helper(arr
);
9162 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9163 PyObject
* _resultobj
;
9165 wxMimeTypesManager
* _arg0
;
9166 PyObject
* _argo0
= 0;
9167 char *_kwnames
[] = { "self", NULL
};
9170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9180 wxPy_BEGIN_ALLOW_THREADS
;
9181 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9183 wxPy_END_ALLOW_THREADS
;
9185 _resultobj
= _result
;
9190 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9191 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9192 PyObject
* _resultobj
;
9193 wxMimeTypesManager
* _arg0
;
9194 wxFileTypeInfo
* _arg1
;
9195 PyObject
* _argo0
= 0;
9196 PyObject
* _argo1
= 0;
9197 char *_kwnames
[] = { "self","ft", NULL
};
9200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9210 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9211 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9217 wxPy_BEGIN_ALLOW_THREADS
;
9218 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9220 wxPy_END_ALLOW_THREADS
;
9221 } Py_INCREF(Py_None
);
9222 _resultobj
= Py_None
;
9226 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9227 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9228 PyObject
* _resultobj
;
9229 wxFileType
* _result
;
9230 wxMimeTypesManager
* _arg0
;
9231 wxFileTypeInfo
* _arg1
;
9232 PyObject
* _argo0
= 0;
9233 PyObject
* _argo1
= 0;
9234 char *_kwnames
[] = { "self","ftInfo", NULL
};
9238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9248 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9249 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9255 wxPy_BEGIN_ALLOW_THREADS
;
9256 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9258 wxPy_END_ALLOW_THREADS
;
9260 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9261 _resultobj
= Py_BuildValue("s",_ptemp
);
9264 _resultobj
= Py_None
;
9269 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9270 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9271 PyObject
* _resultobj
;
9273 wxMimeTypesManager
* _arg0
;
9275 PyObject
* _argo0
= 0;
9276 PyObject
* _argo1
= 0;
9277 char *_kwnames
[] = { "self","ft", NULL
};
9280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9290 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9291 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9297 wxPy_BEGIN_ALLOW_THREADS
;
9298 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9300 wxPy_END_ALLOW_THREADS
;
9301 } _resultobj
= Py_BuildValue("i",_result
);
9305 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9306 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
* _resultobj
;
9308 wxMimeTypesManager
* _arg0
;
9309 PyObject
* _argo0
= 0;
9310 char *_kwnames
[] = { "self", NULL
};
9313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9323 wxPy_BEGIN_ALLOW_THREADS
;
9324 delete_wxMimeTypesManager(_arg0
);
9326 wxPy_END_ALLOW_THREADS
;
9327 } Py_INCREF(Py_None
);
9328 _resultobj
= Py_None
;
9332 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9335 src
= (wxFileHistory
*) ptr
;
9336 dest
= (wxObject
*) src
;
9337 return (void *) dest
;
9340 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9341 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9342 PyObject
* _resultobj
;
9343 wxFileHistory
* _result
;
9344 int _arg0
= (int ) 9;
9345 char *_kwnames
[] = { "maxFiles", NULL
};
9349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9352 wxPy_BEGIN_ALLOW_THREADS
;
9353 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9355 wxPy_END_ALLOW_THREADS
;
9357 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9358 _resultobj
= Py_BuildValue("s",_ptemp
);
9361 _resultobj
= Py_None
;
9366 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9367 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9368 PyObject
* _resultobj
;
9369 wxFileHistory
* _arg0
;
9370 PyObject
* _argo0
= 0;
9371 char *_kwnames
[] = { "self", NULL
};
9374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9384 wxPy_BEGIN_ALLOW_THREADS
;
9385 delete_wxFileHistory(_arg0
);
9387 wxPy_END_ALLOW_THREADS
;
9388 } Py_INCREF(Py_None
);
9389 _resultobj
= Py_None
;
9393 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9394 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9395 PyObject
* _resultobj
;
9396 wxFileHistory
* _arg0
;
9398 PyObject
* _argo0
= 0;
9399 PyObject
* _obj1
= 0;
9400 char *_kwnames
[] = { "self","file", NULL
};
9403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9413 #if PYTHON_API_VERSION >= 1009
9414 char* tmpPtr
; int tmpSize
;
9415 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
9416 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9419 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
9421 _arg1
= new wxString(tmpPtr
, tmpSize
);
9423 if (!PyString_Check(_obj1
)) {
9424 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
9427 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
9431 wxPy_BEGIN_ALLOW_THREADS
;
9432 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9434 wxPy_END_ALLOW_THREADS
;
9435 } Py_INCREF(Py_None
);
9436 _resultobj
= Py_None
;
9444 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9445 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9446 PyObject
* _resultobj
;
9447 wxFileHistory
* _arg0
;
9449 PyObject
* _argo0
= 0;
9450 char *_kwnames
[] = { "self","i", NULL
};
9453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9463 wxPy_BEGIN_ALLOW_THREADS
;
9464 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
9466 wxPy_END_ALLOW_THREADS
;
9467 } Py_INCREF(Py_None
);
9468 _resultobj
= Py_None
;
9472 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9473 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
* _resultobj
;
9476 wxFileHistory
* _arg0
;
9477 PyObject
* _argo0
= 0;
9478 char *_kwnames
[] = { "self", NULL
};
9481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
9484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9491 wxPy_BEGIN_ALLOW_THREADS
;
9492 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
9494 wxPy_END_ALLOW_THREADS
;
9495 } _resultobj
= Py_BuildValue("i",_result
);
9499 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
9500 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
* _resultobj
;
9502 wxFileHistory
* _arg0
;
9504 PyObject
* _argo0
= 0;
9505 PyObject
* _argo1
= 0;
9506 char *_kwnames
[] = { "self","menu", NULL
};
9509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
9512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
9519 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9520 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
9526 wxPy_BEGIN_ALLOW_THREADS
;
9527 wxFileHistory_UseMenu(_arg0
,_arg1
);
9529 wxPy_END_ALLOW_THREADS
;
9530 } Py_INCREF(Py_None
);
9531 _resultobj
= Py_None
;
9535 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
9536 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
* _resultobj
;
9538 wxFileHistory
* _arg0
;
9540 PyObject
* _argo0
= 0;
9541 PyObject
* _argo1
= 0;
9542 char *_kwnames
[] = { "self","menu", NULL
};
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
9548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
9555 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9556 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
9562 wxPy_BEGIN_ALLOW_THREADS
;
9563 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
9565 wxPy_END_ALLOW_THREADS
;
9566 } Py_INCREF(Py_None
);
9567 _resultobj
= Py_None
;
9571 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
9572 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9573 PyObject
* _resultobj
;
9574 wxFileHistory
* _arg0
;
9575 wxConfigBase
* _arg1
;
9576 PyObject
* _argo0
= 0;
9577 PyObject
* _argo1
= 0;
9578 char *_kwnames
[] = { "self","config", NULL
};
9581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
9584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
9591 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9592 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
9598 wxPy_BEGIN_ALLOW_THREADS
;
9599 wxFileHistory_Load(_arg0
,*_arg1
);
9601 wxPy_END_ALLOW_THREADS
;
9602 } Py_INCREF(Py_None
);
9603 _resultobj
= Py_None
;
9607 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
9608 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9609 PyObject
* _resultobj
;
9610 wxFileHistory
* _arg0
;
9611 wxConfigBase
* _arg1
;
9612 PyObject
* _argo0
= 0;
9613 PyObject
* _argo1
= 0;
9614 char *_kwnames
[] = { "self","config", NULL
};
9617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
9620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
9627 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9628 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
9634 wxPy_BEGIN_ALLOW_THREADS
;
9635 wxFileHistory_Save(_arg0
,*_arg1
);
9637 wxPy_END_ALLOW_THREADS
;
9638 } Py_INCREF(Py_None
);
9639 _resultobj
= Py_None
;
9643 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
9644 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
* _resultobj
;
9646 wxFileHistory
* _arg0
;
9647 PyObject
* _argo0
= 0;
9648 char *_kwnames
[] = { "self", NULL
};
9651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
9654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
9661 wxPy_BEGIN_ALLOW_THREADS
;
9662 wxFileHistory_AddFilesToMenu(_arg0
);
9664 wxPy_END_ALLOW_THREADS
;
9665 } Py_INCREF(Py_None
);
9666 _resultobj
= Py_None
;
9670 #define wxFileHistory_AddFilesToSingleMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
9671 static PyObject
*_wrap_wxFileHistory_AddFilesToSingleMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9672 PyObject
* _resultobj
;
9673 wxFileHistory
* _arg0
;
9675 PyObject
* _argo0
= 0;
9676 PyObject
* _argo1
= 0;
9677 char *_kwnames
[] = { "self","menu", NULL
};
9680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToSingleMenu",_kwnames
,&_argo0
,&_argo1
))
9683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToSingleMenu. Expected _wxFileHistory_p.");
9690 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9691 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToSingleMenu. Expected _wxMenu_p.");
9697 wxPy_BEGIN_ALLOW_THREADS
;
9698 wxFileHistory_AddFilesToSingleMenu(_arg0
,_arg1
);
9700 wxPy_END_ALLOW_THREADS
;
9701 } Py_INCREF(Py_None
);
9702 _resultobj
= Py_None
;
9706 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
9707 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9708 PyObject
* _resultobj
;
9710 wxFileHistory
* _arg0
;
9712 PyObject
* _argo0
= 0;
9713 char *_kwnames
[] = { "self","i", NULL
};
9716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
9719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
9726 wxPy_BEGIN_ALLOW_THREADS
;
9727 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
9729 wxPy_END_ALLOW_THREADS
;
9731 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9739 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
9740 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9741 PyObject
* _resultobj
;
9743 wxFileHistory
* _arg0
;
9744 PyObject
* _argo0
= 0;
9745 char *_kwnames
[] = { "self", NULL
};
9748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
9751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
9758 wxPy_BEGIN_ALLOW_THREADS
;
9759 _result
= (int )wxFileHistory_GetCount(_arg0
);
9761 wxPy_END_ALLOW_THREADS
;
9762 } _resultobj
= Py_BuildValue("i",_result
);
9766 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
9767 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9768 PyObject
* _resultobj
;
9770 wxFileHistory
* _arg0
;
9771 PyObject
* _argo0
= 0;
9772 char *_kwnames
[] = { "self", NULL
};
9775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
9778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
9785 wxPy_BEGIN_ALLOW_THREADS
;
9786 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
9788 wxPy_END_ALLOW_THREADS
;
9789 } _resultobj
= Py_BuildValue("i",_result
);
9793 static PyMethodDef misc2cMethods
[] = {
9794 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
9795 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
9796 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
9797 { "wxFileHistory_AddFilesToSingleMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToSingleMenu
, METH_VARARGS
| METH_KEYWORDS
},
9798 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
9799 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
9800 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
9801 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
9802 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
9803 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
9804 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
9805 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
9806 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
9807 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
9808 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
9809 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
9810 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
9811 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
9812 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
9813 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
9814 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
9815 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9816 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
9817 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
9818 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
9819 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
9820 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
9821 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
9822 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
9823 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
9824 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
9825 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
9826 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
9827 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
9828 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
9829 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
9830 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
9831 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
9832 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
9833 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
9834 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9835 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
9836 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
9837 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
9838 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
9839 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
9840 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
9841 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
9842 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
9843 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
9844 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9845 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
9846 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
9847 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
9848 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
9849 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
9850 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
9851 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
9852 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9853 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
9854 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
9855 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
9856 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
9857 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
9858 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
9859 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
9860 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
9861 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
9862 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
9863 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
9864 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
9865 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
9866 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
9867 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
9868 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
9869 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
9870 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
9871 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
9872 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
9873 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
9874 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
9875 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
9876 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
9877 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
9878 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
9879 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
9880 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
9881 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
9882 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
9883 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
9884 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
9885 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
9886 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9887 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
9888 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
9889 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
9890 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
9891 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
9892 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
9893 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
9894 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
9895 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
9896 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9897 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
9898 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
9899 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
9900 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
9901 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
9902 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
9903 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
9904 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
9905 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
9906 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
9907 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9908 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9909 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
9910 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
9911 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
9912 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
9913 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
9914 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
9915 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
9916 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
9917 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9918 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9919 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
9920 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
9921 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9922 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
9923 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
9924 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
9925 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
9926 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
9927 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
9928 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9929 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
9930 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
9931 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
9932 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
9933 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
9934 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9935 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
9936 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
9937 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9938 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9939 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
9940 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
9941 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
9942 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
9943 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9944 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9945 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9946 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
9947 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
9948 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
9949 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
9950 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
9951 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
9952 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
9953 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9954 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
9955 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
9956 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
9957 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9958 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
9959 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
9960 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
9961 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
9962 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
9963 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
9964 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
9965 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
9966 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
9967 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
9968 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
9969 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
9970 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
9971 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
9972 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
9973 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
9974 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
9975 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
9976 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
9977 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
9978 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
9979 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
9980 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
9981 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
9982 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
9983 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
9984 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
9985 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
9986 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
9987 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
9988 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
9989 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
9990 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
9991 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
9992 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
9993 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
9994 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
9995 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
9996 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
9997 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
9998 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
9999 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
10000 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
10001 { "wxFontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_wxFontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10002 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10003 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
10004 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10005 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
10006 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10007 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10008 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
10009 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10010 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10011 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10012 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10013 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10014 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10015 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10016 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10017 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10018 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10019 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
10020 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10021 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10022 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10023 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
10024 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10025 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
10026 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
10027 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
10028 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
10029 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
10030 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10031 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
10032 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
10033 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
10034 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
10035 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
10036 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
10037 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
10038 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10039 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
10040 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
10041 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
10042 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
10043 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
10044 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
10045 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
10046 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10047 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10048 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
10049 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
10050 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
10051 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
10052 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
10053 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
10054 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10055 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10056 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
10057 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10058 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
10059 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10060 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10061 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10062 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
10063 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10064 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
10065 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
10066 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10067 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10068 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10069 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10070 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10071 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10072 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10073 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10074 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10075 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
10076 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10077 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
10078 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
10079 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
10080 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10081 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10082 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10089 * This table is used by the pointer type-checker
10091 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10092 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
10093 { "_signed_long","_long",0},
10094 { "_wxPrintQuality","_wxCoord",0},
10095 { "_wxPrintQuality","_int",0},
10096 { "_wxPrintQuality","_signed_int",0},
10097 { "_wxPrintQuality","_unsigned_int",0},
10098 { "_wxPrintQuality","_wxWindowID",0},
10099 { "_wxPrintQuality","_uint",0},
10100 { "_wxPrintQuality","_EBool",0},
10101 { "_wxPrintQuality","_size_t",0},
10102 { "_wxPrintQuality","_time_t",0},
10103 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
10104 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
10105 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
10106 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
10107 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
10108 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
10109 { "_byte","_unsigned_char",0},
10110 { "_long","_unsigned_long",0},
10111 { "_long","_signed_long",0},
10112 { "_size_t","_wxCoord",0},
10113 { "_size_t","_wxPrintQuality",0},
10114 { "_size_t","_time_t",0},
10115 { "_size_t","_unsigned_int",0},
10116 { "_size_t","_int",0},
10117 { "_size_t","_wxWindowID",0},
10118 { "_size_t","_uint",0},
10119 { "_uint","_wxCoord",0},
10120 { "_uint","_wxPrintQuality",0},
10121 { "_uint","_time_t",0},
10122 { "_uint","_size_t",0},
10123 { "_uint","_unsigned_int",0},
10124 { "_uint","_int",0},
10125 { "_uint","_wxWindowID",0},
10126 { "_wxChar","_char",0},
10127 { "_char","_wxChar",0},
10128 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10129 { "_EBool","_wxCoord",0},
10130 { "_EBool","_wxPrintQuality",0},
10131 { "_EBool","_signed_int",0},
10132 { "_EBool","_int",0},
10133 { "_EBool","_wxWindowID",0},
10134 { "_unsigned_long","_long",0},
10135 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10136 { "_signed_int","_wxCoord",0},
10137 { "_signed_int","_wxPrintQuality",0},
10138 { "_signed_int","_EBool",0},
10139 { "_signed_int","_wxWindowID",0},
10140 { "_signed_int","_int",0},
10141 { "_WXTYPE","_wxDateTime_t",0},
10142 { "_WXTYPE","_short",0},
10143 { "_WXTYPE","_signed_short",0},
10144 { "_WXTYPE","_unsigned_short",0},
10145 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
10146 { "_unsigned_short","_wxDateTime_t",0},
10147 { "_unsigned_short","_WXTYPE",0},
10148 { "_unsigned_short","_short",0},
10149 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
10150 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
10151 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
10152 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
10153 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
10154 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
10155 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
10156 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
10157 { "_signed_short","_WXTYPE",0},
10158 { "_signed_short","_short",0},
10159 { "_unsigned_char","_byte",0},
10160 { "_unsigned_int","_wxCoord",0},
10161 { "_unsigned_int","_wxPrintQuality",0},
10162 { "_unsigned_int","_time_t",0},
10163 { "_unsigned_int","_size_t",0},
10164 { "_unsigned_int","_uint",0},
10165 { "_unsigned_int","_wxWindowID",0},
10166 { "_unsigned_int","_int",0},
10167 { "_short","_wxDateTime_t",0},
10168 { "_short","_WXTYPE",0},
10169 { "_short","_unsigned_short",0},
10170 { "_short","_signed_short",0},
10171 { "_wxWindowID","_wxCoord",0},
10172 { "_wxWindowID","_wxPrintQuality",0},
10173 { "_wxWindowID","_time_t",0},
10174 { "_wxWindowID","_size_t",0},
10175 { "_wxWindowID","_EBool",0},
10176 { "_wxWindowID","_uint",0},
10177 { "_wxWindowID","_int",0},
10178 { "_wxWindowID","_signed_int",0},
10179 { "_wxWindowID","_unsigned_int",0},
10180 { "_int","_wxCoord",0},
10181 { "_int","_wxPrintQuality",0},
10182 { "_int","_time_t",0},
10183 { "_int","_size_t",0},
10184 { "_int","_EBool",0},
10185 { "_int","_uint",0},
10186 { "_int","_wxWindowID",0},
10187 { "_int","_unsigned_int",0},
10188 { "_int","_signed_int",0},
10189 { "_wxDateTime_t","_unsigned_short",0},
10190 { "_wxDateTime_t","_short",0},
10191 { "_wxDateTime_t","_WXTYPE",0},
10192 { "_time_t","_wxCoord",0},
10193 { "_time_t","_wxPrintQuality",0},
10194 { "_time_t","_unsigned_int",0},
10195 { "_time_t","_int",0},
10196 { "_time_t","_wxWindowID",0},
10197 { "_time_t","_uint",0},
10198 { "_time_t","_size_t",0},
10199 { "_wxCoord","_int",0},
10200 { "_wxCoord","_signed_int",0},
10201 { "_wxCoord","_unsigned_int",0},
10202 { "_wxCoord","_wxWindowID",0},
10203 { "_wxCoord","_uint",0},
10204 { "_wxCoord","_EBool",0},
10205 { "_wxCoord","_size_t",0},
10206 { "_wxCoord","_time_t",0},
10207 { "_wxCoord","_wxPrintQuality",0},
10208 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
10211 static PyObject
*SWIG_globals
;
10215 SWIGEXPORT(void) initmisc2c() {
10217 SWIG_globals
= SWIG_newvarlink();
10218 m
= Py_InitModule("misc2c", misc2cMethods
);
10219 d
= PyModule_GetDict(m
);
10220 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
10221 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
10222 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
10223 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
10224 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
10225 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
10226 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
10227 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
10228 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
10229 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
10230 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
10231 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
10232 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
10233 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
10234 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
10235 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
10236 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
10237 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
10238 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
10239 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
10240 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
10241 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
10242 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
10243 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
10244 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
10245 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
10246 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
10247 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
10248 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
10249 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
10250 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
10251 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
10252 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
10253 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
10254 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
10255 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
10256 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
10257 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
10258 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
10259 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
10260 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
10261 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
10262 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
10263 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
10264 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
10265 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
10266 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
10267 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
10268 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
10269 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
10270 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
10271 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
10272 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
10273 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
10274 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
10275 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
10276 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
10277 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
10278 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
10279 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
10280 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
10281 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
10282 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
10283 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
10284 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
10285 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
10286 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
10287 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
10288 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
10289 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
10290 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
10291 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
10292 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
10293 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
10294 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
10295 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
10296 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
10297 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
10298 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
10299 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
10300 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
10301 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
10302 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
10303 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
10304 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
10305 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
10306 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
10307 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
10308 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
10309 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
10310 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
10311 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
10312 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
10313 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
10314 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
10315 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
10316 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
10317 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
10318 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
10319 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
10320 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
10321 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
10322 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10323 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
10325 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
10326 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10327 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
10330 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10331 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);