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 "pyistream.h"
60 #include <wx/resource.h>
61 #include <wx/tooltip.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 // Put some wx default wxChar* values into wxStrings.
104 DECLARE_DEF_STRING(FileSelectorPromptStr
);
105 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr
);
107 static const wxString
wxPyEmptyString(wxT(""));
109 int wxCaret_GetBlinkTime() {
110 return wxCaret::GetBlinkTime();
113 void wxCaret_SetBlinkTime(int milliseconds
) {
114 wxCaret::SetBlinkTime(milliseconds
);
117 bool wxThread_IsMain() {
118 #ifdef WXP_WITH_THREAD
119 return wxThread::IsMain();
125 class wxPyTipProvider
: public wxTipProvider
{
127 wxPyTipProvider(size_t currentTip
)
128 : wxTipProvider(currentTip
) {}
130 DEC_PYCALLBACK_STRING__pure(GetTip
);
135 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
138 #include <wx/generic/dragimgg.h>
140 // A Log class that can be derived from in wxPython
141 class wxPyLog
: public wxLog
{
143 wxPyLog() : wxLog() {}
145 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
147 wxPyBeginBlockThreads();
148 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog")))
149 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
,
150 wx2PyString(szString
), t
));
151 wxPyEndBlockThreads();
153 wxLog::DoLog(level
, szString
, t
);
156 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
158 wxPyBeginBlockThreads();
159 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString")))
160 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)",
161 wx2PyString(szString
), t
));
162 wxPyEndBlockThreads();
164 wxLog::DoLogString(szString
, t
);
169 // C++ version of wxProcess derived class
171 class wxPyProcess
: public wxProcess
{
173 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
174 : wxProcess(parent
, id
)
177 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
182 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
185 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
186 // A C++ stub class for wxJoystick for platforms that don't have it.
187 class wxJoystick
: public wxObject
{
189 wxJoystick(int joystick
= wxJOYSTICK1
) {
190 wxPyBeginBlockThreads();
191 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
192 wxPyEndBlockThreads();
194 wxPoint
GetPosition() { return wxPoint(-1,-1); }
195 int GetZPosition() { return -1; }
196 int GetButtonState() { return -1; }
197 int GetPOVPosition() { return -1; }
198 int GetPOVCTSPosition() { return -1; }
199 int GetRudderPosition() { return -1; }
200 int GetUPosition() { return -1; }
201 int GetVPosition() { return -1; }
202 int GetMovementThreshold() { return -1; }
203 void SetMovementThreshold(int threshold
) {}
205 bool IsOk(void) { return FALSE
; }
206 int GetNumberJoysticks() { return -1; }
207 int GetManufacturerId() { return -1; }
208 int GetProductId() { return -1; }
209 wxString
GetProductName() { return ""; }
210 int GetXMin() { return -1; }
211 int GetYMin() { return -1; }
212 int GetZMin() { return -1; }
213 int GetXMax() { return -1; }
214 int GetYMax() { return -1; }
215 int GetZMax() { return -1; }
216 int GetNumberButtons() { return -1; }
217 int GetNumberAxes() { return -1; }
218 int GetMaxButtons() { return -1; }
219 int GetMaxAxes() { return -1; }
220 int GetPollingMin() { return -1; }
221 int GetPollingMax() { return -1; }
222 int GetRudderMin() { return -1; }
223 int GetRudderMax() { return -1; }
224 int GetUMin() { return -1; }
225 int GetUMax() { return -1; }
226 int GetVMin() { return -1; }
227 int GetVMax() { return -1; }
229 bool HasRudder() { return FALSE
; }
230 bool HasZ() { return FALSE
; }
231 bool HasU() { return FALSE
; }
232 bool HasV() { return FALSE
; }
233 bool HasPOV() { return FALSE
; }
234 bool HasPOV4Dir() { return FALSE
; }
235 bool HasPOVCTS() { return FALSE
; }
237 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
238 bool ReleaseCapture() { return FALSE
; }
243 // A C++ stub class for wxWave for platforms that don't have it.
244 class wxWave
: public wxObject
247 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
248 wxPyBeginBlockThreads();
249 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
250 wxPyEndBlockThreads();
252 wxWave(int size
, const wxByte
* data
) {
253 wxPyBeginBlockThreads();
254 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
255 wxPyEndBlockThreads();
260 bool IsOk() const { return FALSE
; }
261 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
265 // Implementations of some alternate "constructors"
266 wxWave
* wxWaveData(const wxString
& data
) {
267 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
271 extern wxMimeTypesManager
* wxTheMimeTypesManager
;
275 #include <wx/docview.h>
279 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
280 PyObject
* _resultobj
;
282 wxString
* _arg0
= (wxString
*) &wxPyFileSelectorPromptStr
;
283 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
284 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
285 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
286 wxString
* _arg4
= (wxString
*) &wxPyFileSelectorDefaultWildcardStr
;
287 int _arg5
= (int ) 0;
288 wxWindow
* _arg6
= (wxWindow
*) NULL
;
289 int _arg7
= (int ) -1;
290 int _arg8
= (int ) -1;
291 PyObject
* _obj0
= 0;
292 PyObject
* _obj1
= 0;
293 PyObject
* _obj2
= 0;
294 PyObject
* _obj3
= 0;
295 PyObject
* _obj4
= 0;
296 PyObject
* _argo6
= 0;
297 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOOiOii:wxFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
304 _arg0
= wxString_in_helper(_obj0
);
310 _arg1
= wxString_in_helper(_obj1
);
316 _arg2
= wxString_in_helper(_obj2
);
322 _arg3
= wxString_in_helper(_obj3
);
328 _arg4
= wxString_in_helper(_obj4
);
333 if (_argo6
== Py_None
) { _arg6
= NULL
; }
334 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
341 _result
= new wxString (wxFileSelector(*_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
343 wxPyEndAllowThreads(__tstate
);
344 if (PyErr_Occurred()) return NULL
;
347 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
349 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
378 static PyObject
*_wrap_wxLoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
379 PyObject
* _resultobj
;
383 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
384 wxWindow
* _arg3
= (wxWindow
*) NULL
;
385 PyObject
* _obj0
= 0;
386 PyObject
* _obj1
= 0;
387 PyObject
* _obj2
= 0;
388 PyObject
* _argo3
= 0;
389 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxLoadFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
395 _arg0
= wxString_in_helper(_obj0
);
400 _arg1
= wxString_in_helper(_obj1
);
406 _arg2
= wxString_in_helper(_obj2
);
411 if (_argo3
== Py_None
) { _arg3
= NULL
; }
412 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxLoadFileSelector. Expected _wxWindow_p.");
418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
419 _result
= new wxString (wxLoadFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
421 wxPyEndAllowThreads(__tstate
);
422 if (PyErr_Occurred()) return NULL
;
425 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
427 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
448 static PyObject
*_wrap_wxSaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
449 PyObject
* _resultobj
;
453 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
454 wxWindow
* _arg3
= (wxWindow
*) NULL
;
455 PyObject
* _obj0
= 0;
456 PyObject
* _obj1
= 0;
457 PyObject
* _obj2
= 0;
458 PyObject
* _argo3
= 0;
459 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxSaveFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
465 _arg0
= wxString_in_helper(_obj0
);
470 _arg1
= wxString_in_helper(_obj1
);
476 _arg2
= wxString_in_helper(_obj2
);
481 if (_argo3
== Py_None
) { _arg3
= NULL
; }
482 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxSaveFileSelector. Expected _wxWindow_p.");
488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
489 _result
= new wxString (wxSaveFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
491 wxPyEndAllowThreads(__tstate
);
492 if (PyErr_Occurred()) return NULL
;
495 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
497 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
518 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
519 PyObject
* _resultobj
;
522 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
523 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
524 wxWindow
* _arg3
= (wxWindow
*) NULL
;
525 int _arg4
= (int ) -1;
526 int _arg5
= (int ) -1;
527 bool _arg6
= (bool ) TRUE
;
528 PyObject
* _obj0
= 0;
529 PyObject
* _obj1
= 0;
530 PyObject
* _obj2
= 0;
531 PyObject
* _argo3
= 0;
532 int tempbool6
= (int) TRUE
;
533 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
539 _arg0
= wxString_in_helper(_obj0
);
545 _arg1
= wxString_in_helper(_obj1
);
551 _arg2
= wxString_in_helper(_obj2
);
556 if (_argo3
== Py_None
) { _arg3
= NULL
; }
557 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
562 _arg6
= (bool ) tempbool6
;
564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
565 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
567 wxPyEndAllowThreads(__tstate
);
568 if (PyErr_Occurred()) return NULL
;
571 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
573 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
594 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
595 PyObject
* _resultobj
;
598 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
599 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
600 wxWindow
* _arg3
= (wxWindow
*) NULL
;
601 PyObject
* _obj0
= 0;
602 PyObject
* _obj1
= 0;
603 PyObject
* _obj2
= 0;
604 PyObject
* _argo3
= 0;
605 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
611 _arg0
= wxString_in_helper(_obj0
);
617 _arg1
= wxString_in_helper(_obj1
);
623 _arg2
= wxString_in_helper(_obj2
);
628 if (_argo3
== Py_None
) { _arg3
= NULL
; }
629 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
636 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
638 wxPyEndAllowThreads(__tstate
);
639 if (PyErr_Occurred()) return NULL
;
642 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
644 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
665 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
666 PyObject
* _resultobj
;
672 wxWindow
* _arg4
= (wxWindow
*) NULL
;
673 int _arg5
= (int ) -1;
674 int _arg6
= (int ) -1;
675 bool _arg7
= (bool ) TRUE
;
676 int _arg8
= (int ) 150;
677 int _arg9
= (int ) 200;
678 PyObject
* _obj0
= 0;
679 PyObject
* _obj1
= 0;
680 PyObject
* _obj3
= 0;
681 PyObject
* _argo4
= 0;
682 int tempbool7
= (int) TRUE
;
683 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
689 _arg0
= wxString_in_helper(_obj0
);
694 _arg1
= wxString_in_helper(_obj1
);
700 _arg3
= wxString_LIST_helper(_obj3
);
706 if (_argo4
== Py_None
) { _arg4
= NULL
; }
707 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
712 _arg7
= (bool ) tempbool7
;
715 _arg2
= PyList_Size(_obj3
);
722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
723 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
725 wxPyEndAllowThreads(__tstate
);
726 if (PyErr_Occurred()) return NULL
;
729 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
731 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
751 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
752 PyObject
* _resultobj
;
758 wxWindow
* _arg4
= (wxWindow
*) NULL
;
759 int _arg5
= (int ) -1;
760 int _arg6
= (int ) -1;
761 bool _arg7
= (bool ) TRUE
;
762 int _arg8
= (int ) 150;
763 int _arg9
= (int ) 200;
764 PyObject
* _obj0
= 0;
765 PyObject
* _obj1
= 0;
766 PyObject
* _obj3
= 0;
767 PyObject
* _argo4
= 0;
768 int tempbool7
= (int) TRUE
;
769 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
775 _arg0
= wxString_in_helper(_obj0
);
780 _arg1
= wxString_in_helper(_obj1
);
786 _arg3
= wxString_LIST_helper(_obj3
);
792 if (_argo4
== Py_None
) { _arg4
= NULL
; }
793 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
798 _arg7
= (bool ) tempbool7
;
801 _arg2
= PyList_Size(_obj3
);
808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
809 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
811 wxPyEndAllowThreads(__tstate
);
812 if (PyErr_Occurred()) return NULL
;
813 } _resultobj
= Py_BuildValue("i",_result
);
828 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
829 PyObject
* _resultobj
;
832 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
833 int _arg2
= (int ) wxOK
|wxCENTRE
;
834 wxWindow
* _arg3
= (wxWindow
*) NULL
;
835 int _arg4
= (int ) -1;
836 int _arg5
= (int ) -1;
837 PyObject
* _obj0
= 0;
838 PyObject
* _obj1
= 0;
839 PyObject
* _argo3
= 0;
840 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
846 _arg0
= wxString_in_helper(_obj0
);
852 _arg1
= wxString_in_helper(_obj1
);
857 if (_argo3
== Py_None
) { _arg3
= NULL
; }
858 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
865 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
867 wxPyEndAllowThreads(__tstate
);
868 if (PyErr_Occurred()) return NULL
;
869 } _resultobj
= Py_BuildValue("i",_result
);
881 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
882 PyObject
* _resultobj
;
888 long _arg4
= (long ) 0;
889 long _arg5
= (long ) 100;
890 wxWindow
* _arg6
= (wxWindow
*) NULL
;
891 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
892 PyObject
* _obj0
= 0;
893 PyObject
* _obj1
= 0;
894 PyObject
* _obj2
= 0;
895 PyObject
* _argo6
= 0;
897 PyObject
* _obj7
= 0;
898 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
904 _arg0
= wxString_in_helper(_obj0
);
909 _arg1
= wxString_in_helper(_obj1
);
914 _arg2
= wxString_in_helper(_obj2
);
919 if (_argo6
== Py_None
) { _arg6
= NULL
; }
920 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
928 if (! wxPoint_helper(_obj7
, &_arg7
))
932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
933 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
935 wxPyEndAllowThreads(__tstate
);
936 if (PyErr_Occurred()) return NULL
;
937 } _resultobj
= Py_BuildValue("l",_result
);
953 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
954 PyObject
* _resultobj
;
956 char *_kwnames
[] = { NULL
};
959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
963 _result
= (bool )wxColourDisplay();
965 wxPyEndAllowThreads(__tstate
);
966 if (PyErr_Occurred()) return NULL
;
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
981 _result
= (int )wxDisplayDepth();
983 wxPyEndAllowThreads(__tstate
);
984 if (PyErr_Occurred()) return NULL
;
985 } _resultobj
= Py_BuildValue("i",_result
);
989 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
990 PyObject
* _resultobj
;
992 char *_kwnames
[] = { NULL
};
995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
999 _result
= (int )wxGetDisplayDepth();
1001 wxPyEndAllowThreads(__tstate
);
1002 if (PyErr_Occurred()) return NULL
;
1003 } _resultobj
= Py_BuildValue("i",_result
);
1007 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1008 PyObject
* _resultobj
;
1013 char *_kwnames
[] = { NULL
};
1022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1026 wxDisplaySize(_arg0
,_arg1
);
1028 wxPyEndAllowThreads(__tstate
);
1029 if (PyErr_Occurred()) return NULL
;
1030 } Py_INCREF(Py_None
);
1031 _resultobj
= Py_None
;
1034 o
= PyInt_FromLong((long) (*_arg0
));
1035 _resultobj
= t_output_helper(_resultobj
, o
);
1039 o
= PyInt_FromLong((long) (*_arg1
));
1040 _resultobj
= t_output_helper(_resultobj
, o
);
1045 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1046 PyObject
* _resultobj
;
1048 char *_kwnames
[] = { NULL
};
1052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1056 _result
= new wxSize (wxGetDisplaySize());
1058 wxPyEndAllowThreads(__tstate
);
1059 if (PyErr_Occurred()) return NULL
;
1060 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1061 _resultobj
= Py_BuildValue("s",_ptemp
);
1065 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1066 PyObject
* _resultobj
;
1071 char *_kwnames
[] = { NULL
};
1080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1084 wxDisplaySizeMM(_arg0
,_arg1
);
1086 wxPyEndAllowThreads(__tstate
);
1087 if (PyErr_Occurred()) return NULL
;
1088 } Py_INCREF(Py_None
);
1089 _resultobj
= Py_None
;
1092 o
= PyInt_FromLong((long) (*_arg0
));
1093 _resultobj
= t_output_helper(_resultobj
, o
);
1097 o
= PyInt_FromLong((long) (*_arg1
));
1098 _resultobj
= t_output_helper(_resultobj
, o
);
1103 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1104 PyObject
* _resultobj
;
1106 char *_kwnames
[] = { NULL
};
1110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1114 _result
= new wxSize (wxGetDisplaySizeMM());
1116 wxPyEndAllowThreads(__tstate
);
1117 if (PyErr_Occurred()) return NULL
;
1118 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1119 _resultobj
= Py_BuildValue("s",_ptemp
);
1123 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1124 PyObject
* _resultobj
;
1133 char *_kwnames
[] = { NULL
};
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1152 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1154 wxPyEndAllowThreads(__tstate
);
1155 if (PyErr_Occurred()) return NULL
;
1156 } Py_INCREF(Py_None
);
1157 _resultobj
= Py_None
;
1160 o
= PyInt_FromLong((long) (*_arg0
));
1161 _resultobj
= t_output_helper(_resultobj
, o
);
1165 o
= PyInt_FromLong((long) (*_arg1
));
1166 _resultobj
= t_output_helper(_resultobj
, o
);
1170 o
= PyInt_FromLong((long) (*_arg2
));
1171 _resultobj
= t_output_helper(_resultobj
, o
);
1175 o
= PyInt_FromLong((long) (*_arg3
));
1176 _resultobj
= t_output_helper(_resultobj
, o
);
1181 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1182 PyObject
* _resultobj
;
1184 char *_kwnames
[] = { NULL
};
1188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1192 _result
= new wxRect (wxGetClientDisplayRect());
1194 wxPyEndAllowThreads(__tstate
);
1195 if (PyErr_Occurred()) return NULL
;
1196 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1197 _resultobj
= Py_BuildValue("s",_ptemp
);
1201 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1202 PyObject
* _resultobj
;
1204 PyObject
* _argo0
= 0;
1205 char *_kwnames
[] = { "cursor", NULL
};
1208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1219 wxSetCursor(*_arg0
);
1221 wxPyEndAllowThreads(__tstate
);
1222 if (PyErr_Occurred()) return NULL
;
1223 } Py_INCREF(Py_None
);
1224 _resultobj
= Py_None
;
1228 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1229 PyObject
* _resultobj
;
1232 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1233 PyObject
* _obj0
= 0;
1234 PyObject
* _argo1
= 0;
1235 char *_kwnames
[] = { "label","parent", NULL
};
1238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
1241 _arg0
= wxString_in_helper(_obj0
);
1246 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1247 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1254 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
1256 wxPyEndAllowThreads(__tstate
);
1257 if (PyErr_Occurred()) return NULL
;
1258 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1266 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1267 PyObject
* _resultobj
;
1270 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1271 PyObject
* _obj0
= 0;
1272 PyObject
* _argo1
= 0;
1273 char *_kwnames
[] = { "name","parent", NULL
};
1276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1279 _arg0
= wxString_in_helper(_obj0
);
1284 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1285 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1292 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1294 wxPyEndAllowThreads(__tstate
);
1295 if (PyErr_Occurred()) return NULL
;
1296 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1304 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1305 PyObject
* _resultobj
;
1306 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1307 PyObject
* _argo0
= 0;
1308 char *_kwnames
[] = { "cursor", NULL
};
1311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1322 wxBeginBusyCursor(_arg0
);
1324 wxPyEndAllowThreads(__tstate
);
1325 if (PyErr_Occurred()) return NULL
;
1326 } Py_INCREF(Py_None
);
1327 _resultobj
= Py_None
;
1331 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1332 PyObject
* _resultobj
;
1334 char *_kwnames
[] = { NULL
};
1337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1341 _result
= (wxWindow
*)wxGetActiveWindow();
1343 wxPyEndAllowThreads(__tstate
);
1344 if (PyErr_Occurred()) return NULL
;
1345 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1349 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1350 PyObject
* _resultobj
;
1354 PyObject
* _obj0
= 0;
1355 char *_kwnames
[] = { "pt", NULL
};
1358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1362 if (! wxPoint_helper(_obj0
, &_arg0
))
1366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1367 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1369 wxPyEndAllowThreads(__tstate
);
1370 if (PyErr_Occurred()) return NULL
;
1371 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1375 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1376 PyObject
* _resultobj
;
1380 PyObject
* _obj0
= 0;
1381 char *_kwnames
[] = { "pt", NULL
};
1384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1388 if (! wxPoint_helper(_obj0
, &_arg0
))
1392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1393 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1395 wxPyEndAllowThreads(__tstate
);
1396 if (PyErr_Occurred()) return NULL
;
1397 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1401 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1402 PyObject
* _resultobj
;
1406 char *_kwnames
[] = { "name","value", NULL
};
1409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1413 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1415 wxPyEndAllowThreads(__tstate
);
1416 if (PyErr_Occurred()) return NULL
;
1417 } _resultobj
= Py_BuildValue("i",_result
);
1421 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1422 PyObject
* _resultobj
;
1423 char *_kwnames
[] = { NULL
};
1426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1432 wxPyEndAllowThreads(__tstate
);
1433 if (PyErr_Occurred()) return NULL
;
1434 } Py_INCREF(Py_None
);
1435 _resultobj
= Py_None
;
1439 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
* _resultobj
;
1443 char *_kwnames
[] = { "resource", NULL
};
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1451 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1453 wxPyEndAllowThreads(__tstate
);
1454 if (PyErr_Occurred()) return NULL
;
1455 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1456 _resultobj
= Py_BuildValue("s",_ptemp
);
1460 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1461 PyObject
* _resultobj
;
1464 char *_kwnames
[] = { "resource", NULL
};
1468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1472 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1474 wxPyEndAllowThreads(__tstate
);
1475 if (PyErr_Occurred()) return NULL
;
1476 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1477 _resultobj
= Py_BuildValue("s",_ptemp
);
1481 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
* _resultobj
;
1483 wxMenuBar
* _result
;
1485 char *_kwnames
[] = { "resource", NULL
};
1488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1492 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1494 wxPyEndAllowThreads(__tstate
);
1495 if (PyErr_Occurred()) return NULL
;
1496 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1500 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1501 PyObject
* _resultobj
;
1504 char *_kwnames
[] = { "name", NULL
};
1507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1511 _result
= (int )wxResourceGetIdentifier(_arg0
);
1513 wxPyEndAllowThreads(__tstate
);
1514 if (PyErr_Occurred()) return NULL
;
1515 } _resultobj
= Py_BuildValue("i",_result
);
1519 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1520 PyObject
* _resultobj
;
1523 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1524 PyObject
* _argo1
= 0;
1525 char *_kwnames
[] = { "resource","table", NULL
};
1528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1531 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1532 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1539 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1541 wxPyEndAllowThreads(__tstate
);
1542 if (PyErr_Occurred()) return NULL
;
1543 } _resultobj
= Py_BuildValue("i",_result
);
1547 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1548 PyObject
* _resultobj
;
1551 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1552 PyObject
* _argo1
= 0;
1553 char *_kwnames
[] = { "filename","table", NULL
};
1556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1559 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1560 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1567 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1569 wxPyEndAllowThreads(__tstate
);
1570 if (PyErr_Occurred()) return NULL
;
1571 } _resultobj
= Py_BuildValue("i",_result
);
1575 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1576 PyObject
* _resultobj
;
1579 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1580 PyObject
* _argo1
= 0;
1581 char *_kwnames
[] = { "resource","table", NULL
};
1584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1587 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1588 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1595 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1597 wxPyEndAllowThreads(__tstate
);
1598 if (PyErr_Occurred()) return NULL
;
1599 } _resultobj
= Py_BuildValue("i",_result
);
1603 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1604 PyObject
* _resultobj
;
1606 char *_kwnames
[] = { NULL
};
1609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1613 _result
= (int )wxCaret_GetBlinkTime();
1615 wxPyEndAllowThreads(__tstate
);
1616 if (PyErr_Occurred()) return NULL
;
1617 } _resultobj
= Py_BuildValue("i",_result
);
1621 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1622 PyObject
* _resultobj
;
1624 char *_kwnames
[] = { "milliseconds", NULL
};
1627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1631 wxCaret_SetBlinkTime(_arg0
);
1633 wxPyEndAllowThreads(__tstate
);
1634 if (PyErr_Occurred()) return NULL
;
1635 } Py_INCREF(Py_None
);
1636 _resultobj
= Py_None
;
1640 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
* _resultobj
;
1643 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1644 PyObject
* _argo0
= 0;
1645 char *_kwnames
[] = { "win", NULL
};
1648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1651 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1652 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1653 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1659 _result
= (bool )wxSafeYield(_arg0
);
1661 wxPyEndAllowThreads(__tstate
);
1662 if (PyErr_Occurred()) return NULL
;
1663 } _resultobj
= Py_BuildValue("i",_result
);
1667 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1668 PyObject
* _resultobj
;
1669 wxEvtHandler
* _arg0
;
1671 PyObject
* _argo0
= 0;
1672 PyObject
* _argo1
= 0;
1673 char *_kwnames
[] = { "dest","event", NULL
};
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1679 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1680 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1681 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1686 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1687 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1688 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1694 wxPostEvent(_arg0
,*_arg1
);
1696 wxPyEndAllowThreads(__tstate
);
1697 if (PyErr_Occurred()) return NULL
;
1698 } Py_INCREF(Py_None
);
1699 _resultobj
= Py_None
;
1703 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1704 PyObject
* _resultobj
;
1705 char *_kwnames
[] = { NULL
};
1708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1714 wxPyEndAllowThreads(__tstate
);
1715 if (PyErr_Occurred()) return NULL
;
1716 } Py_INCREF(Py_None
);
1717 _resultobj
= Py_None
;
1721 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1722 PyObject
* _resultobj
;
1723 char *_kwnames
[] = { NULL
};
1726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1732 wxPyEndAllowThreads(__tstate
);
1733 if (PyErr_Occurred()) return NULL
;
1734 } Py_INCREF(Py_None
);
1735 _resultobj
= Py_None
;
1739 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1740 PyObject
* _resultobj
;
1741 char *_kwnames
[] = { NULL
};
1744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1750 wxPyEndAllowThreads(__tstate
);
1751 if (PyErr_Occurred()) return NULL
;
1752 } Py_INCREF(Py_None
);
1753 _resultobj
= Py_None
;
1757 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1758 PyObject
* _resultobj
;
1760 char *_kwnames
[] = { NULL
};
1763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1767 _result
= (bool )wxThread_IsMain();
1769 wxPyEndAllowThreads(__tstate
);
1770 if (PyErr_Occurred()) return NULL
;
1771 } _resultobj
= Py_BuildValue("i",_result
);
1775 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1776 PyObject
* _resultobj
;
1779 wxTipProvider
* _arg1
;
1780 bool _arg2
= (bool ) TRUE
;
1781 PyObject
* _argo0
= 0;
1782 PyObject
* _argo1
= 0;
1783 int tempbool2
= (int) TRUE
;
1784 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1797 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1798 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1803 _arg2
= (bool ) tempbool2
;
1805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1806 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1808 wxPyEndAllowThreads(__tstate
);
1809 if (PyErr_Occurred()) return NULL
;
1810 } _resultobj
= Py_BuildValue("i",_result
);
1814 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1815 PyObject
* _resultobj
;
1816 wxTipProvider
* _result
;
1819 PyObject
* _obj0
= 0;
1820 char *_kwnames
[] = { "filename","currentTip", NULL
};
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1827 _arg0
= wxString_in_helper(_obj0
);
1832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1833 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1835 wxPyEndAllowThreads(__tstate
);
1836 if (PyErr_Occurred()) return NULL
;
1838 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1839 _resultobj
= Py_BuildValue("s",_ptemp
);
1842 _resultobj
= Py_None
;
1851 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1852 PyObject
* _resultobj
;
1853 unsigned long _result
;
1854 char *_kwnames
[] = { NULL
};
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1861 _result
= (unsigned long )wxSysErrorCode();
1863 wxPyEndAllowThreads(__tstate
);
1864 if (PyErr_Occurred()) return NULL
;
1865 } _resultobj
= Py_BuildValue("l",_result
);
1869 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
* _resultobj
;
1872 unsigned long _arg0
= (unsigned long ) 0;
1873 char *_kwnames
[] = { "nErrCode", NULL
};
1876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1880 _result
= new wxString (wxSysErrorMsg(_arg0
));
1882 wxPyEndAllowThreads(__tstate
);
1883 if (PyErr_Occurred()) return NULL
;
1886 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1888 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1897 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1898 PyObject
* _resultobj
;
1900 PyObject
* _obj0
= 0;
1901 char *_kwnames
[] = { "szFormat", NULL
};
1904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogFatalError",_kwnames
,&_obj0
))
1907 _arg0
= wxString_in_helper(_obj0
);
1912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1913 wxLogFatalError(*_arg0
);
1915 wxPyEndAllowThreads(__tstate
);
1916 if (PyErr_Occurred()) return NULL
;
1917 } Py_INCREF(Py_None
);
1918 _resultobj
= Py_None
;
1926 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1927 PyObject
* _resultobj
;
1929 PyObject
* _obj0
= 0;
1930 char *_kwnames
[] = { "szFormat", NULL
};
1933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogError",_kwnames
,&_obj0
))
1936 _arg0
= wxString_in_helper(_obj0
);
1941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1944 wxPyEndAllowThreads(__tstate
);
1945 if (PyErr_Occurred()) return NULL
;
1946 } Py_INCREF(Py_None
);
1947 _resultobj
= Py_None
;
1955 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1956 PyObject
* _resultobj
;
1958 PyObject
* _obj0
= 0;
1959 char *_kwnames
[] = { "szFormat", NULL
};
1962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWarning",_kwnames
,&_obj0
))
1965 _arg0
= wxString_in_helper(_obj0
);
1970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1971 wxLogWarning(*_arg0
);
1973 wxPyEndAllowThreads(__tstate
);
1974 if (PyErr_Occurred()) return NULL
;
1975 } Py_INCREF(Py_None
);
1976 _resultobj
= Py_None
;
1984 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1985 PyObject
* _resultobj
;
1987 PyObject
* _obj0
= 0;
1988 char *_kwnames
[] = { "szFormat", NULL
};
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogMessage",_kwnames
,&_obj0
))
1994 _arg0
= wxString_in_helper(_obj0
);
1999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2000 wxLogMessage(*_arg0
);
2002 wxPyEndAllowThreads(__tstate
);
2003 if (PyErr_Occurred()) return NULL
;
2004 } Py_INCREF(Py_None
);
2005 _resultobj
= Py_None
;
2013 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2014 PyObject
* _resultobj
;
2016 PyObject
* _obj0
= 0;
2017 char *_kwnames
[] = { "szFormat", NULL
};
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogInfo",_kwnames
,&_obj0
))
2023 _arg0
= wxString_in_helper(_obj0
);
2028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2031 wxPyEndAllowThreads(__tstate
);
2032 if (PyErr_Occurred()) return NULL
;
2033 } Py_INCREF(Py_None
);
2034 _resultobj
= Py_None
;
2042 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2043 PyObject
* _resultobj
;
2045 PyObject
* _obj0
= 0;
2046 char *_kwnames
[] = { "szFormat", NULL
};
2049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogVerbose",_kwnames
,&_obj0
))
2052 _arg0
= wxString_in_helper(_obj0
);
2057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2058 wxLogVerbose(*_arg0
);
2060 wxPyEndAllowThreads(__tstate
);
2061 if (PyErr_Occurred()) return NULL
;
2062 } Py_INCREF(Py_None
);
2063 _resultobj
= Py_None
;
2071 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2072 PyObject
* _resultobj
;
2074 PyObject
* _obj0
= 0;
2075 char *_kwnames
[] = { "szFormat", NULL
};
2078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogStatus",_kwnames
,&_obj0
))
2081 _arg0
= wxString_in_helper(_obj0
);
2086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2087 wxLogStatus(*_arg0
);
2089 wxPyEndAllowThreads(__tstate
);
2090 if (PyErr_Occurred()) return NULL
;
2091 } Py_INCREF(Py_None
);
2092 _resultobj
= Py_None
;
2100 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
* _resultobj
;
2104 PyObject
* _argo0
= 0;
2105 PyObject
* _obj1
= 0;
2106 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogStatusFrame",_kwnames
,&_argo0
,&_obj1
))
2112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2119 _arg1
= wxString_in_helper(_obj1
);
2124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2125 wxLogStatus(_arg0
,*_arg1
);
2127 wxPyEndAllowThreads(__tstate
);
2128 if (PyErr_Occurred()) return NULL
;
2129 } Py_INCREF(Py_None
);
2130 _resultobj
= Py_None
;
2138 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
* _resultobj
;
2141 PyObject
* _obj0
= 0;
2142 char *_kwnames
[] = { "szFormat", NULL
};
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogSysError",_kwnames
,&_obj0
))
2148 _arg0
= wxString_in_helper(_obj0
);
2153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2154 wxLogSysError(*_arg0
);
2156 wxPyEndAllowThreads(__tstate
);
2157 if (PyErr_Occurred()) return NULL
;
2158 } Py_INCREF(Py_None
);
2159 _resultobj
= Py_None
;
2167 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2168 PyObject
* _resultobj
;
2171 int _arg1
= (int ) (wxEXEC_ASYNC
);
2172 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2173 PyObject
* _obj0
= 0;
2174 PyObject
* _argo2
= 0;
2175 char *_kwnames
[] = { "command","flags","process", NULL
};
2178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2181 _arg0
= wxString_in_helper(_obj0
);
2186 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2187 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2194 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2196 wxPyEndAllowThreads(__tstate
);
2197 if (PyErr_Occurred()) return NULL
;
2198 } _resultobj
= Py_BuildValue("l",_result
);
2206 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2207 PyObject
* _resultobj
;
2210 PyObject
* _obj0
= 0;
2211 char *_kwnames
[] = { "data", NULL
};
2215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2218 _arg0
= wxString_in_helper(_obj0
);
2223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2224 _result
= (wxWave
*)wxWaveData(*_arg0
);
2226 wxPyEndAllowThreads(__tstate
);
2227 if (PyErr_Occurred()) return NULL
;
2229 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2230 _resultobj
= Py_BuildValue("s",_ptemp
);
2233 _resultobj
= Py_None
;
2242 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2244 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2248 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2252 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2253 pyobj
= PyString_FromString(ptemp
);
2257 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2258 PyObject
* _resultobj
;
2260 wxSystemColour _arg0
;
2261 char *_kwnames
[] = { "index", NULL
};
2265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2269 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2271 wxPyEndAllowThreads(__tstate
);
2272 if (PyErr_Occurred()) return NULL
;
2273 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2274 _resultobj
= Py_BuildValue("s",_ptemp
);
2278 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2279 PyObject
* _resultobj
;
2282 char *_kwnames
[] = { "index", NULL
};
2286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2290 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2292 wxPyEndAllowThreads(__tstate
);
2293 if (PyErr_Occurred()) return NULL
;
2294 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2295 _resultobj
= Py_BuildValue("s",_ptemp
);
2299 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2300 PyObject
* _resultobj
;
2302 wxSystemMetric _arg0
;
2303 char *_kwnames
[] = { "index", NULL
};
2306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2310 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2312 wxPyEndAllowThreads(__tstate
);
2313 if (PyErr_Occurred()) return NULL
;
2314 } _resultobj
= Py_BuildValue("i",_result
);
2318 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2319 PyObject
* _resultobj
;
2321 wxSystemFeature _arg0
;
2322 char *_kwnames
[] = { "index", NULL
};
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2329 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2331 wxPyEndAllowThreads(__tstate
);
2332 if (PyErr_Occurred()) return NULL
;
2333 } _resultobj
= Py_BuildValue("i",_result
);
2337 static void *SwigwxToolTipTowxObject(void *ptr
) {
2340 src
= (wxToolTip
*) ptr
;
2341 dest
= (wxObject
*) src
;
2342 return (void *) dest
;
2345 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2346 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2347 PyObject
* _resultobj
;
2348 wxToolTip
* _result
;
2350 PyObject
* _obj0
= 0;
2351 char *_kwnames
[] = { "tip", NULL
};
2355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2358 _arg0
= wxString_in_helper(_obj0
);
2363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2364 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2366 wxPyEndAllowThreads(__tstate
);
2367 if (PyErr_Occurred()) return NULL
;
2369 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2370 _resultobj
= Py_BuildValue("s",_ptemp
);
2373 _resultobj
= Py_None
;
2382 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2383 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2384 PyObject
* _resultobj
;
2387 PyObject
* _argo0
= 0;
2388 PyObject
* _obj1
= 0;
2389 char *_kwnames
[] = { "self","tip", NULL
};
2392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2402 _arg1
= wxString_in_helper(_obj1
);
2407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2408 wxToolTip_SetTip(_arg0
,*_arg1
);
2410 wxPyEndAllowThreads(__tstate
);
2411 if (PyErr_Occurred()) return NULL
;
2412 } Py_INCREF(Py_None
);
2413 _resultobj
= Py_None
;
2421 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2422 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2423 PyObject
* _resultobj
;
2426 PyObject
* _argo0
= 0;
2427 char *_kwnames
[] = { "self", NULL
};
2430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2441 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2443 wxPyEndAllowThreads(__tstate
);
2444 if (PyErr_Occurred()) return NULL
;
2447 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2449 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2458 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2459 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2460 PyObject
* _resultobj
;
2463 PyObject
* _argo0
= 0;
2464 char *_kwnames
[] = { "self", NULL
};
2467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2478 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2480 wxPyEndAllowThreads(__tstate
);
2481 if (PyErr_Occurred()) return NULL
;
2482 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2486 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
* _resultobj
;
2490 char *_kwnames
[] = { "flag", NULL
};
2493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2495 _arg0
= (bool ) tempbool0
;
2497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2498 wxToolTip::Enable(_arg0
);
2500 wxPyEndAllowThreads(__tstate
);
2501 if (PyErr_Occurred()) return NULL
;
2502 } Py_INCREF(Py_None
);
2503 _resultobj
= Py_None
;
2507 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2508 PyObject
* _resultobj
;
2510 char *_kwnames
[] = { "milliseconds", NULL
};
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2517 wxToolTip::SetDelay(_arg0
);
2519 wxPyEndAllowThreads(__tstate
);
2520 if (PyErr_Occurred()) return NULL
;
2521 } Py_INCREF(Py_None
);
2522 _resultobj
= Py_None
;
2526 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2527 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
* _resultobj
;
2532 PyObject
* _argo0
= 0;
2534 PyObject
* _obj1
= 0;
2535 char *_kwnames
[] = { "window","size", NULL
};
2539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2550 if (! wxSize_helper(_obj1
, &_arg1
))
2554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2555 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2557 wxPyEndAllowThreads(__tstate
);
2558 if (PyErr_Occurred()) return NULL
;
2560 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2561 _resultobj
= Py_BuildValue("s",_ptemp
);
2564 _resultobj
= Py_None
;
2569 #define delete_wxCaret(_swigobj) (delete _swigobj)
2570 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2571 PyObject
* _resultobj
;
2573 PyObject
* _argo0
= 0;
2574 char *_kwnames
[] = { "self", NULL
};
2577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2588 delete_wxCaret(_arg0
);
2590 wxPyEndAllowThreads(__tstate
);
2591 if (PyErr_Occurred()) return NULL
;
2592 } Py_INCREF(Py_None
);
2593 _resultobj
= Py_None
;
2597 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2598 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2599 PyObject
* _resultobj
;
2602 PyObject
* _argo0
= 0;
2603 char *_kwnames
[] = { "self", NULL
};
2606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2617 _result
= (bool )wxCaret_IsOk(_arg0
);
2619 wxPyEndAllowThreads(__tstate
);
2620 if (PyErr_Occurred()) return NULL
;
2621 } _resultobj
= Py_BuildValue("i",_result
);
2625 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2626 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2627 PyObject
* _resultobj
;
2630 PyObject
* _argo0
= 0;
2631 char *_kwnames
[] = { "self", NULL
};
2634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2645 _result
= (bool )wxCaret_IsVisible(_arg0
);
2647 wxPyEndAllowThreads(__tstate
);
2648 if (PyErr_Occurred()) return NULL
;
2649 } _resultobj
= Py_BuildValue("i",_result
);
2653 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2654 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2655 PyObject
* _resultobj
;
2661 PyObject
* _argo0
= 0;
2662 char *_kwnames
[] = { "self", NULL
};
2671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2682 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2684 wxPyEndAllowThreads(__tstate
);
2685 if (PyErr_Occurred()) return NULL
;
2686 } Py_INCREF(Py_None
);
2687 _resultobj
= Py_None
;
2690 o
= PyInt_FromLong((long) (*_arg1
));
2691 _resultobj
= t_output_helper(_resultobj
, o
);
2695 o
= PyInt_FromLong((long) (*_arg2
));
2696 _resultobj
= t_output_helper(_resultobj
, o
);
2701 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2702 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
* _resultobj
;
2706 PyObject
* _argo0
= 0;
2707 char *_kwnames
[] = { "self", NULL
};
2711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2722 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2724 wxPyEndAllowThreads(__tstate
);
2725 if (PyErr_Occurred()) return NULL
;
2726 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2727 _resultobj
= Py_BuildValue("s",_ptemp
);
2731 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2732 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2733 PyObject
* _resultobj
;
2739 PyObject
* _argo0
= 0;
2740 char *_kwnames
[] = { "self", NULL
};
2749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2760 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2762 wxPyEndAllowThreads(__tstate
);
2763 if (PyErr_Occurred()) return NULL
;
2764 } Py_INCREF(Py_None
);
2765 _resultobj
= Py_None
;
2768 o
= PyInt_FromLong((long) (*_arg1
));
2769 _resultobj
= t_output_helper(_resultobj
, o
);
2773 o
= PyInt_FromLong((long) (*_arg2
));
2774 _resultobj
= t_output_helper(_resultobj
, o
);
2779 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2780 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2781 PyObject
* _resultobj
;
2784 PyObject
* _argo0
= 0;
2785 char *_kwnames
[] = { "self", NULL
};
2789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2800 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2802 wxPyEndAllowThreads(__tstate
);
2803 if (PyErr_Occurred()) return NULL
;
2804 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2805 _resultobj
= Py_BuildValue("s",_ptemp
);
2809 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2810 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2811 PyObject
* _resultobj
;
2814 PyObject
* _argo0
= 0;
2815 char *_kwnames
[] = { "self", NULL
};
2818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2829 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2831 wxPyEndAllowThreads(__tstate
);
2832 if (PyErr_Occurred()) return NULL
;
2833 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2837 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2838 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
* _resultobj
;
2843 PyObject
* _argo0
= 0;
2844 char *_kwnames
[] = { "self","x","y", NULL
};
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2858 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2860 wxPyEndAllowThreads(__tstate
);
2861 if (PyErr_Occurred()) return NULL
;
2862 } Py_INCREF(Py_None
);
2863 _resultobj
= Py_None
;
2867 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2868 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2869 PyObject
* _resultobj
;
2872 PyObject
* _argo0
= 0;
2874 PyObject
* _obj1
= 0;
2875 char *_kwnames
[] = { "self","pt", NULL
};
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
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_Move. Expected _wxCaret_p.");
2889 if (! wxPoint_helper(_obj1
, &_arg1
))
2893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2894 wxCaret_Move(_arg0
,*_arg1
);
2896 wxPyEndAllowThreads(__tstate
);
2897 if (PyErr_Occurred()) return NULL
;
2898 } Py_INCREF(Py_None
);
2899 _resultobj
= Py_None
;
2903 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2904 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2905 PyObject
* _resultobj
;
2909 PyObject
* _argo0
= 0;
2910 char *_kwnames
[] = { "self","width","height", NULL
};
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2924 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2926 wxPyEndAllowThreads(__tstate
);
2927 if (PyErr_Occurred()) return NULL
;
2928 } Py_INCREF(Py_None
);
2929 _resultobj
= Py_None
;
2933 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2934 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
* _resultobj
;
2938 PyObject
* _argo0
= 0;
2940 PyObject
* _obj1
= 0;
2941 char *_kwnames
[] = { "self","size", NULL
};
2944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2955 if (! wxSize_helper(_obj1
, &_arg1
))
2959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2960 wxCaret_SetSize(_arg0
,*_arg1
);
2962 wxPyEndAllowThreads(__tstate
);
2963 if (PyErr_Occurred()) return NULL
;
2964 } Py_INCREF(Py_None
);
2965 _resultobj
= Py_None
;
2969 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2970 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2971 PyObject
* _resultobj
;
2973 int _arg1
= (int ) TRUE
;
2974 PyObject
* _argo0
= 0;
2975 char *_kwnames
[] = { "self","show", NULL
};
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
2981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2989 wxCaret_Show(_arg0
,_arg1
);
2991 wxPyEndAllowThreads(__tstate
);
2992 if (PyErr_Occurred()) return NULL
;
2993 } Py_INCREF(Py_None
);
2994 _resultobj
= Py_None
;
2998 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2999 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3000 PyObject
* _resultobj
;
3002 PyObject
* _argo0
= 0;
3003 char *_kwnames
[] = { "self", NULL
};
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3017 wxCaret_Hide(_arg0
);
3019 wxPyEndAllowThreads(__tstate
);
3020 if (PyErr_Occurred()) return NULL
;
3021 } Py_INCREF(Py_None
);
3022 _resultobj
= Py_None
;
3026 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3027 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3028 PyObject
* _resultobj
;
3029 wxBusyCursor
* _result
;
3030 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3031 PyObject
* _argo0
= 0;
3032 char *_kwnames
[] = { "cursor", NULL
};
3036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3047 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3049 wxPyEndAllowThreads(__tstate
);
3050 if (PyErr_Occurred()) return NULL
;
3052 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3053 _resultobj
= Py_BuildValue("s",_ptemp
);
3056 _resultobj
= Py_None
;
3061 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3062 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
* _resultobj
;
3064 wxBusyCursor
* _arg0
;
3065 PyObject
* _argo0
= 0;
3066 char *_kwnames
[] = { "self", NULL
};
3069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3080 delete_wxBusyCursor(_arg0
);
3082 wxPyEndAllowThreads(__tstate
);
3083 if (PyErr_Occurred()) return NULL
;
3084 } Py_INCREF(Py_None
);
3085 _resultobj
= Py_None
;
3089 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3090 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
* _resultobj
;
3092 wxWindowDisabler
* _result
;
3093 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3094 PyObject
* _argo0
= 0;
3095 char *_kwnames
[] = { "winToSkip", NULL
};
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3110 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3112 wxPyEndAllowThreads(__tstate
);
3113 if (PyErr_Occurred()) return NULL
;
3115 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3116 _resultobj
= Py_BuildValue("s",_ptemp
);
3119 _resultobj
= Py_None
;
3124 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3125 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3126 PyObject
* _resultobj
;
3127 wxWindowDisabler
* _arg0
;
3128 PyObject
* _argo0
= 0;
3129 char *_kwnames
[] = { "self", NULL
};
3132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3143 delete_wxWindowDisabler(_arg0
);
3145 wxPyEndAllowThreads(__tstate
);
3146 if (PyErr_Occurred()) return NULL
;
3147 } Py_INCREF(Py_None
);
3148 _resultobj
= Py_None
;
3152 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3153 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3154 PyObject
* _resultobj
;
3155 wxMutexGuiLocker
* _result
;
3156 char *_kwnames
[] = { NULL
};
3160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3164 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3166 wxPyEndAllowThreads(__tstate
);
3167 if (PyErr_Occurred()) return NULL
;
3169 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3170 _resultobj
= Py_BuildValue("s",_ptemp
);
3173 _resultobj
= Py_None
;
3178 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3179 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3180 PyObject
* _resultobj
;
3181 wxMutexGuiLocker
* _arg0
;
3182 PyObject
* _argo0
= 0;
3183 char *_kwnames
[] = { "self", NULL
};
3186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3197 delete_wxMutexGuiLocker(_arg0
);
3199 wxPyEndAllowThreads(__tstate
);
3200 if (PyErr_Occurred()) return NULL
;
3201 } Py_INCREF(Py_None
);
3202 _resultobj
= Py_None
;
3206 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3207 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
* _resultobj
;
3209 wxTipProvider
* _arg0
;
3210 PyObject
* _argo0
= 0;
3211 char *_kwnames
[] = { "self", NULL
};
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 delete_wxTipProvider(_arg0
);
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) return NULL
;
3229 } Py_INCREF(Py_None
);
3230 _resultobj
= Py_None
;
3234 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3235 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3236 PyObject
* _resultobj
;
3238 wxTipProvider
* _arg0
;
3239 PyObject
* _argo0
= 0;
3240 char *_kwnames
[] = { "self", NULL
};
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3254 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3256 wxPyEndAllowThreads(__tstate
);
3257 if (PyErr_Occurred()) return NULL
;
3260 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3262 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3271 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3272 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3273 PyObject
* _resultobj
;
3275 wxTipProvider
* _arg0
;
3276 PyObject
* _argo0
= 0;
3277 char *_kwnames
[] = { "self", NULL
};
3280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3291 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3293 wxPyEndAllowThreads(__tstate
);
3294 if (PyErr_Occurred()) return NULL
;
3295 } _resultobj
= Py_BuildValue("i",_result
);
3299 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3300 wxPyTipProvider
*src
;
3301 wxTipProvider
*dest
;
3302 src
= (wxPyTipProvider
*) ptr
;
3303 dest
= (wxTipProvider
*) src
;
3304 return (void *) dest
;
3307 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3308 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3309 PyObject
* _resultobj
;
3310 wxPyTipProvider
* _result
;
3312 char *_kwnames
[] = { "currentTip", NULL
};
3316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) return NULL
;
3325 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3326 _resultobj
= Py_BuildValue("s",_ptemp
);
3329 _resultobj
= Py_None
;
3334 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3335 wxGenericDragImage
*src
;
3337 src
= (wxGenericDragImage
*) ptr
;
3338 dest
= (wxObject
*) src
;
3339 return (void *) dest
;
3342 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3343 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
* _resultobj
;
3345 wxGenericDragImage
* _result
;
3347 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3348 PyObject
* _argo0
= 0;
3349 PyObject
* _argo1
= 0;
3350 char *_kwnames
[] = { "image","cursor", NULL
};
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3364 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3365 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3366 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3372 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3374 wxPyEndAllowThreads(__tstate
);
3375 if (PyErr_Occurred()) return NULL
;
3377 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3378 _resultobj
= Py_BuildValue("s",_ptemp
);
3381 _resultobj
= Py_None
;
3386 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3387 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3388 PyObject
* _resultobj
;
3389 wxGenericDragImage
* _result
;
3391 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3392 PyObject
* _argo0
= 0;
3393 PyObject
* _argo1
= 0;
3394 char *_kwnames
[] = { "image","cursor", NULL
};
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3408 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3409 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3416 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3418 wxPyEndAllowThreads(__tstate
);
3419 if (PyErr_Occurred()) return NULL
;
3421 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3422 _resultobj
= Py_BuildValue("s",_ptemp
);
3425 _resultobj
= Py_None
;
3430 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3431 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3432 PyObject
* _resultobj
;
3433 wxGenericDragImage
* _result
;
3435 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3436 PyObject
* _obj0
= 0;
3437 PyObject
* _argo1
= 0;
3438 char *_kwnames
[] = { "str","cursor", NULL
};
3442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3445 _arg0
= wxString_in_helper(_obj0
);
3450 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3451 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3458 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3460 wxPyEndAllowThreads(__tstate
);
3461 if (PyErr_Occurred()) return NULL
;
3463 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3464 _resultobj
= Py_BuildValue("s",_ptemp
);
3467 _resultobj
= Py_None
;
3476 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3477 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
* _resultobj
;
3479 wxGenericDragImage
* _result
;
3481 wxTreeItemId
* _arg1
;
3482 PyObject
* _argo0
= 0;
3483 PyObject
* _argo1
= 0;
3484 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3498 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3499 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3506 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3508 wxPyEndAllowThreads(__tstate
);
3509 if (PyErr_Occurred()) return NULL
;
3511 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3512 _resultobj
= Py_BuildValue("s",_ptemp
);
3515 _resultobj
= Py_None
;
3520 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3521 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3522 PyObject
* _resultobj
;
3523 wxGenericDragImage
* _result
;
3526 PyObject
* _argo0
= 0;
3527 char *_kwnames
[] = { "listCtrl","id", NULL
};
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) return NULL
;
3547 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3548 _resultobj
= Py_BuildValue("s",_ptemp
);
3551 _resultobj
= Py_None
;
3556 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3557 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
* _resultobj
;
3559 wxGenericDragImage
* _arg0
;
3560 PyObject
* _argo0
= 0;
3561 char *_kwnames
[] = { "self", NULL
};
3564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3575 delete_wxGenericDragImage(_arg0
);
3577 wxPyEndAllowThreads(__tstate
);
3578 if (PyErr_Occurred()) return NULL
;
3579 } Py_INCREF(Py_None
);
3580 _resultobj
= Py_None
;
3584 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3585 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3586 PyObject
* _resultobj
;
3587 wxGenericDragImage
* _arg0
;
3589 PyObject
* _argo0
= 0;
3590 PyObject
* _argo1
= 0;
3591 char *_kwnames
[] = { "self","bitmap", NULL
};
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3604 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3605 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3612 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3614 wxPyEndAllowThreads(__tstate
);
3615 if (PyErr_Occurred()) return NULL
;
3616 } Py_INCREF(Py_None
);
3617 _resultobj
= Py_None
;
3621 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3622 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3623 PyObject
* _resultobj
;
3625 wxGenericDragImage
* _arg0
;
3628 bool _arg3
= (bool ) FALSE
;
3629 wxRect
* _arg4
= (wxRect
*) NULL
;
3630 PyObject
* _argo0
= 0;
3632 PyObject
* _obj1
= 0;
3633 PyObject
* _argo2
= 0;
3634 int tempbool3
= (int) FALSE
;
3636 PyObject
* _obj4
= 0;
3637 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3651 if (! wxPoint_helper(_obj1
, &_arg1
))
3655 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3656 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3661 _arg3
= (bool ) tempbool3
;
3665 if (! wxRect_helper(_obj4
, &_arg4
))
3669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3670 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3672 wxPyEndAllowThreads(__tstate
);
3673 if (PyErr_Occurred()) return NULL
;
3674 } _resultobj
= Py_BuildValue("i",_result
);
3678 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3679 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3680 PyObject
* _resultobj
;
3682 wxGenericDragImage
* _arg0
;
3686 PyObject
* _argo0
= 0;
3688 PyObject
* _obj1
= 0;
3689 PyObject
* _argo2
= 0;
3690 PyObject
* _argo3
= 0;
3691 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3705 if (! wxPoint_helper(_obj1
, &_arg1
))
3709 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3710 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3716 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3717 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3718 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3724 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3726 wxPyEndAllowThreads(__tstate
);
3727 if (PyErr_Occurred()) return NULL
;
3728 } _resultobj
= Py_BuildValue("i",_result
);
3732 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3733 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3734 PyObject
* _resultobj
;
3736 wxGenericDragImage
* _arg0
;
3737 PyObject
* _argo0
= 0;
3738 char *_kwnames
[] = { "self", NULL
};
3741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3752 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3754 wxPyEndAllowThreads(__tstate
);
3755 if (PyErr_Occurred()) return NULL
;
3756 } _resultobj
= Py_BuildValue("i",_result
);
3760 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3761 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
* _resultobj
;
3764 wxGenericDragImage
* _arg0
;
3766 PyObject
* _argo0
= 0;
3768 PyObject
* _obj1
= 0;
3769 char *_kwnames
[] = { "self","pt", NULL
};
3772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3783 if (! wxPoint_helper(_obj1
, &_arg1
))
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) return NULL
;
3792 } _resultobj
= Py_BuildValue("i",_result
);
3796 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3797 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
* _resultobj
;
3800 wxGenericDragImage
* _arg0
;
3801 PyObject
* _argo0
= 0;
3802 char *_kwnames
[] = { "self", NULL
};
3805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3816 _result
= (bool )wxDragImage_Show(_arg0
);
3818 wxPyEndAllowThreads(__tstate
);
3819 if (PyErr_Occurred()) return NULL
;
3820 } _resultobj
= Py_BuildValue("i",_result
);
3824 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3825 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
* _resultobj
;
3828 wxGenericDragImage
* _arg0
;
3829 PyObject
* _argo0
= 0;
3830 char *_kwnames
[] = { "self", NULL
};
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3844 _result
= (bool )wxDragImage_Hide(_arg0
);
3846 wxPyEndAllowThreads(__tstate
);
3847 if (PyErr_Occurred()) return NULL
;
3848 } _resultobj
= Py_BuildValue("i",_result
);
3852 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3853 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3854 PyObject
* _resultobj
;
3856 wxGenericDragImage
* _arg0
;
3858 PyObject
* _argo0
= 0;
3860 PyObject
* _obj1
= 0;
3861 char *_kwnames
[] = { "self","pos", NULL
};
3865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
3868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
3876 if (! wxPoint_helper(_obj1
, &_arg1
))
3880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3881 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
3883 wxPyEndAllowThreads(__tstate
);
3884 if (PyErr_Occurred()) return NULL
;
3885 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3886 _resultobj
= Py_BuildValue("s",_ptemp
);
3890 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3891 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
* _resultobj
;
3894 wxGenericDragImage
* _arg0
;
3899 PyObject
* _argo0
= 0;
3901 PyObject
* _obj1
= 0;
3903 PyObject
* _obj2
= 0;
3906 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
3912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
3920 if (! wxPoint_helper(_obj1
, &_arg1
))
3925 if (! wxPoint_helper(_obj2
, &_arg2
))
3928 _arg3
= (bool ) tempbool3
;
3929 _arg4
= (bool ) tempbool4
;
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) return NULL
;
3936 } _resultobj
= Py_BuildValue("i",_result
);
3940 static void *SwigwxPyTimerTowxObject(void *ptr
) {
3943 src
= (wxPyTimer
*) ptr
;
3944 dest
= (wxObject
*) src
;
3945 return (void *) dest
;
3948 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
3949 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3950 PyObject
* _resultobj
;
3951 wxPyTimer
* _result
;
3953 PyObject
* _obj0
= 0;
3954 char *_kwnames
[] = { "notify", NULL
};
3958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
3967 wxPyEndAllowThreads(__tstate
);
3968 if (PyErr_Occurred()) return NULL
;
3970 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
3971 _resultobj
= Py_BuildValue("s",_ptemp
);
3974 _resultobj
= Py_None
;
3979 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
3980 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3981 PyObject
* _resultobj
;
3983 PyObject
* _argo0
= 0;
3984 char *_kwnames
[] = { "self", NULL
};
3987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
3990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
3997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3998 delete_wxPyTimer(_arg0
);
4000 wxPyEndAllowThreads(__tstate
);
4001 if (PyErr_Occurred()) return NULL
;
4002 } Py_INCREF(Py_None
);
4003 _resultobj
= Py_None
;
4007 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4008 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
* _resultobj
;
4012 PyObject
* _argo0
= 0;
4013 char *_kwnames
[] = { "self", NULL
};
4016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4029 wxPyEndAllowThreads(__tstate
);
4030 if (PyErr_Occurred()) return NULL
;
4031 } _resultobj
= Py_BuildValue("i",_result
);
4035 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4036 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4037 PyObject
* _resultobj
;
4040 PyObject
* _argo0
= 0;
4041 char *_kwnames
[] = { "self", NULL
};
4044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) return NULL
;
4059 } _resultobj
= Py_BuildValue("i",_result
);
4063 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4064 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4065 PyObject
* _resultobj
;
4068 PyObject
* _argo0
= 0;
4069 char *_kwnames
[] = { "self", NULL
};
4072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4085 wxPyEndAllowThreads(__tstate
);
4086 if (PyErr_Occurred()) return NULL
;
4087 } _resultobj
= Py_BuildValue("i",_result
);
4091 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4092 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4093 PyObject
* _resultobj
;
4095 wxEvtHandler
* _arg1
;
4096 int _arg2
= (int ) -1;
4097 PyObject
* _argo0
= 0;
4098 PyObject
* _argo1
= 0;
4099 char *_kwnames
[] = { "self","owner","id", NULL
};
4102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4112 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4113 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4120 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4122 wxPyEndAllowThreads(__tstate
);
4123 if (PyErr_Occurred()) return NULL
;
4124 } Py_INCREF(Py_None
);
4125 _resultobj
= Py_None
;
4129 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4130 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4131 PyObject
* _resultobj
;
4133 int _arg1
= (int ) -1;
4134 int _arg2
= (int ) FALSE
;
4135 PyObject
* _argo0
= 0;
4136 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) return NULL
;
4154 } Py_INCREF(Py_None
);
4155 _resultobj
= Py_None
;
4159 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4160 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
* _resultobj
;
4163 PyObject
* _argo0
= 0;
4164 char *_kwnames
[] = { "self", NULL
};
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 wxPyTimer_Stop(_arg0
);
4180 wxPyEndAllowThreads(__tstate
);
4181 if (PyErr_Occurred()) return NULL
;
4182 } Py_INCREF(Py_None
);
4183 _resultobj
= Py_None
;
4187 #define new_wxStopWatch() (new wxStopWatch())
4188 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4189 PyObject
* _resultobj
;
4190 wxStopWatch
* _result
;
4191 char *_kwnames
[] = { NULL
};
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4199 _result
= (wxStopWatch
*)new_wxStopWatch();
4201 wxPyEndAllowThreads(__tstate
);
4202 if (PyErr_Occurred()) return NULL
;
4204 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4205 _resultobj
= Py_BuildValue("s",_ptemp
);
4208 _resultobj
= Py_None
;
4213 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4214 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4215 PyObject
* _resultobj
;
4216 wxStopWatch
* _arg0
;
4217 PyObject
* _argo0
= 0;
4218 char *_kwnames
[] = { "self", NULL
};
4221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4232 delete_wxStopWatch(_arg0
);
4234 wxPyEndAllowThreads(__tstate
);
4235 if (PyErr_Occurred()) return NULL
;
4236 } Py_INCREF(Py_None
);
4237 _resultobj
= Py_None
;
4241 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4242 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4243 PyObject
* _resultobj
;
4244 wxStopWatch
* _arg0
;
4245 long _arg1
= (long ) 0;
4246 PyObject
* _argo0
= 0;
4247 char *_kwnames
[] = { "self","t", NULL
};
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4261 wxStopWatch_Start(_arg0
,_arg1
);
4263 wxPyEndAllowThreads(__tstate
);
4264 if (PyErr_Occurred()) return NULL
;
4265 } Py_INCREF(Py_None
);
4266 _resultobj
= Py_None
;
4270 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4271 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4272 PyObject
* _resultobj
;
4273 wxStopWatch
* _arg0
;
4274 PyObject
* _argo0
= 0;
4275 char *_kwnames
[] = { "self", NULL
};
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 wxStopWatch_Pause(_arg0
);
4291 wxPyEndAllowThreads(__tstate
);
4292 if (PyErr_Occurred()) return NULL
;
4293 } Py_INCREF(Py_None
);
4294 _resultobj
= Py_None
;
4298 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4299 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4300 PyObject
* _resultobj
;
4301 wxStopWatch
* _arg0
;
4302 PyObject
* _argo0
= 0;
4303 char *_kwnames
[] = { "self", NULL
};
4306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4317 wxStopWatch_Resume(_arg0
);
4319 wxPyEndAllowThreads(__tstate
);
4320 if (PyErr_Occurred()) return NULL
;
4321 } Py_INCREF(Py_None
);
4322 _resultobj
= Py_None
;
4326 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4327 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
* _resultobj
;
4330 wxStopWatch
* _arg0
;
4331 PyObject
* _argo0
= 0;
4332 char *_kwnames
[] = { "self", NULL
};
4335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4346 _result
= (long )wxStopWatch_Time(_arg0
);
4348 wxPyEndAllowThreads(__tstate
);
4349 if (PyErr_Occurred()) return NULL
;
4350 } _resultobj
= Py_BuildValue("l",_result
);
4354 #define new_wxLog() (new wxLog())
4355 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
* _resultobj
;
4358 char *_kwnames
[] = { NULL
};
4362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4366 _result
= (wxLog
*)new_wxLog();
4368 wxPyEndAllowThreads(__tstate
);
4369 if (PyErr_Occurred()) return NULL
;
4371 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4372 _resultobj
= Py_BuildValue("s",_ptemp
);
4375 _resultobj
= Py_None
;
4380 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4381 PyObject
* _resultobj
;
4383 char *_kwnames
[] = { NULL
};
4386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4390 _result
= (bool )wxLog::IsEnabled();
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) return NULL
;
4394 } _resultobj
= Py_BuildValue("i",_result
);
4398 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4399 PyObject
* _resultobj
;
4401 bool _arg0
= (bool ) TRUE
;
4402 int tempbool0
= (int) TRUE
;
4403 char *_kwnames
[] = { "doIt", NULL
};
4406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4408 _arg0
= (bool ) tempbool0
;
4410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4411 _result
= (bool )wxLog::EnableLogging(_arg0
);
4413 wxPyEndAllowThreads(__tstate
);
4414 if (PyErr_Occurred()) return NULL
;
4415 } _resultobj
= Py_BuildValue("i",_result
);
4419 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
* _resultobj
;
4423 int _arg2
= (int ) 0;
4424 PyObject
* _argo0
= 0;
4425 PyObject
* _obj1
= 0;
4426 char *_kwnames
[] = { "level","szString","t", NULL
};
4429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxLog_OnLog",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4439 _arg1
= wxString_in_helper(_obj1
);
4444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 wxLog::OnLog(*_arg0
,*_arg1
,_arg2
);
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) return NULL
;
4449 } Py_INCREF(Py_None
);
4450 _resultobj
= Py_None
;
4458 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4459 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4460 PyObject
* _resultobj
;
4462 PyObject
* _argo0
= 0;
4463 char *_kwnames
[] = { "self", NULL
};
4466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4479 wxPyEndAllowThreads(__tstate
);
4480 if (PyErr_Occurred()) return NULL
;
4481 } Py_INCREF(Py_None
);
4482 _resultobj
= Py_None
;
4486 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4487 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
* _resultobj
;
4491 PyObject
* _argo0
= 0;
4492 char *_kwnames
[] = { "self", NULL
};
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4506 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4508 wxPyEndAllowThreads(__tstate
);
4509 if (PyErr_Occurred()) return NULL
;
4510 } _resultobj
= Py_BuildValue("i",_result
);
4514 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
* _resultobj
;
4516 char *_kwnames
[] = { NULL
};
4519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4523 wxLog::FlushActive();
4525 wxPyEndAllowThreads(__tstate
);
4526 if (PyErr_Occurred()) return NULL
;
4527 } Py_INCREF(Py_None
);
4528 _resultobj
= Py_None
;
4532 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4533 PyObject
* _resultobj
;
4535 char *_kwnames
[] = { NULL
};
4539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 _result
= (wxLog
*)wxLog::GetActiveTarget();
4545 wxPyEndAllowThreads(__tstate
);
4546 if (PyErr_Occurred()) return NULL
;
4548 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4549 _resultobj
= Py_BuildValue("s",_ptemp
);
4552 _resultobj
= Py_None
;
4557 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4558 PyObject
* _resultobj
;
4561 PyObject
* _argo0
= 0;
4562 char *_kwnames
[] = { "pLogger", NULL
};
4566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4577 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4579 wxPyEndAllowThreads(__tstate
);
4580 if (PyErr_Occurred()) return NULL
;
4582 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4583 _resultobj
= Py_BuildValue("s",_ptemp
);
4586 _resultobj
= Py_None
;
4591 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4592 PyObject
* _resultobj
;
4593 char *_kwnames
[] = { NULL
};
4596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) return NULL
;
4604 } Py_INCREF(Py_None
);
4605 _resultobj
= Py_None
;
4609 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
* _resultobj
;
4611 char *_kwnames
[] = { NULL
};
4614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4620 wxPyEndAllowThreads(__tstate
);
4621 if (PyErr_Occurred()) return NULL
;
4622 } Py_INCREF(Py_None
);
4623 _resultobj
= Py_None
;
4627 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4628 PyObject
* _resultobj
;
4629 bool _arg0
= (bool ) TRUE
;
4630 int tempbool0
= (int) TRUE
;
4631 char *_kwnames
[] = { "bVerbose", NULL
};
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_SetVerbose",_kwnames
,&tempbool0
))
4636 _arg0
= (bool ) tempbool0
;
4638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4639 wxLog::SetVerbose(_arg0
);
4641 wxPyEndAllowThreads(__tstate
);
4642 if (PyErr_Occurred()) return NULL
;
4643 } Py_INCREF(Py_None
);
4644 _resultobj
= Py_None
;
4648 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
* _resultobj
;
4650 char *_kwnames
[] = { NULL
};
4653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4657 wxLog::DontCreateOnDemand();
4659 wxPyEndAllowThreads(__tstate
);
4660 if (PyErr_Occurred()) return NULL
;
4661 } Py_INCREF(Py_None
);
4662 _resultobj
= Py_None
;
4666 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
* _resultobj
;
4668 wxTraceMask
* _arg0
;
4669 PyObject
* _argo0
= 0;
4670 char *_kwnames
[] = { "ulMask", NULL
};
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4684 wxLog::SetTraceMask(*_arg0
);
4686 wxPyEndAllowThreads(__tstate
);
4687 if (PyErr_Occurred()) return NULL
;
4688 } Py_INCREF(Py_None
);
4689 _resultobj
= Py_None
;
4693 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4694 PyObject
* _resultobj
;
4696 PyObject
* _obj0
= 0;
4697 char *_kwnames
[] = { "str", NULL
};
4700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4703 _arg0
= wxString_in_helper(_obj0
);
4708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4709 wxLog::AddTraceMask(*_arg0
);
4711 wxPyEndAllowThreads(__tstate
);
4712 if (PyErr_Occurred()) return NULL
;
4713 } Py_INCREF(Py_None
);
4714 _resultobj
= Py_None
;
4722 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4723 PyObject
* _resultobj
;
4725 PyObject
* _obj0
= 0;
4726 char *_kwnames
[] = { "str", NULL
};
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4732 _arg0
= wxString_in_helper(_obj0
);
4737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 wxLog::RemoveTraceMask(*_arg0
);
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) return NULL
;
4742 } Py_INCREF(Py_None
);
4743 _resultobj
= Py_None
;
4751 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
* _resultobj
;
4753 char *_kwnames
[] = { NULL
};
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 wxLog::ClearTraceMasks();
4762 wxPyEndAllowThreads(__tstate
);
4763 if (PyErr_Occurred()) return NULL
;
4764 } Py_INCREF(Py_None
);
4765 _resultobj
= Py_None
;
4769 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4770 PyObject
* _resultobj
;
4772 PyObject
* _obj0
= 0;
4773 char *_kwnames
[] = { "ts", NULL
};
4776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTimestamp",_kwnames
,&_obj0
))
4779 _arg0
= wxString_in_helper(_obj0
);
4784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4785 wxLog::SetTimestamp(*_arg0
);
4787 wxPyEndAllowThreads(__tstate
);
4788 if (PyErr_Occurred()) return NULL
;
4789 } Py_INCREF(Py_None
);
4790 _resultobj
= Py_None
;
4798 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4799 PyObject
* _resultobj
;
4801 char *_kwnames
[] = { NULL
};
4804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
4807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4808 const wxString
& _result_ref
= wxLog::GetTimestamp();
4809 _result
= (wxString
*) &_result_ref
;
4811 wxPyEndAllowThreads(__tstate
);
4812 if (PyErr_Occurred()) return NULL
;
4815 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4817 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4823 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4824 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
* _resultobj
;
4828 PyObject
* _argo0
= 0;
4829 char *_kwnames
[] = { "self", NULL
};
4832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4843 _result
= (bool )wxLog_GetVerbose(_arg0
);
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) return NULL
;
4847 } _resultobj
= Py_BuildValue("i",_result
);
4851 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4852 PyObject
* _resultobj
;
4853 wxTraceMask
* _result
;
4854 char *_kwnames
[] = { NULL
};
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 _result
= new wxTraceMask (wxLog::GetTraceMask());
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) return NULL
;
4866 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
4867 _resultobj
= Py_BuildValue("s",_ptemp
);
4871 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
* _resultobj
;
4875 PyObject
* _obj0
= 0;
4876 char *_kwnames
[] = { "mask", NULL
};
4879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_IsAllowedTraceMask",_kwnames
,&_obj0
))
4882 _arg0
= wxString_in_helper(_obj0
);
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 _result
= (bool )wxLog::IsAllowedTraceMask(*_arg0
);
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) return NULL
;
4892 } _resultobj
= Py_BuildValue("i",_result
);
4900 static wxString
wxLog_TimeStamp(wxLog
*self
) {
4902 wxLog::TimeStamp(&msg
);
4905 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
* _resultobj
;
4909 PyObject
* _argo0
= 0;
4910 char *_kwnames
[] = { "self", NULL
};
4913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
4916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
4923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4924 _result
= new wxString (wxLog_TimeStamp(_arg0
));
4926 wxPyEndAllowThreads(__tstate
);
4927 if (PyErr_Occurred()) return NULL
;
4930 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4932 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4941 static void *SwigwxLogStderrTowxLog(void *ptr
) {
4944 src
= (wxLogStderr
*) ptr
;
4945 dest
= (wxLog
*) src
;
4946 return (void *) dest
;
4949 #define new_wxLogStderr() (new wxLogStderr())
4950 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4951 PyObject
* _resultobj
;
4952 wxLogStderr
* _result
;
4953 char *_kwnames
[] = { NULL
};
4957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 _result
= (wxLogStderr
*)new_wxLogStderr();
4963 wxPyEndAllowThreads(__tstate
);
4964 if (PyErr_Occurred()) return NULL
;
4966 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
4967 _resultobj
= Py_BuildValue("s",_ptemp
);
4970 _resultobj
= Py_None
;
4975 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
4978 src
= (wxLogTextCtrl
*) ptr
;
4979 dest
= (wxLog
*) src
;
4980 return (void *) dest
;
4983 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
4984 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
* _resultobj
;
4986 wxLogTextCtrl
* _result
;
4988 PyObject
* _argo0
= 0;
4989 char *_kwnames
[] = { "pTextCtrl", NULL
};
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
4996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5004 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) return NULL
;
5009 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5010 _resultobj
= Py_BuildValue("s",_ptemp
);
5013 _resultobj
= Py_None
;
5018 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5021 src
= (wxLogGui
*) ptr
;
5022 dest
= (wxLog
*) src
;
5023 return (void *) dest
;
5026 #define new_wxLogGui() (new wxLogGui())
5027 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
* _resultobj
;
5030 char *_kwnames
[] = { NULL
};
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 _result
= (wxLogGui
*)new_wxLogGui();
5040 wxPyEndAllowThreads(__tstate
);
5041 if (PyErr_Occurred()) return NULL
;
5043 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5044 _resultobj
= Py_BuildValue("s",_ptemp
);
5047 _resultobj
= Py_None
;
5052 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5055 src
= (wxLogWindow
*) ptr
;
5056 dest
= (wxLog
*) src
;
5057 return (void *) dest
;
5060 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5061 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
* _resultobj
;
5063 wxLogWindow
* _result
;
5066 bool _arg2
= (bool ) TRUE
;
5067 bool _arg3
= (bool ) TRUE
;
5068 PyObject
* _argo0
= 0;
5069 PyObject
* _obj1
= 0;
5070 int tempbool2
= (int) TRUE
;
5071 int tempbool3
= (int) TRUE
;
5072 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_obj1
,&tempbool2
,&tempbool3
))
5079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5086 _arg1
= wxString_in_helper(_obj1
);
5090 _arg2
= (bool ) tempbool2
;
5091 _arg3
= (bool ) tempbool3
;
5093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5094 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,*_arg1
,_arg2
,_arg3
);
5096 wxPyEndAllowThreads(__tstate
);
5097 if (PyErr_Occurred()) return NULL
;
5099 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5100 _resultobj
= Py_BuildValue("s",_ptemp
);
5103 _resultobj
= Py_None
;
5112 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5113 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
* _resultobj
;
5115 wxLogWindow
* _arg0
;
5116 bool _arg1
= (bool ) TRUE
;
5117 PyObject
* _argo0
= 0;
5118 int tempbool1
= (int) TRUE
;
5119 char *_kwnames
[] = { "self","bShow", NULL
};
5122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5131 _arg1
= (bool ) tempbool1
;
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5134 wxLogWindow_Show(_arg0
,_arg1
);
5136 wxPyEndAllowThreads(__tstate
);
5137 if (PyErr_Occurred()) return NULL
;
5138 } Py_INCREF(Py_None
);
5139 _resultobj
= Py_None
;
5143 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5144 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
* _resultobj
;
5147 wxLogWindow
* _arg0
;
5148 PyObject
* _argo0
= 0;
5149 char *_kwnames
[] = { "self", NULL
};
5152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5163 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5165 wxPyEndAllowThreads(__tstate
);
5166 if (PyErr_Occurred()) return NULL
;
5167 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5171 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5172 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5173 PyObject
* _resultobj
;
5175 wxLogWindow
* _arg0
;
5176 PyObject
* _argo0
= 0;
5177 char *_kwnames
[] = { "self", NULL
};
5181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5192 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5194 wxPyEndAllowThreads(__tstate
);
5195 if (PyErr_Occurred()) return NULL
;
5197 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5198 _resultobj
= Py_BuildValue("s",_ptemp
);
5201 _resultobj
= Py_None
;
5206 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5207 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
* _resultobj
;
5210 wxLogWindow
* _arg0
;
5211 PyObject
* _argo0
= 0;
5212 char *_kwnames
[] = { "self", NULL
};
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5226 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5228 wxPyEndAllowThreads(__tstate
);
5229 if (PyErr_Occurred()) return NULL
;
5230 } _resultobj
= Py_BuildValue("i",_result
);
5234 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5235 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
* _resultobj
;
5237 wxLogWindow
* _arg0
;
5239 PyObject
* _argo0
= 0;
5241 char *_kwnames
[] = { "self","bDoPass", NULL
};
5244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5253 _arg1
= (bool ) tempbool1
;
5255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5256 wxLogWindow_PassMessages(_arg0
,_arg1
);
5258 wxPyEndAllowThreads(__tstate
);
5259 if (PyErr_Occurred()) return NULL
;
5260 } Py_INCREF(Py_None
);
5261 _resultobj
= Py_None
;
5265 #define new_wxLogNull() (new wxLogNull())
5266 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5267 PyObject
* _resultobj
;
5268 wxLogNull
* _result
;
5269 char *_kwnames
[] = { NULL
};
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5277 _result
= (wxLogNull
*)new_wxLogNull();
5279 wxPyEndAllowThreads(__tstate
);
5280 if (PyErr_Occurred()) return NULL
;
5282 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5283 _resultobj
= Py_BuildValue("s",_ptemp
);
5286 _resultobj
= Py_None
;
5291 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5292 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5293 PyObject
* _resultobj
;
5295 PyObject
* _argo0
= 0;
5296 char *_kwnames
[] = { "self", NULL
};
5299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5310 delete_wxLogNull(_arg0
);
5312 wxPyEndAllowThreads(__tstate
);
5313 if (PyErr_Occurred()) return NULL
;
5314 } Py_INCREF(Py_None
);
5315 _resultobj
= Py_None
;
5319 static void *SwigwxLogChainTowxLog(void *ptr
) {
5322 src
= (wxLogChain
*) ptr
;
5323 dest
= (wxLog
*) src
;
5324 return (void *) dest
;
5327 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5328 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5329 PyObject
* _resultobj
;
5330 wxLogChain
* _result
;
5332 PyObject
* _argo0
= 0;
5333 char *_kwnames
[] = { "logger", NULL
};
5337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5348 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5350 wxPyEndAllowThreads(__tstate
);
5351 if (PyErr_Occurred()) return NULL
;
5353 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5354 _resultobj
= Py_BuildValue("s",_ptemp
);
5357 _resultobj
= Py_None
;
5362 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5363 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
* _resultobj
;
5367 PyObject
* _argo0
= 0;
5368 PyObject
* _argo1
= 0;
5369 char *_kwnames
[] = { "self","logger", NULL
};
5372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5382 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5383 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 wxLogChain_SetLog(_arg0
,_arg1
);
5392 wxPyEndAllowThreads(__tstate
);
5393 if (PyErr_Occurred()) return NULL
;
5394 } Py_INCREF(Py_None
);
5395 _resultobj
= Py_None
;
5399 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5400 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5401 PyObject
* _resultobj
;
5404 PyObject
* _argo0
= 0;
5406 char *_kwnames
[] = { "self","bDoPass", NULL
};
5409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5418 _arg1
= (bool ) tempbool1
;
5420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5421 wxLogChain_PassMessages(_arg0
,_arg1
);
5423 wxPyEndAllowThreads(__tstate
);
5424 if (PyErr_Occurred()) return NULL
;
5425 } Py_INCREF(Py_None
);
5426 _resultobj
= Py_None
;
5430 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5431 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5432 PyObject
* _resultobj
;
5435 PyObject
* _argo0
= 0;
5436 char *_kwnames
[] = { "self", NULL
};
5439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5450 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5452 wxPyEndAllowThreads(__tstate
);
5453 if (PyErr_Occurred()) return NULL
;
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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5479 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5481 wxPyEndAllowThreads(__tstate
);
5482 if (PyErr_Occurred()) return NULL
;
5484 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5485 _resultobj
= Py_BuildValue("s",_ptemp
);
5488 _resultobj
= Py_None
;
5493 static void *SwigwxPyLogTowxLog(void *ptr
) {
5496 src
= (wxPyLog
*) ptr
;
5497 dest
= (wxLog
*) src
;
5498 return (void *) dest
;
5501 #define new_wxPyLog() (new wxPyLog())
5502 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5503 PyObject
* _resultobj
;
5505 char *_kwnames
[] = { NULL
};
5509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5513 _result
= (wxPyLog
*)new_wxPyLog();
5515 wxPyEndAllowThreads(__tstate
);
5516 if (PyErr_Occurred()) return NULL
;
5518 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5519 _resultobj
= Py_BuildValue("s",_ptemp
);
5522 _resultobj
= Py_None
;
5527 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5528 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
* _resultobj
;
5533 PyObject
* _argo0
= 0;
5534 PyObject
* _obj1
= 0;
5535 PyObject
* _obj2
= 0;
5536 char *_kwnames
[] = { "self","self","_class", NULL
};
5539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5556 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5558 wxPyEndAllowThreads(__tstate
);
5559 if (PyErr_Occurred()) return NULL
;
5560 } Py_INCREF(Py_None
);
5561 _resultobj
= Py_None
;
5565 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5566 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
* _resultobj
;
5569 PyObject
* _argo0
= 0;
5570 char *_kwnames
[] = { "self", NULL
};
5573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5584 wxPyLog_Destroy(_arg0
);
5586 wxPyEndAllowThreads(__tstate
);
5587 if (PyErr_Occurred()) return NULL
;
5588 } Py_INCREF(Py_None
);
5589 _resultobj
= Py_None
;
5593 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5594 wxProcessEvent
*src
;
5596 src
= (wxProcessEvent
*) ptr
;
5597 dest
= (wxEvent
*) src
;
5598 return (void *) dest
;
5601 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5602 wxProcessEvent
*src
;
5604 src
= (wxProcessEvent
*) ptr
;
5605 dest
= (wxObject
*) src
;
5606 return (void *) dest
;
5609 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5610 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5611 PyObject
* _resultobj
;
5612 wxProcessEvent
* _result
;
5613 int _arg0
= (int ) 0;
5614 int _arg1
= (int ) 0;
5615 int _arg2
= (int ) 0;
5616 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5626 wxPyEndAllowThreads(__tstate
);
5627 if (PyErr_Occurred()) return NULL
;
5629 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5630 _resultobj
= Py_BuildValue("s",_ptemp
);
5633 _resultobj
= Py_None
;
5638 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5639 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
* _resultobj
;
5642 wxProcessEvent
* _arg0
;
5643 PyObject
* _argo0
= 0;
5644 char *_kwnames
[] = { "self", NULL
};
5647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5658 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5660 wxPyEndAllowThreads(__tstate
);
5661 if (PyErr_Occurred()) return NULL
;
5662 } _resultobj
= Py_BuildValue("i",_result
);
5666 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5667 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
* _resultobj
;
5670 wxProcessEvent
* _arg0
;
5671 PyObject
* _argo0
= 0;
5672 char *_kwnames
[] = { "self", NULL
};
5675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5686 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5688 wxPyEndAllowThreads(__tstate
);
5689 if (PyErr_Occurred()) return NULL
;
5690 } _resultobj
= Py_BuildValue("i",_result
);
5694 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5695 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
* _resultobj
;
5698 wxProcessEvent
* _arg0
;
5700 PyObject
* _argo0
= 0;
5701 char *_kwnames
[] = { "self","m_pid", NULL
};
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5715 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5717 wxPyEndAllowThreads(__tstate
);
5718 if (PyErr_Occurred()) return NULL
;
5719 } _resultobj
= Py_BuildValue("i",_result
);
5723 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5724 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5725 PyObject
* _resultobj
;
5727 wxProcessEvent
* _arg0
;
5728 PyObject
* _argo0
= 0;
5729 char *_kwnames
[] = { "self", NULL
};
5732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5743 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5745 wxPyEndAllowThreads(__tstate
);
5746 if (PyErr_Occurred()) return NULL
;
5747 } _resultobj
= Py_BuildValue("i",_result
);
5751 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5752 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5753 PyObject
* _resultobj
;
5755 wxProcessEvent
* _arg0
;
5757 PyObject
* _argo0
= 0;
5758 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5772 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5774 wxPyEndAllowThreads(__tstate
);
5775 if (PyErr_Occurred()) return NULL
;
5776 } _resultobj
= Py_BuildValue("i",_result
);
5780 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5781 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5782 PyObject
* _resultobj
;
5784 wxProcessEvent
* _arg0
;
5785 PyObject
* _argo0
= 0;
5786 char *_kwnames
[] = { "self", NULL
};
5789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5800 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5802 wxPyEndAllowThreads(__tstate
);
5803 if (PyErr_Occurred()) return NULL
;
5804 } _resultobj
= Py_BuildValue("i",_result
);
5808 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5811 src
= (wxPyProcess
*) ptr
;
5812 dest
= (wxEvtHandler
*) src
;
5813 return (void *) dest
;
5816 static void *SwigwxPyProcessTowxObject(void *ptr
) {
5819 src
= (wxPyProcess
*) ptr
;
5820 dest
= (wxObject
*) src
;
5821 return (void *) dest
;
5824 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5825 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
* _resultobj
;
5827 wxPyProcess
* _result
;
5828 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
5829 int _arg1
= (int ) -1;
5830 PyObject
* _argo0
= 0;
5831 char *_kwnames
[] = { "parent","id", NULL
};
5835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
5838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
5840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) return NULL
;
5851 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
5852 _resultobj
= Py_BuildValue("s",_ptemp
);
5855 _resultobj
= Py_None
;
5860 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
5861 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
* _resultobj
;
5863 wxPyProcess
* _arg0
;
5864 PyObject
* _argo0
= 0;
5865 char *_kwnames
[] = { "self", NULL
};
5868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
5871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
5878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5879 wxPyProcess_Destroy(_arg0
);
5881 wxPyEndAllowThreads(__tstate
);
5882 if (PyErr_Occurred()) return NULL
;
5883 } Py_INCREF(Py_None
);
5884 _resultobj
= Py_None
;
5888 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5889 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5890 PyObject
* _resultobj
;
5891 wxPyProcess
* _arg0
;
5894 PyObject
* _argo0
= 0;
5895 PyObject
* _obj1
= 0;
5896 PyObject
* _obj2
= 0;
5897 char *_kwnames
[] = { "self","self","_class", NULL
};
5900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5919 wxPyEndAllowThreads(__tstate
);
5920 if (PyErr_Occurred()) return NULL
;
5921 } Py_INCREF(Py_None
);
5922 _resultobj
= Py_None
;
5926 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
5927 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
* _resultobj
;
5929 wxPyProcess
* _arg0
;
5932 PyObject
* _argo0
= 0;
5933 char *_kwnames
[] = { "self","pid","status", NULL
};
5936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
5946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5947 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
5949 wxPyEndAllowThreads(__tstate
);
5950 if (PyErr_Occurred()) return NULL
;
5951 } Py_INCREF(Py_None
);
5952 _resultobj
= Py_None
;
5956 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
5957 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5958 PyObject
* _resultobj
;
5959 wxPyProcess
* _arg0
;
5960 PyObject
* _argo0
= 0;
5961 char *_kwnames
[] = { "self", NULL
};
5964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
5967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 wxProcess_Redirect(_arg0
);
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) return NULL
;
5979 } Py_INCREF(Py_None
);
5980 _resultobj
= Py_None
;
5984 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
5985 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
* _resultobj
;
5988 wxPyProcess
* _arg0
;
5989 PyObject
* _argo0
= 0;
5990 char *_kwnames
[] = { "self", NULL
};
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
5996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6004 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) return NULL
;
6008 } _resultobj
= Py_BuildValue("i",_result
);
6012 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6013 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
* _resultobj
;
6015 wxPyProcess
* _arg0
;
6016 PyObject
* _argo0
= 0;
6017 char *_kwnames
[] = { "self", NULL
};
6020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6031 wxProcess_Detach(_arg0
);
6033 wxPyEndAllowThreads(__tstate
);
6034 if (PyErr_Occurred()) return NULL
;
6035 } Py_INCREF(Py_None
);
6036 _resultobj
= Py_None
;
6040 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6041 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6042 PyObject
* _resultobj
;
6043 wxInputStream
* _result
;
6044 wxPyProcess
* _arg0
;
6045 PyObject
* _argo0
= 0;
6046 char *_kwnames
[] = { "self", NULL
};
6049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6062 wxPyEndAllowThreads(__tstate
);
6063 if (PyErr_Occurred()) return NULL
;
6065 wxPyInputStream
* _ptr
= NULL
;
6068 _ptr
= new wxPyInputStream(_result
);
6070 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6075 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6076 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6077 PyObject
* _resultobj
;
6078 wxInputStream
* _result
;
6079 wxPyProcess
* _arg0
;
6080 PyObject
* _argo0
= 0;
6081 char *_kwnames
[] = { "self", NULL
};
6084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6095 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6097 wxPyEndAllowThreads(__tstate
);
6098 if (PyErr_Occurred()) return NULL
;
6100 wxPyInputStream
* _ptr
= NULL
;
6103 _ptr
= new wxPyInputStream(_result
);
6105 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6110 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6111 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6112 PyObject
* _resultobj
;
6113 wxOutputStream
* _result
;
6114 wxPyProcess
* _arg0
;
6115 PyObject
* _argo0
= 0;
6116 char *_kwnames
[] = { "self", NULL
};
6120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6131 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6133 wxPyEndAllowThreads(__tstate
);
6134 if (PyErr_Occurred()) return NULL
;
6136 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6137 _resultobj
= Py_BuildValue("s",_ptemp
);
6140 _resultobj
= Py_None
;
6145 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6146 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
* _resultobj
;
6148 wxPyProcess
* _arg0
;
6149 PyObject
* _argo0
= 0;
6150 char *_kwnames
[] = { "self", NULL
};
6153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6164 wxProcess_CloseOutput(_arg0
);
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) return NULL
;
6168 } Py_INCREF(Py_None
);
6169 _resultobj
= Py_None
;
6173 static void *SwigwxJoystickTowxObject(void *ptr
) {
6176 src
= (wxJoystick
*) ptr
;
6177 dest
= (wxObject
*) src
;
6178 return (void *) dest
;
6181 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6182 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6183 PyObject
* _resultobj
;
6184 wxJoystick
* _result
;
6185 int _arg0
= (int ) wxJOYSTICK1
;
6186 char *_kwnames
[] = { "joystick", NULL
};
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6194 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6196 wxPyEndAllowThreads(__tstate
);
6197 if (PyErr_Occurred()) return NULL
;
6199 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6200 _resultobj
= Py_BuildValue("s",_ptemp
);
6203 _resultobj
= Py_None
;
6208 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6209 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6210 PyObject
* _resultobj
;
6212 PyObject
* _argo0
= 0;
6213 char *_kwnames
[] = { "self", NULL
};
6216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6227 delete_wxJoystick(_arg0
);
6229 wxPyEndAllowThreads(__tstate
);
6230 if (PyErr_Occurred()) return NULL
;
6231 } Py_INCREF(Py_None
);
6232 _resultobj
= Py_None
;
6236 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6237 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6238 PyObject
* _resultobj
;
6241 PyObject
* _argo0
= 0;
6242 char *_kwnames
[] = { "self", NULL
};
6246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) return NULL
;
6261 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6262 _resultobj
= Py_BuildValue("s",_ptemp
);
6266 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6267 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
* _resultobj
;
6271 PyObject
* _argo0
= 0;
6272 char *_kwnames
[] = { "self", NULL
};
6275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6286 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) return NULL
;
6290 } _resultobj
= Py_BuildValue("i",_result
);
6294 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6295 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6296 PyObject
* _resultobj
;
6299 PyObject
* _argo0
= 0;
6300 char *_kwnames
[] = { "self", NULL
};
6303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6306 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6307 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6308 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6314 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6316 wxPyEndAllowThreads(__tstate
);
6317 if (PyErr_Occurred()) return NULL
;
6318 } _resultobj
= Py_BuildValue("i",_result
);
6322 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6323 static PyObject
*_wrap_wxJoystick_GetPOVPosition(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_GetPOVPosition",_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_GetPOVPosition. Expected _wxJoystick_p.");
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) return NULL
;
6346 } _resultobj
= Py_BuildValue("i",_result
);
6350 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6351 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6352 PyObject
* _resultobj
;
6355 PyObject
* _argo0
= 0;
6356 char *_kwnames
[] = { "self", NULL
};
6359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6370 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6372 wxPyEndAllowThreads(__tstate
);
6373 if (PyErr_Occurred()) return NULL
;
6374 } _resultobj
= Py_BuildValue("i",_result
);
6378 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6379 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6380 PyObject
* _resultobj
;
6383 PyObject
* _argo0
= 0;
6384 char *_kwnames
[] = { "self", NULL
};
6387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6398 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6400 wxPyEndAllowThreads(__tstate
);
6401 if (PyErr_Occurred()) return NULL
;
6402 } _resultobj
= Py_BuildValue("i",_result
);
6406 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6407 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6408 PyObject
* _resultobj
;
6411 PyObject
* _argo0
= 0;
6412 char *_kwnames
[] = { "self", NULL
};
6415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6428 wxPyEndAllowThreads(__tstate
);
6429 if (PyErr_Occurred()) return NULL
;
6430 } _resultobj
= Py_BuildValue("i",_result
);
6434 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6435 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6436 PyObject
* _resultobj
;
6439 PyObject
* _argo0
= 0;
6440 char *_kwnames
[] = { "self", NULL
};
6443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6454 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6456 wxPyEndAllowThreads(__tstate
);
6457 if (PyErr_Occurred()) return NULL
;
6458 } _resultobj
= Py_BuildValue("i",_result
);
6462 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6463 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
* _resultobj
;
6467 PyObject
* _argo0
= 0;
6468 char *_kwnames
[] = { "self", NULL
};
6471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6482 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6484 wxPyEndAllowThreads(__tstate
);
6485 if (PyErr_Occurred()) return NULL
;
6486 } _resultobj
= Py_BuildValue("i",_result
);
6490 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6491 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6492 PyObject
* _resultobj
;
6495 PyObject
* _argo0
= 0;
6496 char *_kwnames
[] = { "self","threshold", NULL
};
6499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6512 wxPyEndAllowThreads(__tstate
);
6513 if (PyErr_Occurred()) return NULL
;
6514 } Py_INCREF(Py_None
);
6515 _resultobj
= Py_None
;
6519 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6520 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
* _resultobj
;
6524 PyObject
* _argo0
= 0;
6525 char *_kwnames
[] = { "self", NULL
};
6528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6539 _result
= (bool )wxJoystick_IsOk(_arg0
);
6541 wxPyEndAllowThreads(__tstate
);
6542 if (PyErr_Occurred()) return NULL
;
6543 } _resultobj
= Py_BuildValue("i",_result
);
6547 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6548 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
* _resultobj
;
6552 PyObject
* _argo0
= 0;
6553 char *_kwnames
[] = { "self", NULL
};
6556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6567 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6569 wxPyEndAllowThreads(__tstate
);
6570 if (PyErr_Occurred()) return NULL
;
6571 } _resultobj
= Py_BuildValue("i",_result
);
6575 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6576 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6577 PyObject
* _resultobj
;
6580 PyObject
* _argo0
= 0;
6581 char *_kwnames
[] = { "self", NULL
};
6584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6595 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6597 wxPyEndAllowThreads(__tstate
);
6598 if (PyErr_Occurred()) return NULL
;
6599 } _resultobj
= Py_BuildValue("i",_result
);
6603 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6604 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
* _resultobj
;
6608 PyObject
* _argo0
= 0;
6609 char *_kwnames
[] = { "self", NULL
};
6612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 _result
= (int )wxJoystick_GetProductId(_arg0
);
6625 wxPyEndAllowThreads(__tstate
);
6626 if (PyErr_Occurred()) return NULL
;
6627 } _resultobj
= Py_BuildValue("i",_result
);
6631 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6632 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6633 PyObject
* _resultobj
;
6636 PyObject
* _argo0
= 0;
6637 char *_kwnames
[] = { "self", NULL
};
6640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) return NULL
;
6657 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6659 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6668 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6669 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
* _resultobj
;
6673 PyObject
* _argo0
= 0;
6674 char *_kwnames
[] = { "self", NULL
};
6677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 _result
= (int )wxJoystick_GetXMin(_arg0
);
6690 wxPyEndAllowThreads(__tstate
);
6691 if (PyErr_Occurred()) return NULL
;
6692 } _resultobj
= Py_BuildValue("i",_result
);
6696 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6697 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
* _resultobj
;
6701 PyObject
* _argo0
= 0;
6702 char *_kwnames
[] = { "self", NULL
};
6705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6716 _result
= (int )wxJoystick_GetYMin(_arg0
);
6718 wxPyEndAllowThreads(__tstate
);
6719 if (PyErr_Occurred()) return NULL
;
6720 } _resultobj
= Py_BuildValue("i",_result
);
6724 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6725 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6726 PyObject
* _resultobj
;
6729 PyObject
* _argo0
= 0;
6730 char *_kwnames
[] = { "self", NULL
};
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6736 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6737 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6744 _result
= (int )wxJoystick_GetZMin(_arg0
);
6746 wxPyEndAllowThreads(__tstate
);
6747 if (PyErr_Occurred()) return NULL
;
6748 } _resultobj
= Py_BuildValue("i",_result
);
6752 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6753 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6754 PyObject
* _resultobj
;
6757 PyObject
* _argo0
= 0;
6758 char *_kwnames
[] = { "self", NULL
};
6761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6772 _result
= (int )wxJoystick_GetXMax(_arg0
);
6774 wxPyEndAllowThreads(__tstate
);
6775 if (PyErr_Occurred()) return NULL
;
6776 } _resultobj
= Py_BuildValue("i",_result
);
6780 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6781 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6782 PyObject
* _resultobj
;
6785 PyObject
* _argo0
= 0;
6786 char *_kwnames
[] = { "self", NULL
};
6789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 _result
= (int )wxJoystick_GetYMax(_arg0
);
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) return NULL
;
6804 } _resultobj
= Py_BuildValue("i",_result
);
6808 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6809 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
* _resultobj
;
6813 PyObject
* _argo0
= 0;
6814 char *_kwnames
[] = { "self", NULL
};
6817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
6820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6828 _result
= (int )wxJoystick_GetZMax(_arg0
);
6830 wxPyEndAllowThreads(__tstate
);
6831 if (PyErr_Occurred()) return NULL
;
6832 } _resultobj
= Py_BuildValue("i",_result
);
6836 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6837 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6838 PyObject
* _resultobj
;
6841 PyObject
* _argo0
= 0;
6842 char *_kwnames
[] = { "self", NULL
};
6845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
6848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
6855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6856 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
6858 wxPyEndAllowThreads(__tstate
);
6859 if (PyErr_Occurred()) return NULL
;
6860 } _resultobj
= Py_BuildValue("i",_result
);
6864 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
6865 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6866 PyObject
* _resultobj
;
6869 PyObject
* _argo0
= 0;
6870 char *_kwnames
[] = { "self", NULL
};
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
6876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
6883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6884 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
6886 wxPyEndAllowThreads(__tstate
);
6887 if (PyErr_Occurred()) return NULL
;
6888 } _resultobj
= Py_BuildValue("i",_result
);
6892 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
6893 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6894 PyObject
* _resultobj
;
6897 PyObject
* _argo0
= 0;
6898 char *_kwnames
[] = { "self", NULL
};
6901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
6904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
6911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6912 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
6914 wxPyEndAllowThreads(__tstate
);
6915 if (PyErr_Occurred()) return NULL
;
6916 } _resultobj
= Py_BuildValue("i",_result
);
6920 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
6921 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
* _resultobj
;
6925 PyObject
* _argo0
= 0;
6926 char *_kwnames
[] = { "self", NULL
};
6929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
6932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
6939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6940 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
6942 wxPyEndAllowThreads(__tstate
);
6943 if (PyErr_Occurred()) return NULL
;
6944 } _resultobj
= Py_BuildValue("i",_result
);
6948 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
6949 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6950 PyObject
* _resultobj
;
6953 PyObject
* _argo0
= 0;
6954 char *_kwnames
[] = { "self", NULL
};
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
6960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
6967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) return NULL
;
6972 } _resultobj
= Py_BuildValue("i",_result
);
6976 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
6977 static PyObject
*_wrap_wxJoystick_GetPollingMax(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_GetPollingMax",_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_GetPollingMax. Expected _wxJoystick_p.");
6995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6996 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
6998 wxPyEndAllowThreads(__tstate
);
6999 if (PyErr_Occurred()) return NULL
;
7000 } _resultobj
= Py_BuildValue("i",_result
);
7004 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7005 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7006 PyObject
* _resultobj
;
7009 PyObject
* _argo0
= 0;
7010 char *_kwnames
[] = { "self", NULL
};
7013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) return NULL
;
7028 } _resultobj
= Py_BuildValue("i",_result
);
7032 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7033 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7034 PyObject
* _resultobj
;
7037 PyObject
* _argo0
= 0;
7038 char *_kwnames
[] = { "self", NULL
};
7041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7052 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7054 wxPyEndAllowThreads(__tstate
);
7055 if (PyErr_Occurred()) return NULL
;
7056 } _resultobj
= Py_BuildValue("i",_result
);
7060 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7061 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7062 PyObject
* _resultobj
;
7065 PyObject
* _argo0
= 0;
7066 char *_kwnames
[] = { "self", NULL
};
7069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7080 _result
= (int )wxJoystick_GetUMin(_arg0
);
7082 wxPyEndAllowThreads(__tstate
);
7083 if (PyErr_Occurred()) return NULL
;
7084 } _resultobj
= Py_BuildValue("i",_result
);
7088 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7089 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
* _resultobj
;
7093 PyObject
* _argo0
= 0;
7094 char *_kwnames
[] = { "self", NULL
};
7097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7108 _result
= (int )wxJoystick_GetUMax(_arg0
);
7110 wxPyEndAllowThreads(__tstate
);
7111 if (PyErr_Occurred()) return NULL
;
7112 } _resultobj
= Py_BuildValue("i",_result
);
7116 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7117 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
* _resultobj
;
7121 PyObject
* _argo0
= 0;
7122 char *_kwnames
[] = { "self", NULL
};
7125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 _result
= (int )wxJoystick_GetVMin(_arg0
);
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) return NULL
;
7140 } _resultobj
= Py_BuildValue("i",_result
);
7144 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7145 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7146 PyObject
* _resultobj
;
7149 PyObject
* _argo0
= 0;
7150 char *_kwnames
[] = { "self", NULL
};
7153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7164 _result
= (int )wxJoystick_GetVMax(_arg0
);
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) return NULL
;
7168 } _resultobj
= Py_BuildValue("i",_result
);
7172 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7173 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7174 PyObject
* _resultobj
;
7177 PyObject
* _argo0
= 0;
7178 char *_kwnames
[] = { "self", NULL
};
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) return NULL
;
7196 } _resultobj
= Py_BuildValue("i",_result
);
7200 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7201 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7202 PyObject
* _resultobj
;
7205 PyObject
* _argo0
= 0;
7206 char *_kwnames
[] = { "self", NULL
};
7209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7220 _result
= (bool )wxJoystick_HasZ(_arg0
);
7222 wxPyEndAllowThreads(__tstate
);
7223 if (PyErr_Occurred()) return NULL
;
7224 } _resultobj
= Py_BuildValue("i",_result
);
7228 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7229 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7230 PyObject
* _resultobj
;
7233 PyObject
* _argo0
= 0;
7234 char *_kwnames
[] = { "self", NULL
};
7237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7248 _result
= (bool )wxJoystick_HasU(_arg0
);
7250 wxPyEndAllowThreads(__tstate
);
7251 if (PyErr_Occurred()) return NULL
;
7252 } _resultobj
= Py_BuildValue("i",_result
);
7256 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7257 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
* _resultobj
;
7261 PyObject
* _argo0
= 0;
7262 char *_kwnames
[] = { "self", NULL
};
7265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7276 _result
= (bool )wxJoystick_HasV(_arg0
);
7278 wxPyEndAllowThreads(__tstate
);
7279 if (PyErr_Occurred()) return NULL
;
7280 } _resultobj
= Py_BuildValue("i",_result
);
7284 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7285 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7286 PyObject
* _resultobj
;
7289 PyObject
* _argo0
= 0;
7290 char *_kwnames
[] = { "self", NULL
};
7293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7304 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7306 wxPyEndAllowThreads(__tstate
);
7307 if (PyErr_Occurred()) return NULL
;
7308 } _resultobj
= Py_BuildValue("i",_result
);
7312 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7313 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7314 PyObject
* _resultobj
;
7317 PyObject
* _argo0
= 0;
7318 char *_kwnames
[] = { "self", NULL
};
7321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7332 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7334 wxPyEndAllowThreads(__tstate
);
7335 if (PyErr_Occurred()) return NULL
;
7336 } _resultobj
= Py_BuildValue("i",_result
);
7340 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7341 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7342 PyObject
* _resultobj
;
7345 PyObject
* _argo0
= 0;
7346 char *_kwnames
[] = { "self", NULL
};
7349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7362 wxPyEndAllowThreads(__tstate
);
7363 if (PyErr_Occurred()) return NULL
;
7364 } _resultobj
= Py_BuildValue("i",_result
);
7368 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7369 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7370 PyObject
* _resultobj
;
7374 int _arg2
= (int ) 0;
7375 PyObject
* _argo0
= 0;
7376 PyObject
* _argo1
= 0;
7377 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7383 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7384 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7385 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7390 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7391 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7400 wxPyEndAllowThreads(__tstate
);
7401 if (PyErr_Occurred()) return NULL
;
7402 } _resultobj
= Py_BuildValue("i",_result
);
7406 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7407 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7408 PyObject
* _resultobj
;
7411 PyObject
* _argo0
= 0;
7412 char *_kwnames
[] = { "self", NULL
};
7415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7426 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7428 wxPyEndAllowThreads(__tstate
);
7429 if (PyErr_Occurred()) return NULL
;
7430 } _resultobj
= Py_BuildValue("i",_result
);
7434 static void *SwigwxWaveTowxObject(void *ptr
) {
7437 src
= (wxWave
*) ptr
;
7438 dest
= (wxObject
*) src
;
7439 return (void *) dest
;
7442 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7443 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
* _resultobj
;
7447 bool _arg1
= (bool ) FALSE
;
7448 PyObject
* _obj0
= 0;
7449 int tempbool1
= (int) FALSE
;
7450 char *_kwnames
[] = { "fileName","isResource", NULL
};
7454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7457 _arg0
= wxString_in_helper(_obj0
);
7461 _arg1
= (bool ) tempbool1
;
7463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7464 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7466 wxPyEndAllowThreads(__tstate
);
7467 if (PyErr_Occurred()) return NULL
;
7469 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7470 _resultobj
= Py_BuildValue("s",_ptemp
);
7473 _resultobj
= Py_None
;
7482 #define delete_wxWave(_swigobj) (delete _swigobj)
7483 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
* _resultobj
;
7486 PyObject
* _argo0
= 0;
7487 char *_kwnames
[] = { "self", NULL
};
7490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7501 delete_wxWave(_arg0
);
7503 wxPyEndAllowThreads(__tstate
);
7504 if (PyErr_Occurred()) return NULL
;
7505 } Py_INCREF(Py_None
);
7506 _resultobj
= Py_None
;
7510 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7511 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7512 PyObject
* _resultobj
;
7515 PyObject
* _argo0
= 0;
7516 char *_kwnames
[] = { "self", NULL
};
7519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7522 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7523 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7530 _result
= (bool )wxWave_IsOk(_arg0
);
7532 wxPyEndAllowThreads(__tstate
);
7533 if (PyErr_Occurred()) return NULL
;
7534 } _resultobj
= Py_BuildValue("i",_result
);
7538 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7539 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7540 PyObject
* _resultobj
;
7543 bool _arg1
= (bool ) TRUE
;
7544 bool _arg2
= (bool ) FALSE
;
7545 PyObject
* _argo0
= 0;
7546 int tempbool1
= (int) TRUE
;
7547 int tempbool2
= (int) FALSE
;
7548 char *_kwnames
[] = { "self","async","looped", NULL
};
7551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7560 _arg1
= (bool ) tempbool1
;
7561 _arg2
= (bool ) tempbool2
;
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) return NULL
;
7568 } _resultobj
= Py_BuildValue("i",_result
);
7572 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7573 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7574 PyObject
* _resultobj
;
7575 wxFileTypeInfo
* _result
;
7580 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7588 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
7590 wxPyEndAllowThreads(__tstate
);
7591 if (PyErr_Occurred()) return NULL
;
7593 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7594 _resultobj
= Py_BuildValue("s",_ptemp
);
7597 _resultobj
= Py_None
;
7602 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7603 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7604 PyObject
* _resultobj
;
7605 wxFileTypeInfo
* _result
;
7606 wxArrayString
* _arg0
;
7607 PyObject
* _obj0
= 0;
7608 char *_kwnames
[] = { "sArray", NULL
};
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7615 if (! PySequence_Check(_obj0
)) {
7616 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7619 _arg0
= new wxArrayString
;
7620 int i
, len
=PySequence_Length(_obj0
);
7621 for (i
=0; i
<len
; i
++) {
7622 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7624 PyObject
* str
= PyObject_Unicode(item
);
7625 _arg0
->Add(PyUnicode_AsUnicode(str
));
7627 PyObject
* str
= PyObject_Str(item
);
7628 _arg0
->Add(PyString_AsString(str
));
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
7638 wxPyEndAllowThreads(__tstate
);
7639 if (PyErr_Occurred()) return NULL
;
7641 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7642 _resultobj
= Py_BuildValue("s",_ptemp
);
7645 _resultobj
= Py_None
;
7654 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7655 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7656 PyObject
* _resultobj
;
7657 wxFileTypeInfo
* _result
;
7658 char *_kwnames
[] = { NULL
};
7662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
7665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7666 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
7668 wxPyEndAllowThreads(__tstate
);
7669 if (PyErr_Occurred()) return NULL
;
7671 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7672 _resultobj
= Py_BuildValue("s",_ptemp
);
7675 _resultobj
= Py_None
;
7680 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
7681 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7682 PyObject
* _resultobj
;
7684 wxFileTypeInfo
* _arg0
;
7685 PyObject
* _argo0
= 0;
7686 char *_kwnames
[] = { "self", NULL
};
7689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
7692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) return NULL
;
7704 } _resultobj
= Py_BuildValue("i",_result
);
7708 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
7709 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
* _resultobj
;
7711 wxFileTypeInfo
* _arg0
;
7713 int _arg2
= (int ) 0;
7714 PyObject
* _argo0
= 0;
7715 PyObject
* _obj1
= 0;
7716 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
7719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
7722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
7729 _arg1
= wxString_in_helper(_obj1
);
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) return NULL
;
7739 } Py_INCREF(Py_None
);
7740 _resultobj
= Py_None
;
7748 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
7749 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
* _resultobj
;
7751 wxFileTypeInfo
* _arg0
;
7753 PyObject
* _argo0
= 0;
7754 PyObject
* _obj1
= 0;
7755 char *_kwnames
[] = { "self","shortDesc", NULL
};
7758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
7761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
7768 _arg1
= wxString_in_helper(_obj1
);
7773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7774 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) return NULL
;
7778 } Py_INCREF(Py_None
);
7779 _resultobj
= Py_None
;
7787 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
7788 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7789 PyObject
* _resultobj
;
7791 wxFileTypeInfo
* _arg0
;
7792 PyObject
* _argo0
= 0;
7793 char *_kwnames
[] = { "self", NULL
};
7796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
7799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
7806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7807 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
7808 _result
= (wxString
*) &_result_ref
;
7810 wxPyEndAllowThreads(__tstate
);
7811 if (PyErr_Occurred()) return NULL
;
7814 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7816 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7822 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
7823 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7824 PyObject
* _resultobj
;
7826 wxFileTypeInfo
* _arg0
;
7827 PyObject
* _argo0
= 0;
7828 char *_kwnames
[] = { "self", NULL
};
7831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
7834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
7841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7842 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
7843 _result
= (wxString
*) &_result_ref
;
7845 wxPyEndAllowThreads(__tstate
);
7846 if (PyErr_Occurred()) return NULL
;
7849 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7851 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7857 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
7858 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7859 PyObject
* _resultobj
;
7861 wxFileTypeInfo
* _arg0
;
7862 PyObject
* _argo0
= 0;
7863 char *_kwnames
[] = { "self", NULL
};
7866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
7869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
7878 _result
= (wxString
*) &_result_ref
;
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) return NULL
;
7884 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7886 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7892 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
7893 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
* _resultobj
;
7896 wxFileTypeInfo
* _arg0
;
7897 PyObject
* _argo0
= 0;
7898 char *_kwnames
[] = { "self", NULL
};
7901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
7904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
7911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7912 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
7913 _result
= (wxString
*) &_result_ref
;
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) return NULL
;
7919 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7921 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7927 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
7928 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
* _resultobj
;
7931 wxFileTypeInfo
* _arg0
;
7932 PyObject
* _argo0
= 0;
7933 char *_kwnames
[] = { "self", NULL
};
7936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
7939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
7946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7947 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
7948 _result
= (wxString
*) &_result_ref
;
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) return NULL
;
7954 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7956 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7962 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
7963 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
7964 return wxArrayString2PyList_helper(arr
);
7966 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
* _resultobj
;
7969 wxFileTypeInfo
* _arg0
;
7970 PyObject
* _argo0
= 0;
7971 char *_kwnames
[] = { "self", NULL
};
7974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
7977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
7984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7985 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
7987 wxPyEndAllowThreads(__tstate
);
7988 if (PyErr_Occurred()) return NULL
;
7990 _resultobj
= _result
;
7995 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
7996 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
* _resultobj
;
7999 wxFileTypeInfo
* _arg0
;
8000 PyObject
* _argo0
= 0;
8001 char *_kwnames
[] = { "self", NULL
};
8004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8007 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8008 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8015 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8017 wxPyEndAllowThreads(__tstate
);
8018 if (PyErr_Occurred()) return NULL
;
8019 } _resultobj
= Py_BuildValue("i",_result
);
8023 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8024 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8025 PyObject
* _resultobj
;
8027 wxFileTypeInfo
* _arg0
;
8028 PyObject
* _argo0
= 0;
8029 char *_kwnames
[] = { "self", NULL
};
8032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8043 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8044 _result
= (wxString
*) &_result_ref
;
8046 wxPyEndAllowThreads(__tstate
);
8047 if (PyErr_Occurred()) return NULL
;
8050 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8052 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8058 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8059 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8060 PyObject
* _resultobj
;
8062 wxFileTypeInfo
* _arg0
;
8063 PyObject
* _argo0
= 0;
8064 char *_kwnames
[] = { "self", NULL
};
8067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8070 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8071 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8072 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8078 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8080 wxPyEndAllowThreads(__tstate
);
8081 if (PyErr_Occurred()) return NULL
;
8082 } _resultobj
= Py_BuildValue("i",_result
);
8086 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8087 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8088 PyObject
* _resultobj
;
8089 wxFileType
* _result
;
8090 wxFileTypeInfo
* _arg0
;
8091 PyObject
* _argo0
= 0;
8092 char *_kwnames
[] = { "ftInfo", NULL
};
8096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8107 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8109 wxPyEndAllowThreads(__tstate
);
8110 if (PyErr_Occurred()) return NULL
;
8112 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8113 _resultobj
= Py_BuildValue("s",_ptemp
);
8116 _resultobj
= Py_None
;
8121 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8123 if (self
->GetMimeType(&str
)) {
8125 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8127 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8133 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
* _resultobj
;
8137 PyObject
* _argo0
= 0;
8138 char *_kwnames
[] = { "self", NULL
};
8141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8152 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8154 wxPyEndAllowThreads(__tstate
);
8155 if (PyErr_Occurred()) return NULL
;
8157 _resultobj
= _result
;
8162 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8164 if (self
->GetMimeTypes(arr
))
8165 return wxArrayString2PyList_helper(arr
);
8169 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8170 PyObject
* _resultobj
;
8173 PyObject
* _argo0
= 0;
8174 char *_kwnames
[] = { "self", NULL
};
8177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8188 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8190 wxPyEndAllowThreads(__tstate
);
8191 if (PyErr_Occurred()) return NULL
;
8193 _resultobj
= _result
;
8198 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8200 if (self
->GetExtensions(arr
))
8201 return wxArrayString2PyList_helper(arr
);
8205 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8206 PyObject
* _resultobj
;
8209 PyObject
* _argo0
= 0;
8210 char *_kwnames
[] = { "self", NULL
};
8213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8224 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8226 wxPyEndAllowThreads(__tstate
);
8227 if (PyErr_Occurred()) return NULL
;
8229 _resultobj
= _result
;
8234 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8236 if (self
->GetIcon(&icon
))
8237 return new wxIcon(icon
);
8241 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
* _resultobj
;
8245 PyObject
* _argo0
= 0;
8246 char *_kwnames
[] = { "self", NULL
};
8250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8261 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8263 wxPyEndAllowThreads(__tstate
);
8264 if (PyErr_Occurred()) return NULL
;
8266 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8267 _resultobj
= Py_BuildValue("s",_ptemp
);
8270 _resultobj
= Py_None
;
8275 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8279 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8280 wxPyBeginBlockThreads();
8281 PyObject
* tuple
= PyTuple_New(3);
8282 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8285 PyTuple_SetItem(tuple
, 1, PyUnicode_FromUnicode(iconFile
.c_str(), iconFile
.Len()));
8287 PyTuple_SetItem(tuple
, 1, PyString_FromStringAndSize(iconFile
.c_str(), iconFile
.Len()));
8289 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8290 wxPyEndBlockThreads();
8296 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
* _resultobj
;
8300 PyObject
* _argo0
= 0;
8301 char *_kwnames
[] = { "self", NULL
};
8304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8315 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8317 wxPyEndAllowThreads(__tstate
);
8318 if (PyErr_Occurred()) return NULL
;
8320 _resultobj
= _result
;
8325 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8327 if (self
->GetDescription(&str
)) {
8329 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8331 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8336 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8337 PyObject
* _resultobj
;
8340 PyObject
* _argo0
= 0;
8341 char *_kwnames
[] = { "self", NULL
};
8344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8355 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8357 wxPyEndAllowThreads(__tstate
);
8358 if (PyErr_Occurred()) return NULL
;
8360 _resultobj
= _result
;
8365 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8367 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8369 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8371 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8376 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8377 PyObject
* _resultobj
;
8381 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8382 PyObject
* _argo0
= 0;
8383 PyObject
* _obj1
= 0;
8384 PyObject
* _obj2
= 0;
8385 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8398 _arg1
= wxString_in_helper(_obj1
);
8404 _arg2
= wxString_in_helper(_obj2
);
8409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8410 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8412 wxPyEndAllowThreads(__tstate
);
8413 if (PyErr_Occurred()) return NULL
;
8415 _resultobj
= _result
;
8428 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8430 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8432 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8434 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8439 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8440 PyObject
* _resultobj
;
8444 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8445 PyObject
* _argo0
= 0;
8446 PyObject
* _obj1
= 0;
8447 PyObject
* _obj2
= 0;
8448 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8461 _arg1
= wxString_in_helper(_obj1
);
8467 _arg2
= wxString_in_helper(_obj2
);
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) return NULL
;
8478 _resultobj
= _result
;
8491 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8492 wxArrayString verbs
;
8493 wxArrayString commands
;
8494 if (self
->GetAllCommands(&verbs
, &commands
,
8495 wxFileType::MessageParameters(filename
, mimetype
))) {
8496 wxPyBeginBlockThreads();
8497 PyObject
* tuple
= PyTuple_New(2);
8498 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8499 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8500 wxPyEndBlockThreads();
8506 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8507 PyObject
* _resultobj
;
8511 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8512 PyObject
* _argo0
= 0;
8513 PyObject
* _obj1
= 0;
8514 PyObject
* _obj2
= 0;
8515 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8528 _arg1
= wxString_in_helper(_obj1
);
8534 _arg2
= wxString_in_helper(_obj2
);
8539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8540 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8542 wxPyEndAllowThreads(__tstate
);
8543 if (PyErr_Occurred()) return NULL
;
8545 _resultobj
= _result
;
8558 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8559 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8560 PyObject
* _resultobj
;
8565 bool _arg3
= (bool ) TRUE
;
8566 PyObject
* _argo0
= 0;
8567 PyObject
* _obj1
= 0;
8568 PyObject
* _obj2
= 0;
8569 int tempbool3
= (int) TRUE
;
8570 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8583 _arg1
= wxString_in_helper(_obj1
);
8588 _arg2
= wxString_in_helper(_obj2
);
8592 _arg3
= (bool ) tempbool3
;
8594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8595 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8597 wxPyEndAllowThreads(__tstate
);
8598 if (PyErr_Occurred()) return NULL
;
8599 } _resultobj
= Py_BuildValue("i",_result
);
8611 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8612 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8613 PyObject
* _resultobj
;
8616 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
8617 int _arg2
= (int ) 0;
8618 PyObject
* _argo0
= 0;
8619 PyObject
* _obj1
= 0;
8620 char *_kwnames
[] = { "self","cmd","index", NULL
};
8623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8634 _arg1
= wxString_in_helper(_obj1
);
8639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8640 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
8642 wxPyEndAllowThreads(__tstate
);
8643 if (PyErr_Occurred()) return NULL
;
8644 } _resultobj
= Py_BuildValue("i",_result
);
8652 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
8653 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8654 PyObject
* _resultobj
;
8657 PyObject
* _argo0
= 0;
8658 char *_kwnames
[] = { "self", NULL
};
8661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
8664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
8671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8672 _result
= (bool )wxFileType_Unassociate(_arg0
);
8674 wxPyEndAllowThreads(__tstate
);
8675 if (PyErr_Occurred()) return NULL
;
8676 } _resultobj
= Py_BuildValue("i",_result
);
8680 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8681 PyObject
* _resultobj
;
8684 wxFileType::MessageParameters
* _arg1
;
8685 PyObject
* _obj0
= 0;
8686 PyObject
* _argo1
= 0;
8687 char *_kwnames
[] = { "command","params", NULL
};
8690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
8693 _arg0
= wxString_in_helper(_obj0
);
8698 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8699 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
8700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
8705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8706 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) return NULL
;
8712 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8714 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8727 #define delete_wxFileType(_swigobj) (delete _swigobj)
8728 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
* _resultobj
;
8731 PyObject
* _argo0
= 0;
8732 char *_kwnames
[] = { "self", NULL
};
8735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
8738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
8745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8746 delete_wxFileType(_arg0
);
8748 wxPyEndAllowThreads(__tstate
);
8749 if (PyErr_Occurred()) return NULL
;
8750 } Py_INCREF(Py_None
);
8751 _resultobj
= Py_None
;
8755 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8756 PyObject
* _resultobj
;
8760 PyObject
* _obj0
= 0;
8761 PyObject
* _obj1
= 0;
8762 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
8765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
8768 _arg0
= wxString_in_helper(_obj0
);
8773 _arg1
= wxString_in_helper(_obj1
);
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) return NULL
;
8783 } _resultobj
= Py_BuildValue("i",_result
);
8795 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
8796 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8797 PyObject
* _resultobj
;
8798 wxMimeTypesManager
* _result
;
8799 char *_kwnames
[] = { NULL
};
8803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
8806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8807 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
8809 wxPyEndAllowThreads(__tstate
);
8810 if (PyErr_Occurred()) return NULL
;
8812 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
8813 _resultobj
= Py_BuildValue("s",_ptemp
);
8816 _resultobj
= Py_None
;
8821 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
8822 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8823 PyObject
* _resultobj
;
8824 wxMimeTypesManager
* _arg0
;
8825 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
8826 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8827 PyObject
* _argo0
= 0;
8828 PyObject
* _obj2
= 0;
8829 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
8832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
8837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
8843 _arg2
= wxString_in_helper(_obj2
);
8848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8849 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
8851 wxPyEndAllowThreads(__tstate
);
8852 if (PyErr_Occurred()) return NULL
;
8853 } Py_INCREF(Py_None
);
8854 _resultobj
= Py_None
;
8862 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
8863 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8864 PyObject
* _resultobj
;
8865 wxMimeTypesManager
* _arg0
;
8866 PyObject
* _argo0
= 0;
8867 char *_kwnames
[] = { "self", NULL
};
8870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
8873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
8875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
8880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8881 wxMimeTypesManager_ClearData(_arg0
);
8883 wxPyEndAllowThreads(__tstate
);
8884 if (PyErr_Occurred()) return NULL
;
8885 } Py_INCREF(Py_None
);
8886 _resultobj
= Py_None
;
8890 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
8891 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8892 PyObject
* _resultobj
;
8893 wxFileType
* _result
;
8894 wxMimeTypesManager
* _arg0
;
8896 PyObject
* _argo0
= 0;
8897 PyObject
* _obj1
= 0;
8898 char *_kwnames
[] = { "self","ext", NULL
};
8902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
8905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
8907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
8912 _arg1
= wxString_in_helper(_obj1
);
8917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) return NULL
;
8923 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8924 _resultobj
= Py_BuildValue("s",_ptemp
);
8927 _resultobj
= Py_None
;
8936 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
8937 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(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","mimeType", NULL
};
8948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_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_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
8958 _arg1
= wxString_in_helper(_obj1
);
8963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8964 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) return NULL
;
8969 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8970 _resultobj
= Py_BuildValue("s",_ptemp
);
8973 _resultobj
= Py_None
;
8982 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
8983 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8984 PyObject
* _resultobj
;
8986 wxMimeTypesManager
* _arg0
;
8988 bool _arg2
= (bool ) FALSE
;
8989 PyObject
* _argo0
= 0;
8990 PyObject
* _obj1
= 0;
8991 int tempbool2
= (int) FALSE
;
8992 char *_kwnames
[] = { "self","filename","fallback", NULL
};
8995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
8998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9005 _arg1
= wxString_in_helper(_obj1
);
9009 _arg2
= (bool ) tempbool2
;
9011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9012 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9014 wxPyEndAllowThreads(__tstate
);
9015 if (PyErr_Occurred()) return NULL
;
9016 } _resultobj
= Py_BuildValue("i",_result
);
9024 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9025 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9026 PyObject
* _resultobj
;
9028 wxMimeTypesManager
* _arg0
;
9030 PyObject
* _argo0
= 0;
9031 PyObject
* _obj1
= 0;
9032 char *_kwnames
[] = { "self","filename", NULL
};
9035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9045 _arg1
= wxString_in_helper(_obj1
);
9050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9051 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9053 wxPyEndAllowThreads(__tstate
);
9054 if (PyErr_Occurred()) return NULL
;
9055 } _resultobj
= Py_BuildValue("i",_result
);
9063 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9065 self
->EnumAllFileTypes(arr
);
9066 return wxArrayString2PyList_helper(arr
);
9068 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
* _resultobj
;
9071 wxMimeTypesManager
* _arg0
;
9072 PyObject
* _argo0
= 0;
9073 char *_kwnames
[] = { "self", NULL
};
9076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9087 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9089 wxPyEndAllowThreads(__tstate
);
9090 if (PyErr_Occurred()) return NULL
;
9092 _resultobj
= _result
;
9097 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9098 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
* _resultobj
;
9100 wxMimeTypesManager
* _arg0
;
9101 wxFileTypeInfo
* _arg1
;
9102 PyObject
* _argo0
= 0;
9103 PyObject
* _argo1
= 0;
9104 char *_kwnames
[] = { "self","ft", NULL
};
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9117 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9118 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9125 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9127 wxPyEndAllowThreads(__tstate
);
9128 if (PyErr_Occurred()) return NULL
;
9129 } Py_INCREF(Py_None
);
9130 _resultobj
= Py_None
;
9134 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9135 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9136 PyObject
* _resultobj
;
9137 wxFileType
* _result
;
9138 wxMimeTypesManager
* _arg0
;
9139 wxFileTypeInfo
* _arg1
;
9140 PyObject
* _argo0
= 0;
9141 PyObject
* _argo1
= 0;
9142 char *_kwnames
[] = { "self","ftInfo", NULL
};
9146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9156 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9157 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9164 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9166 wxPyEndAllowThreads(__tstate
);
9167 if (PyErr_Occurred()) return NULL
;
9169 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9170 _resultobj
= Py_BuildValue("s",_ptemp
);
9173 _resultobj
= Py_None
;
9178 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9179 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9180 PyObject
* _resultobj
;
9182 wxMimeTypesManager
* _arg0
;
9184 PyObject
* _argo0
= 0;
9185 PyObject
* _argo1
= 0;
9186 char *_kwnames
[] = { "self","ft", NULL
};
9189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9199 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9200 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9207 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9209 wxPyEndAllowThreads(__tstate
);
9210 if (PyErr_Occurred()) return NULL
;
9211 } _resultobj
= Py_BuildValue("i",_result
);
9215 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9216 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9217 PyObject
* _resultobj
;
9218 wxMimeTypesManager
* _arg0
;
9219 PyObject
* _argo0
= 0;
9220 char *_kwnames
[] = { "self", NULL
};
9223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9234 delete_wxMimeTypesManager(_arg0
);
9236 wxPyEndAllowThreads(__tstate
);
9237 if (PyErr_Occurred()) return NULL
;
9238 } Py_INCREF(Py_None
);
9239 _resultobj
= Py_None
;
9243 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9246 src
= (wxFileHistory
*) ptr
;
9247 dest
= (wxObject
*) src
;
9248 return (void *) dest
;
9251 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9252 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9253 PyObject
* _resultobj
;
9254 wxFileHistory
* _result
;
9255 int _arg0
= (int ) 9;
9256 char *_kwnames
[] = { "maxFiles", NULL
};
9260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9264 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9266 wxPyEndAllowThreads(__tstate
);
9267 if (PyErr_Occurred()) return NULL
;
9269 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9270 _resultobj
= Py_BuildValue("s",_ptemp
);
9273 _resultobj
= Py_None
;
9278 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9279 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9280 PyObject
* _resultobj
;
9281 wxFileHistory
* _arg0
;
9282 PyObject
* _argo0
= 0;
9283 char *_kwnames
[] = { "self", NULL
};
9286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9297 delete_wxFileHistory(_arg0
);
9299 wxPyEndAllowThreads(__tstate
);
9300 if (PyErr_Occurred()) return NULL
;
9301 } Py_INCREF(Py_None
);
9302 _resultobj
= Py_None
;
9306 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9307 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9308 PyObject
* _resultobj
;
9309 wxFileHistory
* _arg0
;
9311 PyObject
* _argo0
= 0;
9312 PyObject
* _obj1
= 0;
9313 char *_kwnames
[] = { "self","file", NULL
};
9316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9326 _arg1
= wxString_in_helper(_obj1
);
9331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9332 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9334 wxPyEndAllowThreads(__tstate
);
9335 if (PyErr_Occurred()) return NULL
;
9336 } Py_INCREF(Py_None
);
9337 _resultobj
= Py_None
;
9345 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9346 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
* _resultobj
;
9348 wxFileHistory
* _arg0
;
9350 PyObject
* _argo0
= 0;
9351 char *_kwnames
[] = { "self","i", NULL
};
9354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9365 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
9367 wxPyEndAllowThreads(__tstate
);
9368 if (PyErr_Occurred()) return NULL
;
9369 } Py_INCREF(Py_None
);
9370 _resultobj
= Py_None
;
9374 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9375 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9376 PyObject
* _resultobj
;
9378 wxFileHistory
* _arg0
;
9379 PyObject
* _argo0
= 0;
9380 char *_kwnames
[] = { "self", NULL
};
9383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
9386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9394 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
9396 wxPyEndAllowThreads(__tstate
);
9397 if (PyErr_Occurred()) return NULL
;
9398 } _resultobj
= Py_BuildValue("i",_result
);
9402 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
9403 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9404 PyObject
* _resultobj
;
9405 wxFileHistory
* _arg0
;
9407 PyObject
* _argo0
= 0;
9408 PyObject
* _argo1
= 0;
9409 char *_kwnames
[] = { "self","menu", NULL
};
9412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
9415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
9422 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9423 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 wxFileHistory_UseMenu(_arg0
,_arg1
);
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) return NULL
;
9434 } Py_INCREF(Py_None
);
9435 _resultobj
= Py_None
;
9439 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
9440 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9441 PyObject
* _resultobj
;
9442 wxFileHistory
* _arg0
;
9444 PyObject
* _argo0
= 0;
9445 PyObject
* _argo1
= 0;
9446 char *_kwnames
[] = { "self","menu", NULL
};
9449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
9452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
9459 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9460 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
9466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9467 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
9469 wxPyEndAllowThreads(__tstate
);
9470 if (PyErr_Occurred()) return NULL
;
9471 } Py_INCREF(Py_None
);
9472 _resultobj
= Py_None
;
9476 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
9477 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9478 PyObject
* _resultobj
;
9479 wxFileHistory
* _arg0
;
9480 wxConfigBase
* _arg1
;
9481 PyObject
* _argo0
= 0;
9482 PyObject
* _argo1
= 0;
9483 char *_kwnames
[] = { "self","config", NULL
};
9486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
9489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
9496 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9497 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
9503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9504 wxFileHistory_Load(_arg0
,*_arg1
);
9506 wxPyEndAllowThreads(__tstate
);
9507 if (PyErr_Occurred()) return NULL
;
9508 } Py_INCREF(Py_None
);
9509 _resultobj
= Py_None
;
9513 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
9514 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9515 PyObject
* _resultobj
;
9516 wxFileHistory
* _arg0
;
9517 wxConfigBase
* _arg1
;
9518 PyObject
* _argo0
= 0;
9519 PyObject
* _argo1
= 0;
9520 char *_kwnames
[] = { "self","config", NULL
};
9523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
9526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
9533 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9534 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
9540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9541 wxFileHistory_Save(_arg0
,*_arg1
);
9543 wxPyEndAllowThreads(__tstate
);
9544 if (PyErr_Occurred()) return NULL
;
9545 } Py_INCREF(Py_None
);
9546 _resultobj
= Py_None
;
9550 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
9551 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9552 PyObject
* _resultobj
;
9553 wxFileHistory
* _arg0
;
9554 PyObject
* _argo0
= 0;
9555 char *_kwnames
[] = { "self", NULL
};
9558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
9561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 wxFileHistory_AddFilesToMenu(_arg0
);
9571 wxPyEndAllowThreads(__tstate
);
9572 if (PyErr_Occurred()) return NULL
;
9573 } Py_INCREF(Py_None
);
9574 _resultobj
= Py_None
;
9578 #define wxFileHistory_AddFilesToThisMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
9579 static PyObject
*_wrap_wxFileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9580 PyObject
* _resultobj
;
9581 wxFileHistory
* _arg0
;
9583 PyObject
* _argo0
= 0;
9584 PyObject
* _argo1
= 0;
9585 char *_kwnames
[] = { "self","menu", NULL
};
9588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToThisMenu",_kwnames
,&_argo0
,&_argo1
))
9591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToThisMenu. Expected _wxFileHistory_p.");
9598 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9599 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToThisMenu. Expected _wxMenu_p.");
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 wxFileHistory_AddFilesToThisMenu(_arg0
,_arg1
);
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) return NULL
;
9610 } Py_INCREF(Py_None
);
9611 _resultobj
= Py_None
;
9615 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
9616 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9617 PyObject
* _resultobj
;
9619 wxFileHistory
* _arg0
;
9621 PyObject
* _argo0
= 0;
9622 char *_kwnames
[] = { "self","i", NULL
};
9625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
9628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
9635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9636 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
9638 wxPyEndAllowThreads(__tstate
);
9639 if (PyErr_Occurred()) return NULL
;
9642 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9644 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9653 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
9654 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9655 PyObject
* _resultobj
;
9657 wxFileHistory
* _arg0
;
9658 PyObject
* _argo0
= 0;
9659 char *_kwnames
[] = { "self", NULL
};
9662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
9665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
9672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9673 _result
= (int )wxFileHistory_GetCount(_arg0
);
9675 wxPyEndAllowThreads(__tstate
);
9676 if (PyErr_Occurred()) return NULL
;
9677 } _resultobj
= Py_BuildValue("i",_result
);
9681 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
9682 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9683 PyObject
* _resultobj
;
9685 wxFileHistory
* _arg0
;
9686 PyObject
* _argo0
= 0;
9687 char *_kwnames
[] = { "self", NULL
};
9690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
9693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
9700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9701 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
9703 wxPyEndAllowThreads(__tstate
);
9704 if (PyErr_Occurred()) return NULL
;
9705 } _resultobj
= Py_BuildValue("i",_result
);
9709 static PyMethodDef misc2cMethods
[] = {
9710 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
9711 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
9712 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
9713 { "wxFileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
9714 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
9715 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
9716 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
9717 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
9718 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
9719 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
9720 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
9721 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
9722 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
9723 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
9724 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
9725 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
9726 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
9727 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
9728 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
9729 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
9730 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
9731 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9732 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
9733 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
9734 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
9735 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
9736 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
9737 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
9738 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
9739 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
9740 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
9741 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
9742 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
9743 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
9744 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
9745 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
9746 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
9747 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
9748 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
9749 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
9750 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9751 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
9752 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
9753 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
9754 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
9755 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
9756 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
9757 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
9758 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
9759 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
9760 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9761 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
9762 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
9763 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
9764 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
9765 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
9766 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
9767 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
9768 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9769 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
9770 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
9771 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
9772 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
9773 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
9774 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
9775 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
9776 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
9777 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
9778 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
9779 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
9780 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
9781 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
9782 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
9783 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
9784 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
9785 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
9786 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
9787 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
9788 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
9789 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
9790 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
9791 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
9792 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
9793 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
9794 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
9795 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
9796 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
9797 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
9798 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
9799 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
9800 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
9801 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
9802 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9803 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
9804 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
9805 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
9806 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
9807 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
9808 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
9809 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
9810 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
9811 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
9812 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9813 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
9814 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
9815 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
9816 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
9817 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
9818 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
9819 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
9820 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
9821 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
9822 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
9823 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9824 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9825 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
9826 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
9827 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
9828 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
9829 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
9830 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
9831 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
9832 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
9833 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9834 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9835 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
9836 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
9837 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9838 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
9839 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
9840 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
9841 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
9842 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
9843 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
9844 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9845 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
9846 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
9847 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
9848 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
9849 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
9850 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9851 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
9852 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
9853 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9854 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9855 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
9856 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
9857 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
9858 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
9859 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9860 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9861 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9862 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
9863 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
9864 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
9865 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
9866 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
9867 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
9868 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
9869 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9870 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
9871 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
9872 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
9873 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9874 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
9875 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
9876 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
9877 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
9878 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
9879 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
9880 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
9881 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
9882 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
9883 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
9884 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
9885 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
9886 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
9887 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
9888 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
9889 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
9890 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
9891 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
9892 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
9893 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
9894 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
9895 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
9896 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
9897 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
9898 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
9899 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
9900 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
9901 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
9902 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
9903 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
9904 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
9905 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
9906 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
9907 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
9908 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
9909 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
9910 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
9911 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
9912 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
9913 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
9914 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
9915 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
9916 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
9917 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
9918 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
9919 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
9920 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9921 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
9922 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9923 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9924 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
9925 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
9926 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9927 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
9928 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
9929 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
9930 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9931 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9932 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
9933 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
9934 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
9935 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
9936 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
9937 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
9938 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
9939 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
9940 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
9941 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
9942 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
9943 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
9944 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
9945 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
9946 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
9947 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
9948 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
9949 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
9950 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
9951 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
9952 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
9953 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
9954 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
9955 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
9956 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
9957 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
9958 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
9959 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
9960 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
9961 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
9962 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
9963 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
9964 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
9965 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
9966 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
9967 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
9968 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
9969 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
9970 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
9971 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
9972 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
9973 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
9974 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
9975 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
9976 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
9977 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
9978 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
9979 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
9980 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
9981 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
9982 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
9983 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
9984 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
9985 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
9986 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
9987 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
9988 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
9989 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
9990 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
9991 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
9992 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
9993 { "wxSaveFileSelector", (PyCFunction
) _wrap_wxSaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
9994 { "wxLoadFileSelector", (PyCFunction
) _wrap_wxLoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
9995 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10002 * This table is used by the pointer type-checker
10004 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10005 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
10006 { "_signed_long","_long",0},
10007 { "_wxPrintQuality","_wxCoord",0},
10008 { "_wxPrintQuality","_int",0},
10009 { "_wxPrintQuality","_signed_int",0},
10010 { "_wxPrintQuality","_unsigned_int",0},
10011 { "_wxPrintQuality","_wxWindowID",0},
10012 { "_wxPrintQuality","_uint",0},
10013 { "_wxPrintQuality","_EBool",0},
10014 { "_wxPrintQuality","_size_t",0},
10015 { "_wxPrintQuality","_time_t",0},
10016 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
10017 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
10018 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
10019 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
10020 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
10021 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
10022 { "_byte","_unsigned_char",0},
10023 { "_long","_unsigned_long",0},
10024 { "_long","_signed_long",0},
10025 { "_size_t","_wxCoord",0},
10026 { "_size_t","_wxPrintQuality",0},
10027 { "_size_t","_time_t",0},
10028 { "_size_t","_unsigned_int",0},
10029 { "_size_t","_int",0},
10030 { "_size_t","_wxWindowID",0},
10031 { "_size_t","_uint",0},
10032 { "_uint","_wxCoord",0},
10033 { "_uint","_wxPrintQuality",0},
10034 { "_uint","_time_t",0},
10035 { "_uint","_size_t",0},
10036 { "_uint","_unsigned_int",0},
10037 { "_uint","_int",0},
10038 { "_uint","_wxWindowID",0},
10039 { "_wxChar","_char",0},
10040 { "_char","_wxChar",0},
10041 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10042 { "_EBool","_wxCoord",0},
10043 { "_EBool","_wxPrintQuality",0},
10044 { "_EBool","_signed_int",0},
10045 { "_EBool","_int",0},
10046 { "_EBool","_wxWindowID",0},
10047 { "_unsigned_long","_long",0},
10048 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10049 { "_signed_int","_wxCoord",0},
10050 { "_signed_int","_wxPrintQuality",0},
10051 { "_signed_int","_EBool",0},
10052 { "_signed_int","_wxWindowID",0},
10053 { "_signed_int","_int",0},
10054 { "_WXTYPE","_wxDateTime_t",0},
10055 { "_WXTYPE","_short",0},
10056 { "_WXTYPE","_signed_short",0},
10057 { "_WXTYPE","_unsigned_short",0},
10058 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
10059 { "_unsigned_short","_wxDateTime_t",0},
10060 { "_unsigned_short","_WXTYPE",0},
10061 { "_unsigned_short","_short",0},
10062 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
10063 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
10064 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
10065 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
10066 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
10067 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
10068 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
10069 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
10070 { "_signed_short","_WXTYPE",0},
10071 { "_signed_short","_short",0},
10072 { "_unsigned_char","_byte",0},
10073 { "_unsigned_int","_wxCoord",0},
10074 { "_unsigned_int","_wxPrintQuality",0},
10075 { "_unsigned_int","_time_t",0},
10076 { "_unsigned_int","_size_t",0},
10077 { "_unsigned_int","_uint",0},
10078 { "_unsigned_int","_wxWindowID",0},
10079 { "_unsigned_int","_int",0},
10080 { "_short","_wxDateTime_t",0},
10081 { "_short","_WXTYPE",0},
10082 { "_short","_unsigned_short",0},
10083 { "_short","_signed_short",0},
10084 { "_wxWindowID","_wxCoord",0},
10085 { "_wxWindowID","_wxPrintQuality",0},
10086 { "_wxWindowID","_time_t",0},
10087 { "_wxWindowID","_size_t",0},
10088 { "_wxWindowID","_EBool",0},
10089 { "_wxWindowID","_uint",0},
10090 { "_wxWindowID","_int",0},
10091 { "_wxWindowID","_signed_int",0},
10092 { "_wxWindowID","_unsigned_int",0},
10093 { "_int","_wxCoord",0},
10094 { "_int","_wxPrintQuality",0},
10095 { "_int","_time_t",0},
10096 { "_int","_size_t",0},
10097 { "_int","_EBool",0},
10098 { "_int","_uint",0},
10099 { "_int","_wxWindowID",0},
10100 { "_int","_unsigned_int",0},
10101 { "_int","_signed_int",0},
10102 { "_wxDateTime_t","_unsigned_short",0},
10103 { "_wxDateTime_t","_short",0},
10104 { "_wxDateTime_t","_WXTYPE",0},
10105 { "_time_t","_wxCoord",0},
10106 { "_time_t","_wxPrintQuality",0},
10107 { "_time_t","_unsigned_int",0},
10108 { "_time_t","_int",0},
10109 { "_time_t","_wxWindowID",0},
10110 { "_time_t","_uint",0},
10111 { "_time_t","_size_t",0},
10112 { "_wxCoord","_int",0},
10113 { "_wxCoord","_signed_int",0},
10114 { "_wxCoord","_unsigned_int",0},
10115 { "_wxCoord","_wxWindowID",0},
10116 { "_wxCoord","_uint",0},
10117 { "_wxCoord","_EBool",0},
10118 { "_wxCoord","_size_t",0},
10119 { "_wxCoord","_time_t",0},
10120 { "_wxCoord","_wxPrintQuality",0},
10121 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
10124 static PyObject
*SWIG_globals
;
10128 SWIGEXPORT(void) initmisc2c() {
10130 SWIG_globals
= SWIG_newvarlink();
10131 m
= Py_InitModule("misc2c", misc2cMethods
);
10132 d
= PyModule_GetDict(m
);
10133 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
10134 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
10135 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
10136 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
10137 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
10138 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
10139 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
10140 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
10141 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
10142 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
10143 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
10144 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
10145 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
10146 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
10147 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
10148 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
10149 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
10150 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
10151 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
10152 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
10153 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
10154 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
10155 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
10156 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
10157 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
10158 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
10159 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
10160 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
10161 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
10162 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
10163 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
10164 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
10165 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
10166 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
10167 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
10168 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
10169 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
10170 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
10171 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
10172 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
10173 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
10174 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
10175 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
10176 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
10177 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
10178 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
10179 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
10180 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
10181 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
10182 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
10183 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
10184 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
10185 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
10186 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
10187 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
10188 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
10189 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
10190 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
10191 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
10192 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
10193 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
10194 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
10195 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
10196 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
10197 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
10198 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
10199 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
10200 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
10201 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
10202 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
10203 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
10204 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
10205 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
10206 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
10207 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
10208 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
10209 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
10210 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
10211 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
10212 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
10213 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
10214 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
10215 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
10216 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
10217 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
10218 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
10219 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
10220 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
10221 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
10222 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
10223 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
10224 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
10225 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
10226 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
10227 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
10228 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
10229 PyDict_SetItemString(d
,"wxEXEC_ASYNC", PyInt_FromLong((long) wxEXEC_ASYNC
));
10230 PyDict_SetItemString(d
,"wxEXEC_SYNC", PyInt_FromLong((long) wxEXEC_SYNC
));
10231 PyDict_SetItemString(d
,"wxEXEC_NOHIDE", PyInt_FromLong((long) wxEXEC_NOHIDE
));
10232 PyDict_SetItemString(d
,"wxEXEC_MAKE_GROUP_LEADER", PyInt_FromLong((long) wxEXEC_MAKE_GROUP_LEADER
));
10233 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
10234 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
10235 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
10236 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
10237 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
10238 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10239 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
10241 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10242 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
10245 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10246 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);