2 * FILE : src/msw/misc2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmisc2c
56 #define SWIG_name "misc2c"
59 #include "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_wxCheckForInterrupt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1402 PyObject
* _resultobj
;
1405 PyObject
* _argo0
= 0;
1406 char *_kwnames
[] = { "wnd", NULL
};
1409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckForInterrupt",_kwnames
,&_argo0
))
1412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckForInterrupt. Expected _wxWindow_p.");
1419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1420 _result
= (bool )wxCheckForInterrupt(_arg0
);
1422 wxPyEndAllowThreads(__tstate
);
1423 if (PyErr_Occurred()) return NULL
;
1424 } _resultobj
= Py_BuildValue("i",_result
);
1428 static PyObject
*_wrap_wxFlushEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1429 PyObject
* _resultobj
;
1430 char *_kwnames
[] = { NULL
};
1433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFlushEvents",_kwnames
))
1436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1439 wxPyEndAllowThreads(__tstate
);
1440 if (PyErr_Occurred()) return NULL
;
1441 } Py_INCREF(Py_None
);
1442 _resultobj
= Py_None
;
1446 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1447 PyObject
* _resultobj
;
1451 char *_kwnames
[] = { "name","value", NULL
};
1454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1458 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1460 wxPyEndAllowThreads(__tstate
);
1461 if (PyErr_Occurred()) return NULL
;
1462 } _resultobj
= Py_BuildValue("i",_result
);
1466 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1467 PyObject
* _resultobj
;
1468 char *_kwnames
[] = { NULL
};
1471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1477 wxPyEndAllowThreads(__tstate
);
1478 if (PyErr_Occurred()) return NULL
;
1479 } Py_INCREF(Py_None
);
1480 _resultobj
= Py_None
;
1484 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1485 PyObject
* _resultobj
;
1488 char *_kwnames
[] = { "resource", NULL
};
1492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1496 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1498 wxPyEndAllowThreads(__tstate
);
1499 if (PyErr_Occurred()) return NULL
;
1500 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1501 _resultobj
= Py_BuildValue("s",_ptemp
);
1505 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1506 PyObject
* _resultobj
;
1509 char *_kwnames
[] = { "resource", NULL
};
1513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1517 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1519 wxPyEndAllowThreads(__tstate
);
1520 if (PyErr_Occurred()) return NULL
;
1521 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1522 _resultobj
= Py_BuildValue("s",_ptemp
);
1526 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1527 PyObject
* _resultobj
;
1528 wxMenuBar
* _result
;
1530 char *_kwnames
[] = { "resource", NULL
};
1533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1537 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1539 wxPyEndAllowThreads(__tstate
);
1540 if (PyErr_Occurred()) return NULL
;
1541 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1545 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1546 PyObject
* _resultobj
;
1549 char *_kwnames
[] = { "name", NULL
};
1552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1556 _result
= (int )wxResourceGetIdentifier(_arg0
);
1558 wxPyEndAllowThreads(__tstate
);
1559 if (PyErr_Occurred()) return NULL
;
1560 } _resultobj
= Py_BuildValue("i",_result
);
1564 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1565 PyObject
* _resultobj
;
1568 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1569 PyObject
* _argo1
= 0;
1570 char *_kwnames
[] = { "resource","table", NULL
};
1573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1576 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1577 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1584 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1586 wxPyEndAllowThreads(__tstate
);
1587 if (PyErr_Occurred()) return NULL
;
1588 } _resultobj
= Py_BuildValue("i",_result
);
1592 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1593 PyObject
* _resultobj
;
1596 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1597 PyObject
* _argo1
= 0;
1598 char *_kwnames
[] = { "filename","table", NULL
};
1601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1604 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1605 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1612 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1614 wxPyEndAllowThreads(__tstate
);
1615 if (PyErr_Occurred()) return NULL
;
1616 } _resultobj
= Py_BuildValue("i",_result
);
1620 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1621 PyObject
* _resultobj
;
1624 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1625 PyObject
* _argo1
= 0;
1626 char *_kwnames
[] = { "resource","table", NULL
};
1629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1632 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1633 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1640 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1642 wxPyEndAllowThreads(__tstate
);
1643 if (PyErr_Occurred()) return NULL
;
1644 } _resultobj
= Py_BuildValue("i",_result
);
1648 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1649 PyObject
* _resultobj
;
1651 char *_kwnames
[] = { NULL
};
1654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1658 _result
= (int )wxCaret_GetBlinkTime();
1660 wxPyEndAllowThreads(__tstate
);
1661 if (PyErr_Occurred()) return NULL
;
1662 } _resultobj
= Py_BuildValue("i",_result
);
1666 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
* _resultobj
;
1669 char *_kwnames
[] = { "milliseconds", NULL
};
1672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1676 wxCaret_SetBlinkTime(_arg0
);
1678 wxPyEndAllowThreads(__tstate
);
1679 if (PyErr_Occurred()) return NULL
;
1680 } Py_INCREF(Py_None
);
1681 _resultobj
= Py_None
;
1685 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1686 PyObject
* _resultobj
;
1688 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1689 PyObject
* _argo0
= 0;
1690 char *_kwnames
[] = { "win", NULL
};
1693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1704 _result
= (bool )wxSafeYield(_arg0
);
1706 wxPyEndAllowThreads(__tstate
);
1707 if (PyErr_Occurred()) return NULL
;
1708 } _resultobj
= Py_BuildValue("i",_result
);
1712 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
* _resultobj
;
1714 wxEvtHandler
* _arg0
;
1716 PyObject
* _argo0
= 0;
1717 PyObject
* _argo1
= 0;
1718 char *_kwnames
[] = { "dest","event", NULL
};
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1731 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1732 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1739 wxPostEvent(_arg0
,*_arg1
);
1741 wxPyEndAllowThreads(__tstate
);
1742 if (PyErr_Occurred()) return NULL
;
1743 } Py_INCREF(Py_None
);
1744 _resultobj
= Py_None
;
1748 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1749 PyObject
* _resultobj
;
1750 char *_kwnames
[] = { NULL
};
1753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1759 wxPyEndAllowThreads(__tstate
);
1760 if (PyErr_Occurred()) return NULL
;
1761 } Py_INCREF(Py_None
);
1762 _resultobj
= Py_None
;
1766 static PyObject
*_wrap_wxWakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
* _resultobj
;
1768 char *_kwnames
[] = { NULL
};
1771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpMainThread",_kwnames
))
1774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1775 wxWakeUpMainThread();
1777 wxPyEndAllowThreads(__tstate
);
1778 if (PyErr_Occurred()) return NULL
;
1779 } Py_INCREF(Py_None
);
1780 _resultobj
= Py_None
;
1784 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1785 PyObject
* _resultobj
;
1786 char *_kwnames
[] = { NULL
};
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1795 wxPyEndAllowThreads(__tstate
);
1796 if (PyErr_Occurred()) return NULL
;
1797 } Py_INCREF(Py_None
);
1798 _resultobj
= Py_None
;
1802 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1803 PyObject
* _resultobj
;
1804 char *_kwnames
[] = { NULL
};
1807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1813 wxPyEndAllowThreads(__tstate
);
1814 if (PyErr_Occurred()) return NULL
;
1815 } Py_INCREF(Py_None
);
1816 _resultobj
= Py_None
;
1820 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
* _resultobj
;
1823 char *_kwnames
[] = { NULL
};
1826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1830 _result
= (bool )wxThread_IsMain();
1832 wxPyEndAllowThreads(__tstate
);
1833 if (PyErr_Occurred()) return NULL
;
1834 } _resultobj
= Py_BuildValue("i",_result
);
1838 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
* _resultobj
;
1842 wxTipProvider
* _arg1
;
1843 bool _arg2
= (bool ) TRUE
;
1844 PyObject
* _argo0
= 0;
1845 PyObject
* _argo1
= 0;
1846 int tempbool2
= (int) TRUE
;
1847 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1860 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1861 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1866 _arg2
= (bool ) tempbool2
;
1868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1869 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1871 wxPyEndAllowThreads(__tstate
);
1872 if (PyErr_Occurred()) return NULL
;
1873 } _resultobj
= Py_BuildValue("i",_result
);
1877 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1878 PyObject
* _resultobj
;
1879 wxTipProvider
* _result
;
1882 PyObject
* _obj0
= 0;
1883 char *_kwnames
[] = { "filename","currentTip", NULL
};
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1890 _arg0
= wxString_in_helper(_obj0
);
1895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1896 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1898 wxPyEndAllowThreads(__tstate
);
1899 if (PyErr_Occurred()) return NULL
;
1901 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1902 _resultobj
= Py_BuildValue("s",_ptemp
);
1905 _resultobj
= Py_None
;
1914 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1915 PyObject
* _resultobj
;
1916 unsigned long _result
;
1917 char *_kwnames
[] = { NULL
};
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1924 _result
= (unsigned long )wxSysErrorCode();
1926 wxPyEndAllowThreads(__tstate
);
1927 if (PyErr_Occurred()) return NULL
;
1928 } _resultobj
= Py_BuildValue("l",_result
);
1932 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
* _resultobj
;
1935 unsigned long _arg0
= (unsigned long ) 0;
1936 char *_kwnames
[] = { "nErrCode", NULL
};
1939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1943 _result
= new wxString (wxSysErrorMsg(_arg0
));
1945 wxPyEndAllowThreads(__tstate
);
1946 if (PyErr_Occurred()) return NULL
;
1949 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1951 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1960 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1961 PyObject
* _resultobj
;
1963 PyObject
* _obj0
= 0;
1964 char *_kwnames
[] = { "szFormat", NULL
};
1967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogFatalError",_kwnames
,&_obj0
))
1970 _arg0
= wxString_in_helper(_obj0
);
1975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1976 wxLogFatalError(*_arg0
);
1978 wxPyEndAllowThreads(__tstate
);
1979 if (PyErr_Occurred()) return NULL
;
1980 } Py_INCREF(Py_None
);
1981 _resultobj
= Py_None
;
1989 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
* _resultobj
;
1992 PyObject
* _obj0
= 0;
1993 char *_kwnames
[] = { "szFormat", NULL
};
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogError",_kwnames
,&_obj0
))
1999 _arg0
= wxString_in_helper(_obj0
);
2004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2007 wxPyEndAllowThreads(__tstate
);
2008 if (PyErr_Occurred()) return NULL
;
2009 } Py_INCREF(Py_None
);
2010 _resultobj
= Py_None
;
2018 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2019 PyObject
* _resultobj
;
2021 PyObject
* _obj0
= 0;
2022 char *_kwnames
[] = { "szFormat", NULL
};
2025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWarning",_kwnames
,&_obj0
))
2028 _arg0
= wxString_in_helper(_obj0
);
2033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2034 wxLogWarning(*_arg0
);
2036 wxPyEndAllowThreads(__tstate
);
2037 if (PyErr_Occurred()) return NULL
;
2038 } Py_INCREF(Py_None
);
2039 _resultobj
= Py_None
;
2047 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2048 PyObject
* _resultobj
;
2050 PyObject
* _obj0
= 0;
2051 char *_kwnames
[] = { "szFormat", NULL
};
2054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogMessage",_kwnames
,&_obj0
))
2057 _arg0
= wxString_in_helper(_obj0
);
2062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2063 wxLogMessage(*_arg0
);
2065 wxPyEndAllowThreads(__tstate
);
2066 if (PyErr_Occurred()) return NULL
;
2067 } Py_INCREF(Py_None
);
2068 _resultobj
= Py_None
;
2076 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2077 PyObject
* _resultobj
;
2079 PyObject
* _obj0
= 0;
2080 char *_kwnames
[] = { "szFormat", NULL
};
2083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogInfo",_kwnames
,&_obj0
))
2086 _arg0
= wxString_in_helper(_obj0
);
2091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2094 wxPyEndAllowThreads(__tstate
);
2095 if (PyErr_Occurred()) return NULL
;
2096 } Py_INCREF(Py_None
);
2097 _resultobj
= Py_None
;
2105 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2106 PyObject
* _resultobj
;
2108 PyObject
* _obj0
= 0;
2109 char *_kwnames
[] = { "szFormat", NULL
};
2112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogVerbose",_kwnames
,&_obj0
))
2115 _arg0
= wxString_in_helper(_obj0
);
2120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2121 wxLogVerbose(*_arg0
);
2123 wxPyEndAllowThreads(__tstate
);
2124 if (PyErr_Occurred()) return NULL
;
2125 } Py_INCREF(Py_None
);
2126 _resultobj
= Py_None
;
2134 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2135 PyObject
* _resultobj
;
2137 PyObject
* _obj0
= 0;
2138 char *_kwnames
[] = { "szFormat", NULL
};
2141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogStatus",_kwnames
,&_obj0
))
2144 _arg0
= wxString_in_helper(_obj0
);
2149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2150 wxLogStatus(*_arg0
);
2152 wxPyEndAllowThreads(__tstate
);
2153 if (PyErr_Occurred()) return NULL
;
2154 } Py_INCREF(Py_None
);
2155 _resultobj
= Py_None
;
2163 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2164 PyObject
* _resultobj
;
2167 PyObject
* _argo0
= 0;
2168 PyObject
* _obj1
= 0;
2169 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogStatusFrame",_kwnames
,&_argo0
,&_obj1
))
2175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2182 _arg1
= wxString_in_helper(_obj1
);
2187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2188 wxLogStatus(_arg0
,*_arg1
);
2190 wxPyEndAllowThreads(__tstate
);
2191 if (PyErr_Occurred()) return NULL
;
2192 } Py_INCREF(Py_None
);
2193 _resultobj
= Py_None
;
2201 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2202 PyObject
* _resultobj
;
2204 PyObject
* _obj0
= 0;
2205 char *_kwnames
[] = { "szFormat", NULL
};
2208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogSysError",_kwnames
,&_obj0
))
2211 _arg0
= wxString_in_helper(_obj0
);
2216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2217 wxLogSysError(*_arg0
);
2219 wxPyEndAllowThreads(__tstate
);
2220 if (PyErr_Occurred()) return NULL
;
2221 } Py_INCREF(Py_None
);
2222 _resultobj
= Py_None
;
2230 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2231 PyObject
* _resultobj
;
2234 int _arg1
= (int ) (wxEXEC_ASYNC
);
2235 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2236 PyObject
* _obj0
= 0;
2237 PyObject
* _argo2
= 0;
2238 char *_kwnames
[] = { "command","flags","process", NULL
};
2241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2244 _arg0
= wxString_in_helper(_obj0
);
2249 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2250 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2257 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2259 wxPyEndAllowThreads(__tstate
);
2260 if (PyErr_Occurred()) return NULL
;
2261 } _resultobj
= Py_BuildValue("l",_result
);
2269 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2270 PyObject
* _resultobj
;
2273 PyObject
* _obj0
= 0;
2274 char *_kwnames
[] = { "data", NULL
};
2278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2281 _arg0
= wxString_in_helper(_obj0
);
2286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2287 _result
= (wxWave
*)wxWaveData(*_arg0
);
2289 wxPyEndAllowThreads(__tstate
);
2290 if (PyErr_Occurred()) return NULL
;
2292 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2293 _resultobj
= Py_BuildValue("s",_ptemp
);
2296 _resultobj
= Py_None
;
2305 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2307 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2311 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2315 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2316 pyobj
= PyString_FromString(ptemp
);
2320 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2321 PyObject
* _resultobj
;
2323 wxSystemColour _arg0
;
2324 char *_kwnames
[] = { "index", NULL
};
2328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2332 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) return NULL
;
2336 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2337 _resultobj
= Py_BuildValue("s",_ptemp
);
2341 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
* _resultobj
;
2345 char *_kwnames
[] = { "index", NULL
};
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2353 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2355 wxPyEndAllowThreads(__tstate
);
2356 if (PyErr_Occurred()) return NULL
;
2357 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2358 _resultobj
= Py_BuildValue("s",_ptemp
);
2362 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2363 PyObject
* _resultobj
;
2365 wxSystemMetric _arg0
;
2366 char *_kwnames
[] = { "index", NULL
};
2369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2373 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2375 wxPyEndAllowThreads(__tstate
);
2376 if (PyErr_Occurred()) return NULL
;
2377 } _resultobj
= Py_BuildValue("i",_result
);
2381 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
* _resultobj
;
2384 wxSystemFeature _arg0
;
2385 char *_kwnames
[] = { "index", NULL
};
2388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2392 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2394 wxPyEndAllowThreads(__tstate
);
2395 if (PyErr_Occurred()) return NULL
;
2396 } _resultobj
= Py_BuildValue("i",_result
);
2400 static void *SwigwxToolTipTowxObject(void *ptr
) {
2403 src
= (wxToolTip
*) ptr
;
2404 dest
= (wxObject
*) src
;
2405 return (void *) dest
;
2408 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2409 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2410 PyObject
* _resultobj
;
2411 wxToolTip
* _result
;
2413 PyObject
* _obj0
= 0;
2414 char *_kwnames
[] = { "tip", NULL
};
2418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2421 _arg0
= wxString_in_helper(_obj0
);
2426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2427 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2429 wxPyEndAllowThreads(__tstate
);
2430 if (PyErr_Occurred()) return NULL
;
2432 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2433 _resultobj
= Py_BuildValue("s",_ptemp
);
2436 _resultobj
= Py_None
;
2445 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2446 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
* _resultobj
;
2450 PyObject
* _argo0
= 0;
2451 PyObject
* _obj1
= 0;
2452 char *_kwnames
[] = { "self","tip", NULL
};
2455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2465 _arg1
= wxString_in_helper(_obj1
);
2470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2471 wxToolTip_SetTip(_arg0
,*_arg1
);
2473 wxPyEndAllowThreads(__tstate
);
2474 if (PyErr_Occurred()) return NULL
;
2475 } Py_INCREF(Py_None
);
2476 _resultobj
= Py_None
;
2484 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2485 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2486 PyObject
* _resultobj
;
2489 PyObject
* _argo0
= 0;
2490 char *_kwnames
[] = { "self", NULL
};
2493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2504 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2506 wxPyEndAllowThreads(__tstate
);
2507 if (PyErr_Occurred()) return NULL
;
2510 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2512 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2521 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2522 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
* _resultobj
;
2526 PyObject
* _argo0
= 0;
2527 char *_kwnames
[] = { "self", NULL
};
2530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2541 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2543 wxPyEndAllowThreads(__tstate
);
2544 if (PyErr_Occurred()) return NULL
;
2545 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2549 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2550 PyObject
* _resultobj
;
2553 char *_kwnames
[] = { "flag", NULL
};
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2558 _arg0
= (bool ) tempbool0
;
2560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2561 wxToolTip::Enable(_arg0
);
2563 wxPyEndAllowThreads(__tstate
);
2564 if (PyErr_Occurred()) return NULL
;
2565 } Py_INCREF(Py_None
);
2566 _resultobj
= Py_None
;
2570 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2571 PyObject
* _resultobj
;
2573 char *_kwnames
[] = { "milliseconds", NULL
};
2576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2580 wxToolTip::SetDelay(_arg0
);
2582 wxPyEndAllowThreads(__tstate
);
2583 if (PyErr_Occurred()) return NULL
;
2584 } Py_INCREF(Py_None
);
2585 _resultobj
= Py_None
;
2589 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2590 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
* _resultobj
;
2595 PyObject
* _argo0
= 0;
2597 PyObject
* _obj1
= 0;
2598 char *_kwnames
[] = { "window","size", NULL
};
2602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2613 if (! wxSize_helper(_obj1
, &_arg1
))
2617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2618 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2620 wxPyEndAllowThreads(__tstate
);
2621 if (PyErr_Occurred()) return NULL
;
2623 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2624 _resultobj
= Py_BuildValue("s",_ptemp
);
2627 _resultobj
= Py_None
;
2632 #define delete_wxCaret(_swigobj) (delete _swigobj)
2633 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2634 PyObject
* _resultobj
;
2636 PyObject
* _argo0
= 0;
2637 char *_kwnames
[] = { "self", NULL
};
2640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2651 delete_wxCaret(_arg0
);
2653 wxPyEndAllowThreads(__tstate
);
2654 if (PyErr_Occurred()) return NULL
;
2655 } Py_INCREF(Py_None
);
2656 _resultobj
= Py_None
;
2660 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2661 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
* _resultobj
;
2665 PyObject
* _argo0
= 0;
2666 char *_kwnames
[] = { "self", NULL
};
2669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2680 _result
= (bool )wxCaret_IsOk(_arg0
);
2682 wxPyEndAllowThreads(__tstate
);
2683 if (PyErr_Occurred()) return NULL
;
2684 } _resultobj
= Py_BuildValue("i",_result
);
2688 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2689 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2690 PyObject
* _resultobj
;
2693 PyObject
* _argo0
= 0;
2694 char *_kwnames
[] = { "self", NULL
};
2697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2708 _result
= (bool )wxCaret_IsVisible(_arg0
);
2710 wxPyEndAllowThreads(__tstate
);
2711 if (PyErr_Occurred()) return NULL
;
2712 } _resultobj
= Py_BuildValue("i",_result
);
2716 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2717 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2718 PyObject
* _resultobj
;
2724 PyObject
* _argo0
= 0;
2725 char *_kwnames
[] = { "self", NULL
};
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2745 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2747 wxPyEndAllowThreads(__tstate
);
2748 if (PyErr_Occurred()) return NULL
;
2749 } Py_INCREF(Py_None
);
2750 _resultobj
= Py_None
;
2753 o
= PyInt_FromLong((long) (*_arg1
));
2754 _resultobj
= t_output_helper(_resultobj
, o
);
2758 o
= PyInt_FromLong((long) (*_arg2
));
2759 _resultobj
= t_output_helper(_resultobj
, o
);
2764 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2765 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
* _resultobj
;
2769 PyObject
* _argo0
= 0;
2770 char *_kwnames
[] = { "self", NULL
};
2774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2785 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2787 wxPyEndAllowThreads(__tstate
);
2788 if (PyErr_Occurred()) return NULL
;
2789 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2790 _resultobj
= Py_BuildValue("s",_ptemp
);
2794 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2795 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
* _resultobj
;
2802 PyObject
* _argo0
= 0;
2803 char *_kwnames
[] = { "self", NULL
};
2812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2823 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2825 wxPyEndAllowThreads(__tstate
);
2826 if (PyErr_Occurred()) return NULL
;
2827 } Py_INCREF(Py_None
);
2828 _resultobj
= Py_None
;
2831 o
= PyInt_FromLong((long) (*_arg1
));
2832 _resultobj
= t_output_helper(_resultobj
, o
);
2836 o
= PyInt_FromLong((long) (*_arg2
));
2837 _resultobj
= t_output_helper(_resultobj
, o
);
2842 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2843 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2844 PyObject
* _resultobj
;
2847 PyObject
* _argo0
= 0;
2848 char *_kwnames
[] = { "self", NULL
};
2852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2863 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2865 wxPyEndAllowThreads(__tstate
);
2866 if (PyErr_Occurred()) return NULL
;
2867 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2868 _resultobj
= Py_BuildValue("s",_ptemp
);
2872 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2873 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2874 PyObject
* _resultobj
;
2877 PyObject
* _argo0
= 0;
2878 char *_kwnames
[] = { "self", NULL
};
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2892 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2894 wxPyEndAllowThreads(__tstate
);
2895 if (PyErr_Occurred()) return NULL
;
2896 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2900 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2901 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2902 PyObject
* _resultobj
;
2906 PyObject
* _argo0
= 0;
2907 char *_kwnames
[] = { "self","x","y", NULL
};
2910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2921 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2923 wxPyEndAllowThreads(__tstate
);
2924 if (PyErr_Occurred()) return NULL
;
2925 } Py_INCREF(Py_None
);
2926 _resultobj
= Py_None
;
2930 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2931 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2932 PyObject
* _resultobj
;
2935 PyObject
* _argo0
= 0;
2937 PyObject
* _obj1
= 0;
2938 char *_kwnames
[] = { "self","pt", NULL
};
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2952 if (! wxPoint_helper(_obj1
, &_arg1
))
2956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2957 wxCaret_Move(_arg0
,*_arg1
);
2959 wxPyEndAllowThreads(__tstate
);
2960 if (PyErr_Occurred()) return NULL
;
2961 } Py_INCREF(Py_None
);
2962 _resultobj
= Py_None
;
2966 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2967 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
* _resultobj
;
2972 PyObject
* _argo0
= 0;
2973 char *_kwnames
[] = { "self","width","height", NULL
};
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2987 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) return NULL
;
2991 } Py_INCREF(Py_None
);
2992 _resultobj
= Py_None
;
2996 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2997 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2998 PyObject
* _resultobj
;
3001 PyObject
* _argo0
= 0;
3003 PyObject
* _obj1
= 0;
3004 char *_kwnames
[] = { "self","size", NULL
};
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
3010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3018 if (! wxSize_helper(_obj1
, &_arg1
))
3022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3023 wxCaret_SetSize(_arg0
,*_arg1
);
3025 wxPyEndAllowThreads(__tstate
);
3026 if (PyErr_Occurred()) return NULL
;
3027 } Py_INCREF(Py_None
);
3028 _resultobj
= Py_None
;
3032 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3033 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3034 PyObject
* _resultobj
;
3036 int _arg1
= (int ) TRUE
;
3037 PyObject
* _argo0
= 0;
3038 char *_kwnames
[] = { "self","show", NULL
};
3041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3052 wxCaret_Show(_arg0
,_arg1
);
3054 wxPyEndAllowThreads(__tstate
);
3055 if (PyErr_Occurred()) return NULL
;
3056 } Py_INCREF(Py_None
);
3057 _resultobj
= Py_None
;
3061 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3062 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
* _resultobj
;
3065 PyObject
* _argo0
= 0;
3066 char *_kwnames
[] = { "self", NULL
};
3069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3080 wxCaret_Hide(_arg0
);
3082 wxPyEndAllowThreads(__tstate
);
3083 if (PyErr_Occurred()) return NULL
;
3084 } Py_INCREF(Py_None
);
3085 _resultobj
= Py_None
;
3089 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3090 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
* _resultobj
;
3092 wxBusyCursor
* _result
;
3093 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3094 PyObject
* _argo0
= 0;
3095 char *_kwnames
[] = { "cursor", NULL
};
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3110 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3112 wxPyEndAllowThreads(__tstate
);
3113 if (PyErr_Occurred()) return NULL
;
3115 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3116 _resultobj
= Py_BuildValue("s",_ptemp
);
3119 _resultobj
= Py_None
;
3124 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3125 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3126 PyObject
* _resultobj
;
3127 wxBusyCursor
* _arg0
;
3128 PyObject
* _argo0
= 0;
3129 char *_kwnames
[] = { "self", NULL
};
3132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3143 delete_wxBusyCursor(_arg0
);
3145 wxPyEndAllowThreads(__tstate
);
3146 if (PyErr_Occurred()) return NULL
;
3147 } Py_INCREF(Py_None
);
3148 _resultobj
= Py_None
;
3152 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3153 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3154 PyObject
* _resultobj
;
3155 wxWindowDisabler
* _result
;
3156 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3157 PyObject
* _argo0
= 0;
3158 char *_kwnames
[] = { "winToSkip", NULL
};
3162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3173 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3175 wxPyEndAllowThreads(__tstate
);
3176 if (PyErr_Occurred()) return NULL
;
3178 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3179 _resultobj
= Py_BuildValue("s",_ptemp
);
3182 _resultobj
= Py_None
;
3187 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3188 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3189 PyObject
* _resultobj
;
3190 wxWindowDisabler
* _arg0
;
3191 PyObject
* _argo0
= 0;
3192 char *_kwnames
[] = { "self", NULL
};
3195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3206 delete_wxWindowDisabler(_arg0
);
3208 wxPyEndAllowThreads(__tstate
);
3209 if (PyErr_Occurred()) return NULL
;
3210 } Py_INCREF(Py_None
);
3211 _resultobj
= Py_None
;
3215 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3216 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3217 PyObject
* _resultobj
;
3218 wxMutexGuiLocker
* _result
;
3219 char *_kwnames
[] = { NULL
};
3223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3227 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3229 wxPyEndAllowThreads(__tstate
);
3230 if (PyErr_Occurred()) return NULL
;
3232 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3233 _resultobj
= Py_BuildValue("s",_ptemp
);
3236 _resultobj
= Py_None
;
3241 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3242 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3243 PyObject
* _resultobj
;
3244 wxMutexGuiLocker
* _arg0
;
3245 PyObject
* _argo0
= 0;
3246 char *_kwnames
[] = { "self", NULL
};
3249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3260 delete_wxMutexGuiLocker(_arg0
);
3262 wxPyEndAllowThreads(__tstate
);
3263 if (PyErr_Occurred()) return NULL
;
3264 } Py_INCREF(Py_None
);
3265 _resultobj
= Py_None
;
3269 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3270 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3271 PyObject
* _resultobj
;
3272 wxTipProvider
* _arg0
;
3273 PyObject
* _argo0
= 0;
3274 char *_kwnames
[] = { "self", NULL
};
3277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3288 delete_wxTipProvider(_arg0
);
3290 wxPyEndAllowThreads(__tstate
);
3291 if (PyErr_Occurred()) return NULL
;
3292 } Py_INCREF(Py_None
);
3293 _resultobj
= Py_None
;
3297 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3298 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
* _resultobj
;
3301 wxTipProvider
* _arg0
;
3302 PyObject
* _argo0
= 0;
3303 char *_kwnames
[] = { "self", NULL
};
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3317 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3319 wxPyEndAllowThreads(__tstate
);
3320 if (PyErr_Occurred()) return NULL
;
3323 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3325 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3334 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3335 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3336 PyObject
* _resultobj
;
3338 wxTipProvider
* _arg0
;
3339 PyObject
* _argo0
= 0;
3340 char *_kwnames
[] = { "self", NULL
};
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3354 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3356 wxPyEndAllowThreads(__tstate
);
3357 if (PyErr_Occurred()) return NULL
;
3358 } _resultobj
= Py_BuildValue("i",_result
);
3362 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3363 wxPyTipProvider
*src
;
3364 wxTipProvider
*dest
;
3365 src
= (wxPyTipProvider
*) ptr
;
3366 dest
= (wxTipProvider
*) src
;
3367 return (void *) dest
;
3370 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3371 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
* _resultobj
;
3373 wxPyTipProvider
* _result
;
3375 char *_kwnames
[] = { "currentTip", NULL
};
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3383 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3385 wxPyEndAllowThreads(__tstate
);
3386 if (PyErr_Occurred()) return NULL
;
3388 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3389 _resultobj
= Py_BuildValue("s",_ptemp
);
3392 _resultobj
= Py_None
;
3397 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3398 wxGenericDragImage
*src
;
3400 src
= (wxGenericDragImage
*) ptr
;
3401 dest
= (wxObject
*) src
;
3402 return (void *) dest
;
3405 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3406 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
* _resultobj
;
3408 wxGenericDragImage
* _result
;
3410 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3411 PyObject
* _argo0
= 0;
3412 PyObject
* _argo1
= 0;
3413 char *_kwnames
[] = { "image","cursor", NULL
};
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3427 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3428 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) return NULL
;
3440 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3441 _resultobj
= Py_BuildValue("s",_ptemp
);
3444 _resultobj
= Py_None
;
3449 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3450 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
* _resultobj
;
3452 wxGenericDragImage
* _result
;
3454 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3455 PyObject
* _argo0
= 0;
3456 PyObject
* _argo1
= 0;
3457 char *_kwnames
[] = { "image","cursor", NULL
};
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3471 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3472 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3479 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3481 wxPyEndAllowThreads(__tstate
);
3482 if (PyErr_Occurred()) return NULL
;
3484 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3485 _resultobj
= Py_BuildValue("s",_ptemp
);
3488 _resultobj
= Py_None
;
3493 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3494 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3495 PyObject
* _resultobj
;
3496 wxGenericDragImage
* _result
;
3498 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3499 PyObject
* _obj0
= 0;
3500 PyObject
* _argo1
= 0;
3501 char *_kwnames
[] = { "str","cursor", NULL
};
3505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3508 _arg0
= wxString_in_helper(_obj0
);
3513 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3514 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3521 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3523 wxPyEndAllowThreads(__tstate
);
3524 if (PyErr_Occurred()) return NULL
;
3526 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3527 _resultobj
= Py_BuildValue("s",_ptemp
);
3530 _resultobj
= Py_None
;
3539 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3540 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3541 PyObject
* _resultobj
;
3542 wxGenericDragImage
* _result
;
3544 wxTreeItemId
* _arg1
;
3545 PyObject
* _argo0
= 0;
3546 PyObject
* _argo1
= 0;
3547 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3561 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3562 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3569 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3571 wxPyEndAllowThreads(__tstate
);
3572 if (PyErr_Occurred()) return NULL
;
3574 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3575 _resultobj
= Py_BuildValue("s",_ptemp
);
3578 _resultobj
= Py_None
;
3583 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3584 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
* _resultobj
;
3586 wxGenericDragImage
* _result
;
3589 PyObject
* _argo0
= 0;
3590 char *_kwnames
[] = { "listCtrl","id", NULL
};
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3605 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3607 wxPyEndAllowThreads(__tstate
);
3608 if (PyErr_Occurred()) return NULL
;
3610 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3611 _resultobj
= Py_BuildValue("s",_ptemp
);
3614 _resultobj
= Py_None
;
3619 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3620 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3621 PyObject
* _resultobj
;
3622 wxGenericDragImage
* _arg0
;
3623 PyObject
* _argo0
= 0;
3624 char *_kwnames
[] = { "self", NULL
};
3627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 delete_wxGenericDragImage(_arg0
);
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) return NULL
;
3642 } Py_INCREF(Py_None
);
3643 _resultobj
= Py_None
;
3647 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3648 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
* _resultobj
;
3650 wxGenericDragImage
* _arg0
;
3652 PyObject
* _argo0
= 0;
3653 PyObject
* _argo1
= 0;
3654 char *_kwnames
[] = { "self","bitmap", NULL
};
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3667 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3668 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3675 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3677 wxPyEndAllowThreads(__tstate
);
3678 if (PyErr_Occurred()) return NULL
;
3679 } Py_INCREF(Py_None
);
3680 _resultobj
= Py_None
;
3684 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3685 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3686 PyObject
* _resultobj
;
3688 wxGenericDragImage
* _arg0
;
3691 bool _arg3
= (bool ) FALSE
;
3692 wxRect
* _arg4
= (wxRect
*) NULL
;
3693 PyObject
* _argo0
= 0;
3695 PyObject
* _obj1
= 0;
3696 PyObject
* _argo2
= 0;
3697 int tempbool3
= (int) FALSE
;
3699 PyObject
* _obj4
= 0;
3700 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3714 if (! wxPoint_helper(_obj1
, &_arg1
))
3718 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3719 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3724 _arg3
= (bool ) tempbool3
;
3728 if (! wxRect_helper(_obj4
, &_arg4
))
3732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3733 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3735 wxPyEndAllowThreads(__tstate
);
3736 if (PyErr_Occurred()) return NULL
;
3737 } _resultobj
= Py_BuildValue("i",_result
);
3741 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3742 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
* _resultobj
;
3745 wxGenericDragImage
* _arg0
;
3749 PyObject
* _argo0
= 0;
3751 PyObject
* _obj1
= 0;
3752 PyObject
* _argo2
= 0;
3753 PyObject
* _argo3
= 0;
3754 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3768 if (! wxPoint_helper(_obj1
, &_arg1
))
3772 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3773 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3779 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3780 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) return NULL
;
3791 } _resultobj
= Py_BuildValue("i",_result
);
3795 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3796 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3797 PyObject
* _resultobj
;
3799 wxGenericDragImage
* _arg0
;
3800 PyObject
* _argo0
= 0;
3801 char *_kwnames
[] = { "self", NULL
};
3804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3815 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3817 wxPyEndAllowThreads(__tstate
);
3818 if (PyErr_Occurred()) return NULL
;
3819 } _resultobj
= Py_BuildValue("i",_result
);
3823 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3824 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
* _resultobj
;
3827 wxGenericDragImage
* _arg0
;
3829 PyObject
* _argo0
= 0;
3831 PyObject
* _obj1
= 0;
3832 char *_kwnames
[] = { "self","pt", NULL
};
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3846 if (! wxPoint_helper(_obj1
, &_arg1
))
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) return NULL
;
3855 } _resultobj
= Py_BuildValue("i",_result
);
3859 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3860 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
* _resultobj
;
3863 wxGenericDragImage
* _arg0
;
3864 PyObject
* _argo0
= 0;
3865 char *_kwnames
[] = { "self", NULL
};
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 _result
= (bool )wxDragImage_Show(_arg0
);
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) return NULL
;
3883 } _resultobj
= Py_BuildValue("i",_result
);
3887 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3888 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3889 PyObject
* _resultobj
;
3891 wxGenericDragImage
* _arg0
;
3892 PyObject
* _argo0
= 0;
3893 char *_kwnames
[] = { "self", NULL
};
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3907 _result
= (bool )wxDragImage_Hide(_arg0
);
3909 wxPyEndAllowThreads(__tstate
);
3910 if (PyErr_Occurred()) return NULL
;
3911 } _resultobj
= Py_BuildValue("i",_result
);
3915 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3916 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3917 PyObject
* _resultobj
;
3919 wxGenericDragImage
* _arg0
;
3921 PyObject
* _argo0
= 0;
3923 PyObject
* _obj1
= 0;
3924 char *_kwnames
[] = { "self","pos", NULL
};
3928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
3931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
3939 if (! wxPoint_helper(_obj1
, &_arg1
))
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3944 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
3946 wxPyEndAllowThreads(__tstate
);
3947 if (PyErr_Occurred()) return NULL
;
3948 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3949 _resultobj
= Py_BuildValue("s",_ptemp
);
3953 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3954 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3955 PyObject
* _resultobj
;
3957 wxGenericDragImage
* _arg0
;
3962 PyObject
* _argo0
= 0;
3964 PyObject
* _obj1
= 0;
3966 PyObject
* _obj2
= 0;
3969 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
3972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
3975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
3983 if (! wxPoint_helper(_obj1
, &_arg1
))
3988 if (! wxPoint_helper(_obj2
, &_arg2
))
3991 _arg3
= (bool ) tempbool3
;
3992 _arg4
= (bool ) tempbool4
;
3994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3995 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
3997 wxPyEndAllowThreads(__tstate
);
3998 if (PyErr_Occurred()) return NULL
;
3999 } _resultobj
= Py_BuildValue("i",_result
);
4003 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4006 src
= (wxPyTimer
*) ptr
;
4007 dest
= (wxObject
*) src
;
4008 return (void *) dest
;
4011 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4012 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4013 PyObject
* _resultobj
;
4014 wxPyTimer
* _result
;
4016 PyObject
* _obj0
= 0;
4017 char *_kwnames
[] = { "notify", NULL
};
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4028 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4030 wxPyEndAllowThreads(__tstate
);
4031 if (PyErr_Occurred()) return NULL
;
4033 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4034 _resultobj
= Py_BuildValue("s",_ptemp
);
4037 _resultobj
= Py_None
;
4042 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4043 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
* _resultobj
;
4046 PyObject
* _argo0
= 0;
4047 char *_kwnames
[] = { "self", NULL
};
4050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4053 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4054 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4055 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4061 delete_wxPyTimer(_arg0
);
4063 wxPyEndAllowThreads(__tstate
);
4064 if (PyErr_Occurred()) return NULL
;
4065 } Py_INCREF(Py_None
);
4066 _resultobj
= Py_None
;
4070 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4071 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4072 PyObject
* _resultobj
;
4075 PyObject
* _argo0
= 0;
4076 char *_kwnames
[] = { "self", NULL
};
4079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4090 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4092 wxPyEndAllowThreads(__tstate
);
4093 if (PyErr_Occurred()) return NULL
;
4094 } _resultobj
= Py_BuildValue("i",_result
);
4098 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4099 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4100 PyObject
* _resultobj
;
4103 PyObject
* _argo0
= 0;
4104 char *_kwnames
[] = { "self", NULL
};
4107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) return NULL
;
4122 } _resultobj
= Py_BuildValue("i",_result
);
4126 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4127 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
* _resultobj
;
4131 PyObject
* _argo0
= 0;
4132 char *_kwnames
[] = { "self", NULL
};
4135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4148 wxPyEndAllowThreads(__tstate
);
4149 if (PyErr_Occurred()) return NULL
;
4150 } _resultobj
= Py_BuildValue("i",_result
);
4154 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4155 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
* _resultobj
;
4158 wxEvtHandler
* _arg1
;
4159 int _arg2
= (int ) -1;
4160 PyObject
* _argo0
= 0;
4161 PyObject
* _argo1
= 0;
4162 char *_kwnames
[] = { "self","owner","id", NULL
};
4165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4175 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4176 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4183 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4185 wxPyEndAllowThreads(__tstate
);
4186 if (PyErr_Occurred()) return NULL
;
4187 } Py_INCREF(Py_None
);
4188 _resultobj
= Py_None
;
4192 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4193 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4194 PyObject
* _resultobj
;
4196 int _arg1
= (int ) -1;
4197 int _arg2
= (int ) FALSE
;
4198 PyObject
* _argo0
= 0;
4199 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4213 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) return NULL
;
4217 } Py_INCREF(Py_None
);
4218 _resultobj
= Py_None
;
4222 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4223 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
* _resultobj
;
4226 PyObject
* _argo0
= 0;
4227 char *_kwnames
[] = { "self", NULL
};
4230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4241 wxPyTimer_Stop(_arg0
);
4243 wxPyEndAllowThreads(__tstate
);
4244 if (PyErr_Occurred()) return NULL
;
4245 } Py_INCREF(Py_None
);
4246 _resultobj
= Py_None
;
4250 #define new_wxStopWatch() (new wxStopWatch())
4251 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
* _resultobj
;
4253 wxStopWatch
* _result
;
4254 char *_kwnames
[] = { NULL
};
4258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 _result
= (wxStopWatch
*)new_wxStopWatch();
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) return NULL
;
4267 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4268 _resultobj
= Py_BuildValue("s",_ptemp
);
4271 _resultobj
= Py_None
;
4276 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4277 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
* _resultobj
;
4279 wxStopWatch
* _arg0
;
4280 PyObject
* _argo0
= 0;
4281 char *_kwnames
[] = { "self", NULL
};
4284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4295 delete_wxStopWatch(_arg0
);
4297 wxPyEndAllowThreads(__tstate
);
4298 if (PyErr_Occurred()) return NULL
;
4299 } Py_INCREF(Py_None
);
4300 _resultobj
= Py_None
;
4304 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4305 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4306 PyObject
* _resultobj
;
4307 wxStopWatch
* _arg0
;
4308 long _arg1
= (long ) 0;
4309 PyObject
* _argo0
= 0;
4310 char *_kwnames
[] = { "self","t", NULL
};
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4324 wxStopWatch_Start(_arg0
,_arg1
);
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) return NULL
;
4328 } Py_INCREF(Py_None
);
4329 _resultobj
= Py_None
;
4333 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4334 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
* _resultobj
;
4336 wxStopWatch
* _arg0
;
4337 PyObject
* _argo0
= 0;
4338 char *_kwnames
[] = { "self", NULL
};
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4352 wxStopWatch_Pause(_arg0
);
4354 wxPyEndAllowThreads(__tstate
);
4355 if (PyErr_Occurred()) return NULL
;
4356 } Py_INCREF(Py_None
);
4357 _resultobj
= Py_None
;
4361 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4362 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4363 PyObject
* _resultobj
;
4364 wxStopWatch
* _arg0
;
4365 PyObject
* _argo0
= 0;
4366 char *_kwnames
[] = { "self", NULL
};
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4380 wxStopWatch_Resume(_arg0
);
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) return NULL
;
4384 } Py_INCREF(Py_None
);
4385 _resultobj
= Py_None
;
4389 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4390 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
* _resultobj
;
4393 wxStopWatch
* _arg0
;
4394 PyObject
* _argo0
= 0;
4395 char *_kwnames
[] = { "self", NULL
};
4398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4409 _result
= (long )wxStopWatch_Time(_arg0
);
4411 wxPyEndAllowThreads(__tstate
);
4412 if (PyErr_Occurred()) return NULL
;
4413 } _resultobj
= Py_BuildValue("l",_result
);
4417 #define new_wxLog() (new wxLog())
4418 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4419 PyObject
* _resultobj
;
4421 char *_kwnames
[] = { NULL
};
4425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 _result
= (wxLog
*)new_wxLog();
4431 wxPyEndAllowThreads(__tstate
);
4432 if (PyErr_Occurred()) return NULL
;
4434 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4435 _resultobj
= Py_BuildValue("s",_ptemp
);
4438 _resultobj
= Py_None
;
4443 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4444 PyObject
* _resultobj
;
4446 char *_kwnames
[] = { NULL
};
4449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4453 _result
= (bool )wxLog::IsEnabled();
4455 wxPyEndAllowThreads(__tstate
);
4456 if (PyErr_Occurred()) return NULL
;
4457 } _resultobj
= Py_BuildValue("i",_result
);
4461 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4462 PyObject
* _resultobj
;
4464 bool _arg0
= (bool ) TRUE
;
4465 int tempbool0
= (int) TRUE
;
4466 char *_kwnames
[] = { "doIt", NULL
};
4469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4471 _arg0
= (bool ) tempbool0
;
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 _result
= (bool )wxLog::EnableLogging(_arg0
);
4476 wxPyEndAllowThreads(__tstate
);
4477 if (PyErr_Occurred()) return NULL
;
4478 } _resultobj
= Py_BuildValue("i",_result
);
4482 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4483 PyObject
* _resultobj
;
4486 int _arg2
= (int ) 0;
4487 PyObject
* _argo0
= 0;
4488 PyObject
* _obj1
= 0;
4489 char *_kwnames
[] = { "level","szString","t", NULL
};
4492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxLog_OnLog",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4502 _arg1
= wxString_in_helper(_obj1
);
4507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4508 wxLog::OnLog(*_arg0
,*_arg1
,_arg2
);
4510 wxPyEndAllowThreads(__tstate
);
4511 if (PyErr_Occurred()) return NULL
;
4512 } Py_INCREF(Py_None
);
4513 _resultobj
= Py_None
;
4521 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4522 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
* _resultobj
;
4525 PyObject
* _argo0
= 0;
4526 char *_kwnames
[] = { "self", NULL
};
4529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4542 wxPyEndAllowThreads(__tstate
);
4543 if (PyErr_Occurred()) return NULL
;
4544 } Py_INCREF(Py_None
);
4545 _resultobj
= Py_None
;
4549 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4550 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
* _resultobj
;
4554 PyObject
* _argo0
= 0;
4555 char *_kwnames
[] = { "self", NULL
};
4558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4569 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4571 wxPyEndAllowThreads(__tstate
);
4572 if (PyErr_Occurred()) return NULL
;
4573 } _resultobj
= Py_BuildValue("i",_result
);
4577 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4578 PyObject
* _resultobj
;
4579 char *_kwnames
[] = { NULL
};
4582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4586 wxLog::FlushActive();
4588 wxPyEndAllowThreads(__tstate
);
4589 if (PyErr_Occurred()) return NULL
;
4590 } Py_INCREF(Py_None
);
4591 _resultobj
= Py_None
;
4595 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
* _resultobj
;
4598 char *_kwnames
[] = { NULL
};
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4606 _result
= (wxLog
*)wxLog::GetActiveTarget();
4608 wxPyEndAllowThreads(__tstate
);
4609 if (PyErr_Occurred()) return NULL
;
4611 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4612 _resultobj
= Py_BuildValue("s",_ptemp
);
4615 _resultobj
= Py_None
;
4620 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4621 PyObject
* _resultobj
;
4624 PyObject
* _argo0
= 0;
4625 char *_kwnames
[] = { "pLogger", NULL
};
4629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4640 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4642 wxPyEndAllowThreads(__tstate
);
4643 if (PyErr_Occurred()) return NULL
;
4645 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4646 _resultobj
= Py_BuildValue("s",_ptemp
);
4649 _resultobj
= Py_None
;
4654 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4655 PyObject
* _resultobj
;
4656 char *_kwnames
[] = { NULL
};
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) return NULL
;
4667 } Py_INCREF(Py_None
);
4668 _resultobj
= Py_None
;
4672 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4673 PyObject
* _resultobj
;
4674 char *_kwnames
[] = { NULL
};
4677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4683 wxPyEndAllowThreads(__tstate
);
4684 if (PyErr_Occurred()) return NULL
;
4685 } Py_INCREF(Py_None
);
4686 _resultobj
= Py_None
;
4690 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
* _resultobj
;
4692 bool _arg0
= (bool ) TRUE
;
4693 int tempbool0
= (int) TRUE
;
4694 char *_kwnames
[] = { "bVerbose", NULL
};
4697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_SetVerbose",_kwnames
,&tempbool0
))
4699 _arg0
= (bool ) tempbool0
;
4701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 wxLog::SetVerbose(_arg0
);
4704 wxPyEndAllowThreads(__tstate
);
4705 if (PyErr_Occurred()) return NULL
;
4706 } Py_INCREF(Py_None
);
4707 _resultobj
= Py_None
;
4711 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4712 PyObject
* _resultobj
;
4713 char *_kwnames
[] = { NULL
};
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4720 wxLog::DontCreateOnDemand();
4722 wxPyEndAllowThreads(__tstate
);
4723 if (PyErr_Occurred()) return NULL
;
4724 } Py_INCREF(Py_None
);
4725 _resultobj
= Py_None
;
4729 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4730 PyObject
* _resultobj
;
4731 wxTraceMask
* _arg0
;
4732 PyObject
* _argo0
= 0;
4733 char *_kwnames
[] = { "ulMask", NULL
};
4736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4747 wxLog::SetTraceMask(*_arg0
);
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) return NULL
;
4751 } Py_INCREF(Py_None
);
4752 _resultobj
= Py_None
;
4756 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4757 PyObject
* _resultobj
;
4759 PyObject
* _obj0
= 0;
4760 char *_kwnames
[] = { "str", NULL
};
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4766 _arg0
= wxString_in_helper(_obj0
);
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 wxLog::AddTraceMask(*_arg0
);
4774 wxPyEndAllowThreads(__tstate
);
4775 if (PyErr_Occurred()) return NULL
;
4776 } Py_INCREF(Py_None
);
4777 _resultobj
= Py_None
;
4785 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4786 PyObject
* _resultobj
;
4788 PyObject
* _obj0
= 0;
4789 char *_kwnames
[] = { "str", NULL
};
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4795 _arg0
= wxString_in_helper(_obj0
);
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 wxLog::RemoveTraceMask(*_arg0
);
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) return NULL
;
4805 } Py_INCREF(Py_None
);
4806 _resultobj
= Py_None
;
4814 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4815 PyObject
* _resultobj
;
4816 char *_kwnames
[] = { NULL
};
4819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4823 wxLog::ClearTraceMasks();
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) return NULL
;
4827 } Py_INCREF(Py_None
);
4828 _resultobj
= Py_None
;
4832 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
* _resultobj
;
4835 PyObject
* _obj0
= 0;
4836 char *_kwnames
[] = { "ts", NULL
};
4839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTimestamp",_kwnames
,&_obj0
))
4842 _arg0
= wxString_in_helper(_obj0
);
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 wxLog::SetTimestamp(*_arg0
);
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) return NULL
;
4852 } Py_INCREF(Py_None
);
4853 _resultobj
= Py_None
;
4861 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4862 PyObject
* _resultobj
;
4864 char *_kwnames
[] = { NULL
};
4867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 const wxString
& _result_ref
= wxLog::GetTimestamp();
4872 _result
= (wxString
*) &_result_ref
;
4874 wxPyEndAllowThreads(__tstate
);
4875 if (PyErr_Occurred()) return NULL
;
4878 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4880 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4886 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4887 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4888 PyObject
* _resultobj
;
4891 PyObject
* _argo0
= 0;
4892 char *_kwnames
[] = { "self", NULL
};
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 _result
= (bool )wxLog_GetVerbose(_arg0
);
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) return NULL
;
4910 } _resultobj
= Py_BuildValue("i",_result
);
4914 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
* _resultobj
;
4916 wxTraceMask
* _result
;
4917 char *_kwnames
[] = { NULL
};
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 _result
= new wxTraceMask (wxLog::GetTraceMask());
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) return NULL
;
4929 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
4930 _resultobj
= Py_BuildValue("s",_ptemp
);
4934 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4935 PyObject
* _resultobj
;
4938 PyObject
* _obj0
= 0;
4939 char *_kwnames
[] = { "mask", NULL
};
4942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_IsAllowedTraceMask",_kwnames
,&_obj0
))
4945 _arg0
= wxString_in_helper(_obj0
);
4950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4951 _result
= (bool )wxLog::IsAllowedTraceMask(*_arg0
);
4953 wxPyEndAllowThreads(__tstate
);
4954 if (PyErr_Occurred()) return NULL
;
4955 } _resultobj
= Py_BuildValue("i",_result
);
4963 static wxString
wxLog_TimeStamp(wxLog
*self
) {
4965 wxLog::TimeStamp(&msg
);
4968 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4969 PyObject
* _resultobj
;
4972 PyObject
* _argo0
= 0;
4973 char *_kwnames
[] = { "self", NULL
};
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
4979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
4986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4987 _result
= new wxString (wxLog_TimeStamp(_arg0
));
4989 wxPyEndAllowThreads(__tstate
);
4990 if (PyErr_Occurred()) return NULL
;
4993 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4995 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5004 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5007 src
= (wxLogStderr
*) ptr
;
5008 dest
= (wxLog
*) src
;
5009 return (void *) dest
;
5012 #define new_wxLogStderr() (new wxLogStderr())
5013 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5014 PyObject
* _resultobj
;
5015 wxLogStderr
* _result
;
5016 char *_kwnames
[] = { NULL
};
5020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5024 _result
= (wxLogStderr
*)new_wxLogStderr();
5026 wxPyEndAllowThreads(__tstate
);
5027 if (PyErr_Occurred()) return NULL
;
5029 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5030 _resultobj
= Py_BuildValue("s",_ptemp
);
5033 _resultobj
= Py_None
;
5038 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5041 src
= (wxLogTextCtrl
*) ptr
;
5042 dest
= (wxLog
*) src
;
5043 return (void *) dest
;
5046 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5047 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
* _resultobj
;
5049 wxLogTextCtrl
* _result
;
5051 PyObject
* _argo0
= 0;
5052 char *_kwnames
[] = { "pTextCtrl", NULL
};
5056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5067 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5069 wxPyEndAllowThreads(__tstate
);
5070 if (PyErr_Occurred()) return NULL
;
5072 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5073 _resultobj
= Py_BuildValue("s",_ptemp
);
5076 _resultobj
= Py_None
;
5081 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5084 src
= (wxLogGui
*) ptr
;
5085 dest
= (wxLog
*) src
;
5086 return (void *) dest
;
5089 #define new_wxLogGui() (new wxLogGui())
5090 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
* _resultobj
;
5093 char *_kwnames
[] = { NULL
};
5097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 _result
= (wxLogGui
*)new_wxLogGui();
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) return NULL
;
5106 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5107 _resultobj
= Py_BuildValue("s",_ptemp
);
5110 _resultobj
= Py_None
;
5115 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5118 src
= (wxLogWindow
*) ptr
;
5119 dest
= (wxLog
*) src
;
5120 return (void *) dest
;
5123 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5124 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5125 PyObject
* _resultobj
;
5126 wxLogWindow
* _result
;
5129 bool _arg2
= (bool ) TRUE
;
5130 bool _arg3
= (bool ) TRUE
;
5131 PyObject
* _argo0
= 0;
5132 PyObject
* _obj1
= 0;
5133 int tempbool2
= (int) TRUE
;
5134 int tempbool3
= (int) TRUE
;
5135 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_obj1
,&tempbool2
,&tempbool3
))
5142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5149 _arg1
= wxString_in_helper(_obj1
);
5153 _arg2
= (bool ) tempbool2
;
5154 _arg3
= (bool ) tempbool3
;
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,*_arg1
,_arg2
,_arg3
);
5159 wxPyEndAllowThreads(__tstate
);
5160 if (PyErr_Occurred()) return NULL
;
5162 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5163 _resultobj
= Py_BuildValue("s",_ptemp
);
5166 _resultobj
= Py_None
;
5175 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5176 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5177 PyObject
* _resultobj
;
5178 wxLogWindow
* _arg0
;
5179 bool _arg1
= (bool ) TRUE
;
5180 PyObject
* _argo0
= 0;
5181 int tempbool1
= (int) TRUE
;
5182 char *_kwnames
[] = { "self","bShow", NULL
};
5185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5194 _arg1
= (bool ) tempbool1
;
5196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5197 wxLogWindow_Show(_arg0
,_arg1
);
5199 wxPyEndAllowThreads(__tstate
);
5200 if (PyErr_Occurred()) return NULL
;
5201 } Py_INCREF(Py_None
);
5202 _resultobj
= Py_None
;
5206 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5207 static PyObject
*_wrap_wxLogWindow_GetFrame(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_GetFrame",_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_GetFrame. Expected _wxLogWindow_p.");
5225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5226 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5228 wxPyEndAllowThreads(__tstate
);
5229 if (PyErr_Occurred()) return NULL
;
5230 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5234 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5235 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
* _resultobj
;
5238 wxLogWindow
* _arg0
;
5239 PyObject
* _argo0
= 0;
5240 char *_kwnames
[] = { "self", NULL
};
5244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
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_GetOldLog. Expected _wxLogWindow_p.");
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5255 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) return NULL
;
5260 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5261 _resultobj
= Py_BuildValue("s",_ptemp
);
5264 _resultobj
= Py_None
;
5269 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5270 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
* _resultobj
;
5273 wxLogWindow
* _arg0
;
5274 PyObject
* _argo0
= 0;
5275 char *_kwnames
[] = { "self", NULL
};
5278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5289 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5291 wxPyEndAllowThreads(__tstate
);
5292 if (PyErr_Occurred()) return NULL
;
5293 } _resultobj
= Py_BuildValue("i",_result
);
5297 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5298 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
* _resultobj
;
5300 wxLogWindow
* _arg0
;
5302 PyObject
* _argo0
= 0;
5304 char *_kwnames
[] = { "self","bDoPass", NULL
};
5307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5316 _arg1
= (bool ) tempbool1
;
5318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5319 wxLogWindow_PassMessages(_arg0
,_arg1
);
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) return NULL
;
5323 } Py_INCREF(Py_None
);
5324 _resultobj
= Py_None
;
5328 #define new_wxLogNull() (new wxLogNull())
5329 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5330 PyObject
* _resultobj
;
5331 wxLogNull
* _result
;
5332 char *_kwnames
[] = { NULL
};
5336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5340 _result
= (wxLogNull
*)new_wxLogNull();
5342 wxPyEndAllowThreads(__tstate
);
5343 if (PyErr_Occurred()) return NULL
;
5345 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5346 _resultobj
= Py_BuildValue("s",_ptemp
);
5349 _resultobj
= Py_None
;
5354 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5355 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5356 PyObject
* _resultobj
;
5358 PyObject
* _argo0
= 0;
5359 char *_kwnames
[] = { "self", NULL
};
5362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5373 delete_wxLogNull(_arg0
);
5375 wxPyEndAllowThreads(__tstate
);
5376 if (PyErr_Occurred()) return NULL
;
5377 } Py_INCREF(Py_None
);
5378 _resultobj
= Py_None
;
5382 static void *SwigwxLogChainTowxLog(void *ptr
) {
5385 src
= (wxLogChain
*) ptr
;
5386 dest
= (wxLog
*) src
;
5387 return (void *) dest
;
5390 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5391 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5392 PyObject
* _resultobj
;
5393 wxLogChain
* _result
;
5395 PyObject
* _argo0
= 0;
5396 char *_kwnames
[] = { "logger", NULL
};
5400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5413 wxPyEndAllowThreads(__tstate
);
5414 if (PyErr_Occurred()) return NULL
;
5416 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5417 _resultobj
= Py_BuildValue("s",_ptemp
);
5420 _resultobj
= Py_None
;
5425 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5426 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5427 PyObject
* _resultobj
;
5430 PyObject
* _argo0
= 0;
5431 PyObject
* _argo1
= 0;
5432 char *_kwnames
[] = { "self","logger", NULL
};
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5445 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5446 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5453 wxLogChain_SetLog(_arg0
,_arg1
);
5455 wxPyEndAllowThreads(__tstate
);
5456 if (PyErr_Occurred()) return NULL
;
5457 } Py_INCREF(Py_None
);
5458 _resultobj
= Py_None
;
5462 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5463 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
* _resultobj
;
5467 PyObject
* _argo0
= 0;
5469 char *_kwnames
[] = { "self","bDoPass", NULL
};
5472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5481 _arg1
= (bool ) tempbool1
;
5483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5484 wxLogChain_PassMessages(_arg0
,_arg1
);
5486 wxPyEndAllowThreads(__tstate
);
5487 if (PyErr_Occurred()) return NULL
;
5488 } Py_INCREF(Py_None
);
5489 _resultobj
= Py_None
;
5493 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5494 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
* _resultobj
;
5498 PyObject
* _argo0
= 0;
5499 char *_kwnames
[] = { "self", NULL
};
5502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5513 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5515 wxPyEndAllowThreads(__tstate
);
5516 if (PyErr_Occurred()) return NULL
;
5517 } _resultobj
= Py_BuildValue("i",_result
);
5521 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5522 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5523 PyObject
* _resultobj
;
5526 PyObject
* _argo0
= 0;
5527 char *_kwnames
[] = { "self", NULL
};
5531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) return NULL
;
5547 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5548 _resultobj
= Py_BuildValue("s",_ptemp
);
5551 _resultobj
= Py_None
;
5556 static void *SwigwxPyLogTowxLog(void *ptr
) {
5559 src
= (wxPyLog
*) ptr
;
5560 dest
= (wxLog
*) src
;
5561 return (void *) dest
;
5564 #define new_wxPyLog() (new wxPyLog())
5565 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5566 PyObject
* _resultobj
;
5568 char *_kwnames
[] = { NULL
};
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5576 _result
= (wxPyLog
*)new_wxPyLog();
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) return NULL
;
5581 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5582 _resultobj
= Py_BuildValue("s",_ptemp
);
5585 _resultobj
= Py_None
;
5590 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5591 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
* _resultobj
;
5596 PyObject
* _argo0
= 0;
5597 PyObject
* _obj1
= 0;
5598 PyObject
* _obj2
= 0;
5599 char *_kwnames
[] = { "self","self","_class", NULL
};
5602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5619 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5621 wxPyEndAllowThreads(__tstate
);
5622 if (PyErr_Occurred()) return NULL
;
5623 } Py_INCREF(Py_None
);
5624 _resultobj
= Py_None
;
5628 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5629 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
* _resultobj
;
5632 PyObject
* _argo0
= 0;
5633 char *_kwnames
[] = { "self", NULL
};
5636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5647 wxPyLog_Destroy(_arg0
);
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) return NULL
;
5651 } Py_INCREF(Py_None
);
5652 _resultobj
= Py_None
;
5656 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5657 wxProcessEvent
*src
;
5659 src
= (wxProcessEvent
*) ptr
;
5660 dest
= (wxEvent
*) src
;
5661 return (void *) dest
;
5664 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5665 wxProcessEvent
*src
;
5667 src
= (wxProcessEvent
*) ptr
;
5668 dest
= (wxObject
*) src
;
5669 return (void *) dest
;
5672 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5673 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5674 PyObject
* _resultobj
;
5675 wxProcessEvent
* _result
;
5676 int _arg0
= (int ) 0;
5677 int _arg1
= (int ) 0;
5678 int _arg2
= (int ) 0;
5679 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5687 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5689 wxPyEndAllowThreads(__tstate
);
5690 if (PyErr_Occurred()) return NULL
;
5692 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5693 _resultobj
= Py_BuildValue("s",_ptemp
);
5696 _resultobj
= Py_None
;
5701 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5702 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5703 PyObject
* _resultobj
;
5705 wxProcessEvent
* _arg0
;
5706 PyObject
* _argo0
= 0;
5707 char *_kwnames
[] = { "self", NULL
};
5710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5721 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) return NULL
;
5725 } _resultobj
= Py_BuildValue("i",_result
);
5729 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5730 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5731 PyObject
* _resultobj
;
5733 wxProcessEvent
* _arg0
;
5734 PyObject
* _argo0
= 0;
5735 char *_kwnames
[] = { "self", NULL
};
5738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5749 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5751 wxPyEndAllowThreads(__tstate
);
5752 if (PyErr_Occurred()) return NULL
;
5753 } _resultobj
= Py_BuildValue("i",_result
);
5757 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5758 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
* _resultobj
;
5761 wxProcessEvent
* _arg0
;
5763 PyObject
* _argo0
= 0;
5764 char *_kwnames
[] = { "self","m_pid", NULL
};
5767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5778 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5780 wxPyEndAllowThreads(__tstate
);
5781 if (PyErr_Occurred()) return NULL
;
5782 } _resultobj
= Py_BuildValue("i",_result
);
5786 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5787 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5788 PyObject
* _resultobj
;
5790 wxProcessEvent
* _arg0
;
5791 PyObject
* _argo0
= 0;
5792 char *_kwnames
[] = { "self", NULL
};
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5806 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) return NULL
;
5810 } _resultobj
= Py_BuildValue("i",_result
);
5814 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5815 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
* _resultobj
;
5818 wxProcessEvent
* _arg0
;
5820 PyObject
* _argo0
= 0;
5821 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5835 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) return NULL
;
5839 } _resultobj
= Py_BuildValue("i",_result
);
5843 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5844 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
* _resultobj
;
5847 wxProcessEvent
* _arg0
;
5848 PyObject
* _argo0
= 0;
5849 char *_kwnames
[] = { "self", NULL
};
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) return NULL
;
5867 } _resultobj
= Py_BuildValue("i",_result
);
5871 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5874 src
= (wxPyProcess
*) ptr
;
5875 dest
= (wxEvtHandler
*) src
;
5876 return (void *) dest
;
5879 static void *SwigwxPyProcessTowxObject(void *ptr
) {
5882 src
= (wxPyProcess
*) ptr
;
5883 dest
= (wxObject
*) src
;
5884 return (void *) dest
;
5887 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5888 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5889 PyObject
* _resultobj
;
5890 wxPyProcess
* _result
;
5891 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
5892 int _arg1
= (int ) -1;
5893 PyObject
* _argo0
= 0;
5894 char *_kwnames
[] = { "parent","id", NULL
};
5898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
5901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
5903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5909 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
5911 wxPyEndAllowThreads(__tstate
);
5912 if (PyErr_Occurred()) return NULL
;
5914 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
5915 _resultobj
= Py_BuildValue("s",_ptemp
);
5918 _resultobj
= Py_None
;
5923 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
5924 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5925 PyObject
* _resultobj
;
5926 wxPyProcess
* _arg0
;
5927 PyObject
* _argo0
= 0;
5928 char *_kwnames
[] = { "self", NULL
};
5931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
5934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 wxPyProcess_Destroy(_arg0
);
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) return NULL
;
5946 } Py_INCREF(Py_None
);
5947 _resultobj
= Py_None
;
5951 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5952 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5953 PyObject
* _resultobj
;
5954 wxPyProcess
* _arg0
;
5957 PyObject
* _argo0
= 0;
5958 PyObject
* _obj1
= 0;
5959 PyObject
* _obj2
= 0;
5960 char *_kwnames
[] = { "self","self","_class", NULL
};
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
5979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5980 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5982 wxPyEndAllowThreads(__tstate
);
5983 if (PyErr_Occurred()) return NULL
;
5984 } Py_INCREF(Py_None
);
5985 _resultobj
= Py_None
;
5989 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
5990 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
* _resultobj
;
5992 wxPyProcess
* _arg0
;
5995 PyObject
* _argo0
= 0;
5996 char *_kwnames
[] = { "self","pid","status", NULL
};
5999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6010 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) return NULL
;
6014 } Py_INCREF(Py_None
);
6015 _resultobj
= Py_None
;
6019 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6020 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6021 PyObject
* _resultobj
;
6022 wxPyProcess
* _arg0
;
6023 PyObject
* _argo0
= 0;
6024 char *_kwnames
[] = { "self", NULL
};
6027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6038 wxProcess_Redirect(_arg0
);
6040 wxPyEndAllowThreads(__tstate
);
6041 if (PyErr_Occurred()) return NULL
;
6042 } Py_INCREF(Py_None
);
6043 _resultobj
= Py_None
;
6047 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6048 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
* _resultobj
;
6051 wxPyProcess
* _arg0
;
6052 PyObject
* _argo0
= 0;
6053 char *_kwnames
[] = { "self", NULL
};
6056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6067 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6069 wxPyEndAllowThreads(__tstate
);
6070 if (PyErr_Occurred()) return NULL
;
6071 } _resultobj
= Py_BuildValue("i",_result
);
6075 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6076 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6077 PyObject
* _resultobj
;
6078 wxPyProcess
* _arg0
;
6079 PyObject
* _argo0
= 0;
6080 char *_kwnames
[] = { "self", NULL
};
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6094 wxProcess_Detach(_arg0
);
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) return NULL
;
6098 } Py_INCREF(Py_None
);
6099 _resultobj
= Py_None
;
6103 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6104 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6105 PyObject
* _resultobj
;
6106 wxInputStream
* _result
;
6107 wxPyProcess
* _arg0
;
6108 PyObject
* _argo0
= 0;
6109 char *_kwnames
[] = { "self", NULL
};
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) return NULL
;
6128 wxPyInputStream
* _ptr
= NULL
;
6131 _ptr
= new wxPyInputStream(_result
);
6133 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6138 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6139 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6140 PyObject
* _resultobj
;
6141 wxInputStream
* _result
;
6142 wxPyProcess
* _arg0
;
6143 PyObject
* _argo0
= 0;
6144 char *_kwnames
[] = { "self", NULL
};
6147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6158 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6160 wxPyEndAllowThreads(__tstate
);
6161 if (PyErr_Occurred()) return NULL
;
6163 wxPyInputStream
* _ptr
= NULL
;
6166 _ptr
= new wxPyInputStream(_result
);
6168 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6173 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6174 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6175 PyObject
* _resultobj
;
6176 wxOutputStream
* _result
;
6177 wxPyProcess
* _arg0
;
6178 PyObject
* _argo0
= 0;
6179 char *_kwnames
[] = { "self", NULL
};
6183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6194 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6196 wxPyEndAllowThreads(__tstate
);
6197 if (PyErr_Occurred()) return NULL
;
6199 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6200 _resultobj
= Py_BuildValue("s",_ptemp
);
6203 _resultobj
= Py_None
;
6208 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6209 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6210 PyObject
* _resultobj
;
6211 wxPyProcess
* _arg0
;
6212 PyObject
* _argo0
= 0;
6213 char *_kwnames
[] = { "self", NULL
};
6216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6227 wxProcess_CloseOutput(_arg0
);
6229 wxPyEndAllowThreads(__tstate
);
6230 if (PyErr_Occurred()) return NULL
;
6231 } Py_INCREF(Py_None
);
6232 _resultobj
= Py_None
;
6236 static void *SwigwxJoystickTowxObject(void *ptr
) {
6239 src
= (wxJoystick
*) ptr
;
6240 dest
= (wxObject
*) src
;
6241 return (void *) dest
;
6244 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6245 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
* _resultobj
;
6247 wxJoystick
* _result
;
6248 int _arg0
= (int ) wxJOYSTICK1
;
6249 char *_kwnames
[] = { "joystick", NULL
};
6253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) return NULL
;
6262 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6263 _resultobj
= Py_BuildValue("s",_ptemp
);
6266 _resultobj
= Py_None
;
6271 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6272 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
* _resultobj
;
6275 PyObject
* _argo0
= 0;
6276 char *_kwnames
[] = { "self", NULL
};
6279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 delete_wxJoystick(_arg0
);
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) return NULL
;
6294 } Py_INCREF(Py_None
);
6295 _resultobj
= Py_None
;
6299 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6300 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
* _resultobj
;
6304 PyObject
* _argo0
= 0;
6305 char *_kwnames
[] = { "self", NULL
};
6309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6320 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6322 wxPyEndAllowThreads(__tstate
);
6323 if (PyErr_Occurred()) return NULL
;
6324 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6325 _resultobj
= Py_BuildValue("s",_ptemp
);
6329 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6330 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6331 PyObject
* _resultobj
;
6334 PyObject
* _argo0
= 0;
6335 char *_kwnames
[] = { "self", NULL
};
6338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6341 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6342 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) return NULL
;
6353 } _resultobj
= Py_BuildValue("i",_result
);
6357 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6358 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
* _resultobj
;
6362 PyObject
* _argo0
= 0;
6363 char *_kwnames
[] = { "self", NULL
};
6366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) return NULL
;
6381 } _resultobj
= Py_BuildValue("i",_result
);
6385 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6386 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6387 PyObject
* _resultobj
;
6390 PyObject
* _argo0
= 0;
6391 char *_kwnames
[] = { "self", NULL
};
6394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6405 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) return NULL
;
6409 } _resultobj
= Py_BuildValue("i",_result
);
6413 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6414 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6415 PyObject
* _resultobj
;
6418 PyObject
* _argo0
= 0;
6419 char *_kwnames
[] = { "self", NULL
};
6422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6433 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6435 wxPyEndAllowThreads(__tstate
);
6436 if (PyErr_Occurred()) return NULL
;
6437 } _resultobj
= Py_BuildValue("i",_result
);
6441 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6442 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6443 PyObject
* _resultobj
;
6446 PyObject
* _argo0
= 0;
6447 char *_kwnames
[] = { "self", NULL
};
6450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6461 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) return NULL
;
6465 } _resultobj
= Py_BuildValue("i",_result
);
6469 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6470 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6471 PyObject
* _resultobj
;
6474 PyObject
* _argo0
= 0;
6475 char *_kwnames
[] = { "self", NULL
};
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6489 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6491 wxPyEndAllowThreads(__tstate
);
6492 if (PyErr_Occurred()) return NULL
;
6493 } _resultobj
= Py_BuildValue("i",_result
);
6497 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6498 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6499 PyObject
* _resultobj
;
6502 PyObject
* _argo0
= 0;
6503 char *_kwnames
[] = { "self", NULL
};
6506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6519 wxPyEndAllowThreads(__tstate
);
6520 if (PyErr_Occurred()) return NULL
;
6521 } _resultobj
= Py_BuildValue("i",_result
);
6525 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6526 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6527 PyObject
* _resultobj
;
6530 PyObject
* _argo0
= 0;
6531 char *_kwnames
[] = { "self", NULL
};
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) return NULL
;
6549 } _resultobj
= Py_BuildValue("i",_result
);
6553 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6554 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6555 PyObject
* _resultobj
;
6558 PyObject
* _argo0
= 0;
6559 char *_kwnames
[] = { "self","threshold", NULL
};
6562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) return NULL
;
6577 } Py_INCREF(Py_None
);
6578 _resultobj
= Py_None
;
6582 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6583 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
* _resultobj
;
6587 PyObject
* _argo0
= 0;
6588 char *_kwnames
[] = { "self", NULL
};
6591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6602 _result
= (bool )wxJoystick_IsOk(_arg0
);
6604 wxPyEndAllowThreads(__tstate
);
6605 if (PyErr_Occurred()) return NULL
;
6606 } _resultobj
= Py_BuildValue("i",_result
);
6610 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6611 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
* _resultobj
;
6615 PyObject
* _argo0
= 0;
6616 char *_kwnames
[] = { "self", NULL
};
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6630 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6632 wxPyEndAllowThreads(__tstate
);
6633 if (PyErr_Occurred()) return NULL
;
6634 } _resultobj
= Py_BuildValue("i",_result
);
6638 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6639 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
* _resultobj
;
6643 PyObject
* _argo0
= 0;
6644 char *_kwnames
[] = { "self", NULL
};
6647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6650 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6651 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6658 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6660 wxPyEndAllowThreads(__tstate
);
6661 if (PyErr_Occurred()) return NULL
;
6662 } _resultobj
= Py_BuildValue("i",_result
);
6666 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6667 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
* _resultobj
;
6671 PyObject
* _argo0
= 0;
6672 char *_kwnames
[] = { "self", NULL
};
6675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6686 _result
= (int )wxJoystick_GetProductId(_arg0
);
6688 wxPyEndAllowThreads(__tstate
);
6689 if (PyErr_Occurred()) return NULL
;
6690 } _resultobj
= Py_BuildValue("i",_result
);
6694 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6695 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6696 PyObject
* _resultobj
;
6699 PyObject
* _argo0
= 0;
6700 char *_kwnames
[] = { "self", NULL
};
6703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6714 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) return NULL
;
6720 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6722 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6731 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6732 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6733 PyObject
* _resultobj
;
6736 PyObject
* _argo0
= 0;
6737 char *_kwnames
[] = { "self", NULL
};
6740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6751 _result
= (int )wxJoystick_GetXMin(_arg0
);
6753 wxPyEndAllowThreads(__tstate
);
6754 if (PyErr_Occurred()) return NULL
;
6755 } _resultobj
= Py_BuildValue("i",_result
);
6759 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6760 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6761 PyObject
* _resultobj
;
6764 PyObject
* _argo0
= 0;
6765 char *_kwnames
[] = { "self", NULL
};
6768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6779 _result
= (int )wxJoystick_GetYMin(_arg0
);
6781 wxPyEndAllowThreads(__tstate
);
6782 if (PyErr_Occurred()) return NULL
;
6783 } _resultobj
= Py_BuildValue("i",_result
);
6787 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6788 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
* _resultobj
;
6792 PyObject
* _argo0
= 0;
6793 char *_kwnames
[] = { "self", NULL
};
6796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6807 _result
= (int )wxJoystick_GetZMin(_arg0
);
6809 wxPyEndAllowThreads(__tstate
);
6810 if (PyErr_Occurred()) return NULL
;
6811 } _resultobj
= Py_BuildValue("i",_result
);
6815 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6816 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6817 PyObject
* _resultobj
;
6820 PyObject
* _argo0
= 0;
6821 char *_kwnames
[] = { "self", NULL
};
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6835 _result
= (int )wxJoystick_GetXMax(_arg0
);
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) return NULL
;
6839 } _resultobj
= Py_BuildValue("i",_result
);
6843 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6844 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6845 PyObject
* _resultobj
;
6848 PyObject
* _argo0
= 0;
6849 char *_kwnames
[] = { "self", NULL
};
6852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6863 _result
= (int )wxJoystick_GetYMax(_arg0
);
6865 wxPyEndAllowThreads(__tstate
);
6866 if (PyErr_Occurred()) return NULL
;
6867 } _resultobj
= Py_BuildValue("i",_result
);
6871 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6872 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6873 PyObject
* _resultobj
;
6876 PyObject
* _argo0
= 0;
6877 char *_kwnames
[] = { "self", NULL
};
6880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
6883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6891 _result
= (int )wxJoystick_GetZMax(_arg0
);
6893 wxPyEndAllowThreads(__tstate
);
6894 if (PyErr_Occurred()) return NULL
;
6895 } _resultobj
= Py_BuildValue("i",_result
);
6899 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6900 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6901 PyObject
* _resultobj
;
6904 PyObject
* _argo0
= 0;
6905 char *_kwnames
[] = { "self", NULL
};
6908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
6911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
6918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6919 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
6921 wxPyEndAllowThreads(__tstate
);
6922 if (PyErr_Occurred()) return NULL
;
6923 } _resultobj
= Py_BuildValue("i",_result
);
6927 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
6928 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6929 PyObject
* _resultobj
;
6932 PyObject
* _argo0
= 0;
6933 char *_kwnames
[] = { "self", NULL
};
6936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
6939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) return NULL
;
6951 } _resultobj
= Py_BuildValue("i",_result
);
6955 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
6956 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6957 PyObject
* _resultobj
;
6960 PyObject
* _argo0
= 0;
6961 char *_kwnames
[] = { "self", NULL
};
6964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
6967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
6974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6975 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
6977 wxPyEndAllowThreads(__tstate
);
6978 if (PyErr_Occurred()) return NULL
;
6979 } _resultobj
= Py_BuildValue("i",_result
);
6983 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
6984 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6985 PyObject
* _resultobj
;
6988 PyObject
* _argo0
= 0;
6989 char *_kwnames
[] = { "self", NULL
};
6992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
6995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7005 wxPyEndAllowThreads(__tstate
);
7006 if (PyErr_Occurred()) return NULL
;
7007 } _resultobj
= Py_BuildValue("i",_result
);
7011 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7012 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7013 PyObject
* _resultobj
;
7016 PyObject
* _argo0
= 0;
7017 char *_kwnames
[] = { "self", NULL
};
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7031 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) return NULL
;
7035 } _resultobj
= Py_BuildValue("i",_result
);
7039 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7040 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7041 PyObject
* _resultobj
;
7044 PyObject
* _argo0
= 0;
7045 char *_kwnames
[] = { "self", NULL
};
7048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7059 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7061 wxPyEndAllowThreads(__tstate
);
7062 if (PyErr_Occurred()) return NULL
;
7063 } _resultobj
= Py_BuildValue("i",_result
);
7067 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7068 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7069 PyObject
* _resultobj
;
7072 PyObject
* _argo0
= 0;
7073 char *_kwnames
[] = { "self", NULL
};
7076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7087 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7089 wxPyEndAllowThreads(__tstate
);
7090 if (PyErr_Occurred()) return NULL
;
7091 } _resultobj
= Py_BuildValue("i",_result
);
7095 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7096 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7097 PyObject
* _resultobj
;
7100 PyObject
* _argo0
= 0;
7101 char *_kwnames
[] = { "self", NULL
};
7104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7117 wxPyEndAllowThreads(__tstate
);
7118 if (PyErr_Occurred()) return NULL
;
7119 } _resultobj
= Py_BuildValue("i",_result
);
7123 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7124 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
* _resultobj
;
7128 PyObject
* _argo0
= 0;
7129 char *_kwnames
[] = { "self", NULL
};
7132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 _result
= (int )wxJoystick_GetUMin(_arg0
);
7145 wxPyEndAllowThreads(__tstate
);
7146 if (PyErr_Occurred()) return NULL
;
7147 } _resultobj
= Py_BuildValue("i",_result
);
7151 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7152 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7153 PyObject
* _resultobj
;
7156 PyObject
* _argo0
= 0;
7157 char *_kwnames
[] = { "self", NULL
};
7160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7171 _result
= (int )wxJoystick_GetUMax(_arg0
);
7173 wxPyEndAllowThreads(__tstate
);
7174 if (PyErr_Occurred()) return NULL
;
7175 } _resultobj
= Py_BuildValue("i",_result
);
7179 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7180 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7181 PyObject
* _resultobj
;
7184 PyObject
* _argo0
= 0;
7185 char *_kwnames
[] = { "self", NULL
};
7188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7199 _result
= (int )wxJoystick_GetVMin(_arg0
);
7201 wxPyEndAllowThreads(__tstate
);
7202 if (PyErr_Occurred()) return NULL
;
7203 } _resultobj
= Py_BuildValue("i",_result
);
7207 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7208 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7209 PyObject
* _resultobj
;
7212 PyObject
* _argo0
= 0;
7213 char *_kwnames
[] = { "self", NULL
};
7216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7227 _result
= (int )wxJoystick_GetVMax(_arg0
);
7229 wxPyEndAllowThreads(__tstate
);
7230 if (PyErr_Occurred()) return NULL
;
7231 } _resultobj
= Py_BuildValue("i",_result
);
7235 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7236 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7237 PyObject
* _resultobj
;
7240 PyObject
* _argo0
= 0;
7241 char *_kwnames
[] = { "self", NULL
};
7244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7255 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7257 wxPyEndAllowThreads(__tstate
);
7258 if (PyErr_Occurred()) return NULL
;
7259 } _resultobj
= Py_BuildValue("i",_result
);
7263 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7264 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7265 PyObject
* _resultobj
;
7268 PyObject
* _argo0
= 0;
7269 char *_kwnames
[] = { "self", NULL
};
7272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 _result
= (bool )wxJoystick_HasZ(_arg0
);
7285 wxPyEndAllowThreads(__tstate
);
7286 if (PyErr_Occurred()) return NULL
;
7287 } _resultobj
= Py_BuildValue("i",_result
);
7291 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7292 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7293 PyObject
* _resultobj
;
7296 PyObject
* _argo0
= 0;
7297 char *_kwnames
[] = { "self", NULL
};
7300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 _result
= (bool )wxJoystick_HasU(_arg0
);
7313 wxPyEndAllowThreads(__tstate
);
7314 if (PyErr_Occurred()) return NULL
;
7315 } _resultobj
= Py_BuildValue("i",_result
);
7319 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7320 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
* _resultobj
;
7324 PyObject
* _argo0
= 0;
7325 char *_kwnames
[] = { "self", NULL
};
7328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7339 _result
= (bool )wxJoystick_HasV(_arg0
);
7341 wxPyEndAllowThreads(__tstate
);
7342 if (PyErr_Occurred()) return NULL
;
7343 } _resultobj
= Py_BuildValue("i",_result
);
7347 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7348 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7349 PyObject
* _resultobj
;
7352 PyObject
* _argo0
= 0;
7353 char *_kwnames
[] = { "self", NULL
};
7356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) return NULL
;
7371 } _resultobj
= Py_BuildValue("i",_result
);
7375 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7376 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7377 PyObject
* _resultobj
;
7380 PyObject
* _argo0
= 0;
7381 char *_kwnames
[] = { "self", NULL
};
7384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7395 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7397 wxPyEndAllowThreads(__tstate
);
7398 if (PyErr_Occurred()) return NULL
;
7399 } _resultobj
= Py_BuildValue("i",_result
);
7403 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7404 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
* _resultobj
;
7408 PyObject
* _argo0
= 0;
7409 char *_kwnames
[] = { "self", NULL
};
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7423 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7425 wxPyEndAllowThreads(__tstate
);
7426 if (PyErr_Occurred()) return NULL
;
7427 } _resultobj
= Py_BuildValue("i",_result
);
7431 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7432 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7433 PyObject
* _resultobj
;
7437 int _arg2
= (int ) 0;
7438 PyObject
* _argo0
= 0;
7439 PyObject
* _argo1
= 0;
7440 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7453 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7454 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7463 wxPyEndAllowThreads(__tstate
);
7464 if (PyErr_Occurred()) return NULL
;
7465 } _resultobj
= Py_BuildValue("i",_result
);
7469 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7470 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7471 PyObject
* _resultobj
;
7474 PyObject
* _argo0
= 0;
7475 char *_kwnames
[] = { "self", NULL
};
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7489 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7491 wxPyEndAllowThreads(__tstate
);
7492 if (PyErr_Occurred()) return NULL
;
7493 } _resultobj
= Py_BuildValue("i",_result
);
7497 static void *SwigwxWaveTowxObject(void *ptr
) {
7500 src
= (wxWave
*) ptr
;
7501 dest
= (wxObject
*) src
;
7502 return (void *) dest
;
7505 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7506 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7507 PyObject
* _resultobj
;
7510 bool _arg1
= (bool ) FALSE
;
7511 PyObject
* _obj0
= 0;
7512 int tempbool1
= (int) FALSE
;
7513 char *_kwnames
[] = { "fileName","isResource", NULL
};
7517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7520 _arg0
= wxString_in_helper(_obj0
);
7524 _arg1
= (bool ) tempbool1
;
7526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7527 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7529 wxPyEndAllowThreads(__tstate
);
7530 if (PyErr_Occurred()) return NULL
;
7532 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7533 _resultobj
= Py_BuildValue("s",_ptemp
);
7536 _resultobj
= Py_None
;
7545 #define delete_wxWave(_swigobj) (delete _swigobj)
7546 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7547 PyObject
* _resultobj
;
7549 PyObject
* _argo0
= 0;
7550 char *_kwnames
[] = { "self", NULL
};
7553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 delete_wxWave(_arg0
);
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) return NULL
;
7568 } Py_INCREF(Py_None
);
7569 _resultobj
= Py_None
;
7573 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7574 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7575 PyObject
* _resultobj
;
7578 PyObject
* _argo0
= 0;
7579 char *_kwnames
[] = { "self", NULL
};
7582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 _result
= (bool )wxWave_IsOk(_arg0
);
7595 wxPyEndAllowThreads(__tstate
);
7596 if (PyErr_Occurred()) return NULL
;
7597 } _resultobj
= Py_BuildValue("i",_result
);
7601 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7602 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7603 PyObject
* _resultobj
;
7606 bool _arg1
= (bool ) TRUE
;
7607 bool _arg2
= (bool ) FALSE
;
7608 PyObject
* _argo0
= 0;
7609 int tempbool1
= (int) TRUE
;
7610 int tempbool2
= (int) FALSE
;
7611 char *_kwnames
[] = { "self","async","looped", NULL
};
7614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7623 _arg1
= (bool ) tempbool1
;
7624 _arg2
= (bool ) tempbool2
;
7626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7627 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7629 wxPyEndAllowThreads(__tstate
);
7630 if (PyErr_Occurred()) return NULL
;
7631 } _resultobj
= Py_BuildValue("i",_result
);
7635 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7636 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
* _resultobj
;
7638 wxFileTypeInfo
* _result
;
7643 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7651 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
7653 wxPyEndAllowThreads(__tstate
);
7654 if (PyErr_Occurred()) return NULL
;
7656 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7657 _resultobj
= Py_BuildValue("s",_ptemp
);
7660 _resultobj
= Py_None
;
7665 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7666 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7667 PyObject
* _resultobj
;
7668 wxFileTypeInfo
* _result
;
7669 wxArrayString
* _arg0
;
7670 PyObject
* _obj0
= 0;
7671 char *_kwnames
[] = { "sArray", NULL
};
7675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7678 if (! PySequence_Check(_obj0
)) {
7679 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7682 _arg0
= new wxArrayString
;
7683 int i
, len
=PySequence_Length(_obj0
);
7684 for (i
=0; i
<len
; i
++) {
7685 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7687 PyObject
* str
= PyObject_Unicode(item
);
7688 _arg0
->Add(PyUnicode_AsUnicode(str
));
7690 PyObject
* str
= PyObject_Str(item
);
7691 _arg0
->Add(PyString_AsString(str
));
7698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7699 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
7701 wxPyEndAllowThreads(__tstate
);
7702 if (PyErr_Occurred()) return NULL
;
7704 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7705 _resultobj
= Py_BuildValue("s",_ptemp
);
7708 _resultobj
= Py_None
;
7717 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7718 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
* _resultobj
;
7720 wxFileTypeInfo
* _result
;
7721 char *_kwnames
[] = { NULL
};
7725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) return NULL
;
7734 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7735 _resultobj
= Py_BuildValue("s",_ptemp
);
7738 _resultobj
= Py_None
;
7743 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
7744 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7745 PyObject
* _resultobj
;
7747 wxFileTypeInfo
* _arg0
;
7748 PyObject
* _argo0
= 0;
7749 char *_kwnames
[] = { "self", NULL
};
7752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
7755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
7765 wxPyEndAllowThreads(__tstate
);
7766 if (PyErr_Occurred()) return NULL
;
7767 } _resultobj
= Py_BuildValue("i",_result
);
7771 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
7772 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7773 PyObject
* _resultobj
;
7774 wxFileTypeInfo
* _arg0
;
7776 int _arg2
= (int ) 0;
7777 PyObject
* _argo0
= 0;
7778 PyObject
* _obj1
= 0;
7779 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
7782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
7785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
7792 _arg1
= wxString_in_helper(_obj1
);
7797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7798 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) return NULL
;
7802 } Py_INCREF(Py_None
);
7803 _resultobj
= Py_None
;
7811 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
7812 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7813 PyObject
* _resultobj
;
7814 wxFileTypeInfo
* _arg0
;
7816 PyObject
* _argo0
= 0;
7817 PyObject
* _obj1
= 0;
7818 char *_kwnames
[] = { "self","shortDesc", NULL
};
7821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
7824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
7831 _arg1
= wxString_in_helper(_obj1
);
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
7839 wxPyEndAllowThreads(__tstate
);
7840 if (PyErr_Occurred()) return NULL
;
7841 } Py_INCREF(Py_None
);
7842 _resultobj
= Py_None
;
7850 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
7851 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7852 PyObject
* _resultobj
;
7854 wxFileTypeInfo
* _arg0
;
7855 PyObject
* _argo0
= 0;
7856 char *_kwnames
[] = { "self", NULL
};
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
7862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
7869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7870 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
7871 _result
= (wxString
*) &_result_ref
;
7873 wxPyEndAllowThreads(__tstate
);
7874 if (PyErr_Occurred()) return NULL
;
7877 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7879 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7885 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
7886 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
* _resultobj
;
7889 wxFileTypeInfo
* _arg0
;
7890 PyObject
* _argo0
= 0;
7891 char *_kwnames
[] = { "self", NULL
};
7894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
7897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
7906 _result
= (wxString
*) &_result_ref
;
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) return NULL
;
7912 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7914 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7920 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
7921 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7922 PyObject
* _resultobj
;
7924 wxFileTypeInfo
* _arg0
;
7925 PyObject
* _argo0
= 0;
7926 char *_kwnames
[] = { "self", NULL
};
7929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
7932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
7941 _result
= (wxString
*) &_result_ref
;
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) return NULL
;
7947 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7949 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7955 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
7956 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
* _resultobj
;
7959 wxFileTypeInfo
* _arg0
;
7960 PyObject
* _argo0
= 0;
7961 char *_kwnames
[] = { "self", NULL
};
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
7967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
7974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
7976 _result
= (wxString
*) &_result_ref
;
7978 wxPyEndAllowThreads(__tstate
);
7979 if (PyErr_Occurred()) return NULL
;
7982 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7984 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7990 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
7991 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
* _resultobj
;
7994 wxFileTypeInfo
* _arg0
;
7995 PyObject
* _argo0
= 0;
7996 char *_kwnames
[] = { "self", NULL
};
7999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8010 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8011 _result
= (wxString
*) &_result_ref
;
8013 wxPyEndAllowThreads(__tstate
);
8014 if (PyErr_Occurred()) return NULL
;
8017 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8019 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8025 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8026 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8027 return wxArrayString2PyList_helper(arr
);
8029 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8030 PyObject
* _resultobj
;
8032 wxFileTypeInfo
* _arg0
;
8033 PyObject
* _argo0
= 0;
8034 char *_kwnames
[] = { "self", NULL
};
8037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8048 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) return NULL
;
8053 _resultobj
= _result
;
8058 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8059 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(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_GetExtensionsCount",_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_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8078 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8080 wxPyEndAllowThreads(__tstate
);
8081 if (PyErr_Occurred()) return NULL
;
8082 } _resultobj
= Py_BuildValue("i",_result
);
8086 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8087 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8088 PyObject
* _resultobj
;
8090 wxFileTypeInfo
* _arg0
;
8091 PyObject
* _argo0
= 0;
8092 char *_kwnames
[] = { "self", NULL
};
8095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8107 _result
= (wxString
*) &_result_ref
;
8109 wxPyEndAllowThreads(__tstate
);
8110 if (PyErr_Occurred()) return NULL
;
8113 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8115 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8121 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8122 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8123 PyObject
* _resultobj
;
8125 wxFileTypeInfo
* _arg0
;
8126 PyObject
* _argo0
= 0;
8127 char *_kwnames
[] = { "self", NULL
};
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8141 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8143 wxPyEndAllowThreads(__tstate
);
8144 if (PyErr_Occurred()) return NULL
;
8145 } _resultobj
= Py_BuildValue("i",_result
);
8149 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8150 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8151 PyObject
* _resultobj
;
8152 wxFileType
* _result
;
8153 wxFileTypeInfo
* _arg0
;
8154 PyObject
* _argo0
= 0;
8155 char *_kwnames
[] = { "ftInfo", NULL
};
8159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8170 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8172 wxPyEndAllowThreads(__tstate
);
8173 if (PyErr_Occurred()) return NULL
;
8175 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8176 _resultobj
= Py_BuildValue("s",_ptemp
);
8179 _resultobj
= Py_None
;
8184 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8186 if (self
->GetMimeType(&str
)) {
8188 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8190 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8196 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8197 PyObject
* _resultobj
;
8200 PyObject
* _argo0
= 0;
8201 char *_kwnames
[] = { "self", NULL
};
8204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8215 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8217 wxPyEndAllowThreads(__tstate
);
8218 if (PyErr_Occurred()) return NULL
;
8220 _resultobj
= _result
;
8225 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8227 if (self
->GetMimeTypes(arr
))
8228 return wxArrayString2PyList_helper(arr
);
8232 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8233 PyObject
* _resultobj
;
8236 PyObject
* _argo0
= 0;
8237 char *_kwnames
[] = { "self", NULL
};
8240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8251 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8253 wxPyEndAllowThreads(__tstate
);
8254 if (PyErr_Occurred()) return NULL
;
8256 _resultobj
= _result
;
8261 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8263 if (self
->GetExtensions(arr
))
8264 return wxArrayString2PyList_helper(arr
);
8268 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8269 PyObject
* _resultobj
;
8272 PyObject
* _argo0
= 0;
8273 char *_kwnames
[] = { "self", NULL
};
8276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8287 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8289 wxPyEndAllowThreads(__tstate
);
8290 if (PyErr_Occurred()) return NULL
;
8292 _resultobj
= _result
;
8297 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8299 if (self
->GetIcon(&icon
))
8300 return new wxIcon(icon
);
8304 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8305 PyObject
* _resultobj
;
8308 PyObject
* _argo0
= 0;
8309 char *_kwnames
[] = { "self", NULL
};
8313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8324 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8326 wxPyEndAllowThreads(__tstate
);
8327 if (PyErr_Occurred()) return NULL
;
8329 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8330 _resultobj
= Py_BuildValue("s",_ptemp
);
8333 _resultobj
= Py_None
;
8338 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8342 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8343 wxPyBeginBlockThreads();
8344 PyObject
* tuple
= PyTuple_New(3);
8345 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8348 PyTuple_SetItem(tuple
, 1, PyUnicode_FromUnicode(iconFile
.c_str(), iconFile
.Len()));
8350 PyTuple_SetItem(tuple
, 1, PyString_FromStringAndSize(iconFile
.c_str(), iconFile
.Len()));
8352 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8353 wxPyEndBlockThreads();
8359 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8360 PyObject
* _resultobj
;
8363 PyObject
* _argo0
= 0;
8364 char *_kwnames
[] = { "self", NULL
};
8367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8380 wxPyEndAllowThreads(__tstate
);
8381 if (PyErr_Occurred()) return NULL
;
8383 _resultobj
= _result
;
8388 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8390 if (self
->GetDescription(&str
)) {
8392 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8394 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8399 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
* _resultobj
;
8403 PyObject
* _argo0
= 0;
8404 char *_kwnames
[] = { "self", NULL
};
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8410 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8411 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) return NULL
;
8423 _resultobj
= _result
;
8428 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8430 if (self
->GetOpenCommand(&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_GetOpenCommand(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_GetOpenCommand",_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_GetOpenCommand. Expected _wxFileType_p.");
8461 _arg1
= wxString_in_helper(_obj1
);
8467 _arg2
= wxString_in_helper(_obj2
);
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) return NULL
;
8478 _resultobj
= _result
;
8491 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8493 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8495 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8497 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8502 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8503 PyObject
* _resultobj
;
8507 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8508 PyObject
* _argo0
= 0;
8509 PyObject
* _obj1
= 0;
8510 PyObject
* _obj2
= 0;
8511 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8524 _arg1
= wxString_in_helper(_obj1
);
8530 _arg2
= wxString_in_helper(_obj2
);
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8536 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) return NULL
;
8541 _resultobj
= _result
;
8554 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8555 wxArrayString verbs
;
8556 wxArrayString commands
;
8557 if (self
->GetAllCommands(&verbs
, &commands
,
8558 wxFileType::MessageParameters(filename
, mimetype
))) {
8559 wxPyBeginBlockThreads();
8560 PyObject
* tuple
= PyTuple_New(2);
8561 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8562 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8563 wxPyEndBlockThreads();
8569 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8570 PyObject
* _resultobj
;
8574 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8575 PyObject
* _argo0
= 0;
8576 PyObject
* _obj1
= 0;
8577 PyObject
* _obj2
= 0;
8578 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8591 _arg1
= wxString_in_helper(_obj1
);
8597 _arg2
= wxString_in_helper(_obj2
);
8602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8603 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8605 wxPyEndAllowThreads(__tstate
);
8606 if (PyErr_Occurred()) return NULL
;
8608 _resultobj
= _result
;
8621 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8622 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8623 PyObject
* _resultobj
;
8628 bool _arg3
= (bool ) TRUE
;
8629 PyObject
* _argo0
= 0;
8630 PyObject
* _obj1
= 0;
8631 PyObject
* _obj2
= 0;
8632 int tempbool3
= (int) TRUE
;
8633 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8646 _arg1
= wxString_in_helper(_obj1
);
8651 _arg2
= wxString_in_helper(_obj2
);
8655 _arg3
= (bool ) tempbool3
;
8657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8658 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8660 wxPyEndAllowThreads(__tstate
);
8661 if (PyErr_Occurred()) return NULL
;
8662 } _resultobj
= Py_BuildValue("i",_result
);
8674 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8675 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8676 PyObject
* _resultobj
;
8679 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
8680 int _arg2
= (int ) 0;
8681 PyObject
* _argo0
= 0;
8682 PyObject
* _obj1
= 0;
8683 char *_kwnames
[] = { "self","cmd","index", NULL
};
8686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8697 _arg1
= wxString_in_helper(_obj1
);
8702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8703 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
8705 wxPyEndAllowThreads(__tstate
);
8706 if (PyErr_Occurred()) return NULL
;
8707 } _resultobj
= Py_BuildValue("i",_result
);
8715 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
8716 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8717 PyObject
* _resultobj
;
8720 PyObject
* _argo0
= 0;
8721 char *_kwnames
[] = { "self", NULL
};
8724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
8727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
8734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8735 _result
= (bool )wxFileType_Unassociate(_arg0
);
8737 wxPyEndAllowThreads(__tstate
);
8738 if (PyErr_Occurred()) return NULL
;
8739 } _resultobj
= Py_BuildValue("i",_result
);
8743 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8744 PyObject
* _resultobj
;
8747 wxFileType::MessageParameters
* _arg1
;
8748 PyObject
* _obj0
= 0;
8749 PyObject
* _argo1
= 0;
8750 char *_kwnames
[] = { "command","params", NULL
};
8753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
8756 _arg0
= wxString_in_helper(_obj0
);
8761 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8762 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
8763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
8768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8769 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
8771 wxPyEndAllowThreads(__tstate
);
8772 if (PyErr_Occurred()) return NULL
;
8775 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8777 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8790 #define delete_wxFileType(_swigobj) (delete _swigobj)
8791 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
* _resultobj
;
8794 PyObject
* _argo0
= 0;
8795 char *_kwnames
[] = { "self", NULL
};
8798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
8801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 delete_wxFileType(_arg0
);
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) return NULL
;
8813 } Py_INCREF(Py_None
);
8814 _resultobj
= Py_None
;
8818 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8819 PyObject
* _resultobj
;
8823 PyObject
* _obj0
= 0;
8824 PyObject
* _obj1
= 0;
8825 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
8828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
8831 _arg0
= wxString_in_helper(_obj0
);
8836 _arg1
= wxString_in_helper(_obj1
);
8841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8842 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
8844 wxPyEndAllowThreads(__tstate
);
8845 if (PyErr_Occurred()) return NULL
;
8846 } _resultobj
= Py_BuildValue("i",_result
);
8858 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
8859 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8860 PyObject
* _resultobj
;
8861 wxMimeTypesManager
* _result
;
8862 char *_kwnames
[] = { NULL
};
8866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
8869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8870 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
8872 wxPyEndAllowThreads(__tstate
);
8873 if (PyErr_Occurred()) return NULL
;
8875 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
8876 _resultobj
= Py_BuildValue("s",_ptemp
);
8879 _resultobj
= Py_None
;
8884 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
8885 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8886 PyObject
* _resultobj
;
8887 wxMimeTypesManager
* _arg0
;
8888 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
8889 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8890 PyObject
* _argo0
= 0;
8891 PyObject
* _obj2
= 0;
8892 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
8895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
8900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
8906 _arg2
= wxString_in_helper(_obj2
);
8911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8912 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
8914 wxPyEndAllowThreads(__tstate
);
8915 if (PyErr_Occurred()) return NULL
;
8916 } Py_INCREF(Py_None
);
8917 _resultobj
= Py_None
;
8925 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
8926 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8927 PyObject
* _resultobj
;
8928 wxMimeTypesManager
* _arg0
;
8929 PyObject
* _argo0
= 0;
8930 char *_kwnames
[] = { "self", NULL
};
8933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
8936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
8938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
8943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8944 wxMimeTypesManager_ClearData(_arg0
);
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) return NULL
;
8948 } Py_INCREF(Py_None
);
8949 _resultobj
= Py_None
;
8953 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
8954 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8955 PyObject
* _resultobj
;
8956 wxFileType
* _result
;
8957 wxMimeTypesManager
* _arg0
;
8959 PyObject
* _argo0
= 0;
8960 PyObject
* _obj1
= 0;
8961 char *_kwnames
[] = { "self","ext", NULL
};
8965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
8968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
8970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
8975 _arg1
= wxString_in_helper(_obj1
);
8980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8981 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
8983 wxPyEndAllowThreads(__tstate
);
8984 if (PyErr_Occurred()) return NULL
;
8986 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8987 _resultobj
= Py_BuildValue("s",_ptemp
);
8990 _resultobj
= Py_None
;
8999 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9000 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9001 PyObject
* _resultobj
;
9002 wxFileType
* _result
;
9003 wxMimeTypesManager
* _arg0
;
9005 PyObject
* _argo0
= 0;
9006 PyObject
* _obj1
= 0;
9007 char *_kwnames
[] = { "self","mimeType", NULL
};
9011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9021 _arg1
= wxString_in_helper(_obj1
);
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) return NULL
;
9032 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9033 _resultobj
= Py_BuildValue("s",_ptemp
);
9036 _resultobj
= Py_None
;
9045 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9046 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9047 PyObject
* _resultobj
;
9049 wxMimeTypesManager
* _arg0
;
9051 bool _arg2
= (bool ) FALSE
;
9052 PyObject
* _argo0
= 0;
9053 PyObject
* _obj1
= 0;
9054 int tempbool2
= (int) FALSE
;
9055 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9068 _arg1
= wxString_in_helper(_obj1
);
9072 _arg2
= (bool ) tempbool2
;
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) return NULL
;
9079 } _resultobj
= Py_BuildValue("i",_result
);
9087 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9088 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9089 PyObject
* _resultobj
;
9091 wxMimeTypesManager
* _arg0
;
9093 PyObject
* _argo0
= 0;
9094 PyObject
* _obj1
= 0;
9095 char *_kwnames
[] = { "self","filename", NULL
};
9098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9108 _arg1
= wxString_in_helper(_obj1
);
9113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9114 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9116 wxPyEndAllowThreads(__tstate
);
9117 if (PyErr_Occurred()) return NULL
;
9118 } _resultobj
= Py_BuildValue("i",_result
);
9126 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9128 self
->EnumAllFileTypes(arr
);
9129 return wxArrayString2PyList_helper(arr
);
9131 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9132 PyObject
* _resultobj
;
9134 wxMimeTypesManager
* _arg0
;
9135 PyObject
* _argo0
= 0;
9136 char *_kwnames
[] = { "self", NULL
};
9139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9152 wxPyEndAllowThreads(__tstate
);
9153 if (PyErr_Occurred()) return NULL
;
9155 _resultobj
= _result
;
9160 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9161 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9162 PyObject
* _resultobj
;
9163 wxMimeTypesManager
* _arg0
;
9164 wxFileTypeInfo
* _arg1
;
9165 PyObject
* _argo0
= 0;
9166 PyObject
* _argo1
= 0;
9167 char *_kwnames
[] = { "self","ft", NULL
};
9170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9180 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9181 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9188 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9190 wxPyEndAllowThreads(__tstate
);
9191 if (PyErr_Occurred()) return NULL
;
9192 } Py_INCREF(Py_None
);
9193 _resultobj
= Py_None
;
9197 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9198 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9199 PyObject
* _resultobj
;
9200 wxFileType
* _result
;
9201 wxMimeTypesManager
* _arg0
;
9202 wxFileTypeInfo
* _arg1
;
9203 PyObject
* _argo0
= 0;
9204 PyObject
* _argo1
= 0;
9205 char *_kwnames
[] = { "self","ftInfo", NULL
};
9209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9219 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9220 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9227 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9229 wxPyEndAllowThreads(__tstate
);
9230 if (PyErr_Occurred()) return NULL
;
9232 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9233 _resultobj
= Py_BuildValue("s",_ptemp
);
9236 _resultobj
= Py_None
;
9241 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9242 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9243 PyObject
* _resultobj
;
9245 wxMimeTypesManager
* _arg0
;
9247 PyObject
* _argo0
= 0;
9248 PyObject
* _argo1
= 0;
9249 char *_kwnames
[] = { "self","ft", NULL
};
9252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9262 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9263 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9270 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9272 wxPyEndAllowThreads(__tstate
);
9273 if (PyErr_Occurred()) return NULL
;
9274 } _resultobj
= Py_BuildValue("i",_result
);
9278 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9279 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9280 PyObject
* _resultobj
;
9281 wxMimeTypesManager
* _arg0
;
9282 PyObject
* _argo0
= 0;
9283 char *_kwnames
[] = { "self", NULL
};
9286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9297 delete_wxMimeTypesManager(_arg0
);
9299 wxPyEndAllowThreads(__tstate
);
9300 if (PyErr_Occurred()) return NULL
;
9301 } Py_INCREF(Py_None
);
9302 _resultobj
= Py_None
;
9306 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9309 src
= (wxFileHistory
*) ptr
;
9310 dest
= (wxObject
*) src
;
9311 return (void *) dest
;
9314 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9315 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9316 PyObject
* _resultobj
;
9317 wxFileHistory
* _result
;
9318 int _arg0
= (int ) 9;
9319 char *_kwnames
[] = { "maxFiles", NULL
};
9323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) return NULL
;
9332 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9333 _resultobj
= Py_BuildValue("s",_ptemp
);
9336 _resultobj
= Py_None
;
9341 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9342 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9343 PyObject
* _resultobj
;
9344 wxFileHistory
* _arg0
;
9345 PyObject
* _argo0
= 0;
9346 char *_kwnames
[] = { "self", NULL
};
9349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 delete_wxFileHistory(_arg0
);
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) return NULL
;
9364 } Py_INCREF(Py_None
);
9365 _resultobj
= Py_None
;
9369 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9370 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9371 PyObject
* _resultobj
;
9372 wxFileHistory
* _arg0
;
9374 PyObject
* _argo0
= 0;
9375 PyObject
* _obj1
= 0;
9376 char *_kwnames
[] = { "self","file", NULL
};
9379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9389 _arg1
= wxString_in_helper(_obj1
);
9394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9397 wxPyEndAllowThreads(__tstate
);
9398 if (PyErr_Occurred()) return NULL
;
9399 } Py_INCREF(Py_None
);
9400 _resultobj
= Py_None
;
9408 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9409 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9410 PyObject
* _resultobj
;
9411 wxFileHistory
* _arg0
;
9413 PyObject
* _argo0
= 0;
9414 char *_kwnames
[] = { "self","i", NULL
};
9417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9420 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9421 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9422 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9428 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
9430 wxPyEndAllowThreads(__tstate
);
9431 if (PyErr_Occurred()) return NULL
;
9432 } Py_INCREF(Py_None
);
9433 _resultobj
= Py_None
;
9437 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9438 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
* _resultobj
;
9441 wxFileHistory
* _arg0
;
9442 PyObject
* _argo0
= 0;
9443 char *_kwnames
[] = { "self", NULL
};
9446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
9449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9457 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
9459 wxPyEndAllowThreads(__tstate
);
9460 if (PyErr_Occurred()) return NULL
;
9461 } _resultobj
= Py_BuildValue("i",_result
);
9465 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
9466 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
* _resultobj
;
9468 wxFileHistory
* _arg0
;
9470 PyObject
* _argo0
= 0;
9471 PyObject
* _argo1
= 0;
9472 char *_kwnames
[] = { "self","menu", NULL
};
9475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
9478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
9485 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9486 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
9492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9493 wxFileHistory_UseMenu(_arg0
,_arg1
);
9495 wxPyEndAllowThreads(__tstate
);
9496 if (PyErr_Occurred()) return NULL
;
9497 } Py_INCREF(Py_None
);
9498 _resultobj
= Py_None
;
9502 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
9503 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9504 PyObject
* _resultobj
;
9505 wxFileHistory
* _arg0
;
9507 PyObject
* _argo0
= 0;
9508 PyObject
* _argo1
= 0;
9509 char *_kwnames
[] = { "self","menu", NULL
};
9512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
9515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
9522 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9523 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9524 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
9529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9530 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) return NULL
;
9534 } Py_INCREF(Py_None
);
9535 _resultobj
= Py_None
;
9539 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
9540 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
* _resultobj
;
9542 wxFileHistory
* _arg0
;
9543 wxConfigBase
* _arg1
;
9544 PyObject
* _argo0
= 0;
9545 PyObject
* _argo1
= 0;
9546 char *_kwnames
[] = { "self","config", NULL
};
9549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
9552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
9559 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9560 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 wxFileHistory_Load(_arg0
,*_arg1
);
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) return NULL
;
9571 } Py_INCREF(Py_None
);
9572 _resultobj
= Py_None
;
9576 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
9577 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9578 PyObject
* _resultobj
;
9579 wxFileHistory
* _arg0
;
9580 wxConfigBase
* _arg1
;
9581 PyObject
* _argo0
= 0;
9582 PyObject
* _argo1
= 0;
9583 char *_kwnames
[] = { "self","config", NULL
};
9586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
9589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
9596 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9597 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
9603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9604 wxFileHistory_Save(_arg0
,*_arg1
);
9606 wxPyEndAllowThreads(__tstate
);
9607 if (PyErr_Occurred()) return NULL
;
9608 } Py_INCREF(Py_None
);
9609 _resultobj
= Py_None
;
9613 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
9614 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9615 PyObject
* _resultobj
;
9616 wxFileHistory
* _arg0
;
9617 PyObject
* _argo0
= 0;
9618 char *_kwnames
[] = { "self", NULL
};
9621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
9624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 wxFileHistory_AddFilesToMenu(_arg0
);
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) return NULL
;
9636 } Py_INCREF(Py_None
);
9637 _resultobj
= Py_None
;
9641 #define wxFileHistory_AddFilesToThisMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
9642 static PyObject
*_wrap_wxFileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9643 PyObject
* _resultobj
;
9644 wxFileHistory
* _arg0
;
9646 PyObject
* _argo0
= 0;
9647 PyObject
* _argo1
= 0;
9648 char *_kwnames
[] = { "self","menu", NULL
};
9651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToThisMenu",_kwnames
,&_argo0
,&_argo1
))
9654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToThisMenu. Expected _wxFileHistory_p.");
9661 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9662 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToThisMenu. Expected _wxMenu_p.");
9668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9669 wxFileHistory_AddFilesToThisMenu(_arg0
,_arg1
);
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) return NULL
;
9673 } Py_INCREF(Py_None
);
9674 _resultobj
= Py_None
;
9678 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
9679 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9680 PyObject
* _resultobj
;
9682 wxFileHistory
* _arg0
;
9684 PyObject
* _argo0
= 0;
9685 char *_kwnames
[] = { "self","i", NULL
};
9688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
9691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
9698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9699 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
9701 wxPyEndAllowThreads(__tstate
);
9702 if (PyErr_Occurred()) return NULL
;
9705 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9707 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9716 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
9717 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
* _resultobj
;
9720 wxFileHistory
* _arg0
;
9721 PyObject
* _argo0
= 0;
9722 char *_kwnames
[] = { "self", NULL
};
9725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
9728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 _result
= (int )wxFileHistory_GetCount(_arg0
);
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) return NULL
;
9740 } _resultobj
= Py_BuildValue("i",_result
);
9744 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
9745 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9746 PyObject
* _resultobj
;
9748 wxFileHistory
* _arg0
;
9749 PyObject
* _argo0
= 0;
9750 char *_kwnames
[] = { "self", NULL
};
9753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
9756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
9766 wxPyEndAllowThreads(__tstate
);
9767 if (PyErr_Occurred()) return NULL
;
9768 } _resultobj
= Py_BuildValue("i",_result
);
9772 static PyMethodDef misc2cMethods
[] = {
9773 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
9774 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
9775 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
9776 { "wxFileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
9777 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
9778 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
9779 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
9780 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
9781 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
9782 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
9783 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
9784 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
9785 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
9786 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
9787 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
9788 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
9789 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
9790 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
9791 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
9792 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
9793 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
9794 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9795 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
9796 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
9797 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
9798 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
9799 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
9800 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
9801 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
9802 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
9803 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
9804 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
9805 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
9806 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
9807 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
9808 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
9809 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
9810 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
9811 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
9812 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
9813 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9814 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
9815 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
9816 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
9817 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
9818 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
9819 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
9820 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
9821 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
9822 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
9823 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9824 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
9825 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
9826 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
9827 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
9828 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
9829 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
9830 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
9831 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9832 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
9833 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
9834 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
9835 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
9836 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
9837 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
9838 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
9839 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
9840 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
9841 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
9842 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
9843 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
9844 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
9845 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
9846 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
9847 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
9848 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
9849 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
9850 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
9851 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
9852 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
9853 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
9854 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
9855 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
9856 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
9857 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
9858 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
9859 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
9860 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
9861 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
9862 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
9863 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
9864 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
9865 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9866 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
9867 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
9868 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
9869 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
9870 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
9871 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
9872 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
9873 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
9874 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
9875 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9876 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
9877 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
9878 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
9879 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
9880 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
9881 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
9882 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
9883 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
9884 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
9885 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
9886 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9887 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9888 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
9889 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
9890 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
9891 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
9892 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
9893 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
9894 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
9895 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
9896 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9897 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9898 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
9899 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
9900 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9901 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
9902 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
9903 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
9904 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
9905 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
9906 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
9907 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9908 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
9909 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
9910 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
9911 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
9912 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
9913 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9914 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
9915 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
9916 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9917 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9918 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
9919 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
9920 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
9921 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
9922 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9923 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9924 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9925 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
9926 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
9927 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
9928 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
9929 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
9930 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
9931 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
9932 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9933 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
9934 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
9935 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
9936 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9937 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
9938 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
9939 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
9940 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
9941 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
9942 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
9943 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
9944 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
9945 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
9946 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
9947 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
9948 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
9949 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
9950 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
9951 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
9952 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
9953 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
9954 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
9955 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
9956 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
9957 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
9958 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
9959 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
9960 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
9961 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
9962 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
9963 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
9964 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
9965 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
9966 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
9967 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
9968 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
9969 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
9970 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
9971 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
9972 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
9973 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
9974 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
9975 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
9976 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
9977 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
9978 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
9979 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
9980 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
9981 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
9982 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
9983 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9984 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
9985 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
9986 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9987 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
9988 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
9989 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9990 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
9991 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
9992 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
9993 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
9994 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
9995 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
9996 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
9997 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
9998 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
9999 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
10000 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10001 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10002 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
10003 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
10004 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
10005 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
10006 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
10007 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10008 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
10009 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
10010 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
10011 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
10012 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
10013 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
10014 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
10015 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10016 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
10017 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
10018 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
10019 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
10020 { "wxWakeUpMainThread", (PyCFunction
) _wrap_wxWakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
10021 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
10022 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
10023 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
10024 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10025 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10026 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
10027 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
10028 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
10029 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10030 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10031 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
10032 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10033 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
10034 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10035 { "wxFlushEvents", (PyCFunction
) _wrap_wxFlushEvents
, METH_VARARGS
| METH_KEYWORDS
},
10036 { "wxCheckForInterrupt", (PyCFunction
) _wrap_wxCheckForInterrupt
, METH_VARARGS
| METH_KEYWORDS
},
10037 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10038 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10039 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
10040 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10041 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
10042 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
10043 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10044 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10045 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10046 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10047 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10048 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10049 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10050 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10051 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10052 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
10053 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10054 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
10055 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
10056 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
10057 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10058 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10059 { "wxSaveFileSelector", (PyCFunction
) _wrap_wxSaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10060 { "wxLoadFileSelector", (PyCFunction
) _wrap_wxLoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10061 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10068 * This table is used by the pointer type-checker
10070 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10071 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
10072 { "_signed_long","_long",0},
10073 { "_wxPrintQuality","_wxCoord",0},
10074 { "_wxPrintQuality","_int",0},
10075 { "_wxPrintQuality","_signed_int",0},
10076 { "_wxPrintQuality","_unsigned_int",0},
10077 { "_wxPrintQuality","_wxWindowID",0},
10078 { "_wxPrintQuality","_uint",0},
10079 { "_wxPrintQuality","_EBool",0},
10080 { "_wxPrintQuality","_size_t",0},
10081 { "_wxPrintQuality","_time_t",0},
10082 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
10083 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
10084 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
10085 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
10086 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
10087 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
10088 { "_byte","_unsigned_char",0},
10089 { "_long","_unsigned_long",0},
10090 { "_long","_signed_long",0},
10091 { "_size_t","_wxCoord",0},
10092 { "_size_t","_wxPrintQuality",0},
10093 { "_size_t","_time_t",0},
10094 { "_size_t","_unsigned_int",0},
10095 { "_size_t","_int",0},
10096 { "_size_t","_wxWindowID",0},
10097 { "_size_t","_uint",0},
10098 { "_uint","_wxCoord",0},
10099 { "_uint","_wxPrintQuality",0},
10100 { "_uint","_time_t",0},
10101 { "_uint","_size_t",0},
10102 { "_uint","_unsigned_int",0},
10103 { "_uint","_int",0},
10104 { "_uint","_wxWindowID",0},
10105 { "_wxChar","_char",0},
10106 { "_char","_wxChar",0},
10107 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10108 { "_EBool","_wxCoord",0},
10109 { "_EBool","_wxPrintQuality",0},
10110 { "_EBool","_signed_int",0},
10111 { "_EBool","_int",0},
10112 { "_EBool","_wxWindowID",0},
10113 { "_unsigned_long","_long",0},
10114 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10115 { "_signed_int","_wxCoord",0},
10116 { "_signed_int","_wxPrintQuality",0},
10117 { "_signed_int","_EBool",0},
10118 { "_signed_int","_wxWindowID",0},
10119 { "_signed_int","_int",0},
10120 { "_WXTYPE","_wxDateTime_t",0},
10121 { "_WXTYPE","_short",0},
10122 { "_WXTYPE","_signed_short",0},
10123 { "_WXTYPE","_unsigned_short",0},
10124 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
10125 { "_unsigned_short","_wxDateTime_t",0},
10126 { "_unsigned_short","_WXTYPE",0},
10127 { "_unsigned_short","_short",0},
10128 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
10129 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
10130 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
10131 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
10132 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
10133 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
10134 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
10135 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
10136 { "_signed_short","_WXTYPE",0},
10137 { "_signed_short","_short",0},
10138 { "_unsigned_char","_byte",0},
10139 { "_unsigned_int","_wxCoord",0},
10140 { "_unsigned_int","_wxPrintQuality",0},
10141 { "_unsigned_int","_time_t",0},
10142 { "_unsigned_int","_size_t",0},
10143 { "_unsigned_int","_uint",0},
10144 { "_unsigned_int","_wxWindowID",0},
10145 { "_unsigned_int","_int",0},
10146 { "_short","_wxDateTime_t",0},
10147 { "_short","_WXTYPE",0},
10148 { "_short","_unsigned_short",0},
10149 { "_short","_signed_short",0},
10150 { "_wxWindowID","_wxCoord",0},
10151 { "_wxWindowID","_wxPrintQuality",0},
10152 { "_wxWindowID","_time_t",0},
10153 { "_wxWindowID","_size_t",0},
10154 { "_wxWindowID","_EBool",0},
10155 { "_wxWindowID","_uint",0},
10156 { "_wxWindowID","_int",0},
10157 { "_wxWindowID","_signed_int",0},
10158 { "_wxWindowID","_unsigned_int",0},
10159 { "_int","_wxCoord",0},
10160 { "_int","_wxPrintQuality",0},
10161 { "_int","_time_t",0},
10162 { "_int","_size_t",0},
10163 { "_int","_EBool",0},
10164 { "_int","_uint",0},
10165 { "_int","_wxWindowID",0},
10166 { "_int","_unsigned_int",0},
10167 { "_int","_signed_int",0},
10168 { "_wxDateTime_t","_unsigned_short",0},
10169 { "_wxDateTime_t","_short",0},
10170 { "_wxDateTime_t","_WXTYPE",0},
10171 { "_time_t","_wxCoord",0},
10172 { "_time_t","_wxPrintQuality",0},
10173 { "_time_t","_unsigned_int",0},
10174 { "_time_t","_int",0},
10175 { "_time_t","_wxWindowID",0},
10176 { "_time_t","_uint",0},
10177 { "_time_t","_size_t",0},
10178 { "_wxCoord","_int",0},
10179 { "_wxCoord","_signed_int",0},
10180 { "_wxCoord","_unsigned_int",0},
10181 { "_wxCoord","_wxWindowID",0},
10182 { "_wxCoord","_uint",0},
10183 { "_wxCoord","_EBool",0},
10184 { "_wxCoord","_size_t",0},
10185 { "_wxCoord","_time_t",0},
10186 { "_wxCoord","_wxPrintQuality",0},
10187 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
10190 static PyObject
*SWIG_globals
;
10194 SWIGEXPORT(void) initmisc2c() {
10196 SWIG_globals
= SWIG_newvarlink();
10197 m
= Py_InitModule("misc2c", misc2cMethods
);
10198 d
= PyModule_GetDict(m
);
10199 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
10200 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
10201 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
10202 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
10203 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
10204 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
10205 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
10206 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
10207 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
10208 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
10209 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
10210 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
10211 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
10212 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
10213 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
10214 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
10215 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
10216 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
10217 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
10218 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
10219 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
10220 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
10221 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
10222 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
10223 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
10224 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
10225 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
10226 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
10227 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
10228 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
10229 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
10230 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
10231 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
10232 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
10233 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
10234 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
10235 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
10236 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
10237 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
10238 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
10239 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
10240 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
10241 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
10242 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
10243 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
10244 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
10245 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
10246 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
10247 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
10248 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
10249 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
10250 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
10251 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
10252 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
10253 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
10254 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
10255 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
10256 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
10257 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
10258 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
10259 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
10260 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
10261 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
10262 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
10263 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
10264 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
10265 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
10266 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
10267 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
10268 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
10269 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
10270 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
10271 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
10272 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
10273 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
10274 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
10275 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
10276 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
10277 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
10278 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
10279 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
10280 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
10281 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
10282 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
10283 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
10284 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
10285 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
10286 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
10287 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
10288 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
10289 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
10290 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
10291 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
10292 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
10293 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
10294 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
10295 PyDict_SetItemString(d
,"wxEXEC_ASYNC", PyInt_FromLong((long) wxEXEC_ASYNC
));
10296 PyDict_SetItemString(d
,"wxEXEC_SYNC", PyInt_FromLong((long) wxEXEC_SYNC
));
10297 PyDict_SetItemString(d
,"wxEXEC_NOHIDE", PyInt_FromLong((long) wxEXEC_NOHIDE
));
10298 PyDict_SetItemString(d
,"wxEXEC_MAKE_GROUP_LEADER", PyInt_FromLong((long) wxEXEC_MAKE_GROUP_LEADER
));
10299 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
10300 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
10301 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
10302 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
10303 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
10304 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10305 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
10307 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10308 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
10311 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10312 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);