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
);
106 DECLARE_DEF_STRING(DirSelectorPromptStr
);
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 wxLog 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_wxDirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
519 PyObject
* _resultobj
;
521 wxString
* _arg0
= (wxString
*) &wxPyDirSelectorPromptStr
;
522 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
523 long _arg2
= (long ) wxDD_DEFAULT_STYLE
;
524 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
525 wxWindow
* _arg4
= (wxWindow
*) NULL
;
526 PyObject
* _obj0
= 0;
527 PyObject
* _obj1
= 0;
529 PyObject
* _obj3
= 0;
530 PyObject
* _argo4
= 0;
531 char *_kwnames
[] = { "message","defaultPath","style","pos","parent", NULL
};
534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOlOO:wxDirSelector",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_obj3
,&_argo4
))
538 _arg0
= wxString_in_helper(_obj0
);
544 _arg1
= wxString_in_helper(_obj1
);
551 if (! wxPoint_helper(_obj3
, &_arg3
))
555 if (_argo4
== Py_None
) { _arg4
= NULL
; }
556 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxDirSelector. Expected _wxWindow_p.");
562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
563 _result
= new wxString (wxDirSelector(*_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
));
565 wxPyEndAllowThreads(__tstate
);
566 if (PyErr_Occurred()) return NULL
;
569 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
571 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
588 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
589 PyObject
* _resultobj
;
592 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
593 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
594 wxWindow
* _arg3
= (wxWindow
*) NULL
;
595 int _arg4
= (int ) -1;
596 int _arg5
= (int ) -1;
597 bool _arg6
= (bool ) TRUE
;
598 PyObject
* _obj0
= 0;
599 PyObject
* _obj1
= 0;
600 PyObject
* _obj2
= 0;
601 PyObject
* _argo3
= 0;
602 int tempbool6
= (int) TRUE
;
603 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
609 _arg0
= wxString_in_helper(_obj0
);
615 _arg1
= wxString_in_helper(_obj1
);
621 _arg2
= wxString_in_helper(_obj2
);
626 if (_argo3
== Py_None
) { _arg3
= NULL
; }
627 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
632 _arg6
= (bool ) tempbool6
;
634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
635 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
637 wxPyEndAllowThreads(__tstate
);
638 if (PyErr_Occurred()) return NULL
;
641 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
643 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
664 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
665 PyObject
* _resultobj
;
668 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
669 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
670 wxWindow
* _arg3
= (wxWindow
*) NULL
;
671 PyObject
* _obj0
= 0;
672 PyObject
* _obj1
= 0;
673 PyObject
* _obj2
= 0;
674 PyObject
* _argo3
= 0;
675 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
681 _arg0
= wxString_in_helper(_obj0
);
687 _arg1
= wxString_in_helper(_obj1
);
693 _arg2
= wxString_in_helper(_obj2
);
698 if (_argo3
== Py_None
) { _arg3
= NULL
; }
699 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
706 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
708 wxPyEndAllowThreads(__tstate
);
709 if (PyErr_Occurred()) return NULL
;
712 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
714 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
735 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
736 PyObject
* _resultobj
;
742 wxWindow
* _arg4
= (wxWindow
*) NULL
;
743 int _arg5
= (int ) -1;
744 int _arg6
= (int ) -1;
745 bool _arg7
= (bool ) TRUE
;
746 int _arg8
= (int ) 150;
747 int _arg9
= (int ) 200;
748 PyObject
* _obj0
= 0;
749 PyObject
* _obj1
= 0;
750 PyObject
* _obj3
= 0;
751 PyObject
* _argo4
= 0;
752 int tempbool7
= (int) TRUE
;
753 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
759 _arg0
= wxString_in_helper(_obj0
);
764 _arg1
= wxString_in_helper(_obj1
);
770 _arg3
= wxString_LIST_helper(_obj3
);
776 if (_argo4
== Py_None
) { _arg4
= NULL
; }
777 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
782 _arg7
= (bool ) tempbool7
;
785 _arg2
= PyList_Size(_obj3
);
792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
793 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
795 wxPyEndAllowThreads(__tstate
);
796 if (PyErr_Occurred()) return NULL
;
799 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
801 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
821 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
822 PyObject
* _resultobj
;
828 wxWindow
* _arg4
= (wxWindow
*) NULL
;
829 int _arg5
= (int ) -1;
830 int _arg6
= (int ) -1;
831 bool _arg7
= (bool ) TRUE
;
832 int _arg8
= (int ) 150;
833 int _arg9
= (int ) 200;
834 PyObject
* _obj0
= 0;
835 PyObject
* _obj1
= 0;
836 PyObject
* _obj3
= 0;
837 PyObject
* _argo4
= 0;
838 int tempbool7
= (int) TRUE
;
839 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
845 _arg0
= wxString_in_helper(_obj0
);
850 _arg1
= wxString_in_helper(_obj1
);
856 _arg3
= wxString_LIST_helper(_obj3
);
862 if (_argo4
== Py_None
) { _arg4
= NULL
; }
863 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
868 _arg7
= (bool ) tempbool7
;
871 _arg2
= PyList_Size(_obj3
);
878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
879 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
881 wxPyEndAllowThreads(__tstate
);
882 if (PyErr_Occurred()) return NULL
;
883 } _resultobj
= Py_BuildValue("i",_result
);
898 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
899 PyObject
* _resultobj
;
902 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
903 int _arg2
= (int ) wxOK
|wxCENTRE
;
904 wxWindow
* _arg3
= (wxWindow
*) NULL
;
905 int _arg4
= (int ) -1;
906 int _arg5
= (int ) -1;
907 PyObject
* _obj0
= 0;
908 PyObject
* _obj1
= 0;
909 PyObject
* _argo3
= 0;
910 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
916 _arg0
= wxString_in_helper(_obj0
);
922 _arg1
= wxString_in_helper(_obj1
);
927 if (_argo3
== Py_None
) { _arg3
= NULL
; }
928 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
935 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
937 wxPyEndAllowThreads(__tstate
);
938 if (PyErr_Occurred()) return NULL
;
939 } _resultobj
= Py_BuildValue("i",_result
);
951 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
952 PyObject
* _resultobj
;
958 long _arg4
= (long ) 0;
959 long _arg5
= (long ) 100;
960 wxWindow
* _arg6
= (wxWindow
*) NULL
;
961 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
962 PyObject
* _obj0
= 0;
963 PyObject
* _obj1
= 0;
964 PyObject
* _obj2
= 0;
965 PyObject
* _argo6
= 0;
967 PyObject
* _obj7
= 0;
968 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
974 _arg0
= wxString_in_helper(_obj0
);
979 _arg1
= wxString_in_helper(_obj1
);
984 _arg2
= wxString_in_helper(_obj2
);
989 if (_argo6
== Py_None
) { _arg6
= NULL
; }
990 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
998 if (! wxPoint_helper(_obj7
, &_arg7
))
1002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1003 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
1005 wxPyEndAllowThreads(__tstate
);
1006 if (PyErr_Occurred()) return NULL
;
1007 } _resultobj
= Py_BuildValue("l",_result
);
1023 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1024 PyObject
* _resultobj
;
1026 char *_kwnames
[] = { NULL
};
1029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
1032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1033 _result
= (bool )wxColourDisplay();
1035 wxPyEndAllowThreads(__tstate
);
1036 if (PyErr_Occurred()) return NULL
;
1037 } _resultobj
= Py_BuildValue("i",_result
);
1041 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1042 PyObject
* _resultobj
;
1044 char *_kwnames
[] = { NULL
};
1047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
1050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1051 _result
= (int )wxDisplayDepth();
1053 wxPyEndAllowThreads(__tstate
);
1054 if (PyErr_Occurred()) return NULL
;
1055 } _resultobj
= Py_BuildValue("i",_result
);
1059 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1060 PyObject
* _resultobj
;
1062 char *_kwnames
[] = { NULL
};
1065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
1068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1069 _result
= (int )wxGetDisplayDepth();
1071 wxPyEndAllowThreads(__tstate
);
1072 if (PyErr_Occurred()) return NULL
;
1073 } _resultobj
= Py_BuildValue("i",_result
);
1077 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1078 PyObject
* _resultobj
;
1083 char *_kwnames
[] = { NULL
};
1092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1096 wxDisplaySize(_arg0
,_arg1
);
1098 wxPyEndAllowThreads(__tstate
);
1099 if (PyErr_Occurred()) return NULL
;
1100 } Py_INCREF(Py_None
);
1101 _resultobj
= Py_None
;
1104 o
= PyInt_FromLong((long) (*_arg0
));
1105 _resultobj
= t_output_helper(_resultobj
, o
);
1109 o
= PyInt_FromLong((long) (*_arg1
));
1110 _resultobj
= t_output_helper(_resultobj
, o
);
1115 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1116 PyObject
* _resultobj
;
1118 char *_kwnames
[] = { NULL
};
1122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1126 _result
= new wxSize (wxGetDisplaySize());
1128 wxPyEndAllowThreads(__tstate
);
1129 if (PyErr_Occurred()) return NULL
;
1130 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1131 _resultobj
= Py_BuildValue("s",_ptemp
);
1135 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1136 PyObject
* _resultobj
;
1141 char *_kwnames
[] = { NULL
};
1150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1154 wxDisplaySizeMM(_arg0
,_arg1
);
1156 wxPyEndAllowThreads(__tstate
);
1157 if (PyErr_Occurred()) return NULL
;
1158 } Py_INCREF(Py_None
);
1159 _resultobj
= Py_None
;
1162 o
= PyInt_FromLong((long) (*_arg0
));
1163 _resultobj
= t_output_helper(_resultobj
, o
);
1167 o
= PyInt_FromLong((long) (*_arg1
));
1168 _resultobj
= t_output_helper(_resultobj
, o
);
1173 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1174 PyObject
* _resultobj
;
1176 char *_kwnames
[] = { NULL
};
1180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1184 _result
= new wxSize (wxGetDisplaySizeMM());
1186 wxPyEndAllowThreads(__tstate
);
1187 if (PyErr_Occurred()) return NULL
;
1188 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1189 _resultobj
= Py_BuildValue("s",_ptemp
);
1193 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1194 PyObject
* _resultobj
;
1203 char *_kwnames
[] = { NULL
};
1218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1222 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1224 wxPyEndAllowThreads(__tstate
);
1225 if (PyErr_Occurred()) return NULL
;
1226 } Py_INCREF(Py_None
);
1227 _resultobj
= Py_None
;
1230 o
= PyInt_FromLong((long) (*_arg0
));
1231 _resultobj
= t_output_helper(_resultobj
, o
);
1235 o
= PyInt_FromLong((long) (*_arg1
));
1236 _resultobj
= t_output_helper(_resultobj
, o
);
1240 o
= PyInt_FromLong((long) (*_arg2
));
1241 _resultobj
= t_output_helper(_resultobj
, o
);
1245 o
= PyInt_FromLong((long) (*_arg3
));
1246 _resultobj
= t_output_helper(_resultobj
, o
);
1251 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1252 PyObject
* _resultobj
;
1254 char *_kwnames
[] = { NULL
};
1258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1262 _result
= new wxRect (wxGetClientDisplayRect());
1264 wxPyEndAllowThreads(__tstate
);
1265 if (PyErr_Occurred()) return NULL
;
1266 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1267 _resultobj
= Py_BuildValue("s",_ptemp
);
1271 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
* _resultobj
;
1274 PyObject
* _argo0
= 0;
1275 char *_kwnames
[] = { "cursor", NULL
};
1278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1289 wxSetCursor(*_arg0
);
1291 wxPyEndAllowThreads(__tstate
);
1292 if (PyErr_Occurred()) return NULL
;
1293 } Py_INCREF(Py_None
);
1294 _resultobj
= Py_None
;
1298 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1299 PyObject
* _resultobj
;
1302 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1303 PyObject
* _obj0
= 0;
1304 PyObject
* _argo1
= 0;
1305 char *_kwnames
[] = { "label","parent", NULL
};
1308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
1311 _arg0
= wxString_in_helper(_obj0
);
1316 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1317 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1324 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
1326 wxPyEndAllowThreads(__tstate
);
1327 if (PyErr_Occurred()) return NULL
;
1328 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1336 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1337 PyObject
* _resultobj
;
1340 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1341 PyObject
* _obj0
= 0;
1342 PyObject
* _argo1
= 0;
1343 char *_kwnames
[] = { "name","parent", NULL
};
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1349 _arg0
= wxString_in_helper(_obj0
);
1354 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1355 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1362 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1364 wxPyEndAllowThreads(__tstate
);
1365 if (PyErr_Occurred()) return NULL
;
1366 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1374 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
* _resultobj
;
1376 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1377 PyObject
* _argo0
= 0;
1378 char *_kwnames
[] = { "cursor", NULL
};
1381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1392 wxBeginBusyCursor(_arg0
);
1394 wxPyEndAllowThreads(__tstate
);
1395 if (PyErr_Occurred()) return NULL
;
1396 } Py_INCREF(Py_None
);
1397 _resultobj
= Py_None
;
1401 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1402 PyObject
* _resultobj
;
1404 char *_kwnames
[] = { NULL
};
1407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1411 _result
= (wxWindow
*)wxGetActiveWindow();
1413 wxPyEndAllowThreads(__tstate
);
1414 if (PyErr_Occurred()) return NULL
;
1415 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1419 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1420 PyObject
* _resultobj
;
1424 PyObject
* _obj0
= 0;
1425 char *_kwnames
[] = { "pt", NULL
};
1428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1432 if (! wxPoint_helper(_obj0
, &_arg0
))
1436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1437 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1439 wxPyEndAllowThreads(__tstate
);
1440 if (PyErr_Occurred()) return NULL
;
1441 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1445 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1446 PyObject
* _resultobj
;
1450 PyObject
* _obj0
= 0;
1451 char *_kwnames
[] = { "pt", NULL
};
1454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1458 if (! wxPoint_helper(_obj0
, &_arg0
))
1462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1463 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1465 wxPyEndAllowThreads(__tstate
);
1466 if (PyErr_Occurred()) return NULL
;
1467 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1471 static PyObject
*_wrap_wxCheckForInterrupt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1472 PyObject
* _resultobj
;
1475 PyObject
* _argo0
= 0;
1476 char *_kwnames
[] = { "wnd", NULL
};
1479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckForInterrupt",_kwnames
,&_argo0
))
1482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckForInterrupt. Expected _wxWindow_p.");
1489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1490 _result
= (bool )wxCheckForInterrupt(_arg0
);
1492 wxPyEndAllowThreads(__tstate
);
1493 if (PyErr_Occurred()) return NULL
;
1494 } _resultobj
= Py_BuildValue("i",_result
);
1498 static PyObject
*_wrap_wxFlushEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1499 PyObject
* _resultobj
;
1500 char *_kwnames
[] = { NULL
};
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFlushEvents",_kwnames
))
1506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1509 wxPyEndAllowThreads(__tstate
);
1510 if (PyErr_Occurred()) return NULL
;
1511 } Py_INCREF(Py_None
);
1512 _resultobj
= Py_None
;
1516 static PyObject
*_wrap_wxGetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
* _resultobj
;
1520 PyObject
* _argo0
= 0;
1521 char *_kwnames
[] = { "win", NULL
};
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetTopLevelParent",_kwnames
,&_argo0
))
1527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGetTopLevelParent. Expected _wxWindow_p.");
1534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1535 _result
= (wxWindow
*)wxGetTopLevelParent(_arg0
);
1537 wxPyEndAllowThreads(__tstate
);
1538 if (PyErr_Occurred()) return NULL
;
1539 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1543 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1544 PyObject
* _resultobj
;
1548 char *_kwnames
[] = { "name","value", NULL
};
1551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1555 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1557 wxPyEndAllowThreads(__tstate
);
1558 if (PyErr_Occurred()) return NULL
;
1559 } _resultobj
= Py_BuildValue("i",_result
);
1563 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1564 PyObject
* _resultobj
;
1565 char *_kwnames
[] = { NULL
};
1568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1574 wxPyEndAllowThreads(__tstate
);
1575 if (PyErr_Occurred()) return NULL
;
1576 } Py_INCREF(Py_None
);
1577 _resultobj
= Py_None
;
1581 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1582 PyObject
* _resultobj
;
1585 char *_kwnames
[] = { "resource", NULL
};
1589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1593 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1595 wxPyEndAllowThreads(__tstate
);
1596 if (PyErr_Occurred()) return NULL
;
1597 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1598 _resultobj
= Py_BuildValue("s",_ptemp
);
1602 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1603 PyObject
* _resultobj
;
1606 char *_kwnames
[] = { "resource", NULL
};
1610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1614 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1616 wxPyEndAllowThreads(__tstate
);
1617 if (PyErr_Occurred()) return NULL
;
1618 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1619 _resultobj
= Py_BuildValue("s",_ptemp
);
1623 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1624 PyObject
* _resultobj
;
1625 wxMenuBar
* _result
;
1627 char *_kwnames
[] = { "resource", NULL
};
1630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1634 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1636 wxPyEndAllowThreads(__tstate
);
1637 if (PyErr_Occurred()) return NULL
;
1638 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1642 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1643 PyObject
* _resultobj
;
1646 char *_kwnames
[] = { "name", NULL
};
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1653 _result
= (int )wxResourceGetIdentifier(_arg0
);
1655 wxPyEndAllowThreads(__tstate
);
1656 if (PyErr_Occurred()) return NULL
;
1657 } _resultobj
= Py_BuildValue("i",_result
);
1661 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1662 PyObject
* _resultobj
;
1665 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1666 PyObject
* _argo1
= 0;
1667 char *_kwnames
[] = { "resource","table", NULL
};
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1673 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1674 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1681 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1683 wxPyEndAllowThreads(__tstate
);
1684 if (PyErr_Occurred()) return NULL
;
1685 } _resultobj
= Py_BuildValue("i",_result
);
1689 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1690 PyObject
* _resultobj
;
1693 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1694 PyObject
* _argo1
= 0;
1695 char *_kwnames
[] = { "filename","table", NULL
};
1698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1701 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1702 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1709 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1711 wxPyEndAllowThreads(__tstate
);
1712 if (PyErr_Occurred()) return NULL
;
1713 } _resultobj
= Py_BuildValue("i",_result
);
1717 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1718 PyObject
* _resultobj
;
1721 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1722 PyObject
* _argo1
= 0;
1723 char *_kwnames
[] = { "resource","table", NULL
};
1726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1729 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1730 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1737 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1739 wxPyEndAllowThreads(__tstate
);
1740 if (PyErr_Occurred()) return NULL
;
1741 } _resultobj
= Py_BuildValue("i",_result
);
1745 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1746 PyObject
* _resultobj
;
1748 char *_kwnames
[] = { NULL
};
1751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1755 _result
= (int )wxCaret_GetBlinkTime();
1757 wxPyEndAllowThreads(__tstate
);
1758 if (PyErr_Occurred()) return NULL
;
1759 } _resultobj
= Py_BuildValue("i",_result
);
1763 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1764 PyObject
* _resultobj
;
1766 char *_kwnames
[] = { "milliseconds", NULL
};
1769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1773 wxCaret_SetBlinkTime(_arg0
);
1775 wxPyEndAllowThreads(__tstate
);
1776 if (PyErr_Occurred()) return NULL
;
1777 } Py_INCREF(Py_None
);
1778 _resultobj
= Py_None
;
1782 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
* _resultobj
;
1785 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1786 PyObject
* _argo0
= 0;
1787 char *_kwnames
[] = { "win", NULL
};
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1801 _result
= (bool )wxSafeYield(_arg0
);
1803 wxPyEndAllowThreads(__tstate
);
1804 if (PyErr_Occurred()) return NULL
;
1805 } _resultobj
= Py_BuildValue("i",_result
);
1809 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1810 PyObject
* _resultobj
;
1811 wxEvtHandler
* _arg0
;
1813 PyObject
* _argo0
= 0;
1814 PyObject
* _argo1
= 0;
1815 char *_kwnames
[] = { "dest","event", NULL
};
1818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1828 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1829 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1836 wxPostEvent(_arg0
,*_arg1
);
1838 wxPyEndAllowThreads(__tstate
);
1839 if (PyErr_Occurred()) return NULL
;
1840 } Py_INCREF(Py_None
);
1841 _resultobj
= Py_None
;
1845 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1846 PyObject
* _resultobj
;
1847 char *_kwnames
[] = { NULL
};
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1856 wxPyEndAllowThreads(__tstate
);
1857 if (PyErr_Occurred()) return NULL
;
1858 } Py_INCREF(Py_None
);
1859 _resultobj
= Py_None
;
1863 static PyObject
*_wrap_wxWakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1864 PyObject
* _resultobj
;
1865 char *_kwnames
[] = { NULL
};
1868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpMainThread",_kwnames
))
1871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1872 wxWakeUpMainThread();
1874 wxPyEndAllowThreads(__tstate
);
1875 if (PyErr_Occurred()) return NULL
;
1876 } Py_INCREF(Py_None
);
1877 _resultobj
= Py_None
;
1881 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1882 PyObject
* _resultobj
;
1883 char *_kwnames
[] = { NULL
};
1886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1892 wxPyEndAllowThreads(__tstate
);
1893 if (PyErr_Occurred()) return NULL
;
1894 } Py_INCREF(Py_None
);
1895 _resultobj
= Py_None
;
1899 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1900 PyObject
* _resultobj
;
1901 char *_kwnames
[] = { NULL
};
1904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1910 wxPyEndAllowThreads(__tstate
);
1911 if (PyErr_Occurred()) return NULL
;
1912 } Py_INCREF(Py_None
);
1913 _resultobj
= Py_None
;
1917 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1918 PyObject
* _resultobj
;
1920 char *_kwnames
[] = { NULL
};
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1927 _result
= (bool )wxThread_IsMain();
1929 wxPyEndAllowThreads(__tstate
);
1930 if (PyErr_Occurred()) return NULL
;
1931 } _resultobj
= Py_BuildValue("i",_result
);
1935 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1936 PyObject
* _resultobj
;
1939 wxTipProvider
* _arg1
;
1940 bool _arg2
= (bool ) TRUE
;
1941 PyObject
* _argo0
= 0;
1942 PyObject
* _argo1
= 0;
1943 int tempbool2
= (int) TRUE
;
1944 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1957 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1958 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1963 _arg2
= (bool ) tempbool2
;
1965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1966 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1968 wxPyEndAllowThreads(__tstate
);
1969 if (PyErr_Occurred()) return NULL
;
1970 } _resultobj
= Py_BuildValue("i",_result
);
1974 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
* _resultobj
;
1976 wxTipProvider
* _result
;
1979 PyObject
* _obj0
= 0;
1980 char *_kwnames
[] = { "filename","currentTip", NULL
};
1984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1987 _arg0
= wxString_in_helper(_obj0
);
1992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1993 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1995 wxPyEndAllowThreads(__tstate
);
1996 if (PyErr_Occurred()) return NULL
;
1998 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1999 _resultobj
= Py_BuildValue("s",_ptemp
);
2002 _resultobj
= Py_None
;
2011 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2012 PyObject
* _resultobj
;
2013 unsigned long _result
;
2014 char *_kwnames
[] = { NULL
};
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
2020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2021 _result
= (unsigned long )wxSysErrorCode();
2023 wxPyEndAllowThreads(__tstate
);
2024 if (PyErr_Occurred()) return NULL
;
2025 } _resultobj
= Py_BuildValue("l",_result
);
2029 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2030 PyObject
* _resultobj
;
2032 unsigned long _arg0
= (unsigned long ) 0;
2033 char *_kwnames
[] = { "nErrCode", NULL
};
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
2039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2040 _result
= new wxString (wxSysErrorMsg(_arg0
));
2042 wxPyEndAllowThreads(__tstate
);
2043 if (PyErr_Occurred()) return NULL
;
2046 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2048 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2057 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2058 PyObject
* _resultobj
;
2060 PyObject
* _obj0
= 0;
2061 char *_kwnames
[] = { "szFormat", NULL
};
2064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogFatalError",_kwnames
,&_obj0
))
2067 _arg0
= wxString_in_helper(_obj0
);
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 wxLogFatalError(*_arg0
);
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) return NULL
;
2077 } Py_INCREF(Py_None
);
2078 _resultobj
= Py_None
;
2086 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
* _resultobj
;
2089 PyObject
* _obj0
= 0;
2090 char *_kwnames
[] = { "szFormat", NULL
};
2093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogError",_kwnames
,&_obj0
))
2096 _arg0
= wxString_in_helper(_obj0
);
2101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2104 wxPyEndAllowThreads(__tstate
);
2105 if (PyErr_Occurred()) return NULL
;
2106 } Py_INCREF(Py_None
);
2107 _resultobj
= Py_None
;
2115 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2116 PyObject
* _resultobj
;
2118 PyObject
* _obj0
= 0;
2119 char *_kwnames
[] = { "szFormat", NULL
};
2122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWarning",_kwnames
,&_obj0
))
2125 _arg0
= wxString_in_helper(_obj0
);
2130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2131 wxLogWarning(*_arg0
);
2133 wxPyEndAllowThreads(__tstate
);
2134 if (PyErr_Occurred()) return NULL
;
2135 } Py_INCREF(Py_None
);
2136 _resultobj
= Py_None
;
2144 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2145 PyObject
* _resultobj
;
2147 PyObject
* _obj0
= 0;
2148 char *_kwnames
[] = { "szFormat", NULL
};
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogMessage",_kwnames
,&_obj0
))
2154 _arg0
= wxString_in_helper(_obj0
);
2159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2160 wxLogMessage(*_arg0
);
2162 wxPyEndAllowThreads(__tstate
);
2163 if (PyErr_Occurred()) return NULL
;
2164 } Py_INCREF(Py_None
);
2165 _resultobj
= Py_None
;
2173 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2174 PyObject
* _resultobj
;
2176 PyObject
* _obj0
= 0;
2177 char *_kwnames
[] = { "szFormat", NULL
};
2180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogInfo",_kwnames
,&_obj0
))
2183 _arg0
= wxString_in_helper(_obj0
);
2188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2191 wxPyEndAllowThreads(__tstate
);
2192 if (PyErr_Occurred()) return NULL
;
2193 } Py_INCREF(Py_None
);
2194 _resultobj
= Py_None
;
2202 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
* _resultobj
;
2205 PyObject
* _obj0
= 0;
2206 char *_kwnames
[] = { "szFormat", NULL
};
2209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogVerbose",_kwnames
,&_obj0
))
2212 _arg0
= wxString_in_helper(_obj0
);
2217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2218 wxLogVerbose(*_arg0
);
2220 wxPyEndAllowThreads(__tstate
);
2221 if (PyErr_Occurred()) return NULL
;
2222 } Py_INCREF(Py_None
);
2223 _resultobj
= Py_None
;
2231 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2232 PyObject
* _resultobj
;
2234 PyObject
* _obj0
= 0;
2235 char *_kwnames
[] = { "szFormat", NULL
};
2238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogStatus",_kwnames
,&_obj0
))
2241 _arg0
= wxString_in_helper(_obj0
);
2246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2247 wxLogStatus(*_arg0
);
2249 wxPyEndAllowThreads(__tstate
);
2250 if (PyErr_Occurred()) return NULL
;
2251 } Py_INCREF(Py_None
);
2252 _resultobj
= Py_None
;
2260 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2261 PyObject
* _resultobj
;
2264 PyObject
* _argo0
= 0;
2265 PyObject
* _obj1
= 0;
2266 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogStatusFrame",_kwnames
,&_argo0
,&_obj1
))
2272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2279 _arg1
= wxString_in_helper(_obj1
);
2284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2285 wxLogStatus(_arg0
,*_arg1
);
2287 wxPyEndAllowThreads(__tstate
);
2288 if (PyErr_Occurred()) return NULL
;
2289 } Py_INCREF(Py_None
);
2290 _resultobj
= Py_None
;
2298 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2299 PyObject
* _resultobj
;
2301 PyObject
* _obj0
= 0;
2302 char *_kwnames
[] = { "szFormat", NULL
};
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogSysError",_kwnames
,&_obj0
))
2308 _arg0
= wxString_in_helper(_obj0
);
2313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2314 wxLogSysError(*_arg0
);
2316 wxPyEndAllowThreads(__tstate
);
2317 if (PyErr_Occurred()) return NULL
;
2318 } Py_INCREF(Py_None
);
2319 _resultobj
= Py_None
;
2327 static PyObject
*_wrap_wxSafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2328 PyObject
* _resultobj
;
2331 PyObject
* _obj0
= 0;
2332 PyObject
* _obj1
= 0;
2333 char *_kwnames
[] = { "title","text", NULL
};
2336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSafeShowMessage",_kwnames
,&_obj0
,&_obj1
))
2339 _arg0
= wxString_in_helper(_obj0
);
2344 _arg1
= wxString_in_helper(_obj1
);
2349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2350 wxSafeShowMessage(*_arg0
,*_arg1
);
2352 wxPyEndAllowThreads(__tstate
);
2353 if (PyErr_Occurred()) return NULL
;
2354 } Py_INCREF(Py_None
);
2355 _resultobj
= Py_None
;
2367 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
* _resultobj
;
2371 int _arg1
= (int ) (wxEXEC_ASYNC
);
2372 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2373 PyObject
* _obj0
= 0;
2374 PyObject
* _argo2
= 0;
2375 char *_kwnames
[] = { "command","flags","process", NULL
};
2378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2381 _arg0
= wxString_in_helper(_obj0
);
2386 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2387 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2394 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2396 wxPyEndAllowThreads(__tstate
);
2397 if (PyErr_Occurred()) return NULL
;
2398 } _resultobj
= Py_BuildValue("l",_result
);
2406 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2407 PyObject
* _resultobj
;
2410 PyObject
* _obj0
= 0;
2411 char *_kwnames
[] = { "data", NULL
};
2415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2418 _arg0
= wxString_in_helper(_obj0
);
2423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2424 _result
= (wxWave
*)wxWaveData(*_arg0
);
2426 wxPyEndAllowThreads(__tstate
);
2427 if (PyErr_Occurred()) return NULL
;
2429 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2430 _resultobj
= Py_BuildValue("s",_ptemp
);
2433 _resultobj
= Py_None
;
2442 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2444 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2448 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2452 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2453 pyobj
= PyString_FromString(ptemp
);
2457 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2458 PyObject
* _resultobj
;
2460 wxSystemColour _arg0
;
2461 char *_kwnames
[] = { "index", NULL
};
2465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2469 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2471 wxPyEndAllowThreads(__tstate
);
2472 if (PyErr_Occurred()) return NULL
;
2473 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2474 _resultobj
= Py_BuildValue("s",_ptemp
);
2478 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2479 PyObject
* _resultobj
;
2482 char *_kwnames
[] = { "index", NULL
};
2486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2490 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2492 wxPyEndAllowThreads(__tstate
);
2493 if (PyErr_Occurred()) return NULL
;
2494 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2495 _resultobj
= Py_BuildValue("s",_ptemp
);
2499 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2500 PyObject
* _resultobj
;
2502 wxSystemMetric _arg0
;
2503 char *_kwnames
[] = { "index", NULL
};
2506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2510 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2512 wxPyEndAllowThreads(__tstate
);
2513 if (PyErr_Occurred()) return NULL
;
2514 } _resultobj
= Py_BuildValue("i",_result
);
2518 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
* _resultobj
;
2521 wxSystemFeature _arg0
;
2522 char *_kwnames
[] = { "index", NULL
};
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2529 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2531 wxPyEndAllowThreads(__tstate
);
2532 if (PyErr_Occurred()) return NULL
;
2533 } _resultobj
= Py_BuildValue("i",_result
);
2537 static PyObject
*_wrap_wxSystemSettings_GetScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2538 PyObject
* _resultobj
;
2539 wxSystemScreen _result
;
2540 char *_kwnames
[] = { NULL
};
2543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSystemSettings_GetScreen",_kwnames
))
2546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2547 _result
= (wxSystemScreen
)wxSystemSettings::GetScreen();
2549 wxPyEndAllowThreads(__tstate
);
2550 if (PyErr_Occurred()) return NULL
;
2551 } _resultobj
= Py_BuildValue("i",_result
);
2555 static PyObject
*_wrap_wxSystemSettings_SetScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
* _resultobj
;
2557 wxSystemScreen _arg0
;
2558 char *_kwnames
[] = { "screen", NULL
};
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_SetScreen",_kwnames
,&_arg0
))
2564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2565 wxSystemSettings::SetScreen(_arg0
);
2567 wxPyEndAllowThreads(__tstate
);
2568 if (PyErr_Occurred()) return NULL
;
2569 } Py_INCREF(Py_None
);
2570 _resultobj
= Py_None
;
2574 static void *SwigwxToolTipTowxObject(void *ptr
) {
2577 src
= (wxToolTip
*) ptr
;
2578 dest
= (wxObject
*) src
;
2579 return (void *) dest
;
2582 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2583 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2584 PyObject
* _resultobj
;
2585 wxToolTip
* _result
;
2587 PyObject
* _obj0
= 0;
2588 char *_kwnames
[] = { "tip", NULL
};
2592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2595 _arg0
= wxString_in_helper(_obj0
);
2600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2601 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2603 wxPyEndAllowThreads(__tstate
);
2604 if (PyErr_Occurred()) return NULL
;
2606 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2607 _resultobj
= Py_BuildValue("s",_ptemp
);
2610 _resultobj
= Py_None
;
2619 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2620 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2621 PyObject
* _resultobj
;
2624 PyObject
* _argo0
= 0;
2625 PyObject
* _obj1
= 0;
2626 char *_kwnames
[] = { "self","tip", NULL
};
2629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2639 _arg1
= wxString_in_helper(_obj1
);
2644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2645 wxToolTip_SetTip(_arg0
,*_arg1
);
2647 wxPyEndAllowThreads(__tstate
);
2648 if (PyErr_Occurred()) return NULL
;
2649 } Py_INCREF(Py_None
);
2650 _resultobj
= Py_None
;
2658 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2659 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2660 PyObject
* _resultobj
;
2663 PyObject
* _argo0
= 0;
2664 char *_kwnames
[] = { "self", NULL
};
2667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2678 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2680 wxPyEndAllowThreads(__tstate
);
2681 if (PyErr_Occurred()) return NULL
;
2684 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2686 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2695 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2696 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2697 PyObject
* _resultobj
;
2700 PyObject
* _argo0
= 0;
2701 char *_kwnames
[] = { "self", NULL
};
2704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2715 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2717 wxPyEndAllowThreads(__tstate
);
2718 if (PyErr_Occurred()) return NULL
;
2719 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2723 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2724 PyObject
* _resultobj
;
2727 char *_kwnames
[] = { "flag", NULL
};
2730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2732 _arg0
= (bool ) tempbool0
;
2734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2735 wxToolTip::Enable(_arg0
);
2737 wxPyEndAllowThreads(__tstate
);
2738 if (PyErr_Occurred()) return NULL
;
2739 } Py_INCREF(Py_None
);
2740 _resultobj
= Py_None
;
2744 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2745 PyObject
* _resultobj
;
2747 char *_kwnames
[] = { "milliseconds", NULL
};
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2754 wxToolTip::SetDelay(_arg0
);
2756 wxPyEndAllowThreads(__tstate
);
2757 if (PyErr_Occurred()) return NULL
;
2758 } Py_INCREF(Py_None
);
2759 _resultobj
= Py_None
;
2763 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2764 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2765 PyObject
* _resultobj
;
2769 PyObject
* _argo0
= 0;
2771 PyObject
* _obj1
= 0;
2772 char *_kwnames
[] = { "window","size", NULL
};
2776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2787 if (! wxSize_helper(_obj1
, &_arg1
))
2791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2792 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2794 wxPyEndAllowThreads(__tstate
);
2795 if (PyErr_Occurred()) return NULL
;
2797 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2798 _resultobj
= Py_BuildValue("s",_ptemp
);
2801 _resultobj
= Py_None
;
2806 #define delete_wxCaret(_swigobj) (delete _swigobj)
2807 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
* _resultobj
;
2810 PyObject
* _argo0
= 0;
2811 char *_kwnames
[] = { "self", NULL
};
2814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2825 delete_wxCaret(_arg0
);
2827 wxPyEndAllowThreads(__tstate
);
2828 if (PyErr_Occurred()) return NULL
;
2829 } Py_INCREF(Py_None
);
2830 _resultobj
= Py_None
;
2834 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2835 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2836 PyObject
* _resultobj
;
2839 PyObject
* _argo0
= 0;
2840 char *_kwnames
[] = { "self", NULL
};
2843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2854 _result
= (bool )wxCaret_IsOk(_arg0
);
2856 wxPyEndAllowThreads(__tstate
);
2857 if (PyErr_Occurred()) return NULL
;
2858 } _resultobj
= Py_BuildValue("i",_result
);
2862 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2863 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
* _resultobj
;
2867 PyObject
* _argo0
= 0;
2868 char *_kwnames
[] = { "self", NULL
};
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2882 _result
= (bool )wxCaret_IsVisible(_arg0
);
2884 wxPyEndAllowThreads(__tstate
);
2885 if (PyErr_Occurred()) return NULL
;
2886 } _resultobj
= Py_BuildValue("i",_result
);
2890 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2891 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2892 PyObject
* _resultobj
;
2898 PyObject
* _argo0
= 0;
2899 char *_kwnames
[] = { "self", NULL
};
2908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2919 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2921 wxPyEndAllowThreads(__tstate
);
2922 if (PyErr_Occurred()) return NULL
;
2923 } Py_INCREF(Py_None
);
2924 _resultobj
= Py_None
;
2927 o
= PyInt_FromLong((long) (*_arg1
));
2928 _resultobj
= t_output_helper(_resultobj
, o
);
2932 o
= PyInt_FromLong((long) (*_arg2
));
2933 _resultobj
= t_output_helper(_resultobj
, o
);
2938 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2939 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2940 PyObject
* _resultobj
;
2943 PyObject
* _argo0
= 0;
2944 char *_kwnames
[] = { "self", NULL
};
2948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2959 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2961 wxPyEndAllowThreads(__tstate
);
2962 if (PyErr_Occurred()) return NULL
;
2963 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2964 _resultobj
= Py_BuildValue("s",_ptemp
);
2968 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2969 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2970 PyObject
* _resultobj
;
2976 PyObject
* _argo0
= 0;
2977 char *_kwnames
[] = { "self", NULL
};
2986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2997 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2999 wxPyEndAllowThreads(__tstate
);
3000 if (PyErr_Occurred()) return NULL
;
3001 } Py_INCREF(Py_None
);
3002 _resultobj
= Py_None
;
3005 o
= PyInt_FromLong((long) (*_arg1
));
3006 _resultobj
= t_output_helper(_resultobj
, o
);
3010 o
= PyInt_FromLong((long) (*_arg2
));
3011 _resultobj
= t_output_helper(_resultobj
, o
);
3016 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
3017 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
* _resultobj
;
3021 PyObject
* _argo0
= 0;
3022 char *_kwnames
[] = { "self", NULL
};
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
3029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
3036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3037 _result
= new wxSize (wxCaret_GetSize(_arg0
));
3039 wxPyEndAllowThreads(__tstate
);
3040 if (PyErr_Occurred()) return NULL
;
3041 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
3042 _resultobj
= Py_BuildValue("s",_ptemp
);
3046 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
3047 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3048 PyObject
* _resultobj
;
3051 PyObject
* _argo0
= 0;
3052 char *_kwnames
[] = { "self", NULL
};
3055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
3058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
3065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3066 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
3068 wxPyEndAllowThreads(__tstate
);
3069 if (PyErr_Occurred()) return NULL
;
3070 }{ _resultobj
= wxPyMake_wxObject(_result
); }
3074 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
3075 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3076 PyObject
* _resultobj
;
3080 PyObject
* _argo0
= 0;
3081 char *_kwnames
[] = { "self","x","y", NULL
};
3084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3087 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3088 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
3094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3095 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
3097 wxPyEndAllowThreads(__tstate
);
3098 if (PyErr_Occurred()) return NULL
;
3099 } Py_INCREF(Py_None
);
3100 _resultobj
= Py_None
;
3104 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3105 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3106 PyObject
* _resultobj
;
3109 PyObject
* _argo0
= 0;
3111 PyObject
* _obj1
= 0;
3112 char *_kwnames
[] = { "self","pt", NULL
};
3115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
3118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
3126 if (! wxPoint_helper(_obj1
, &_arg1
))
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3131 wxCaret_Move(_arg0
,*_arg1
);
3133 wxPyEndAllowThreads(__tstate
);
3134 if (PyErr_Occurred()) return NULL
;
3135 } Py_INCREF(Py_None
);
3136 _resultobj
= Py_None
;
3140 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
3141 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
* _resultobj
;
3146 PyObject
* _argo0
= 0;
3147 char *_kwnames
[] = { "self","width","height", NULL
};
3150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
3160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3161 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
3163 wxPyEndAllowThreads(__tstate
);
3164 if (PyErr_Occurred()) return NULL
;
3165 } Py_INCREF(Py_None
);
3166 _resultobj
= Py_None
;
3170 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3171 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
* _resultobj
;
3175 PyObject
* _argo0
= 0;
3177 PyObject
* _obj1
= 0;
3178 char *_kwnames
[] = { "self","size", NULL
};
3181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
3184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3192 if (! wxSize_helper(_obj1
, &_arg1
))
3196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3197 wxCaret_SetSize(_arg0
,*_arg1
);
3199 wxPyEndAllowThreads(__tstate
);
3200 if (PyErr_Occurred()) return NULL
;
3201 } Py_INCREF(Py_None
);
3202 _resultobj
= Py_None
;
3206 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3207 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
* _resultobj
;
3210 int _arg1
= (int ) TRUE
;
3211 PyObject
* _argo0
= 0;
3212 char *_kwnames
[] = { "self","show", NULL
};
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3226 wxCaret_Show(_arg0
,_arg1
);
3228 wxPyEndAllowThreads(__tstate
);
3229 if (PyErr_Occurred()) return NULL
;
3230 } Py_INCREF(Py_None
);
3231 _resultobj
= Py_None
;
3235 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3236 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
* _resultobj
;
3239 PyObject
* _argo0
= 0;
3240 char *_kwnames
[] = { "self", NULL
};
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3246 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3247 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3248 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3254 wxCaret_Hide(_arg0
);
3256 wxPyEndAllowThreads(__tstate
);
3257 if (PyErr_Occurred()) return NULL
;
3258 } Py_INCREF(Py_None
);
3259 _resultobj
= Py_None
;
3263 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3264 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3265 PyObject
* _resultobj
;
3266 wxBusyCursor
* _result
;
3267 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3268 PyObject
* _argo0
= 0;
3269 char *_kwnames
[] = { "cursor", NULL
};
3273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) return NULL
;
3289 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3290 _resultobj
= Py_BuildValue("s",_ptemp
);
3293 _resultobj
= Py_None
;
3298 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3299 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3300 PyObject
* _resultobj
;
3301 wxBusyCursor
* _arg0
;
3302 PyObject
* _argo0
= 0;
3303 char *_kwnames
[] = { "self", NULL
};
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3317 delete_wxBusyCursor(_arg0
);
3319 wxPyEndAllowThreads(__tstate
);
3320 if (PyErr_Occurred()) return NULL
;
3321 } Py_INCREF(Py_None
);
3322 _resultobj
= Py_None
;
3326 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3327 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
* _resultobj
;
3329 wxWindowDisabler
* _result
;
3330 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3331 PyObject
* _argo0
= 0;
3332 char *_kwnames
[] = { "winToSkip", NULL
};
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3339 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3340 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3341 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3347 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3349 wxPyEndAllowThreads(__tstate
);
3350 if (PyErr_Occurred()) return NULL
;
3352 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3353 _resultobj
= Py_BuildValue("s",_ptemp
);
3356 _resultobj
= Py_None
;
3361 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3362 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3363 PyObject
* _resultobj
;
3364 wxWindowDisabler
* _arg0
;
3365 PyObject
* _argo0
= 0;
3366 char *_kwnames
[] = { "self", NULL
};
3369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3380 delete_wxWindowDisabler(_arg0
);
3382 wxPyEndAllowThreads(__tstate
);
3383 if (PyErr_Occurred()) return NULL
;
3384 } Py_INCREF(Py_None
);
3385 _resultobj
= Py_None
;
3389 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3390 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3391 PyObject
* _resultobj
;
3392 wxMutexGuiLocker
* _result
;
3393 char *_kwnames
[] = { NULL
};
3397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3401 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3403 wxPyEndAllowThreads(__tstate
);
3404 if (PyErr_Occurred()) return NULL
;
3406 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3407 _resultobj
= Py_BuildValue("s",_ptemp
);
3410 _resultobj
= Py_None
;
3415 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3416 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
* _resultobj
;
3418 wxMutexGuiLocker
* _arg0
;
3419 PyObject
* _argo0
= 0;
3420 char *_kwnames
[] = { "self", NULL
};
3423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3434 delete_wxMutexGuiLocker(_arg0
);
3436 wxPyEndAllowThreads(__tstate
);
3437 if (PyErr_Occurred()) return NULL
;
3438 } Py_INCREF(Py_None
);
3439 _resultobj
= Py_None
;
3443 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3444 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3445 PyObject
* _resultobj
;
3446 wxTipProvider
* _arg0
;
3447 PyObject
* _argo0
= 0;
3448 char *_kwnames
[] = { "self", NULL
};
3451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3462 delete_wxTipProvider(_arg0
);
3464 wxPyEndAllowThreads(__tstate
);
3465 if (PyErr_Occurred()) return NULL
;
3466 } Py_INCREF(Py_None
);
3467 _resultobj
= Py_None
;
3471 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3472 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
* _resultobj
;
3475 wxTipProvider
* _arg0
;
3476 PyObject
* _argo0
= 0;
3477 char *_kwnames
[] = { "self", NULL
};
3480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3491 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3493 wxPyEndAllowThreads(__tstate
);
3494 if (PyErr_Occurred()) return NULL
;
3497 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3499 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3508 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3509 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3510 PyObject
* _resultobj
;
3512 wxTipProvider
* _arg0
;
3513 PyObject
* _argo0
= 0;
3514 char *_kwnames
[] = { "self", NULL
};
3517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3528 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3530 wxPyEndAllowThreads(__tstate
);
3531 if (PyErr_Occurred()) return NULL
;
3532 } _resultobj
= Py_BuildValue("i",_result
);
3536 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3537 wxPyTipProvider
*src
;
3538 wxTipProvider
*dest
;
3539 src
= (wxPyTipProvider
*) ptr
;
3540 dest
= (wxTipProvider
*) src
;
3541 return (void *) dest
;
3544 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3545 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
* _resultobj
;
3547 wxPyTipProvider
* _result
;
3549 char *_kwnames
[] = { "currentTip", NULL
};
3553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3557 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3559 wxPyEndAllowThreads(__tstate
);
3560 if (PyErr_Occurred()) return NULL
;
3562 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3563 _resultobj
= Py_BuildValue("s",_ptemp
);
3566 _resultobj
= Py_None
;
3571 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3572 wxGenericDragImage
*src
;
3574 src
= (wxGenericDragImage
*) ptr
;
3575 dest
= (wxObject
*) src
;
3576 return (void *) dest
;
3579 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3580 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3581 PyObject
* _resultobj
;
3582 wxGenericDragImage
* _result
;
3584 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3585 PyObject
* _argo0
= 0;
3586 PyObject
* _argo1
= 0;
3587 char *_kwnames
[] = { "image","cursor", NULL
};
3591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3601 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3602 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3609 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3611 wxPyEndAllowThreads(__tstate
);
3612 if (PyErr_Occurred()) return NULL
;
3614 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3615 _resultobj
= Py_BuildValue("s",_ptemp
);
3618 _resultobj
= Py_None
;
3623 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3624 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
* _resultobj
;
3626 wxGenericDragImage
* _result
;
3628 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3629 PyObject
* _argo0
= 0;
3630 PyObject
* _argo1
= 0;
3631 char *_kwnames
[] = { "image","cursor", NULL
};
3635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3645 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3646 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) return NULL
;
3658 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3659 _resultobj
= Py_BuildValue("s",_ptemp
);
3662 _resultobj
= Py_None
;
3667 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3668 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
* _resultobj
;
3670 wxGenericDragImage
* _result
;
3672 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3673 PyObject
* _obj0
= 0;
3674 PyObject
* _argo1
= 0;
3675 char *_kwnames
[] = { "str","cursor", NULL
};
3679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3682 _arg0
= wxString_in_helper(_obj0
);
3687 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3688 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3695 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3697 wxPyEndAllowThreads(__tstate
);
3698 if (PyErr_Occurred()) return NULL
;
3700 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3701 _resultobj
= Py_BuildValue("s",_ptemp
);
3704 _resultobj
= Py_None
;
3713 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3714 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
* _resultobj
;
3716 wxGenericDragImage
* _result
;
3718 wxTreeItemId
* _arg1
;
3719 PyObject
* _argo0
= 0;
3720 PyObject
* _argo1
= 0;
3721 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3735 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3736 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) return NULL
;
3748 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3749 _resultobj
= Py_BuildValue("s",_ptemp
);
3752 _resultobj
= Py_None
;
3757 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3758 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
* _resultobj
;
3760 wxGenericDragImage
* _result
;
3763 PyObject
* _argo0
= 0;
3764 char *_kwnames
[] = { "listCtrl","id", NULL
};
3768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3771 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3772 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3779 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3781 wxPyEndAllowThreads(__tstate
);
3782 if (PyErr_Occurred()) return NULL
;
3784 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3785 _resultobj
= Py_BuildValue("s",_ptemp
);
3788 _resultobj
= Py_None
;
3793 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3794 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3795 PyObject
* _resultobj
;
3796 wxGenericDragImage
* _arg0
;
3797 PyObject
* _argo0
= 0;
3798 char *_kwnames
[] = { "self", NULL
};
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3812 delete_wxGenericDragImage(_arg0
);
3814 wxPyEndAllowThreads(__tstate
);
3815 if (PyErr_Occurred()) return NULL
;
3816 } Py_INCREF(Py_None
);
3817 _resultobj
= Py_None
;
3821 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3822 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
* _resultobj
;
3824 wxGenericDragImage
* _arg0
;
3826 PyObject
* _argo0
= 0;
3827 PyObject
* _argo1
= 0;
3828 char *_kwnames
[] = { "self","bitmap", NULL
};
3831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3841 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3842 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) return NULL
;
3853 } Py_INCREF(Py_None
);
3854 _resultobj
= Py_None
;
3858 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3859 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
* _resultobj
;
3862 wxGenericDragImage
* _arg0
;
3865 bool _arg3
= (bool ) FALSE
;
3866 wxRect
* _arg4
= (wxRect
*) NULL
;
3867 PyObject
* _argo0
= 0;
3869 PyObject
* _obj1
= 0;
3870 PyObject
* _argo2
= 0;
3871 int tempbool3
= (int) FALSE
;
3873 PyObject
* _obj4
= 0;
3874 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3888 if (! wxPoint_helper(_obj1
, &_arg1
))
3892 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3893 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3898 _arg3
= (bool ) tempbool3
;
3902 if (! wxRect_helper(_obj4
, &_arg4
))
3906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3907 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3909 wxPyEndAllowThreads(__tstate
);
3910 if (PyErr_Occurred()) return NULL
;
3911 } _resultobj
= Py_BuildValue("i",_result
);
3915 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3916 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3917 PyObject
* _resultobj
;
3919 wxGenericDragImage
* _arg0
;
3923 PyObject
* _argo0
= 0;
3925 PyObject
* _obj1
= 0;
3926 PyObject
* _argo2
= 0;
3927 PyObject
* _argo3
= 0;
3928 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3942 if (! wxPoint_helper(_obj1
, &_arg1
))
3946 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3947 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3953 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3954 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3961 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3963 wxPyEndAllowThreads(__tstate
);
3964 if (PyErr_Occurred()) return NULL
;
3965 } _resultobj
= Py_BuildValue("i",_result
);
3969 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3970 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
* _resultobj
;
3973 wxGenericDragImage
* _arg0
;
3974 PyObject
* _argo0
= 0;
3975 char *_kwnames
[] = { "self", NULL
};
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3989 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3991 wxPyEndAllowThreads(__tstate
);
3992 if (PyErr_Occurred()) return NULL
;
3993 } _resultobj
= Py_BuildValue("i",_result
);
3997 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3998 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3999 PyObject
* _resultobj
;
4001 wxGenericDragImage
* _arg0
;
4003 PyObject
* _argo0
= 0;
4005 PyObject
* _obj1
= 0;
4006 char *_kwnames
[] = { "self","pt", NULL
};
4009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
4012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
4020 if (! wxPoint_helper(_obj1
, &_arg1
))
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) return NULL
;
4029 } _resultobj
= Py_BuildValue("i",_result
);
4033 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
4034 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
* _resultobj
;
4037 wxGenericDragImage
* _arg0
;
4038 PyObject
* _argo0
= 0;
4039 char *_kwnames
[] = { "self", NULL
};
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
4045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4053 _result
= (bool )wxDragImage_Show(_arg0
);
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) return NULL
;
4057 } _resultobj
= Py_BuildValue("i",_result
);
4061 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
4062 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
* _resultobj
;
4065 wxGenericDragImage
* _arg0
;
4066 PyObject
* _argo0
= 0;
4067 char *_kwnames
[] = { "self", NULL
};
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
4073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 _result
= (bool )wxDragImage_Hide(_arg0
);
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) return NULL
;
4085 } _resultobj
= Py_BuildValue("i",_result
);
4089 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
4090 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4091 PyObject
* _resultobj
;
4093 wxGenericDragImage
* _arg0
;
4095 PyObject
* _argo0
= 0;
4097 PyObject
* _obj1
= 0;
4098 char *_kwnames
[] = { "self","pos", NULL
};
4102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4113 if (! wxPoint_helper(_obj1
, &_arg1
))
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) return NULL
;
4122 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4123 _resultobj
= Py_BuildValue("s",_ptemp
);
4127 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4128 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4129 PyObject
* _resultobj
;
4131 wxGenericDragImage
* _arg0
;
4136 PyObject
* _argo0
= 0;
4138 PyObject
* _obj1
= 0;
4140 PyObject
* _obj2
= 0;
4143 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4157 if (! wxPoint_helper(_obj1
, &_arg1
))
4162 if (! wxPoint_helper(_obj2
, &_arg2
))
4165 _arg3
= (bool ) tempbool3
;
4166 _arg4
= (bool ) tempbool4
;
4168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4169 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4171 wxPyEndAllowThreads(__tstate
);
4172 if (PyErr_Occurred()) return NULL
;
4173 } _resultobj
= Py_BuildValue("i",_result
);
4177 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4180 src
= (wxPyTimer
*) ptr
;
4181 dest
= (wxObject
*) src
;
4182 return (void *) dest
;
4185 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4186 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
* _resultobj
;
4188 wxPyTimer
* _result
;
4190 PyObject
* _obj0
= 0;
4191 char *_kwnames
[] = { "notify", NULL
};
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4202 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4204 wxPyEndAllowThreads(__tstate
);
4205 if (PyErr_Occurred()) return NULL
;
4207 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4208 _resultobj
= Py_BuildValue("s",_ptemp
);
4211 _resultobj
= Py_None
;
4216 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4217 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
* _resultobj
;
4220 PyObject
* _argo0
= 0;
4221 char *_kwnames
[] = { "self", NULL
};
4224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 delete_wxPyTimer(_arg0
);
4237 wxPyEndAllowThreads(__tstate
);
4238 if (PyErr_Occurred()) return NULL
;
4239 } Py_INCREF(Py_None
);
4240 _resultobj
= Py_None
;
4244 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4245 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
* _resultobj
;
4249 PyObject
* _argo0
= 0;
4250 char *_kwnames
[] = { "self", NULL
};
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) return NULL
;
4268 } _resultobj
= Py_BuildValue("i",_result
);
4272 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4273 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
* _resultobj
;
4277 PyObject
* _argo0
= 0;
4278 char *_kwnames
[] = { "self", NULL
};
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4292 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) return NULL
;
4296 } _resultobj
= Py_BuildValue("i",_result
);
4300 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4301 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
* _resultobj
;
4305 PyObject
* _argo0
= 0;
4306 char *_kwnames
[] = { "self", NULL
};
4309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4320 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4322 wxPyEndAllowThreads(__tstate
);
4323 if (PyErr_Occurred()) return NULL
;
4324 } _resultobj
= Py_BuildValue("i",_result
);
4328 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4329 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4330 PyObject
* _resultobj
;
4332 wxEvtHandler
* _arg1
;
4333 int _arg2
= (int ) -1;
4334 PyObject
* _argo0
= 0;
4335 PyObject
* _argo1
= 0;
4336 char *_kwnames
[] = { "self","owner","id", NULL
};
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4349 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4350 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4357 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4359 wxPyEndAllowThreads(__tstate
);
4360 if (PyErr_Occurred()) return NULL
;
4361 } Py_INCREF(Py_None
);
4362 _resultobj
= Py_None
;
4366 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4367 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
* _resultobj
;
4370 int _arg1
= (int ) -1;
4371 int _arg2
= (int ) FALSE
;
4372 PyObject
* _argo0
= 0;
4373 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4387 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4389 wxPyEndAllowThreads(__tstate
);
4390 if (PyErr_Occurred()) return NULL
;
4391 } Py_INCREF(Py_None
);
4392 _resultobj
= Py_None
;
4396 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4397 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
* _resultobj
;
4400 PyObject
* _argo0
= 0;
4401 char *_kwnames
[] = { "self", NULL
};
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 wxPyTimer_Stop(_arg0
);
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) return NULL
;
4419 } Py_INCREF(Py_None
);
4420 _resultobj
= Py_None
;
4424 #define new_wxStopWatch() (new wxStopWatch())
4425 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
* _resultobj
;
4427 wxStopWatch
* _result
;
4428 char *_kwnames
[] = { NULL
};
4432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4436 _result
= (wxStopWatch
*)new_wxStopWatch();
4438 wxPyEndAllowThreads(__tstate
);
4439 if (PyErr_Occurred()) return NULL
;
4441 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4442 _resultobj
= Py_BuildValue("s",_ptemp
);
4445 _resultobj
= Py_None
;
4450 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4451 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4452 PyObject
* _resultobj
;
4453 wxStopWatch
* _arg0
;
4454 PyObject
* _argo0
= 0;
4455 char *_kwnames
[] = { "self", NULL
};
4458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4469 delete_wxStopWatch(_arg0
);
4471 wxPyEndAllowThreads(__tstate
);
4472 if (PyErr_Occurred()) return NULL
;
4473 } Py_INCREF(Py_None
);
4474 _resultobj
= Py_None
;
4478 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4479 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
* _resultobj
;
4481 wxStopWatch
* _arg0
;
4482 long _arg1
= (long ) 0;
4483 PyObject
* _argo0
= 0;
4484 char *_kwnames
[] = { "self","t", NULL
};
4487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4498 wxStopWatch_Start(_arg0
,_arg1
);
4500 wxPyEndAllowThreads(__tstate
);
4501 if (PyErr_Occurred()) return NULL
;
4502 } Py_INCREF(Py_None
);
4503 _resultobj
= Py_None
;
4507 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4508 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
* _resultobj
;
4510 wxStopWatch
* _arg0
;
4511 PyObject
* _argo0
= 0;
4512 char *_kwnames
[] = { "self", NULL
};
4515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4526 wxStopWatch_Pause(_arg0
);
4528 wxPyEndAllowThreads(__tstate
);
4529 if (PyErr_Occurred()) return NULL
;
4530 } Py_INCREF(Py_None
);
4531 _resultobj
= Py_None
;
4535 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4536 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4537 PyObject
* _resultobj
;
4538 wxStopWatch
* _arg0
;
4539 PyObject
* _argo0
= 0;
4540 char *_kwnames
[] = { "self", NULL
};
4543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4546 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4547 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4554 wxStopWatch_Resume(_arg0
);
4556 wxPyEndAllowThreads(__tstate
);
4557 if (PyErr_Occurred()) return NULL
;
4558 } Py_INCREF(Py_None
);
4559 _resultobj
= Py_None
;
4563 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4564 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4565 PyObject
* _resultobj
;
4567 wxStopWatch
* _arg0
;
4568 PyObject
* _argo0
= 0;
4569 char *_kwnames
[] = { "self", NULL
};
4572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4583 _result
= (long )wxStopWatch_Time(_arg0
);
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) return NULL
;
4587 } _resultobj
= Py_BuildValue("l",_result
);
4591 #define new_wxLog() (new wxLog())
4592 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
* _resultobj
;
4595 char *_kwnames
[] = { NULL
};
4599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4603 _result
= (wxLog
*)new_wxLog();
4605 wxPyEndAllowThreads(__tstate
);
4606 if (PyErr_Occurred()) return NULL
;
4608 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4609 _resultobj
= Py_BuildValue("s",_ptemp
);
4612 _resultobj
= Py_None
;
4617 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4618 PyObject
* _resultobj
;
4620 char *_kwnames
[] = { NULL
};
4623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4627 _result
= (bool )wxLog::IsEnabled();
4629 wxPyEndAllowThreads(__tstate
);
4630 if (PyErr_Occurred()) return NULL
;
4631 } _resultobj
= Py_BuildValue("i",_result
);
4635 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
* _resultobj
;
4638 bool _arg0
= (bool ) TRUE
;
4639 int tempbool0
= (int) TRUE
;
4640 char *_kwnames
[] = { "doIt", NULL
};
4643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4645 _arg0
= (bool ) tempbool0
;
4647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4648 _result
= (bool )wxLog::EnableLogging(_arg0
);
4650 wxPyEndAllowThreads(__tstate
);
4651 if (PyErr_Occurred()) return NULL
;
4652 } _resultobj
= Py_BuildValue("i",_result
);
4656 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4657 PyObject
* _resultobj
;
4660 int _arg2
= (int ) 0;
4661 PyObject
* _argo0
= 0;
4662 PyObject
* _obj1
= 0;
4663 char *_kwnames
[] = { "level","szString","t", NULL
};
4666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxLog_OnLog",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4676 _arg1
= wxString_in_helper(_obj1
);
4681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4682 wxLog::OnLog(*_arg0
,*_arg1
,_arg2
);
4684 wxPyEndAllowThreads(__tstate
);
4685 if (PyErr_Occurred()) return NULL
;
4686 } Py_INCREF(Py_None
);
4687 _resultobj
= Py_None
;
4695 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4696 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4697 PyObject
* _resultobj
;
4699 PyObject
* _argo0
= 0;
4700 char *_kwnames
[] = { "self", NULL
};
4703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4716 wxPyEndAllowThreads(__tstate
);
4717 if (PyErr_Occurred()) return NULL
;
4718 } Py_INCREF(Py_None
);
4719 _resultobj
= Py_None
;
4723 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4724 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
* _resultobj
;
4728 PyObject
* _argo0
= 0;
4729 char *_kwnames
[] = { "self", NULL
};
4732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4743 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4745 wxPyEndAllowThreads(__tstate
);
4746 if (PyErr_Occurred()) return NULL
;
4747 } _resultobj
= Py_BuildValue("i",_result
);
4751 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
* _resultobj
;
4753 char *_kwnames
[] = { NULL
};
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 wxLog::FlushActive();
4762 wxPyEndAllowThreads(__tstate
);
4763 if (PyErr_Occurred()) return NULL
;
4764 } Py_INCREF(Py_None
);
4765 _resultobj
= Py_None
;
4769 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4770 PyObject
* _resultobj
;
4772 char *_kwnames
[] = { NULL
};
4776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4780 _result
= (wxLog
*)wxLog::GetActiveTarget();
4782 wxPyEndAllowThreads(__tstate
);
4783 if (PyErr_Occurred()) return NULL
;
4785 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4786 _resultobj
= Py_BuildValue("s",_ptemp
);
4789 _resultobj
= Py_None
;
4794 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4795 PyObject
* _resultobj
;
4798 PyObject
* _argo0
= 0;
4799 char *_kwnames
[] = { "pLogger", NULL
};
4803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) return NULL
;
4819 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4820 _resultobj
= Py_BuildValue("s",_ptemp
);
4823 _resultobj
= Py_None
;
4828 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4829 PyObject
* _resultobj
;
4830 char *_kwnames
[] = { NULL
};
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) return NULL
;
4841 } Py_INCREF(Py_None
);
4842 _resultobj
= Py_None
;
4846 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
* _resultobj
;
4848 char *_kwnames
[] = { NULL
};
4851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4857 wxPyEndAllowThreads(__tstate
);
4858 if (PyErr_Occurred()) return NULL
;
4859 } Py_INCREF(Py_None
);
4860 _resultobj
= Py_None
;
4864 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
* _resultobj
;
4866 bool _arg0
= (bool ) TRUE
;
4867 int tempbool0
= (int) TRUE
;
4868 char *_kwnames
[] = { "bVerbose", NULL
};
4871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_SetVerbose",_kwnames
,&tempbool0
))
4873 _arg0
= (bool ) tempbool0
;
4875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4876 wxLog::SetVerbose(_arg0
);
4878 wxPyEndAllowThreads(__tstate
);
4879 if (PyErr_Occurred()) return NULL
;
4880 } Py_INCREF(Py_None
);
4881 _resultobj
= Py_None
;
4885 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
* _resultobj
;
4887 char *_kwnames
[] = { NULL
};
4890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4894 wxLog::DontCreateOnDemand();
4896 wxPyEndAllowThreads(__tstate
);
4897 if (PyErr_Occurred()) return NULL
;
4898 } Py_INCREF(Py_None
);
4899 _resultobj
= Py_None
;
4903 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4904 PyObject
* _resultobj
;
4905 wxTraceMask
* _arg0
;
4906 PyObject
* _argo0
= 0;
4907 char *_kwnames
[] = { "ulMask", NULL
};
4910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4921 wxLog::SetTraceMask(*_arg0
);
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) return NULL
;
4925 } Py_INCREF(Py_None
);
4926 _resultobj
= Py_None
;
4930 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4931 PyObject
* _resultobj
;
4933 PyObject
* _obj0
= 0;
4934 char *_kwnames
[] = { "str", NULL
};
4937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4940 _arg0
= wxString_in_helper(_obj0
);
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 wxLog::AddTraceMask(*_arg0
);
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) return NULL
;
4950 } Py_INCREF(Py_None
);
4951 _resultobj
= Py_None
;
4959 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
* _resultobj
;
4962 PyObject
* _obj0
= 0;
4963 char *_kwnames
[] = { "str", NULL
};
4966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4969 _arg0
= wxString_in_helper(_obj0
);
4974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4975 wxLog::RemoveTraceMask(*_arg0
);
4977 wxPyEndAllowThreads(__tstate
);
4978 if (PyErr_Occurred()) return NULL
;
4979 } Py_INCREF(Py_None
);
4980 _resultobj
= Py_None
;
4988 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
* _resultobj
;
4990 char *_kwnames
[] = { NULL
};
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
4996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4997 wxLog::ClearTraceMasks();
4999 wxPyEndAllowThreads(__tstate
);
5000 if (PyErr_Occurred()) return NULL
;
5001 } Py_INCREF(Py_None
);
5002 _resultobj
= Py_None
;
5006 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5007 PyObject
* _resultobj
;
5009 PyObject
* _obj0
= 0;
5010 char *_kwnames
[] = { "ts", NULL
};
5013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTimestamp",_kwnames
,&_obj0
))
5016 _arg0
= wxString_in_helper(_obj0
);
5021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5022 wxLog::SetTimestamp(*_arg0
);
5024 wxPyEndAllowThreads(__tstate
);
5025 if (PyErr_Occurred()) return NULL
;
5026 } Py_INCREF(Py_None
);
5027 _resultobj
= Py_None
;
5035 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5036 PyObject
* _resultobj
;
5038 char *_kwnames
[] = { NULL
};
5041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 const wxString
& _result_ref
= wxLog::GetTimestamp();
5046 _result
= (wxString
*) &_result_ref
;
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) return NULL
;
5052 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5054 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5060 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
5061 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
* _resultobj
;
5065 PyObject
* _argo0
= 0;
5066 char *_kwnames
[] = { "self", NULL
};
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
5072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
5079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5080 _result
= (bool )wxLog_GetVerbose(_arg0
);
5082 wxPyEndAllowThreads(__tstate
);
5083 if (PyErr_Occurred()) return NULL
;
5084 } _resultobj
= Py_BuildValue("i",_result
);
5088 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
* _resultobj
;
5090 wxTraceMask
* _result
;
5091 char *_kwnames
[] = { NULL
};
5095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 _result
= new wxTraceMask (wxLog::GetTraceMask());
5101 wxPyEndAllowThreads(__tstate
);
5102 if (PyErr_Occurred()) return NULL
;
5103 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
5104 _resultobj
= Py_BuildValue("s",_ptemp
);
5108 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
* _resultobj
;
5112 PyObject
* _obj0
= 0;
5113 char *_kwnames
[] = { "mask", NULL
};
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_IsAllowedTraceMask",_kwnames
,&_obj0
))
5119 _arg0
= wxString_in_helper(_obj0
);
5124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5125 _result
= (bool )wxLog::IsAllowedTraceMask(*_arg0
);
5127 wxPyEndAllowThreads(__tstate
);
5128 if (PyErr_Occurred()) return NULL
;
5129 } _resultobj
= Py_BuildValue("i",_result
);
5137 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5139 wxLog::TimeStamp(&msg
);
5142 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
* _resultobj
;
5146 PyObject
* _argo0
= 0;
5147 char *_kwnames
[] = { "self", NULL
};
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5163 wxPyEndAllowThreads(__tstate
);
5164 if (PyErr_Occurred()) return NULL
;
5167 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5169 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5178 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5181 src
= (wxLogStderr
*) ptr
;
5182 dest
= (wxLog
*) src
;
5183 return (void *) dest
;
5186 #define new_wxLogStderr() (new wxLogStderr())
5187 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
* _resultobj
;
5189 wxLogStderr
* _result
;
5190 char *_kwnames
[] = { NULL
};
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5198 _result
= (wxLogStderr
*)new_wxLogStderr();
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) return NULL
;
5203 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5204 _resultobj
= Py_BuildValue("s",_ptemp
);
5207 _resultobj
= Py_None
;
5212 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5215 src
= (wxLogTextCtrl
*) ptr
;
5216 dest
= (wxLog
*) src
;
5217 return (void *) dest
;
5220 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5221 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
* _resultobj
;
5223 wxLogTextCtrl
* _result
;
5225 PyObject
* _argo0
= 0;
5226 char *_kwnames
[] = { "pTextCtrl", NULL
};
5230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5241 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5243 wxPyEndAllowThreads(__tstate
);
5244 if (PyErr_Occurred()) return NULL
;
5246 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5247 _resultobj
= Py_BuildValue("s",_ptemp
);
5250 _resultobj
= Py_None
;
5255 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5258 src
= (wxLogGui
*) ptr
;
5259 dest
= (wxLog
*) src
;
5260 return (void *) dest
;
5263 #define new_wxLogGui() (new wxLogGui())
5264 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5265 PyObject
* _resultobj
;
5267 char *_kwnames
[] = { NULL
};
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5275 _result
= (wxLogGui
*)new_wxLogGui();
5277 wxPyEndAllowThreads(__tstate
);
5278 if (PyErr_Occurred()) return NULL
;
5280 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5281 _resultobj
= Py_BuildValue("s",_ptemp
);
5284 _resultobj
= Py_None
;
5289 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5292 src
= (wxLogWindow
*) ptr
;
5293 dest
= (wxLog
*) src
;
5294 return (void *) dest
;
5297 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5298 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
* _resultobj
;
5300 wxLogWindow
* _result
;
5303 bool _arg2
= (bool ) TRUE
;
5304 bool _arg3
= (bool ) TRUE
;
5305 PyObject
* _argo0
= 0;
5306 PyObject
* _obj1
= 0;
5307 int tempbool2
= (int) TRUE
;
5308 int tempbool3
= (int) TRUE
;
5309 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_obj1
,&tempbool2
,&tempbool3
))
5316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5323 _arg1
= wxString_in_helper(_obj1
);
5327 _arg2
= (bool ) tempbool2
;
5328 _arg3
= (bool ) tempbool3
;
5330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5331 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,*_arg1
,_arg2
,_arg3
);
5333 wxPyEndAllowThreads(__tstate
);
5334 if (PyErr_Occurred()) return NULL
;
5336 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5337 _resultobj
= Py_BuildValue("s",_ptemp
);
5340 _resultobj
= Py_None
;
5349 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5350 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5351 PyObject
* _resultobj
;
5352 wxLogWindow
* _arg0
;
5353 bool _arg1
= (bool ) TRUE
;
5354 PyObject
* _argo0
= 0;
5355 int tempbool1
= (int) TRUE
;
5356 char *_kwnames
[] = { "self","bShow", NULL
};
5359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5368 _arg1
= (bool ) tempbool1
;
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5371 wxLogWindow_Show(_arg0
,_arg1
);
5373 wxPyEndAllowThreads(__tstate
);
5374 if (PyErr_Occurred()) return NULL
;
5375 } Py_INCREF(Py_None
);
5376 _resultobj
= Py_None
;
5380 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5381 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5382 PyObject
* _resultobj
;
5384 wxLogWindow
* _arg0
;
5385 PyObject
* _argo0
= 0;
5386 char *_kwnames
[] = { "self", NULL
};
5389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5392 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5393 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5394 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5400 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5402 wxPyEndAllowThreads(__tstate
);
5403 if (PyErr_Occurred()) return NULL
;
5404 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5408 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5409 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
* _resultobj
;
5412 wxLogWindow
* _arg0
;
5413 PyObject
* _argo0
= 0;
5414 char *_kwnames
[] = { "self", NULL
};
5418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5429 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5431 wxPyEndAllowThreads(__tstate
);
5432 if (PyErr_Occurred()) return NULL
;
5434 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5435 _resultobj
= Py_BuildValue("s",_ptemp
);
5438 _resultobj
= Py_None
;
5443 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5444 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5445 PyObject
* _resultobj
;
5447 wxLogWindow
* _arg0
;
5448 PyObject
* _argo0
= 0;
5449 char *_kwnames
[] = { "self", NULL
};
5452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5463 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5465 wxPyEndAllowThreads(__tstate
);
5466 if (PyErr_Occurred()) return NULL
;
5467 } _resultobj
= Py_BuildValue("i",_result
);
5471 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5472 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
* _resultobj
;
5474 wxLogWindow
* _arg0
;
5476 PyObject
* _argo0
= 0;
5478 char *_kwnames
[] = { "self","bDoPass", NULL
};
5481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5490 _arg1
= (bool ) tempbool1
;
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5493 wxLogWindow_PassMessages(_arg0
,_arg1
);
5495 wxPyEndAllowThreads(__tstate
);
5496 if (PyErr_Occurred()) return NULL
;
5497 } Py_INCREF(Py_None
);
5498 _resultobj
= Py_None
;
5502 static void *SwigwxLogChainTowxLog(void *ptr
) {
5505 src
= (wxLogChain
*) ptr
;
5506 dest
= (wxLog
*) src
;
5507 return (void *) dest
;
5510 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5511 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5512 PyObject
* _resultobj
;
5513 wxLogChain
* _result
;
5515 PyObject
* _argo0
= 0;
5516 char *_kwnames
[] = { "logger", NULL
};
5520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5531 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5533 wxPyEndAllowThreads(__tstate
);
5534 if (PyErr_Occurred()) return NULL
;
5536 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5537 _resultobj
= Py_BuildValue("s",_ptemp
);
5540 _resultobj
= Py_None
;
5545 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5546 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
* _resultobj
;
5550 PyObject
* _argo0
= 0;
5551 PyObject
* _argo1
= 0;
5552 char *_kwnames
[] = { "self","logger", NULL
};
5555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5565 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5566 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5573 wxLogChain_SetLog(_arg0
,_arg1
);
5575 wxPyEndAllowThreads(__tstate
);
5576 if (PyErr_Occurred()) return NULL
;
5577 } Py_INCREF(Py_None
);
5578 _resultobj
= Py_None
;
5582 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5583 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5584 PyObject
* _resultobj
;
5587 PyObject
* _argo0
= 0;
5589 char *_kwnames
[] = { "self","bDoPass", NULL
};
5592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5601 _arg1
= (bool ) tempbool1
;
5603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5604 wxLogChain_PassMessages(_arg0
,_arg1
);
5606 wxPyEndAllowThreads(__tstate
);
5607 if (PyErr_Occurred()) return NULL
;
5608 } Py_INCREF(Py_None
);
5609 _resultobj
= Py_None
;
5613 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5614 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5615 PyObject
* _resultobj
;
5618 PyObject
* _argo0
= 0;
5619 char *_kwnames
[] = { "self", NULL
};
5622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5635 wxPyEndAllowThreads(__tstate
);
5636 if (PyErr_Occurred()) return NULL
;
5637 } _resultobj
= Py_BuildValue("i",_result
);
5641 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5642 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
* _resultobj
;
5646 PyObject
* _argo0
= 0;
5647 char *_kwnames
[] = { "self", NULL
};
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5662 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5664 wxPyEndAllowThreads(__tstate
);
5665 if (PyErr_Occurred()) return NULL
;
5667 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5668 _resultobj
= Py_BuildValue("s",_ptemp
);
5671 _resultobj
= Py_None
;
5676 #define new_wxLogNull() (new wxLogNull())
5677 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5678 PyObject
* _resultobj
;
5679 wxLogNull
* _result
;
5680 char *_kwnames
[] = { NULL
};
5684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5688 _result
= (wxLogNull
*)new_wxLogNull();
5690 wxPyEndAllowThreads(__tstate
);
5691 if (PyErr_Occurred()) return NULL
;
5693 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5694 _resultobj
= Py_BuildValue("s",_ptemp
);
5697 _resultobj
= Py_None
;
5702 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5703 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5704 PyObject
* _resultobj
;
5706 PyObject
* _argo0
= 0;
5707 char *_kwnames
[] = { "self", NULL
};
5710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5721 delete_wxLogNull(_arg0
);
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) return NULL
;
5725 } Py_INCREF(Py_None
);
5726 _resultobj
= Py_None
;
5730 static void *SwigwxPyLogTowxLog(void *ptr
) {
5733 src
= (wxPyLog
*) ptr
;
5734 dest
= (wxLog
*) src
;
5735 return (void *) dest
;
5738 #define new_wxPyLog() (new wxPyLog())
5739 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5740 PyObject
* _resultobj
;
5742 char *_kwnames
[] = { NULL
};
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5750 _result
= (wxPyLog
*)new_wxPyLog();
5752 wxPyEndAllowThreads(__tstate
);
5753 if (PyErr_Occurred()) return NULL
;
5755 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5756 _resultobj
= Py_BuildValue("s",_ptemp
);
5759 _resultobj
= Py_None
;
5764 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5765 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
* _resultobj
;
5770 PyObject
* _argo0
= 0;
5771 PyObject
* _obj1
= 0;
5772 PyObject
* _obj2
= 0;
5773 char *_kwnames
[] = { "self","self","_class", NULL
};
5776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) return NULL
;
5797 } Py_INCREF(Py_None
);
5798 _resultobj
= Py_None
;
5802 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5803 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
* _resultobj
;
5806 PyObject
* _argo0
= 0;
5807 char *_kwnames
[] = { "self", NULL
};
5810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 wxPyLog_Destroy(_arg0
);
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) return NULL
;
5825 } Py_INCREF(Py_None
);
5826 _resultobj
= Py_None
;
5830 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5831 wxProcessEvent
*src
;
5833 src
= (wxProcessEvent
*) ptr
;
5834 dest
= (wxEvent
*) src
;
5835 return (void *) dest
;
5838 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5839 wxProcessEvent
*src
;
5841 src
= (wxProcessEvent
*) ptr
;
5842 dest
= (wxObject
*) src
;
5843 return (void *) dest
;
5846 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5847 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5848 PyObject
* _resultobj
;
5849 wxProcessEvent
* _result
;
5850 int _arg0
= (int ) 0;
5851 int _arg1
= (int ) 0;
5852 int _arg2
= (int ) 0;
5853 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) return NULL
;
5866 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5867 _resultobj
= Py_BuildValue("s",_ptemp
);
5870 _resultobj
= Py_None
;
5875 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5876 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
* _resultobj
;
5879 wxProcessEvent
* _arg0
;
5880 PyObject
* _argo0
= 0;
5881 char *_kwnames
[] = { "self", NULL
};
5884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) return NULL
;
5899 } _resultobj
= Py_BuildValue("i",_result
);
5903 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5904 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5905 PyObject
* _resultobj
;
5907 wxProcessEvent
* _arg0
;
5908 PyObject
* _argo0
= 0;
5909 char *_kwnames
[] = { "self", NULL
};
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5923 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5925 wxPyEndAllowThreads(__tstate
);
5926 if (PyErr_Occurred()) return NULL
;
5927 } _resultobj
= Py_BuildValue("i",_result
);
5931 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5932 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
* _resultobj
;
5935 wxProcessEvent
* _arg0
;
5937 PyObject
* _argo0
= 0;
5938 char *_kwnames
[] = { "self","m_pid", NULL
};
5941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5952 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5954 wxPyEndAllowThreads(__tstate
);
5955 if (PyErr_Occurred()) return NULL
;
5956 } _resultobj
= Py_BuildValue("i",_result
);
5960 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5961 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
* _resultobj
;
5964 wxProcessEvent
* _arg0
;
5965 PyObject
* _argo0
= 0;
5966 char *_kwnames
[] = { "self", NULL
};
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5980 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5982 wxPyEndAllowThreads(__tstate
);
5983 if (PyErr_Occurred()) return NULL
;
5984 } _resultobj
= Py_BuildValue("i",_result
);
5988 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5989 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
* _resultobj
;
5992 wxProcessEvent
* _arg0
;
5994 PyObject
* _argo0
= 0;
5995 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
6001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
6008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
6011 wxPyEndAllowThreads(__tstate
);
6012 if (PyErr_Occurred()) return NULL
;
6013 } _resultobj
= Py_BuildValue("i",_result
);
6017 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
6018 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
* _resultobj
;
6021 wxProcessEvent
* _arg0
;
6022 PyObject
* _argo0
= 0;
6023 char *_kwnames
[] = { "self", NULL
};
6026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
6029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
6031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) return NULL
;
6041 } _resultobj
= Py_BuildValue("i",_result
);
6045 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
6048 src
= (wxPyProcess
*) ptr
;
6049 dest
= (wxEvtHandler
*) src
;
6050 return (void *) dest
;
6053 static void *SwigwxPyProcessTowxObject(void *ptr
) {
6056 src
= (wxPyProcess
*) ptr
;
6057 dest
= (wxObject
*) src
;
6058 return (void *) dest
;
6061 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
6062 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
* _resultobj
;
6064 wxPyProcess
* _result
;
6065 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
6066 int _arg1
= (int ) -1;
6067 PyObject
* _argo0
= 0;
6068 char *_kwnames
[] = { "parent","id", NULL
};
6072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
6075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
6077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
6082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6083 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
6085 wxPyEndAllowThreads(__tstate
);
6086 if (PyErr_Occurred()) return NULL
;
6088 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
6089 _resultobj
= Py_BuildValue("s",_ptemp
);
6092 _resultobj
= Py_None
;
6097 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
6098 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6099 PyObject
* _resultobj
;
6100 wxPyProcess
* _arg0
;
6101 PyObject
* _argo0
= 0;
6102 char *_kwnames
[] = { "self", NULL
};
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 wxPyProcess_Destroy(_arg0
);
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) return NULL
;
6120 } Py_INCREF(Py_None
);
6121 _resultobj
= Py_None
;
6125 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6126 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
* _resultobj
;
6128 wxPyProcess
* _arg0
;
6131 PyObject
* _argo0
= 0;
6132 PyObject
* _obj1
= 0;
6133 PyObject
* _obj2
= 0;
6134 char *_kwnames
[] = { "self","self","_class", NULL
};
6137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6154 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6156 wxPyEndAllowThreads(__tstate
);
6157 if (PyErr_Occurred()) return NULL
;
6158 } Py_INCREF(Py_None
);
6159 _resultobj
= Py_None
;
6163 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6164 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6165 PyObject
* _resultobj
;
6166 wxPyProcess
* _arg0
;
6169 PyObject
* _argo0
= 0;
6170 char *_kwnames
[] = { "self","pid","status", NULL
};
6173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6186 wxPyEndAllowThreads(__tstate
);
6187 if (PyErr_Occurred()) return NULL
;
6188 } Py_INCREF(Py_None
);
6189 _resultobj
= Py_None
;
6193 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6194 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
* _resultobj
;
6196 wxPyProcess
* _arg0
;
6197 PyObject
* _argo0
= 0;
6198 char *_kwnames
[] = { "self", NULL
};
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6204 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6205 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6206 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6212 wxProcess_Redirect(_arg0
);
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) return NULL
;
6216 } Py_INCREF(Py_None
);
6217 _resultobj
= Py_None
;
6221 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6222 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6223 PyObject
* _resultobj
;
6225 wxPyProcess
* _arg0
;
6226 PyObject
* _argo0
= 0;
6227 char *_kwnames
[] = { "self", NULL
};
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6241 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6243 wxPyEndAllowThreads(__tstate
);
6244 if (PyErr_Occurred()) return NULL
;
6245 } _resultobj
= Py_BuildValue("i",_result
);
6249 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6250 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6251 PyObject
* _resultobj
;
6252 wxPyProcess
* _arg0
;
6253 PyObject
* _argo0
= 0;
6254 char *_kwnames
[] = { "self", NULL
};
6257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6260 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6261 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6262 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 wxProcess_Detach(_arg0
);
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) return NULL
;
6272 } Py_INCREF(Py_None
);
6273 _resultobj
= Py_None
;
6277 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6278 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6279 PyObject
* _resultobj
;
6280 wxInputStream
* _result
;
6281 wxPyProcess
* _arg0
;
6282 PyObject
* _argo0
= 0;
6283 char *_kwnames
[] = { "self", NULL
};
6286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6297 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) return NULL
;
6302 wxPyInputStream
* _ptr
= NULL
;
6305 _ptr
= new wxPyInputStream(_result
);
6307 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6312 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6313 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
* _resultobj
;
6315 wxInputStream
* _result
;
6316 wxPyProcess
* _arg0
;
6317 PyObject
* _argo0
= 0;
6318 char *_kwnames
[] = { "self", NULL
};
6321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6332 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6334 wxPyEndAllowThreads(__tstate
);
6335 if (PyErr_Occurred()) return NULL
;
6337 wxPyInputStream
* _ptr
= NULL
;
6340 _ptr
= new wxPyInputStream(_result
);
6342 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6347 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6348 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6349 PyObject
* _resultobj
;
6350 wxOutputStream
* _result
;
6351 wxPyProcess
* _arg0
;
6352 PyObject
* _argo0
= 0;
6353 char *_kwnames
[] = { "self", NULL
};
6357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6368 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6370 wxPyEndAllowThreads(__tstate
);
6371 if (PyErr_Occurred()) return NULL
;
6373 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6374 _resultobj
= Py_BuildValue("s",_ptemp
);
6377 _resultobj
= Py_None
;
6382 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6383 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6384 PyObject
* _resultobj
;
6385 wxPyProcess
* _arg0
;
6386 PyObject
* _argo0
= 0;
6387 char *_kwnames
[] = { "self", NULL
};
6390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6401 wxProcess_CloseOutput(_arg0
);
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) return NULL
;
6405 } Py_INCREF(Py_None
);
6406 _resultobj
= Py_None
;
6410 static void *SwigwxJoystickTowxObject(void *ptr
) {
6413 src
= (wxJoystick
*) ptr
;
6414 dest
= (wxObject
*) src
;
6415 return (void *) dest
;
6418 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6419 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6420 PyObject
* _resultobj
;
6421 wxJoystick
* _result
;
6422 int _arg0
= (int ) wxJOYSTICK1
;
6423 char *_kwnames
[] = { "joystick", NULL
};
6427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) return NULL
;
6436 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6437 _resultobj
= Py_BuildValue("s",_ptemp
);
6440 _resultobj
= Py_None
;
6445 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6446 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6447 PyObject
* _resultobj
;
6449 PyObject
* _argo0
= 0;
6450 char *_kwnames
[] = { "self", NULL
};
6453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6464 delete_wxJoystick(_arg0
);
6466 wxPyEndAllowThreads(__tstate
);
6467 if (PyErr_Occurred()) return NULL
;
6468 } Py_INCREF(Py_None
);
6469 _resultobj
= Py_None
;
6473 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6474 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6475 PyObject
* _resultobj
;
6478 PyObject
* _argo0
= 0;
6479 char *_kwnames
[] = { "self", NULL
};
6483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6494 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6496 wxPyEndAllowThreads(__tstate
);
6497 if (PyErr_Occurred()) return NULL
;
6498 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6499 _resultobj
= Py_BuildValue("s",_ptemp
);
6503 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6504 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6505 PyObject
* _resultobj
;
6508 PyObject
* _argo0
= 0;
6509 char *_kwnames
[] = { "self", NULL
};
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) return NULL
;
6527 } _resultobj
= Py_BuildValue("i",_result
);
6531 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6532 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6533 PyObject
* _resultobj
;
6536 PyObject
* _argo0
= 0;
6537 char *_kwnames
[] = { "self", NULL
};
6540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6543 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6544 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6545 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6553 wxPyEndAllowThreads(__tstate
);
6554 if (PyErr_Occurred()) return NULL
;
6555 } _resultobj
= Py_BuildValue("i",_result
);
6559 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6560 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
* _resultobj
;
6564 PyObject
* _argo0
= 0;
6565 char *_kwnames
[] = { "self", NULL
};
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6571 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6572 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) return NULL
;
6583 } _resultobj
= Py_BuildValue("i",_result
);
6587 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6588 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6589 PyObject
* _resultobj
;
6592 PyObject
* _argo0
= 0;
6593 char *_kwnames
[] = { "self", NULL
};
6596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) return NULL
;
6611 } _resultobj
= Py_BuildValue("i",_result
);
6615 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6616 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6617 PyObject
* _resultobj
;
6620 PyObject
* _argo0
= 0;
6621 char *_kwnames
[] = { "self", NULL
};
6624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6637 wxPyEndAllowThreads(__tstate
);
6638 if (PyErr_Occurred()) return NULL
;
6639 } _resultobj
= Py_BuildValue("i",_result
);
6643 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6644 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6645 PyObject
* _resultobj
;
6648 PyObject
* _argo0
= 0;
6649 char *_kwnames
[] = { "self", NULL
};
6652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6663 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6665 wxPyEndAllowThreads(__tstate
);
6666 if (PyErr_Occurred()) return NULL
;
6667 } _resultobj
= Py_BuildValue("i",_result
);
6671 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6672 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6673 PyObject
* _resultobj
;
6676 PyObject
* _argo0
= 0;
6677 char *_kwnames
[] = { "self", NULL
};
6680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6691 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) return NULL
;
6695 } _resultobj
= Py_BuildValue("i",_result
);
6699 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6700 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
* _resultobj
;
6704 PyObject
* _argo0
= 0;
6705 char *_kwnames
[] = { "self", NULL
};
6708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6711 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6712 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6719 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6721 wxPyEndAllowThreads(__tstate
);
6722 if (PyErr_Occurred()) return NULL
;
6723 } _resultobj
= Py_BuildValue("i",_result
);
6727 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6728 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6729 PyObject
* _resultobj
;
6732 PyObject
* _argo0
= 0;
6733 char *_kwnames
[] = { "self","threshold", NULL
};
6736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) return NULL
;
6751 } Py_INCREF(Py_None
);
6752 _resultobj
= Py_None
;
6756 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6757 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6758 PyObject
* _resultobj
;
6761 PyObject
* _argo0
= 0;
6762 char *_kwnames
[] = { "self", NULL
};
6765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6768 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6769 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6776 _result
= (bool )wxJoystick_IsOk(_arg0
);
6778 wxPyEndAllowThreads(__tstate
);
6779 if (PyErr_Occurred()) return NULL
;
6780 } _resultobj
= Py_BuildValue("i",_result
);
6784 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6785 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
* _resultobj
;
6789 PyObject
* _argo0
= 0;
6790 char *_kwnames
[] = { "self", NULL
};
6793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6804 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6806 wxPyEndAllowThreads(__tstate
);
6807 if (PyErr_Occurred()) return NULL
;
6808 } _resultobj
= Py_BuildValue("i",_result
);
6812 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6813 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6814 PyObject
* _resultobj
;
6817 PyObject
* _argo0
= 0;
6818 char *_kwnames
[] = { "self", NULL
};
6821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6832 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6834 wxPyEndAllowThreads(__tstate
);
6835 if (PyErr_Occurred()) return NULL
;
6836 } _resultobj
= Py_BuildValue("i",_result
);
6840 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6841 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6842 PyObject
* _resultobj
;
6845 PyObject
* _argo0
= 0;
6846 char *_kwnames
[] = { "self", NULL
};
6849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6860 _result
= (int )wxJoystick_GetProductId(_arg0
);
6862 wxPyEndAllowThreads(__tstate
);
6863 if (PyErr_Occurred()) return NULL
;
6864 } _resultobj
= Py_BuildValue("i",_result
);
6868 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6869 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6870 PyObject
* _resultobj
;
6873 PyObject
* _argo0
= 0;
6874 char *_kwnames
[] = { "self", NULL
};
6877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6888 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6890 wxPyEndAllowThreads(__tstate
);
6891 if (PyErr_Occurred()) return NULL
;
6894 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6896 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6905 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6906 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
* _resultobj
;
6910 PyObject
* _argo0
= 0;
6911 char *_kwnames
[] = { "self", NULL
};
6914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6925 _result
= (int )wxJoystick_GetXMin(_arg0
);
6927 wxPyEndAllowThreads(__tstate
);
6928 if (PyErr_Occurred()) return NULL
;
6929 } _resultobj
= Py_BuildValue("i",_result
);
6933 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6934 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6935 PyObject
* _resultobj
;
6938 PyObject
* _argo0
= 0;
6939 char *_kwnames
[] = { "self", NULL
};
6942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6945 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6946 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6947 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6953 _result
= (int )wxJoystick_GetYMin(_arg0
);
6955 wxPyEndAllowThreads(__tstate
);
6956 if (PyErr_Occurred()) return NULL
;
6957 } _resultobj
= Py_BuildValue("i",_result
);
6961 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6962 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
* _resultobj
;
6966 PyObject
* _argo0
= 0;
6967 char *_kwnames
[] = { "self", NULL
};
6970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 _result
= (int )wxJoystick_GetZMin(_arg0
);
6983 wxPyEndAllowThreads(__tstate
);
6984 if (PyErr_Occurred()) return NULL
;
6985 } _resultobj
= Py_BuildValue("i",_result
);
6989 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6990 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
* _resultobj
;
6994 PyObject
* _argo0
= 0;
6995 char *_kwnames
[] = { "self", NULL
};
6998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
7001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
7008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7009 _result
= (int )wxJoystick_GetXMax(_arg0
);
7011 wxPyEndAllowThreads(__tstate
);
7012 if (PyErr_Occurred()) return NULL
;
7013 } _resultobj
= Py_BuildValue("i",_result
);
7017 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
7018 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
* _resultobj
;
7022 PyObject
* _argo0
= 0;
7023 char *_kwnames
[] = { "self", NULL
};
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
7029 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7030 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7031 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 _result
= (int )wxJoystick_GetYMax(_arg0
);
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) return NULL
;
7041 } _resultobj
= Py_BuildValue("i",_result
);
7045 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
7046 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
* _resultobj
;
7050 PyObject
* _argo0
= 0;
7051 char *_kwnames
[] = { "self", NULL
};
7054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
7057 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7058 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7059 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
7064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7065 _result
= (int )wxJoystick_GetZMax(_arg0
);
7067 wxPyEndAllowThreads(__tstate
);
7068 if (PyErr_Occurred()) return NULL
;
7069 } _resultobj
= Py_BuildValue("i",_result
);
7073 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
7074 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
* _resultobj
;
7078 PyObject
* _argo0
= 0;
7079 char *_kwnames
[] = { "self", NULL
};
7082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
7085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
7092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7093 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
7095 wxPyEndAllowThreads(__tstate
);
7096 if (PyErr_Occurred()) return NULL
;
7097 } _resultobj
= Py_BuildValue("i",_result
);
7101 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
7102 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7103 PyObject
* _resultobj
;
7106 PyObject
* _argo0
= 0;
7107 char *_kwnames
[] = { "self", NULL
};
7110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7121 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7123 wxPyEndAllowThreads(__tstate
);
7124 if (PyErr_Occurred()) return NULL
;
7125 } _resultobj
= Py_BuildValue("i",_result
);
7129 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7130 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
* _resultobj
;
7134 PyObject
* _argo0
= 0;
7135 char *_kwnames
[] = { "self", NULL
};
7138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7149 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7151 wxPyEndAllowThreads(__tstate
);
7152 if (PyErr_Occurred()) return NULL
;
7153 } _resultobj
= Py_BuildValue("i",_result
);
7157 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7158 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7159 PyObject
* _resultobj
;
7162 PyObject
* _argo0
= 0;
7163 char *_kwnames
[] = { "self", NULL
};
7166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7177 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7179 wxPyEndAllowThreads(__tstate
);
7180 if (PyErr_Occurred()) return NULL
;
7181 } _resultobj
= Py_BuildValue("i",_result
);
7185 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7186 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
* _resultobj
;
7190 PyObject
* _argo0
= 0;
7191 char *_kwnames
[] = { "self", NULL
};
7194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) return NULL
;
7209 } _resultobj
= Py_BuildValue("i",_result
);
7213 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7214 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7215 PyObject
* _resultobj
;
7218 PyObject
* _argo0
= 0;
7219 char *_kwnames
[] = { "self", NULL
};
7222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) return NULL
;
7237 } _resultobj
= Py_BuildValue("i",_result
);
7241 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7242 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7243 PyObject
* _resultobj
;
7246 PyObject
* _argo0
= 0;
7247 char *_kwnames
[] = { "self", NULL
};
7250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) return NULL
;
7265 } _resultobj
= Py_BuildValue("i",_result
);
7269 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7270 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
* _resultobj
;
7274 PyObject
* _argo0
= 0;
7275 char *_kwnames
[] = { "self", NULL
};
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) return NULL
;
7293 } _resultobj
= Py_BuildValue("i",_result
);
7297 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7298 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7299 PyObject
* _resultobj
;
7302 PyObject
* _argo0
= 0;
7303 char *_kwnames
[] = { "self", NULL
};
7306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7309 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7310 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 _result
= (int )wxJoystick_GetUMin(_arg0
);
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) return NULL
;
7321 } _resultobj
= Py_BuildValue("i",_result
);
7325 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7326 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7327 PyObject
* _resultobj
;
7330 PyObject
* _argo0
= 0;
7331 char *_kwnames
[] = { "self", NULL
};
7334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7345 _result
= (int )wxJoystick_GetUMax(_arg0
);
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) return NULL
;
7349 } _resultobj
= Py_BuildValue("i",_result
);
7353 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7354 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7355 PyObject
* _resultobj
;
7358 PyObject
* _argo0
= 0;
7359 char *_kwnames
[] = { "self", NULL
};
7362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7373 _result
= (int )wxJoystick_GetVMin(_arg0
);
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) return NULL
;
7377 } _resultobj
= Py_BuildValue("i",_result
);
7381 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7382 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
* _resultobj
;
7386 PyObject
* _argo0
= 0;
7387 char *_kwnames
[] = { "self", NULL
};
7390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7401 _result
= (int )wxJoystick_GetVMax(_arg0
);
7403 wxPyEndAllowThreads(__tstate
);
7404 if (PyErr_Occurred()) return NULL
;
7405 } _resultobj
= Py_BuildValue("i",_result
);
7409 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7410 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7411 PyObject
* _resultobj
;
7414 PyObject
* _argo0
= 0;
7415 char *_kwnames
[] = { "self", NULL
};
7418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7429 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7431 wxPyEndAllowThreads(__tstate
);
7432 if (PyErr_Occurred()) return NULL
;
7433 } _resultobj
= Py_BuildValue("i",_result
);
7437 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7438 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7439 PyObject
* _resultobj
;
7442 PyObject
* _argo0
= 0;
7443 char *_kwnames
[] = { "self", NULL
};
7446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7449 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7450 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7457 _result
= (bool )wxJoystick_HasZ(_arg0
);
7459 wxPyEndAllowThreads(__tstate
);
7460 if (PyErr_Occurred()) return NULL
;
7461 } _resultobj
= Py_BuildValue("i",_result
);
7465 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7466 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7467 PyObject
* _resultobj
;
7470 PyObject
* _argo0
= 0;
7471 char *_kwnames
[] = { "self", NULL
};
7474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7485 _result
= (bool )wxJoystick_HasU(_arg0
);
7487 wxPyEndAllowThreads(__tstate
);
7488 if (PyErr_Occurred()) return NULL
;
7489 } _resultobj
= Py_BuildValue("i",_result
);
7493 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7494 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7495 PyObject
* _resultobj
;
7498 PyObject
* _argo0
= 0;
7499 char *_kwnames
[] = { "self", NULL
};
7502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7513 _result
= (bool )wxJoystick_HasV(_arg0
);
7515 wxPyEndAllowThreads(__tstate
);
7516 if (PyErr_Occurred()) return NULL
;
7517 } _resultobj
= Py_BuildValue("i",_result
);
7521 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7522 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7523 PyObject
* _resultobj
;
7526 PyObject
* _argo0
= 0;
7527 char *_kwnames
[] = { "self", NULL
};
7530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7541 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7543 wxPyEndAllowThreads(__tstate
);
7544 if (PyErr_Occurred()) return NULL
;
7545 } _resultobj
= Py_BuildValue("i",_result
);
7549 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7550 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7551 PyObject
* _resultobj
;
7554 PyObject
* _argo0
= 0;
7555 char *_kwnames
[] = { "self", NULL
};
7558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7569 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7571 wxPyEndAllowThreads(__tstate
);
7572 if (PyErr_Occurred()) return NULL
;
7573 } _resultobj
= Py_BuildValue("i",_result
);
7577 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7578 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7579 PyObject
* _resultobj
;
7582 PyObject
* _argo0
= 0;
7583 char *_kwnames
[] = { "self", NULL
};
7586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7599 wxPyEndAllowThreads(__tstate
);
7600 if (PyErr_Occurred()) return NULL
;
7601 } _resultobj
= Py_BuildValue("i",_result
);
7605 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7606 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7607 PyObject
* _resultobj
;
7611 int _arg2
= (int ) 0;
7612 PyObject
* _argo0
= 0;
7613 PyObject
* _argo1
= 0;
7614 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7627 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7628 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7635 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) return NULL
;
7639 } _resultobj
= Py_BuildValue("i",_result
);
7643 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7644 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
* _resultobj
;
7648 PyObject
* _argo0
= 0;
7649 char *_kwnames
[] = { "self", NULL
};
7652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) return NULL
;
7667 } _resultobj
= Py_BuildValue("i",_result
);
7671 static void *SwigwxWaveTowxObject(void *ptr
) {
7674 src
= (wxWave
*) ptr
;
7675 dest
= (wxObject
*) src
;
7676 return (void *) dest
;
7679 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7680 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7681 PyObject
* _resultobj
;
7684 bool _arg1
= (bool ) FALSE
;
7685 PyObject
* _obj0
= 0;
7686 int tempbool1
= (int) FALSE
;
7687 char *_kwnames
[] = { "fileName","isResource", NULL
};
7691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7694 _arg0
= wxString_in_helper(_obj0
);
7698 _arg1
= (bool ) tempbool1
;
7700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7701 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7703 wxPyEndAllowThreads(__tstate
);
7704 if (PyErr_Occurred()) return NULL
;
7706 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7707 _resultobj
= Py_BuildValue("s",_ptemp
);
7710 _resultobj
= Py_None
;
7719 #define delete_wxWave(_swigobj) (delete _swigobj)
7720 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
* _resultobj
;
7723 PyObject
* _argo0
= 0;
7724 char *_kwnames
[] = { "self", NULL
};
7727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7738 delete_wxWave(_arg0
);
7740 wxPyEndAllowThreads(__tstate
);
7741 if (PyErr_Occurred()) return NULL
;
7742 } Py_INCREF(Py_None
);
7743 _resultobj
= Py_None
;
7747 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7748 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7749 PyObject
* _resultobj
;
7752 PyObject
* _argo0
= 0;
7753 char *_kwnames
[] = { "self", NULL
};
7756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7767 _result
= (bool )wxWave_IsOk(_arg0
);
7769 wxPyEndAllowThreads(__tstate
);
7770 if (PyErr_Occurred()) return NULL
;
7771 } _resultobj
= Py_BuildValue("i",_result
);
7775 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7776 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7777 PyObject
* _resultobj
;
7780 bool _arg1
= (bool ) TRUE
;
7781 bool _arg2
= (bool ) FALSE
;
7782 PyObject
* _argo0
= 0;
7783 int tempbool1
= (int) TRUE
;
7784 int tempbool2
= (int) FALSE
;
7785 char *_kwnames
[] = { "self","async","looped", NULL
};
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7797 _arg1
= (bool ) tempbool1
;
7798 _arg2
= (bool ) tempbool2
;
7800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7801 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7803 wxPyEndAllowThreads(__tstate
);
7804 if (PyErr_Occurred()) return NULL
;
7805 } _resultobj
= Py_BuildValue("i",_result
);
7809 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7810 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7811 PyObject
* _resultobj
;
7812 wxFileTypeInfo
* _result
;
7817 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7825 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) return NULL
;
7830 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7831 _resultobj
= Py_BuildValue("s",_ptemp
);
7834 _resultobj
= Py_None
;
7839 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7840 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
* _resultobj
;
7842 wxFileTypeInfo
* _result
;
7843 wxArrayString
* _arg0
;
7844 PyObject
* _obj0
= 0;
7845 char *_kwnames
[] = { "sArray", NULL
};
7849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7852 if (! PySequence_Check(_obj0
)) {
7853 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7856 _arg0
= new wxArrayString
;
7857 int i
, len
=PySequence_Length(_obj0
);
7858 for (i
=0; i
<len
; i
++) {
7859 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7861 PyObject
* str
= PyObject_Unicode(item
);
7862 _arg0
->Add(PyUnicode_AsUnicode(str
));
7864 PyObject
* str
= PyObject_Str(item
);
7865 _arg0
->Add(PyString_AsString(str
));
7872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7873 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
7875 wxPyEndAllowThreads(__tstate
);
7876 if (PyErr_Occurred()) return NULL
;
7878 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7879 _resultobj
= Py_BuildValue("s",_ptemp
);
7882 _resultobj
= Py_None
;
7891 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7892 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7893 PyObject
* _resultobj
;
7894 wxFileTypeInfo
* _result
;
7895 char *_kwnames
[] = { NULL
};
7899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
7902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7903 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
7905 wxPyEndAllowThreads(__tstate
);
7906 if (PyErr_Occurred()) return NULL
;
7908 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7909 _resultobj
= Py_BuildValue("s",_ptemp
);
7912 _resultobj
= Py_None
;
7917 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
7918 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
* _resultobj
;
7921 wxFileTypeInfo
* _arg0
;
7922 PyObject
* _argo0
= 0;
7923 char *_kwnames
[] = { "self", NULL
};
7926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
7929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
7936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7937 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
7939 wxPyEndAllowThreads(__tstate
);
7940 if (PyErr_Occurred()) return NULL
;
7941 } _resultobj
= Py_BuildValue("i",_result
);
7945 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
7946 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7947 PyObject
* _resultobj
;
7948 wxFileTypeInfo
* _arg0
;
7950 int _arg2
= (int ) 0;
7951 PyObject
* _argo0
= 0;
7952 PyObject
* _obj1
= 0;
7953 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
7956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
7959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
7966 _arg1
= wxString_in_helper(_obj1
);
7971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7972 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
7974 wxPyEndAllowThreads(__tstate
);
7975 if (PyErr_Occurred()) return NULL
;
7976 } Py_INCREF(Py_None
);
7977 _resultobj
= Py_None
;
7985 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
7986 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7987 PyObject
* _resultobj
;
7988 wxFileTypeInfo
* _arg0
;
7990 PyObject
* _argo0
= 0;
7991 PyObject
* _obj1
= 0;
7992 char *_kwnames
[] = { "self","shortDesc", NULL
};
7995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
7998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
8005 _arg1
= wxString_in_helper(_obj1
);
8010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8011 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
8013 wxPyEndAllowThreads(__tstate
);
8014 if (PyErr_Occurred()) return NULL
;
8015 } Py_INCREF(Py_None
);
8016 _resultobj
= Py_None
;
8024 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
8025 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8026 PyObject
* _resultobj
;
8028 wxFileTypeInfo
* _arg0
;
8029 PyObject
* _argo0
= 0;
8030 char *_kwnames
[] = { "self", NULL
};
8033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
8036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
8043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8044 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
8045 _result
= (wxString
*) &_result_ref
;
8047 wxPyEndAllowThreads(__tstate
);
8048 if (PyErr_Occurred()) return NULL
;
8051 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8053 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8059 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
8060 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
* _resultobj
;
8063 wxFileTypeInfo
* _arg0
;
8064 PyObject
* _argo0
= 0;
8065 char *_kwnames
[] = { "self", NULL
};
8068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
8071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
8078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8079 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
8080 _result
= (wxString
*) &_result_ref
;
8082 wxPyEndAllowThreads(__tstate
);
8083 if (PyErr_Occurred()) return NULL
;
8086 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8088 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8094 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
8095 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8096 PyObject
* _resultobj
;
8098 wxFileTypeInfo
* _arg0
;
8099 PyObject
* _argo0
= 0;
8100 char *_kwnames
[] = { "self", NULL
};
8103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
8106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8114 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
8115 _result
= (wxString
*) &_result_ref
;
8117 wxPyEndAllowThreads(__tstate
);
8118 if (PyErr_Occurred()) return NULL
;
8121 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8123 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8129 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8130 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8131 PyObject
* _resultobj
;
8133 wxFileTypeInfo
* _arg0
;
8134 PyObject
* _argo0
= 0;
8135 char *_kwnames
[] = { "self", NULL
};
8138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8149 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8150 _result
= (wxString
*) &_result_ref
;
8152 wxPyEndAllowThreads(__tstate
);
8153 if (PyErr_Occurred()) return NULL
;
8156 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8158 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8164 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8165 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8166 PyObject
* _resultobj
;
8168 wxFileTypeInfo
* _arg0
;
8169 PyObject
* _argo0
= 0;
8170 char *_kwnames
[] = { "self", NULL
};
8173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8185 _result
= (wxString
*) &_result_ref
;
8187 wxPyEndAllowThreads(__tstate
);
8188 if (PyErr_Occurred()) return NULL
;
8191 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8193 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8199 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8200 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8201 return wxArrayString2PyList_helper(arr
);
8203 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
* _resultobj
;
8206 wxFileTypeInfo
* _arg0
;
8207 PyObject
* _argo0
= 0;
8208 char *_kwnames
[] = { "self", NULL
};
8211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8222 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8224 wxPyEndAllowThreads(__tstate
);
8225 if (PyErr_Occurred()) return NULL
;
8227 _resultobj
= _result
;
8232 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8233 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8234 PyObject
* _resultobj
;
8236 wxFileTypeInfo
* _arg0
;
8237 PyObject
* _argo0
= 0;
8238 char *_kwnames
[] = { "self", NULL
};
8241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8252 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8254 wxPyEndAllowThreads(__tstate
);
8255 if (PyErr_Occurred()) return NULL
;
8256 } _resultobj
= Py_BuildValue("i",_result
);
8260 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8261 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8262 PyObject
* _resultobj
;
8264 wxFileTypeInfo
* _arg0
;
8265 PyObject
* _argo0
= 0;
8266 char *_kwnames
[] = { "self", NULL
};
8269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8281 _result
= (wxString
*) &_result_ref
;
8283 wxPyEndAllowThreads(__tstate
);
8284 if (PyErr_Occurred()) return NULL
;
8287 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8289 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8295 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8296 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
* _resultobj
;
8299 wxFileTypeInfo
* _arg0
;
8300 PyObject
* _argo0
= 0;
8301 char *_kwnames
[] = { "self", NULL
};
8304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8315 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8317 wxPyEndAllowThreads(__tstate
);
8318 if (PyErr_Occurred()) return NULL
;
8319 } _resultobj
= Py_BuildValue("i",_result
);
8323 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8324 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8325 PyObject
* _resultobj
;
8326 wxFileType
* _result
;
8327 wxFileTypeInfo
* _arg0
;
8328 PyObject
* _argo0
= 0;
8329 char *_kwnames
[] = { "ftInfo", NULL
};
8333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8344 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8346 wxPyEndAllowThreads(__tstate
);
8347 if (PyErr_Occurred()) return NULL
;
8349 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8350 _resultobj
= Py_BuildValue("s",_ptemp
);
8353 _resultobj
= Py_None
;
8358 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8360 if (self
->GetMimeType(&str
)) {
8362 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8364 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8370 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8371 PyObject
* _resultobj
;
8374 PyObject
* _argo0
= 0;
8375 char *_kwnames
[] = { "self", NULL
};
8378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8389 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) return NULL
;
8394 _resultobj
= _result
;
8399 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8401 if (self
->GetMimeTypes(arr
))
8402 return wxArrayString2PyList_helper(arr
);
8406 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8407 PyObject
* _resultobj
;
8410 PyObject
* _argo0
= 0;
8411 char *_kwnames
[] = { "self", NULL
};
8414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8425 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8427 wxPyEndAllowThreads(__tstate
);
8428 if (PyErr_Occurred()) return NULL
;
8430 _resultobj
= _result
;
8435 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8437 if (self
->GetExtensions(arr
))
8438 return wxArrayString2PyList_helper(arr
);
8442 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8443 PyObject
* _resultobj
;
8446 PyObject
* _argo0
= 0;
8447 char *_kwnames
[] = { "self", NULL
};
8450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8461 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8463 wxPyEndAllowThreads(__tstate
);
8464 if (PyErr_Occurred()) return NULL
;
8466 _resultobj
= _result
;
8471 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8473 if (self
->GetIcon(&icon
))
8474 return new wxIcon(icon
);
8478 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8479 PyObject
* _resultobj
;
8482 PyObject
* _argo0
= 0;
8483 char *_kwnames
[] = { "self", NULL
};
8487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8498 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8500 wxPyEndAllowThreads(__tstate
);
8501 if (PyErr_Occurred()) return NULL
;
8503 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8504 _resultobj
= Py_BuildValue("s",_ptemp
);
8507 _resultobj
= Py_None
;
8512 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8516 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8517 wxPyBeginBlockThreads();
8518 PyObject
* tuple
= PyTuple_New(3);
8519 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8522 PyTuple_SetItem(tuple
, 1, PyUnicode_FromUnicode(iconFile
.c_str(), iconFile
.Len()));
8524 PyTuple_SetItem(tuple
, 1, PyString_FromStringAndSize(iconFile
.c_str(), iconFile
.Len()));
8526 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8527 wxPyEndBlockThreads();
8533 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
* _resultobj
;
8537 PyObject
* _argo0
= 0;
8538 char *_kwnames
[] = { "self", NULL
};
8541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8552 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8554 wxPyEndAllowThreads(__tstate
);
8555 if (PyErr_Occurred()) return NULL
;
8557 _resultobj
= _result
;
8562 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8564 if (self
->GetDescription(&str
)) {
8566 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8568 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8573 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8574 PyObject
* _resultobj
;
8577 PyObject
* _argo0
= 0;
8578 char *_kwnames
[] = { "self", NULL
};
8581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
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_GetDescription. Expected _wxFileType_p.");
8591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8592 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8594 wxPyEndAllowThreads(__tstate
);
8595 if (PyErr_Occurred()) return NULL
;
8597 _resultobj
= _result
;
8602 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8604 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8606 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8608 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8613 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8614 PyObject
* _resultobj
;
8618 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8619 PyObject
* _argo0
= 0;
8620 PyObject
* _obj1
= 0;
8621 PyObject
* _obj2
= 0;
8622 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8635 _arg1
= wxString_in_helper(_obj1
);
8641 _arg2
= wxString_in_helper(_obj2
);
8646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8647 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8649 wxPyEndAllowThreads(__tstate
);
8650 if (PyErr_Occurred()) return NULL
;
8652 _resultobj
= _result
;
8665 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8667 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8669 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8671 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8676 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8677 PyObject
* _resultobj
;
8681 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8682 PyObject
* _argo0
= 0;
8683 PyObject
* _obj1
= 0;
8684 PyObject
* _obj2
= 0;
8685 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8698 _arg1
= wxString_in_helper(_obj1
);
8704 _arg2
= wxString_in_helper(_obj2
);
8709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8712 wxPyEndAllowThreads(__tstate
);
8713 if (PyErr_Occurred()) return NULL
;
8715 _resultobj
= _result
;
8728 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8729 wxArrayString verbs
;
8730 wxArrayString commands
;
8731 if (self
->GetAllCommands(&verbs
, &commands
,
8732 wxFileType::MessageParameters(filename
, mimetype
))) {
8733 wxPyBeginBlockThreads();
8734 PyObject
* tuple
= PyTuple_New(2);
8735 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8736 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8737 wxPyEndBlockThreads();
8743 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8744 PyObject
* _resultobj
;
8748 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8749 PyObject
* _argo0
= 0;
8750 PyObject
* _obj1
= 0;
8751 PyObject
* _obj2
= 0;
8752 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8765 _arg1
= wxString_in_helper(_obj1
);
8771 _arg2
= wxString_in_helper(_obj2
);
8776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8779 wxPyEndAllowThreads(__tstate
);
8780 if (PyErr_Occurred()) return NULL
;
8782 _resultobj
= _result
;
8795 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8796 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8797 PyObject
* _resultobj
;
8802 bool _arg3
= (bool ) TRUE
;
8803 PyObject
* _argo0
= 0;
8804 PyObject
* _obj1
= 0;
8805 PyObject
* _obj2
= 0;
8806 int tempbool3
= (int) TRUE
;
8807 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8820 _arg1
= wxString_in_helper(_obj1
);
8825 _arg2
= wxString_in_helper(_obj2
);
8829 _arg3
= (bool ) tempbool3
;
8831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8832 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8834 wxPyEndAllowThreads(__tstate
);
8835 if (PyErr_Occurred()) return NULL
;
8836 } _resultobj
= Py_BuildValue("i",_result
);
8848 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8849 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8850 PyObject
* _resultobj
;
8853 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
8854 int _arg2
= (int ) 0;
8855 PyObject
* _argo0
= 0;
8856 PyObject
* _obj1
= 0;
8857 char *_kwnames
[] = { "self","cmd","index", NULL
};
8860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8871 _arg1
= wxString_in_helper(_obj1
);
8876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
8879 wxPyEndAllowThreads(__tstate
);
8880 if (PyErr_Occurred()) return NULL
;
8881 } _resultobj
= Py_BuildValue("i",_result
);
8889 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
8890 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8891 PyObject
* _resultobj
;
8894 PyObject
* _argo0
= 0;
8895 char *_kwnames
[] = { "self", NULL
};
8898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
8901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
8908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8909 _result
= (bool )wxFileType_Unassociate(_arg0
);
8911 wxPyEndAllowThreads(__tstate
);
8912 if (PyErr_Occurred()) return NULL
;
8913 } _resultobj
= Py_BuildValue("i",_result
);
8917 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8918 PyObject
* _resultobj
;
8921 wxFileType::MessageParameters
* _arg1
;
8922 PyObject
* _obj0
= 0;
8923 PyObject
* _argo1
= 0;
8924 char *_kwnames
[] = { "command","params", NULL
};
8927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
8930 _arg0
= wxString_in_helper(_obj0
);
8935 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8936 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
8937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8943 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
8945 wxPyEndAllowThreads(__tstate
);
8946 if (PyErr_Occurred()) return NULL
;
8949 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8951 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8964 #define delete_wxFileType(_swigobj) (delete _swigobj)
8965 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8966 PyObject
* _resultobj
;
8968 PyObject
* _argo0
= 0;
8969 char *_kwnames
[] = { "self", NULL
};
8972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
8975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8983 delete_wxFileType(_arg0
);
8985 wxPyEndAllowThreads(__tstate
);
8986 if (PyErr_Occurred()) return NULL
;
8987 } Py_INCREF(Py_None
);
8988 _resultobj
= Py_None
;
8992 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8993 PyObject
* _resultobj
;
8997 PyObject
* _obj0
= 0;
8998 PyObject
* _obj1
= 0;
8999 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
9002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
9005 _arg0
= wxString_in_helper(_obj0
);
9010 _arg1
= wxString_in_helper(_obj1
);
9015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9016 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
9018 wxPyEndAllowThreads(__tstate
);
9019 if (PyErr_Occurred()) return NULL
;
9020 } _resultobj
= Py_BuildValue("i",_result
);
9032 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
9033 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9034 PyObject
* _resultobj
;
9035 wxMimeTypesManager
* _result
;
9036 char *_kwnames
[] = { NULL
};
9040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
9043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9044 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
9046 wxPyEndAllowThreads(__tstate
);
9047 if (PyErr_Occurred()) return NULL
;
9049 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
9050 _resultobj
= Py_BuildValue("s",_ptemp
);
9053 _resultobj
= Py_None
;
9058 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
9059 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9060 PyObject
* _resultobj
;
9061 wxMimeTypesManager
* _arg0
;
9062 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
9063 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
9064 PyObject
* _argo0
= 0;
9065 PyObject
* _obj2
= 0;
9066 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
9069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
9072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
9080 _arg2
= wxString_in_helper(_obj2
);
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) return NULL
;
9090 } Py_INCREF(Py_None
);
9091 _resultobj
= Py_None
;
9099 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
9100 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9101 PyObject
* _resultobj
;
9102 wxMimeTypesManager
* _arg0
;
9103 PyObject
* _argo0
= 0;
9104 char *_kwnames
[] = { "self", NULL
};
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9118 wxMimeTypesManager_ClearData(_arg0
);
9120 wxPyEndAllowThreads(__tstate
);
9121 if (PyErr_Occurred()) return NULL
;
9122 } Py_INCREF(Py_None
);
9123 _resultobj
= Py_None
;
9127 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9128 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
* _resultobj
;
9130 wxFileType
* _result
;
9131 wxMimeTypesManager
* _arg0
;
9133 PyObject
* _argo0
= 0;
9134 PyObject
* _obj1
= 0;
9135 char *_kwnames
[] = { "self","ext", NULL
};
9139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
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_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9149 _arg1
= wxString_in_helper(_obj1
);
9154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9157 wxPyEndAllowThreads(__tstate
);
9158 if (PyErr_Occurred()) return NULL
;
9160 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9161 _resultobj
= Py_BuildValue("s",_ptemp
);
9164 _resultobj
= Py_None
;
9173 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9174 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9175 PyObject
* _resultobj
;
9176 wxFileType
* _result
;
9177 wxMimeTypesManager
* _arg0
;
9179 PyObject
* _argo0
= 0;
9180 PyObject
* _obj1
= 0;
9181 char *_kwnames
[] = { "self","mimeType", NULL
};
9185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9195 _arg1
= wxString_in_helper(_obj1
);
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) return NULL
;
9206 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9207 _resultobj
= Py_BuildValue("s",_ptemp
);
9210 _resultobj
= Py_None
;
9219 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9220 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9221 PyObject
* _resultobj
;
9223 wxMimeTypesManager
* _arg0
;
9225 bool _arg2
= (bool ) FALSE
;
9226 PyObject
* _argo0
= 0;
9227 PyObject
* _obj1
= 0;
9228 int tempbool2
= (int) FALSE
;
9229 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9242 _arg1
= wxString_in_helper(_obj1
);
9246 _arg2
= (bool ) tempbool2
;
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9251 wxPyEndAllowThreads(__tstate
);
9252 if (PyErr_Occurred()) return NULL
;
9253 } _resultobj
= Py_BuildValue("i",_result
);
9261 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9262 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
* _resultobj
;
9265 wxMimeTypesManager
* _arg0
;
9267 PyObject
* _argo0
= 0;
9268 PyObject
* _obj1
= 0;
9269 char *_kwnames
[] = { "self","filename", NULL
};
9272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9282 _arg1
= wxString_in_helper(_obj1
);
9287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9290 wxPyEndAllowThreads(__tstate
);
9291 if (PyErr_Occurred()) return NULL
;
9292 } _resultobj
= Py_BuildValue("i",_result
);
9300 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9302 self
->EnumAllFileTypes(arr
);
9303 return wxArrayString2PyList_helper(arr
);
9305 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9306 PyObject
* _resultobj
;
9308 wxMimeTypesManager
* _arg0
;
9309 PyObject
* _argo0
= 0;
9310 char *_kwnames
[] = { "self", NULL
};
9313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) return NULL
;
9329 _resultobj
= _result
;
9334 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9335 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9336 PyObject
* _resultobj
;
9337 wxMimeTypesManager
* _arg0
;
9338 wxFileTypeInfo
* _arg1
;
9339 PyObject
* _argo0
= 0;
9340 PyObject
* _argo1
= 0;
9341 char *_kwnames
[] = { "self","ft", NULL
};
9344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9354 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9355 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) return NULL
;
9366 } Py_INCREF(Py_None
);
9367 _resultobj
= Py_None
;
9371 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9372 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
* _resultobj
;
9374 wxFileType
* _result
;
9375 wxMimeTypesManager
* _arg0
;
9376 wxFileTypeInfo
* _arg1
;
9377 PyObject
* _argo0
= 0;
9378 PyObject
* _argo1
= 0;
9379 char *_kwnames
[] = { "self","ftInfo", NULL
};
9383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9393 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9394 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9401 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9403 wxPyEndAllowThreads(__tstate
);
9404 if (PyErr_Occurred()) return NULL
;
9406 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9407 _resultobj
= Py_BuildValue("s",_ptemp
);
9410 _resultobj
= Py_None
;
9415 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9416 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
* _resultobj
;
9419 wxMimeTypesManager
* _arg0
;
9421 PyObject
* _argo0
= 0;
9422 PyObject
* _argo1
= 0;
9423 char *_kwnames
[] = { "self","ft", NULL
};
9426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9436 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9437 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9444 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9446 wxPyEndAllowThreads(__tstate
);
9447 if (PyErr_Occurred()) return NULL
;
9448 } _resultobj
= Py_BuildValue("i",_result
);
9452 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9453 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9454 PyObject
* _resultobj
;
9455 wxMimeTypesManager
* _arg0
;
9456 PyObject
* _argo0
= 0;
9457 char *_kwnames
[] = { "self", NULL
};
9460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9471 delete_wxMimeTypesManager(_arg0
);
9473 wxPyEndAllowThreads(__tstate
);
9474 if (PyErr_Occurred()) return NULL
;
9475 } Py_INCREF(Py_None
);
9476 _resultobj
= Py_None
;
9480 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9483 src
= (wxFileHistory
*) ptr
;
9484 dest
= (wxObject
*) src
;
9485 return (void *) dest
;
9488 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9489 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9490 PyObject
* _resultobj
;
9491 wxFileHistory
* _result
;
9492 int _arg0
= (int ) 9;
9493 char *_kwnames
[] = { "maxFiles", NULL
};
9497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9501 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) return NULL
;
9506 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9507 _resultobj
= Py_BuildValue("s",_ptemp
);
9510 _resultobj
= Py_None
;
9515 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9516 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9517 PyObject
* _resultobj
;
9518 wxFileHistory
* _arg0
;
9519 PyObject
* _argo0
= 0;
9520 char *_kwnames
[] = { "self", NULL
};
9523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9534 delete_wxFileHistory(_arg0
);
9536 wxPyEndAllowThreads(__tstate
);
9537 if (PyErr_Occurred()) return NULL
;
9538 } Py_INCREF(Py_None
);
9539 _resultobj
= Py_None
;
9543 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9544 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
* _resultobj
;
9546 wxFileHistory
* _arg0
;
9548 PyObject
* _argo0
= 0;
9549 PyObject
* _obj1
= 0;
9550 char *_kwnames
[] = { "self","file", NULL
};
9553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9563 _arg1
= wxString_in_helper(_obj1
);
9568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9569 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9571 wxPyEndAllowThreads(__tstate
);
9572 if (PyErr_Occurred()) return NULL
;
9573 } Py_INCREF(Py_None
);
9574 _resultobj
= Py_None
;
9582 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9583 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9584 PyObject
* _resultobj
;
9585 wxFileHistory
* _arg0
;
9587 PyObject
* _argo0
= 0;
9588 char *_kwnames
[] = { "self","i", NULL
};
9591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9602 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
9604 wxPyEndAllowThreads(__tstate
);
9605 if (PyErr_Occurred()) return NULL
;
9606 } Py_INCREF(Py_None
);
9607 _resultobj
= Py_None
;
9611 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9612 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9613 PyObject
* _resultobj
;
9615 wxFileHistory
* _arg0
;
9616 PyObject
* _argo0
= 0;
9617 char *_kwnames
[] = { "self", NULL
};
9620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
9623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9631 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
9633 wxPyEndAllowThreads(__tstate
);
9634 if (PyErr_Occurred()) return NULL
;
9635 } _resultobj
= Py_BuildValue("i",_result
);
9639 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
9640 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9641 PyObject
* _resultobj
;
9642 wxFileHistory
* _arg0
;
9644 PyObject
* _argo0
= 0;
9645 PyObject
* _argo1
= 0;
9646 char *_kwnames
[] = { "self","menu", NULL
};
9649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
9652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
9659 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9660 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 wxFileHistory_UseMenu(_arg0
,_arg1
);
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) return NULL
;
9671 } Py_INCREF(Py_None
);
9672 _resultobj
= Py_None
;
9676 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
9677 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9678 PyObject
* _resultobj
;
9679 wxFileHistory
* _arg0
;
9681 PyObject
* _argo0
= 0;
9682 PyObject
* _argo1
= 0;
9683 char *_kwnames
[] = { "self","menu", NULL
};
9686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
9689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
9696 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9697 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
9703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9704 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
9706 wxPyEndAllowThreads(__tstate
);
9707 if (PyErr_Occurred()) return NULL
;
9708 } Py_INCREF(Py_None
);
9709 _resultobj
= Py_None
;
9713 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
9714 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9715 PyObject
* _resultobj
;
9716 wxFileHistory
* _arg0
;
9717 wxConfigBase
* _arg1
;
9718 PyObject
* _argo0
= 0;
9719 PyObject
* _argo1
= 0;
9720 char *_kwnames
[] = { "self","config", NULL
};
9723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
9726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
9733 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9734 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
9740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9741 wxFileHistory_Load(_arg0
,*_arg1
);
9743 wxPyEndAllowThreads(__tstate
);
9744 if (PyErr_Occurred()) return NULL
;
9745 } Py_INCREF(Py_None
);
9746 _resultobj
= Py_None
;
9750 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
9751 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9752 PyObject
* _resultobj
;
9753 wxFileHistory
* _arg0
;
9754 wxConfigBase
* _arg1
;
9755 PyObject
* _argo0
= 0;
9756 PyObject
* _argo1
= 0;
9757 char *_kwnames
[] = { "self","config", NULL
};
9760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
9763 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9764 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9765 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
9770 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9771 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 wxFileHistory_Save(_arg0
,*_arg1
);
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) return NULL
;
9782 } Py_INCREF(Py_None
);
9783 _resultobj
= Py_None
;
9787 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
9788 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
* _resultobj
;
9790 wxFileHistory
* _arg0
;
9791 PyObject
* _argo0
= 0;
9792 char *_kwnames
[] = { "self", NULL
};
9795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
9798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
9805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9806 wxFileHistory_AddFilesToMenu(_arg0
);
9808 wxPyEndAllowThreads(__tstate
);
9809 if (PyErr_Occurred()) return NULL
;
9810 } Py_INCREF(Py_None
);
9811 _resultobj
= Py_None
;
9815 #define wxFileHistory_AddFilesToThisMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
9816 static PyObject
*_wrap_wxFileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9817 PyObject
* _resultobj
;
9818 wxFileHistory
* _arg0
;
9820 PyObject
* _argo0
= 0;
9821 PyObject
* _argo1
= 0;
9822 char *_kwnames
[] = { "self","menu", NULL
};
9825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToThisMenu",_kwnames
,&_argo0
,&_argo1
))
9828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToThisMenu. Expected _wxFileHistory_p.");
9835 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9836 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToThisMenu. Expected _wxMenu_p.");
9842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9843 wxFileHistory_AddFilesToThisMenu(_arg0
,_arg1
);
9845 wxPyEndAllowThreads(__tstate
);
9846 if (PyErr_Occurred()) return NULL
;
9847 } Py_INCREF(Py_None
);
9848 _resultobj
= Py_None
;
9852 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
9853 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9854 PyObject
* _resultobj
;
9856 wxFileHistory
* _arg0
;
9858 PyObject
* _argo0
= 0;
9859 char *_kwnames
[] = { "self","i", NULL
};
9862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
9865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
9875 wxPyEndAllowThreads(__tstate
);
9876 if (PyErr_Occurred()) return NULL
;
9879 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9881 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9890 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
9891 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9892 PyObject
* _resultobj
;
9894 wxFileHistory
* _arg0
;
9895 PyObject
* _argo0
= 0;
9896 char *_kwnames
[] = { "self", NULL
};
9899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
9902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
9909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9910 _result
= (int )wxFileHistory_GetCount(_arg0
);
9912 wxPyEndAllowThreads(__tstate
);
9913 if (PyErr_Occurred()) return NULL
;
9914 } _resultobj
= Py_BuildValue("i",_result
);
9918 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
9919 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
* _resultobj
;
9922 wxFileHistory
* _arg0
;
9923 PyObject
* _argo0
= 0;
9924 char *_kwnames
[] = { "self", NULL
};
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
9930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
9937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9938 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
9940 wxPyEndAllowThreads(__tstate
);
9941 if (PyErr_Occurred()) return NULL
;
9942 } _resultobj
= Py_BuildValue("i",_result
);
9946 static PyMethodDef misc2cMethods
[] = {
9947 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
9948 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
9949 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
9950 { "wxFileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
9951 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
9952 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
9953 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
9954 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
9955 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
9956 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
9957 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
9958 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
9959 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
9960 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
9961 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
9962 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
9963 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
9964 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
9965 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
9966 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
9967 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
9968 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9969 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
9970 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
9971 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
9972 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
9973 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
9974 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
9975 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
9976 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
9977 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
9978 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
9979 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
9980 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
9981 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
9982 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
9983 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
9984 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
9985 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
9986 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
9987 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9988 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
9989 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
9990 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
9991 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
9992 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
9993 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
9994 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
9995 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
9996 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
9997 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9998 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
9999 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
10000 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
10001 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10002 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
10003 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
10004 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
10005 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10006 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10007 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
10008 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
10009 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
10010 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
10011 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
10012 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
10013 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
10014 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
10015 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
10016 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
10017 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
10018 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
10019 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
10020 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
10021 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
10022 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
10023 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
10024 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
10025 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
10026 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
10027 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
10028 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
10029 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
10030 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
10031 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
10032 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
10033 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
10034 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
10035 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
10036 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
10037 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
10038 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
10039 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10040 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10041 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
10042 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10043 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
10044 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
10045 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
10046 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
10047 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
10048 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
10049 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10050 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10051 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
10052 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
10053 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
10054 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
10055 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
10056 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
10057 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
10058 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
10059 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
10060 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10061 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10062 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
10063 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
10064 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
10065 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
10066 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
10067 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
10068 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
10069 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
10070 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
10071 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
10072 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
10073 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10074 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
10075 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10076 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10077 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10078 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
10079 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
10080 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
10081 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10082 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
10083 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
10084 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
10085 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
10086 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
10087 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
10088 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
10089 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
10090 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10091 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10092 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10093 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10094 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
10095 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
10096 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10097 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10098 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
10099 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
10100 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10101 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10102 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
10103 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10104 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10105 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
10106 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10107 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
10108 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
10109 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
10110 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10111 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
10112 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
10113 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10114 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
10115 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
10116 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10117 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10118 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
10119 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
10120 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
10121 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
10122 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
10123 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
10124 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10125 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10126 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
10127 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
10128 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10129 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
10130 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
10131 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
10132 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
10133 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
10134 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10135 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10136 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
10137 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
10138 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
10139 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
10140 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10141 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10142 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
10143 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10144 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10145 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10146 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10147 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10148 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10149 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10150 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10151 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10152 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
10153 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10154 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10155 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
10156 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10157 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10158 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10159 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10160 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10161 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10162 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10163 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10164 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10165 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10166 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
10167 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10168 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10169 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10170 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
10171 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10172 { "wxSystemSettings_SetScreen", (PyCFunction
) _wrap_wxSystemSettings_SetScreen
, METH_VARARGS
| METH_KEYWORDS
},
10173 { "wxSystemSettings_GetScreen", (PyCFunction
) _wrap_wxSystemSettings_GetScreen
, METH_VARARGS
| METH_KEYWORDS
},
10174 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
10175 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
10176 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10177 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10178 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
10179 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
10180 { "wxSafeShowMessage", (PyCFunction
) _wrap_wxSafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
10181 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
10182 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
10183 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
10184 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10185 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
10186 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
10187 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
10188 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
10189 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
10190 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
10191 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
10192 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10193 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
10194 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
10195 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
10196 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
10197 { "wxWakeUpMainThread", (PyCFunction
) _wrap_wxWakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
10198 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
10199 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
10200 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
10201 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10202 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10203 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
10204 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
10205 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
10206 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10207 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10208 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
10209 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10210 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
10211 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10212 { "wxGetTopLevelParent", (PyCFunction
) _wrap_wxGetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
10213 { "wxFlushEvents", (PyCFunction
) _wrap_wxFlushEvents
, METH_VARARGS
| METH_KEYWORDS
},
10214 { "wxCheckForInterrupt", (PyCFunction
) _wrap_wxCheckForInterrupt
, METH_VARARGS
| METH_KEYWORDS
},
10215 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10216 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10217 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
10218 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10219 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
10220 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
10221 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10222 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10223 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10224 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10225 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10226 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10227 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10228 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10229 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10230 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
10231 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10232 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
10233 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
10234 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
10235 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10236 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10237 { "wxDirSelector", (PyCFunction
) _wrap_wxDirSelector
, METH_VARARGS
| METH_KEYWORDS
},
10238 { "wxSaveFileSelector", (PyCFunction
) _wrap_wxSaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10239 { "wxLoadFileSelector", (PyCFunction
) _wrap_wxLoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10240 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10247 * This table is used by the pointer type-checker
10249 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10250 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
10251 { "_signed_long","_long",0},
10252 { "_wxPrintQuality","_wxCoord",0},
10253 { "_wxPrintQuality","_int",0},
10254 { "_wxPrintQuality","_signed_int",0},
10255 { "_wxPrintQuality","_unsigned_int",0},
10256 { "_wxPrintQuality","_wxWindowID",0},
10257 { "_wxPrintQuality","_uint",0},
10258 { "_wxPrintQuality","_EBool",0},
10259 { "_wxPrintQuality","_size_t",0},
10260 { "_wxPrintQuality","_time_t",0},
10261 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
10262 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
10263 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
10264 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
10265 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
10266 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
10267 { "_byte","_unsigned_char",0},
10268 { "_long","_unsigned_long",0},
10269 { "_long","_signed_long",0},
10270 { "_size_t","_wxCoord",0},
10271 { "_size_t","_wxPrintQuality",0},
10272 { "_size_t","_time_t",0},
10273 { "_size_t","_unsigned_int",0},
10274 { "_size_t","_int",0},
10275 { "_size_t","_wxWindowID",0},
10276 { "_size_t","_uint",0},
10277 { "_uint","_wxCoord",0},
10278 { "_uint","_wxPrintQuality",0},
10279 { "_uint","_time_t",0},
10280 { "_uint","_size_t",0},
10281 { "_uint","_unsigned_int",0},
10282 { "_uint","_int",0},
10283 { "_uint","_wxWindowID",0},
10284 { "_wxChar","_char",0},
10285 { "_char","_wxChar",0},
10286 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10287 { "_EBool","_wxCoord",0},
10288 { "_EBool","_wxPrintQuality",0},
10289 { "_EBool","_signed_int",0},
10290 { "_EBool","_int",0},
10291 { "_EBool","_wxWindowID",0},
10292 { "_unsigned_long","_long",0},
10293 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10294 { "_signed_int","_wxCoord",0},
10295 { "_signed_int","_wxPrintQuality",0},
10296 { "_signed_int","_EBool",0},
10297 { "_signed_int","_wxWindowID",0},
10298 { "_signed_int","_int",0},
10299 { "_WXTYPE","_wxDateTime_t",0},
10300 { "_WXTYPE","_short",0},
10301 { "_WXTYPE","_signed_short",0},
10302 { "_WXTYPE","_unsigned_short",0},
10303 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
10304 { "_unsigned_short","_wxDateTime_t",0},
10305 { "_unsigned_short","_WXTYPE",0},
10306 { "_unsigned_short","_short",0},
10307 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
10308 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
10309 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
10310 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
10311 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
10312 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
10313 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
10314 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
10315 { "_signed_short","_WXTYPE",0},
10316 { "_signed_short","_short",0},
10317 { "_unsigned_char","_byte",0},
10318 { "_unsigned_int","_wxCoord",0},
10319 { "_unsigned_int","_wxPrintQuality",0},
10320 { "_unsigned_int","_time_t",0},
10321 { "_unsigned_int","_size_t",0},
10322 { "_unsigned_int","_uint",0},
10323 { "_unsigned_int","_wxWindowID",0},
10324 { "_unsigned_int","_int",0},
10325 { "_short","_wxDateTime_t",0},
10326 { "_short","_WXTYPE",0},
10327 { "_short","_unsigned_short",0},
10328 { "_short","_signed_short",0},
10329 { "_wxWindowID","_wxCoord",0},
10330 { "_wxWindowID","_wxPrintQuality",0},
10331 { "_wxWindowID","_time_t",0},
10332 { "_wxWindowID","_size_t",0},
10333 { "_wxWindowID","_EBool",0},
10334 { "_wxWindowID","_uint",0},
10335 { "_wxWindowID","_int",0},
10336 { "_wxWindowID","_signed_int",0},
10337 { "_wxWindowID","_unsigned_int",0},
10338 { "_int","_wxCoord",0},
10339 { "_int","_wxPrintQuality",0},
10340 { "_int","_time_t",0},
10341 { "_int","_size_t",0},
10342 { "_int","_EBool",0},
10343 { "_int","_uint",0},
10344 { "_int","_wxWindowID",0},
10345 { "_int","_unsigned_int",0},
10346 { "_int","_signed_int",0},
10347 { "_wxDateTime_t","_unsigned_short",0},
10348 { "_wxDateTime_t","_short",0},
10349 { "_wxDateTime_t","_WXTYPE",0},
10350 { "_time_t","_wxCoord",0},
10351 { "_time_t","_wxPrintQuality",0},
10352 { "_time_t","_unsigned_int",0},
10353 { "_time_t","_int",0},
10354 { "_time_t","_wxWindowID",0},
10355 { "_time_t","_uint",0},
10356 { "_time_t","_size_t",0},
10357 { "_wxCoord","_int",0},
10358 { "_wxCoord","_signed_int",0},
10359 { "_wxCoord","_unsigned_int",0},
10360 { "_wxCoord","_wxWindowID",0},
10361 { "_wxCoord","_uint",0},
10362 { "_wxCoord","_EBool",0},
10363 { "_wxCoord","_size_t",0},
10364 { "_wxCoord","_time_t",0},
10365 { "_wxCoord","_wxPrintQuality",0},
10366 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
10369 static PyObject
*SWIG_globals
;
10373 SWIGEXPORT(void) initmisc2c() {
10375 SWIG_globals
= SWIG_newvarlink();
10376 m
= Py_InitModule("misc2c", misc2cMethods
);
10377 d
= PyModule_GetDict(m
);
10378 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
10379 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
10380 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
10381 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
10382 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
10383 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
10384 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
10385 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
10386 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
10387 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
10388 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
10389 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
10390 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
10391 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
10392 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
10393 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
10394 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
10395 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
10396 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
10397 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
10398 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
10399 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
10400 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
10401 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
10402 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
10403 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
10404 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
10405 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
10406 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
10407 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
10408 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
10409 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
10410 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
10411 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
10412 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
10413 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
10414 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
10415 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
10416 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
10417 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
10418 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
10419 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
10420 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
10421 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
10422 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
10423 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
10424 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
10425 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
10426 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
10427 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
10428 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
10429 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
10430 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
10431 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
10432 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
10433 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
10434 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
10435 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
10436 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
10437 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
10438 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
10439 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
10440 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
10441 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
10442 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
10443 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
10444 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
10445 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
10446 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
10447 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
10448 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
10449 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
10450 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
10451 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
10452 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
10453 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
10454 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
10455 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
10456 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
10457 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
10458 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
10459 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
10460 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
10461 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
10462 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
10463 PyDict_SetItemString(d
,"wxSYS_SCREEN_NONE", PyInt_FromLong((long) wxSYS_SCREEN_NONE
));
10464 PyDict_SetItemString(d
,"wxSYS_SCREEN_DESKTOP", PyInt_FromLong((long) wxSYS_SCREEN_DESKTOP
));
10465 PyDict_SetItemString(d
,"wxSYS_SCREEN_SMALL", PyInt_FromLong((long) wxSYS_SCREEN_SMALL
));
10466 PyDict_SetItemString(d
,"wxSYS_SCREEN_PDA", PyInt_FromLong((long) wxSYS_SCREEN_PDA
));
10467 PyDict_SetItemString(d
,"wxSYS_SCREEN_TINY", PyInt_FromLong((long) wxSYS_SCREEN_TINY
));
10468 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
10469 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
10470 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
10471 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
10472 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
10473 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
10474 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
10475 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
10476 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
10477 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
10478 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
10479 PyDict_SetItemString(d
,"wxEXEC_ASYNC", PyInt_FromLong((long) wxEXEC_ASYNC
));
10480 PyDict_SetItemString(d
,"wxEXEC_SYNC", PyInt_FromLong((long) wxEXEC_SYNC
));
10481 PyDict_SetItemString(d
,"wxEXEC_NOHIDE", PyInt_FromLong((long) wxEXEC_NOHIDE
));
10482 PyDict_SetItemString(d
,"wxEXEC_MAKE_GROUP_LEADER", PyInt_FromLong((long) wxEXEC_MAKE_GROUP_LEADER
));
10483 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
10484 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
10485 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
10486 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
10487 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
10488 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10489 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
10491 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10492 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
10495 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10496 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);