2 * FILE : src/gtk/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_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1299 PyObject
* _resultobj
;
1300 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1301 PyObject
* _argo0
= 0;
1302 char *_kwnames
[] = { "cursor", NULL
};
1305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1316 wxBeginBusyCursor(_arg0
);
1318 wxPyEndAllowThreads(__tstate
);
1319 if (PyErr_Occurred()) return NULL
;
1320 } Py_INCREF(Py_None
);
1321 _resultobj
= Py_None
;
1325 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1326 PyObject
* _resultobj
;
1328 char *_kwnames
[] = { NULL
};
1331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1335 _result
= (wxWindow
*)wxGetActiveWindow();
1337 wxPyEndAllowThreads(__tstate
);
1338 if (PyErr_Occurred()) return NULL
;
1339 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1343 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1344 PyObject
* _resultobj
;
1348 PyObject
* _obj0
= 0;
1349 char *_kwnames
[] = { "pt", NULL
};
1352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1356 if (! wxPoint_helper(_obj0
, &_arg0
))
1360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1361 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1363 wxPyEndAllowThreads(__tstate
);
1364 if (PyErr_Occurred()) return NULL
;
1365 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1369 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1370 PyObject
* _resultobj
;
1374 PyObject
* _obj0
= 0;
1375 char *_kwnames
[] = { "pt", NULL
};
1378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1382 if (! wxPoint_helper(_obj0
, &_arg0
))
1386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1387 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1389 wxPyEndAllowThreads(__tstate
);
1390 if (PyErr_Occurred()) return NULL
;
1391 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1395 static PyObject
*_wrap_wxGetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1396 PyObject
* _resultobj
;
1399 PyObject
* _argo0
= 0;
1400 char *_kwnames
[] = { "win", NULL
};
1403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGetTopLevelParent",_kwnames
,&_argo0
))
1406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGetTopLevelParent. Expected _wxWindow_p.");
1413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1414 _result
= (wxWindow
*)wxGetTopLevelParent(_arg0
);
1416 wxPyEndAllowThreads(__tstate
);
1417 if (PyErr_Occurred()) return NULL
;
1418 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1422 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
* _resultobj
;
1427 char *_kwnames
[] = { "name","value", NULL
};
1430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1434 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1436 wxPyEndAllowThreads(__tstate
);
1437 if (PyErr_Occurred()) return NULL
;
1438 } _resultobj
= Py_BuildValue("i",_result
);
1442 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
* _resultobj
;
1444 char *_kwnames
[] = { NULL
};
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1453 wxPyEndAllowThreads(__tstate
);
1454 if (PyErr_Occurred()) return NULL
;
1455 } Py_INCREF(Py_None
);
1456 _resultobj
= Py_None
;
1460 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1461 PyObject
* _resultobj
;
1464 char *_kwnames
[] = { "resource", NULL
};
1468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1472 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1474 wxPyEndAllowThreads(__tstate
);
1475 if (PyErr_Occurred()) return NULL
;
1476 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1477 _resultobj
= Py_BuildValue("s",_ptemp
);
1481 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
* _resultobj
;
1485 char *_kwnames
[] = { "resource", NULL
};
1489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1493 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1495 wxPyEndAllowThreads(__tstate
);
1496 if (PyErr_Occurred()) return NULL
;
1497 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1498 _resultobj
= Py_BuildValue("s",_ptemp
);
1502 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1503 PyObject
* _resultobj
;
1504 wxMenuBar
* _result
;
1506 char *_kwnames
[] = { "resource", NULL
};
1509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1513 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1515 wxPyEndAllowThreads(__tstate
);
1516 if (PyErr_Occurred()) return NULL
;
1517 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1521 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1522 PyObject
* _resultobj
;
1525 char *_kwnames
[] = { "name", NULL
};
1528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1532 _result
= (int )wxResourceGetIdentifier(_arg0
);
1534 wxPyEndAllowThreads(__tstate
);
1535 if (PyErr_Occurred()) return NULL
;
1536 } _resultobj
= Py_BuildValue("i",_result
);
1540 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1541 PyObject
* _resultobj
;
1544 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1545 PyObject
* _argo1
= 0;
1546 char *_kwnames
[] = { "resource","table", NULL
};
1549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1552 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1553 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1560 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1562 wxPyEndAllowThreads(__tstate
);
1563 if (PyErr_Occurred()) return NULL
;
1564 } _resultobj
= Py_BuildValue("i",_result
);
1568 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1569 PyObject
* _resultobj
;
1572 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1573 PyObject
* _argo1
= 0;
1574 char *_kwnames
[] = { "filename","table", NULL
};
1577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1580 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1581 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1588 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1590 wxPyEndAllowThreads(__tstate
);
1591 if (PyErr_Occurred()) return NULL
;
1592 } _resultobj
= Py_BuildValue("i",_result
);
1596 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1597 PyObject
* _resultobj
;
1600 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1601 PyObject
* _argo1
= 0;
1602 char *_kwnames
[] = { "resource","table", NULL
};
1605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1608 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1609 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1616 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1618 wxPyEndAllowThreads(__tstate
);
1619 if (PyErr_Occurred()) return NULL
;
1620 } _resultobj
= Py_BuildValue("i",_result
);
1624 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1625 PyObject
* _resultobj
;
1627 char *_kwnames
[] = { NULL
};
1630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1634 _result
= (int )wxCaret_GetBlinkTime();
1636 wxPyEndAllowThreads(__tstate
);
1637 if (PyErr_Occurred()) return NULL
;
1638 } _resultobj
= Py_BuildValue("i",_result
);
1642 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1643 PyObject
* _resultobj
;
1645 char *_kwnames
[] = { "milliseconds", NULL
};
1648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1652 wxCaret_SetBlinkTime(_arg0
);
1654 wxPyEndAllowThreads(__tstate
);
1655 if (PyErr_Occurred()) return NULL
;
1656 } Py_INCREF(Py_None
);
1657 _resultobj
= Py_None
;
1661 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1662 PyObject
* _resultobj
;
1664 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1665 PyObject
* _argo0
= 0;
1666 char *_kwnames
[] = { "win", NULL
};
1669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1680 _result
= (bool )wxSafeYield(_arg0
);
1682 wxPyEndAllowThreads(__tstate
);
1683 if (PyErr_Occurred()) return NULL
;
1684 } _resultobj
= Py_BuildValue("i",_result
);
1688 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
* _resultobj
;
1690 wxEvtHandler
* _arg0
;
1692 PyObject
* _argo0
= 0;
1693 PyObject
* _argo1
= 0;
1694 char *_kwnames
[] = { "dest","event", NULL
};
1697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1707 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1708 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1715 wxPostEvent(_arg0
,*_arg1
);
1717 wxPyEndAllowThreads(__tstate
);
1718 if (PyErr_Occurred()) return NULL
;
1719 } Py_INCREF(Py_None
);
1720 _resultobj
= Py_None
;
1724 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1725 PyObject
* _resultobj
;
1726 char *_kwnames
[] = { NULL
};
1729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1735 wxPyEndAllowThreads(__tstate
);
1736 if (PyErr_Occurred()) return NULL
;
1737 } Py_INCREF(Py_None
);
1738 _resultobj
= Py_None
;
1742 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1743 PyObject
* _resultobj
;
1744 char *_kwnames
[] = { NULL
};
1747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1753 wxPyEndAllowThreads(__tstate
);
1754 if (PyErr_Occurred()) return NULL
;
1755 } Py_INCREF(Py_None
);
1756 _resultobj
= Py_None
;
1760 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
* _resultobj
;
1762 char *_kwnames
[] = { NULL
};
1765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1771 wxPyEndAllowThreads(__tstate
);
1772 if (PyErr_Occurred()) return NULL
;
1773 } Py_INCREF(Py_None
);
1774 _resultobj
= Py_None
;
1778 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1779 PyObject
* _resultobj
;
1781 char *_kwnames
[] = { NULL
};
1784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1788 _result
= (bool )wxThread_IsMain();
1790 wxPyEndAllowThreads(__tstate
);
1791 if (PyErr_Occurred()) return NULL
;
1792 } _resultobj
= Py_BuildValue("i",_result
);
1796 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1797 PyObject
* _resultobj
;
1800 wxTipProvider
* _arg1
;
1801 bool _arg2
= (bool ) TRUE
;
1802 PyObject
* _argo0
= 0;
1803 PyObject
* _argo1
= 0;
1804 int tempbool2
= (int) TRUE
;
1805 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1818 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1819 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1820 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1824 _arg2
= (bool ) tempbool2
;
1826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1827 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1829 wxPyEndAllowThreads(__tstate
);
1830 if (PyErr_Occurred()) return NULL
;
1831 } _resultobj
= Py_BuildValue("i",_result
);
1835 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
* _resultobj
;
1837 wxTipProvider
* _result
;
1840 PyObject
* _obj0
= 0;
1841 char *_kwnames
[] = { "filename","currentTip", NULL
};
1845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1848 _arg0
= wxString_in_helper(_obj0
);
1853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1854 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1856 wxPyEndAllowThreads(__tstate
);
1857 if (PyErr_Occurred()) return NULL
;
1859 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1860 _resultobj
= Py_BuildValue("s",_ptemp
);
1863 _resultobj
= Py_None
;
1872 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
* _resultobj
;
1874 unsigned long _result
;
1875 char *_kwnames
[] = { NULL
};
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1882 _result
= (unsigned long )wxSysErrorCode();
1884 wxPyEndAllowThreads(__tstate
);
1885 if (PyErr_Occurred()) return NULL
;
1886 } _resultobj
= Py_BuildValue("l",_result
);
1890 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
* _resultobj
;
1893 unsigned long _arg0
= (unsigned long ) 0;
1894 char *_kwnames
[] = { "nErrCode", NULL
};
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1901 _result
= new wxString (wxSysErrorMsg(_arg0
));
1903 wxPyEndAllowThreads(__tstate
);
1904 if (PyErr_Occurred()) return NULL
;
1907 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
1909 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
1918 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1919 PyObject
* _resultobj
;
1921 PyObject
* _obj0
= 0;
1922 char *_kwnames
[] = { "szFormat", NULL
};
1925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogFatalError",_kwnames
,&_obj0
))
1928 _arg0
= wxString_in_helper(_obj0
);
1933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1934 wxLogFatalError(*_arg0
);
1936 wxPyEndAllowThreads(__tstate
);
1937 if (PyErr_Occurred()) return NULL
;
1938 } Py_INCREF(Py_None
);
1939 _resultobj
= Py_None
;
1947 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1948 PyObject
* _resultobj
;
1950 PyObject
* _obj0
= 0;
1951 char *_kwnames
[] = { "szFormat", NULL
};
1954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogError",_kwnames
,&_obj0
))
1957 _arg0
= wxString_in_helper(_obj0
);
1962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1965 wxPyEndAllowThreads(__tstate
);
1966 if (PyErr_Occurred()) return NULL
;
1967 } Py_INCREF(Py_None
);
1968 _resultobj
= Py_None
;
1976 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1977 PyObject
* _resultobj
;
1979 PyObject
* _obj0
= 0;
1980 char *_kwnames
[] = { "szFormat", NULL
};
1983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWarning",_kwnames
,&_obj0
))
1986 _arg0
= wxString_in_helper(_obj0
);
1991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1992 wxLogWarning(*_arg0
);
1994 wxPyEndAllowThreads(__tstate
);
1995 if (PyErr_Occurred()) return NULL
;
1996 } Py_INCREF(Py_None
);
1997 _resultobj
= Py_None
;
2005 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2006 PyObject
* _resultobj
;
2008 PyObject
* _obj0
= 0;
2009 char *_kwnames
[] = { "szFormat", NULL
};
2012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogMessage",_kwnames
,&_obj0
))
2015 _arg0
= wxString_in_helper(_obj0
);
2020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2021 wxLogMessage(*_arg0
);
2023 wxPyEndAllowThreads(__tstate
);
2024 if (PyErr_Occurred()) return NULL
;
2025 } Py_INCREF(Py_None
);
2026 _resultobj
= Py_None
;
2034 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2035 PyObject
* _resultobj
;
2037 PyObject
* _obj0
= 0;
2038 char *_kwnames
[] = { "szFormat", NULL
};
2041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogInfo",_kwnames
,&_obj0
))
2044 _arg0
= wxString_in_helper(_obj0
);
2049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2052 wxPyEndAllowThreads(__tstate
);
2053 if (PyErr_Occurred()) return NULL
;
2054 } Py_INCREF(Py_None
);
2055 _resultobj
= Py_None
;
2063 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2064 PyObject
* _resultobj
;
2066 PyObject
* _obj0
= 0;
2067 char *_kwnames
[] = { "szFormat", NULL
};
2070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogVerbose",_kwnames
,&_obj0
))
2073 _arg0
= wxString_in_helper(_obj0
);
2078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2079 wxLogVerbose(*_arg0
);
2081 wxPyEndAllowThreads(__tstate
);
2082 if (PyErr_Occurred()) return NULL
;
2083 } Py_INCREF(Py_None
);
2084 _resultobj
= Py_None
;
2092 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2093 PyObject
* _resultobj
;
2095 PyObject
* _obj0
= 0;
2096 char *_kwnames
[] = { "szFormat", NULL
};
2099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogStatus",_kwnames
,&_obj0
))
2102 _arg0
= wxString_in_helper(_obj0
);
2107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2108 wxLogStatus(*_arg0
);
2110 wxPyEndAllowThreads(__tstate
);
2111 if (PyErr_Occurred()) return NULL
;
2112 } Py_INCREF(Py_None
);
2113 _resultobj
= Py_None
;
2121 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
* _resultobj
;
2125 PyObject
* _argo0
= 0;
2126 PyObject
* _obj1
= 0;
2127 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogStatusFrame",_kwnames
,&_argo0
,&_obj1
))
2133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2140 _arg1
= wxString_in_helper(_obj1
);
2145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2146 wxLogStatus(_arg0
,*_arg1
);
2148 wxPyEndAllowThreads(__tstate
);
2149 if (PyErr_Occurred()) return NULL
;
2150 } Py_INCREF(Py_None
);
2151 _resultobj
= Py_None
;
2159 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
* _resultobj
;
2162 PyObject
* _obj0
= 0;
2163 char *_kwnames
[] = { "szFormat", NULL
};
2166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogSysError",_kwnames
,&_obj0
))
2169 _arg0
= wxString_in_helper(_obj0
);
2174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2175 wxLogSysError(*_arg0
);
2177 wxPyEndAllowThreads(__tstate
);
2178 if (PyErr_Occurred()) return NULL
;
2179 } Py_INCREF(Py_None
);
2180 _resultobj
= Py_None
;
2188 static PyObject
*_wrap_wxSafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
* _resultobj
;
2192 PyObject
* _obj0
= 0;
2193 PyObject
* _obj1
= 0;
2194 char *_kwnames
[] = { "title","text", NULL
};
2197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxSafeShowMessage",_kwnames
,&_obj0
,&_obj1
))
2200 _arg0
= wxString_in_helper(_obj0
);
2205 _arg1
= wxString_in_helper(_obj1
);
2210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2211 wxSafeShowMessage(*_arg0
,*_arg1
);
2213 wxPyEndAllowThreads(__tstate
);
2214 if (PyErr_Occurred()) return NULL
;
2215 } Py_INCREF(Py_None
);
2216 _resultobj
= Py_None
;
2228 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2229 PyObject
* _resultobj
;
2232 int _arg1
= (int ) (wxEXEC_ASYNC
);
2233 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2234 PyObject
* _obj0
= 0;
2235 PyObject
* _argo2
= 0;
2236 char *_kwnames
[] = { "command","flags","process", NULL
};
2239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2242 _arg0
= wxString_in_helper(_obj0
);
2247 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2248 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2255 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2257 wxPyEndAllowThreads(__tstate
);
2258 if (PyErr_Occurred()) return NULL
;
2259 } _resultobj
= Py_BuildValue("l",_result
);
2267 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2268 PyObject
* _resultobj
;
2271 PyObject
* _obj0
= 0;
2272 char *_kwnames
[] = { "data", NULL
};
2276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2279 _arg0
= wxString_in_helper(_obj0
);
2284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2285 _result
= (wxWave
*)wxWaveData(*_arg0
);
2287 wxPyEndAllowThreads(__tstate
);
2288 if (PyErr_Occurred()) return NULL
;
2290 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2291 _resultobj
= Py_BuildValue("s",_ptemp
);
2294 _resultobj
= Py_None
;
2303 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2305 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2309 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2313 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2314 pyobj
= PyString_FromString(ptemp
);
2318 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2319 PyObject
* _resultobj
;
2321 wxSystemColour _arg0
;
2322 char *_kwnames
[] = { "index", NULL
};
2326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2330 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2332 wxPyEndAllowThreads(__tstate
);
2333 if (PyErr_Occurred()) return NULL
;
2334 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2335 _resultobj
= Py_BuildValue("s",_ptemp
);
2339 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
* _resultobj
;
2343 char *_kwnames
[] = { "index", NULL
};
2347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2351 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2353 wxPyEndAllowThreads(__tstate
);
2354 if (PyErr_Occurred()) return NULL
;
2355 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2356 _resultobj
= Py_BuildValue("s",_ptemp
);
2360 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2361 PyObject
* _resultobj
;
2363 wxSystemMetric _arg0
;
2364 char *_kwnames
[] = { "index", NULL
};
2367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2371 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2373 wxPyEndAllowThreads(__tstate
);
2374 if (PyErr_Occurred()) return NULL
;
2375 } _resultobj
= Py_BuildValue("i",_result
);
2379 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2380 PyObject
* _resultobj
;
2382 wxSystemFeature _arg0
;
2383 char *_kwnames
[] = { "index", NULL
};
2386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2390 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2392 wxPyEndAllowThreads(__tstate
);
2393 if (PyErr_Occurred()) return NULL
;
2394 } _resultobj
= Py_BuildValue("i",_result
);
2398 static PyObject
*_wrap_wxSystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2399 PyObject
* _resultobj
;
2400 wxSystemScreenType _result
;
2401 char *_kwnames
[] = { NULL
};
2404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSystemSettings_GetScreenType",_kwnames
))
2407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2408 _result
= (wxSystemScreenType
)wxSystemSettings::GetScreenType();
2410 wxPyEndAllowThreads(__tstate
);
2411 if (PyErr_Occurred()) return NULL
;
2412 } _resultobj
= Py_BuildValue("i",_result
);
2416 static PyObject
*_wrap_wxSystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2417 PyObject
* _resultobj
;
2418 wxSystemScreenType _arg0
;
2419 char *_kwnames
[] = { "screen", NULL
};
2422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_SetScreenType",_kwnames
,&_arg0
))
2425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2426 wxSystemSettings::SetScreenType(_arg0
);
2428 wxPyEndAllowThreads(__tstate
);
2429 if (PyErr_Occurred()) return NULL
;
2430 } Py_INCREF(Py_None
);
2431 _resultobj
= Py_None
;
2435 static void *SwigwxToolTipTowxObject(void *ptr
) {
2438 src
= (wxToolTip
*) ptr
;
2439 dest
= (wxObject
*) src
;
2440 return (void *) dest
;
2443 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2444 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
* _resultobj
;
2446 wxToolTip
* _result
;
2448 PyObject
* _obj0
= 0;
2449 char *_kwnames
[] = { "tip", NULL
};
2453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2456 _arg0
= wxString_in_helper(_obj0
);
2461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2462 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2464 wxPyEndAllowThreads(__tstate
);
2465 if (PyErr_Occurred()) return NULL
;
2467 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2468 _resultobj
= Py_BuildValue("s",_ptemp
);
2471 _resultobj
= Py_None
;
2480 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2481 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2482 PyObject
* _resultobj
;
2485 PyObject
* _argo0
= 0;
2486 PyObject
* _obj1
= 0;
2487 char *_kwnames
[] = { "self","tip", NULL
};
2490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2500 _arg1
= wxString_in_helper(_obj1
);
2505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2506 wxToolTip_SetTip(_arg0
,*_arg1
);
2508 wxPyEndAllowThreads(__tstate
);
2509 if (PyErr_Occurred()) return NULL
;
2510 } Py_INCREF(Py_None
);
2511 _resultobj
= Py_None
;
2519 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2520 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2521 PyObject
* _resultobj
;
2524 PyObject
* _argo0
= 0;
2525 char *_kwnames
[] = { "self", NULL
};
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2539 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2541 wxPyEndAllowThreads(__tstate
);
2542 if (PyErr_Occurred()) return NULL
;
2545 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2547 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2556 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2557 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
* _resultobj
;
2561 PyObject
* _argo0
= 0;
2562 char *_kwnames
[] = { "self", NULL
};
2565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2576 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2578 wxPyEndAllowThreads(__tstate
);
2579 if (PyErr_Occurred()) return NULL
;
2580 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2584 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
* _resultobj
;
2588 char *_kwnames
[] = { "flag", NULL
};
2591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2593 _arg0
= (bool ) tempbool0
;
2595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2596 wxToolTip::Enable(_arg0
);
2598 wxPyEndAllowThreads(__tstate
);
2599 if (PyErr_Occurred()) return NULL
;
2600 } Py_INCREF(Py_None
);
2601 _resultobj
= Py_None
;
2605 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
* _resultobj
;
2608 char *_kwnames
[] = { "milliseconds", NULL
};
2611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2615 wxToolTip::SetDelay(_arg0
);
2617 wxPyEndAllowThreads(__tstate
);
2618 if (PyErr_Occurred()) return NULL
;
2619 } Py_INCREF(Py_None
);
2620 _resultobj
= Py_None
;
2624 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2625 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2626 PyObject
* _resultobj
;
2630 PyObject
* _argo0
= 0;
2632 PyObject
* _obj1
= 0;
2633 char *_kwnames
[] = { "window","size", NULL
};
2637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2648 if (! wxSize_helper(_obj1
, &_arg1
))
2652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2653 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2655 wxPyEndAllowThreads(__tstate
);
2656 if (PyErr_Occurred()) return NULL
;
2658 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2659 _resultobj
= Py_BuildValue("s",_ptemp
);
2662 _resultobj
= Py_None
;
2667 #define delete_wxCaret(_swigobj) (delete _swigobj)
2668 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2669 PyObject
* _resultobj
;
2671 PyObject
* _argo0
= 0;
2672 char *_kwnames
[] = { "self", NULL
};
2675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2686 delete_wxCaret(_arg0
);
2688 wxPyEndAllowThreads(__tstate
);
2689 if (PyErr_Occurred()) return NULL
;
2690 } Py_INCREF(Py_None
);
2691 _resultobj
= Py_None
;
2695 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2696 static PyObject
*_wrap_wxCaret_IsOk(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:wxCaret_IsOk",_kwnames
,&_argo0
))
2707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2715 _result
= (bool )wxCaret_IsOk(_arg0
);
2717 wxPyEndAllowThreads(__tstate
);
2718 if (PyErr_Occurred()) return NULL
;
2719 } _resultobj
= Py_BuildValue("i",_result
);
2723 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2724 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
* _resultobj
;
2728 PyObject
* _argo0
= 0;
2729 char *_kwnames
[] = { "self", NULL
};
2732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2743 _result
= (bool )wxCaret_IsVisible(_arg0
);
2745 wxPyEndAllowThreads(__tstate
);
2746 if (PyErr_Occurred()) return NULL
;
2747 } _resultobj
= Py_BuildValue("i",_result
);
2751 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2752 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
* _resultobj
;
2759 PyObject
* _argo0
= 0;
2760 char *_kwnames
[] = { "self", NULL
};
2769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2780 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2782 wxPyEndAllowThreads(__tstate
);
2783 if (PyErr_Occurred()) return NULL
;
2784 } Py_INCREF(Py_None
);
2785 _resultobj
= Py_None
;
2788 o
= PyInt_FromLong((long) (*_arg1
));
2789 _resultobj
= t_output_helper(_resultobj
, o
);
2793 o
= PyInt_FromLong((long) (*_arg2
));
2794 _resultobj
= t_output_helper(_resultobj
, o
);
2799 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2800 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2801 PyObject
* _resultobj
;
2804 PyObject
* _argo0
= 0;
2805 char *_kwnames
[] = { "self", NULL
};
2809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2820 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2822 wxPyEndAllowThreads(__tstate
);
2823 if (PyErr_Occurred()) return NULL
;
2824 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2825 _resultobj
= Py_BuildValue("s",_ptemp
);
2829 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2830 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2831 PyObject
* _resultobj
;
2837 PyObject
* _argo0
= 0;
2838 char *_kwnames
[] = { "self", NULL
};
2847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2858 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2860 wxPyEndAllowThreads(__tstate
);
2861 if (PyErr_Occurred()) return NULL
;
2862 } Py_INCREF(Py_None
);
2863 _resultobj
= Py_None
;
2866 o
= PyInt_FromLong((long) (*_arg1
));
2867 _resultobj
= t_output_helper(_resultobj
, o
);
2871 o
= PyInt_FromLong((long) (*_arg2
));
2872 _resultobj
= t_output_helper(_resultobj
, o
);
2877 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2878 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
* _resultobj
;
2882 PyObject
* _argo0
= 0;
2883 char *_kwnames
[] = { "self", NULL
};
2887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2898 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2900 wxPyEndAllowThreads(__tstate
);
2901 if (PyErr_Occurred()) return NULL
;
2902 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2903 _resultobj
= Py_BuildValue("s",_ptemp
);
2907 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2908 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2909 PyObject
* _resultobj
;
2912 PyObject
* _argo0
= 0;
2913 char *_kwnames
[] = { "self", NULL
};
2916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2927 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2929 wxPyEndAllowThreads(__tstate
);
2930 if (PyErr_Occurred()) return NULL
;
2931 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2935 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2936 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2937 PyObject
* _resultobj
;
2941 PyObject
* _argo0
= 0;
2942 char *_kwnames
[] = { "self","x","y", NULL
};
2945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2958 wxPyEndAllowThreads(__tstate
);
2959 if (PyErr_Occurred()) return NULL
;
2960 } Py_INCREF(Py_None
);
2961 _resultobj
= Py_None
;
2965 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2966 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2967 PyObject
* _resultobj
;
2970 PyObject
* _argo0
= 0;
2972 PyObject
* _obj1
= 0;
2973 char *_kwnames
[] = { "self","pt", NULL
};
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2987 if (! wxPoint_helper(_obj1
, &_arg1
))
2991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2992 wxCaret_Move(_arg0
,*_arg1
);
2994 wxPyEndAllowThreads(__tstate
);
2995 if (PyErr_Occurred()) return NULL
;
2996 } Py_INCREF(Py_None
);
2997 _resultobj
= Py_None
;
3001 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
3002 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3003 PyObject
* _resultobj
;
3007 PyObject
* _argo0
= 0;
3008 char *_kwnames
[] = { "self","width","height", NULL
};
3011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
3021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3022 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
3024 wxPyEndAllowThreads(__tstate
);
3025 if (PyErr_Occurred()) return NULL
;
3026 } Py_INCREF(Py_None
);
3027 _resultobj
= Py_None
;
3031 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3032 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3033 PyObject
* _resultobj
;
3036 PyObject
* _argo0
= 0;
3038 PyObject
* _obj1
= 0;
3039 char *_kwnames
[] = { "self","size", NULL
};
3042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
3045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3053 if (! wxSize_helper(_obj1
, &_arg1
))
3057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3058 wxCaret_SetSize(_arg0
,*_arg1
);
3060 wxPyEndAllowThreads(__tstate
);
3061 if (PyErr_Occurred()) return NULL
;
3062 } Py_INCREF(Py_None
);
3063 _resultobj
= Py_None
;
3067 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3068 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3069 PyObject
* _resultobj
;
3071 int _arg1
= (int ) TRUE
;
3072 PyObject
* _argo0
= 0;
3073 char *_kwnames
[] = { "self","show", NULL
};
3076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3087 wxCaret_Show(_arg0
,_arg1
);
3089 wxPyEndAllowThreads(__tstate
);
3090 if (PyErr_Occurred()) return NULL
;
3091 } Py_INCREF(Py_None
);
3092 _resultobj
= Py_None
;
3096 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3097 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
* _resultobj
;
3100 PyObject
* _argo0
= 0;
3101 char *_kwnames
[] = { "self", NULL
};
3104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3115 wxCaret_Hide(_arg0
);
3117 wxPyEndAllowThreads(__tstate
);
3118 if (PyErr_Occurred()) return NULL
;
3119 } Py_INCREF(Py_None
);
3120 _resultobj
= Py_None
;
3124 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3125 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3126 PyObject
* _resultobj
;
3127 wxBusyCursor
* _result
;
3128 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3129 PyObject
* _argo0
= 0;
3130 char *_kwnames
[] = { "cursor", NULL
};
3134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3145 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3147 wxPyEndAllowThreads(__tstate
);
3148 if (PyErr_Occurred()) return NULL
;
3150 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3151 _resultobj
= Py_BuildValue("s",_ptemp
);
3154 _resultobj
= Py_None
;
3159 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3160 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3161 PyObject
* _resultobj
;
3162 wxBusyCursor
* _arg0
;
3163 PyObject
* _argo0
= 0;
3164 char *_kwnames
[] = { "self", NULL
};
3167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3178 delete_wxBusyCursor(_arg0
);
3180 wxPyEndAllowThreads(__tstate
);
3181 if (PyErr_Occurred()) return NULL
;
3182 } Py_INCREF(Py_None
);
3183 _resultobj
= Py_None
;
3187 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3188 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3189 PyObject
* _resultobj
;
3190 wxWindowDisabler
* _result
;
3191 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3192 PyObject
* _argo0
= 0;
3193 char *_kwnames
[] = { "winToSkip", NULL
};
3197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3208 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3210 wxPyEndAllowThreads(__tstate
);
3211 if (PyErr_Occurred()) return NULL
;
3213 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3214 _resultobj
= Py_BuildValue("s",_ptemp
);
3217 _resultobj
= Py_None
;
3222 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3223 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
* _resultobj
;
3225 wxWindowDisabler
* _arg0
;
3226 PyObject
* _argo0
= 0;
3227 char *_kwnames
[] = { "self", NULL
};
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3241 delete_wxWindowDisabler(_arg0
);
3243 wxPyEndAllowThreads(__tstate
);
3244 if (PyErr_Occurred()) return NULL
;
3245 } Py_INCREF(Py_None
);
3246 _resultobj
= Py_None
;
3250 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3251 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
* _resultobj
;
3253 wxMutexGuiLocker
* _result
;
3254 char *_kwnames
[] = { NULL
};
3258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3262 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3264 wxPyEndAllowThreads(__tstate
);
3265 if (PyErr_Occurred()) return NULL
;
3267 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3268 _resultobj
= Py_BuildValue("s",_ptemp
);
3271 _resultobj
= Py_None
;
3276 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3277 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3278 PyObject
* _resultobj
;
3279 wxMutexGuiLocker
* _arg0
;
3280 PyObject
* _argo0
= 0;
3281 char *_kwnames
[] = { "self", NULL
};
3284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3287 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3288 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3289 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3295 delete_wxMutexGuiLocker(_arg0
);
3297 wxPyEndAllowThreads(__tstate
);
3298 if (PyErr_Occurred()) return NULL
;
3299 } Py_INCREF(Py_None
);
3300 _resultobj
= Py_None
;
3304 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3305 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3306 PyObject
* _resultobj
;
3307 wxTipProvider
* _arg0
;
3308 PyObject
* _argo0
= 0;
3309 char *_kwnames
[] = { "self", NULL
};
3312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3323 delete_wxTipProvider(_arg0
);
3325 wxPyEndAllowThreads(__tstate
);
3326 if (PyErr_Occurred()) return NULL
;
3327 } Py_INCREF(Py_None
);
3328 _resultobj
= Py_None
;
3332 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3333 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3334 PyObject
* _resultobj
;
3336 wxTipProvider
* _arg0
;
3337 PyObject
* _argo0
= 0;
3338 char *_kwnames
[] = { "self", NULL
};
3341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3344 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3345 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3352 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3354 wxPyEndAllowThreads(__tstate
);
3355 if (PyErr_Occurred()) return NULL
;
3358 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3360 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3369 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3370 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
* _resultobj
;
3373 wxTipProvider
* _arg0
;
3374 PyObject
* _argo0
= 0;
3375 char *_kwnames
[] = { "self", NULL
};
3378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3389 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3391 wxPyEndAllowThreads(__tstate
);
3392 if (PyErr_Occurred()) return NULL
;
3393 } _resultobj
= Py_BuildValue("i",_result
);
3397 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3398 wxPyTipProvider
*src
;
3399 wxTipProvider
*dest
;
3400 src
= (wxPyTipProvider
*) ptr
;
3401 dest
= (wxTipProvider
*) src
;
3402 return (void *) dest
;
3405 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3406 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
* _resultobj
;
3408 wxPyTipProvider
* _result
;
3410 char *_kwnames
[] = { "currentTip", NULL
};
3414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3418 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3420 wxPyEndAllowThreads(__tstate
);
3421 if (PyErr_Occurred()) return NULL
;
3423 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3424 _resultobj
= Py_BuildValue("s",_ptemp
);
3427 _resultobj
= Py_None
;
3432 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3433 wxGenericDragImage
*src
;
3435 src
= (wxGenericDragImage
*) ptr
;
3436 dest
= (wxObject
*) src
;
3437 return (void *) dest
;
3440 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3441 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3442 PyObject
* _resultobj
;
3443 wxGenericDragImage
* _result
;
3445 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3446 PyObject
* _argo0
= 0;
3447 PyObject
* _argo1
= 0;
3448 char *_kwnames
[] = { "image","cursor", NULL
};
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3462 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3463 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3472 wxPyEndAllowThreads(__tstate
);
3473 if (PyErr_Occurred()) return NULL
;
3475 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3476 _resultobj
= Py_BuildValue("s",_ptemp
);
3479 _resultobj
= Py_None
;
3484 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3485 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3486 PyObject
* _resultobj
;
3487 wxGenericDragImage
* _result
;
3489 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3490 PyObject
* _argo0
= 0;
3491 PyObject
* _argo1
= 0;
3492 char *_kwnames
[] = { "image","cursor", NULL
};
3496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3506 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3507 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3514 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) return NULL
;
3519 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3520 _resultobj
= Py_BuildValue("s",_ptemp
);
3523 _resultobj
= Py_None
;
3528 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3529 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
* _resultobj
;
3531 wxGenericDragImage
* _result
;
3533 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3534 PyObject
* _obj0
= 0;
3535 PyObject
* _argo1
= 0;
3536 char *_kwnames
[] = { "str","cursor", NULL
};
3540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3543 _arg0
= wxString_in_helper(_obj0
);
3548 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3549 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3556 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3558 wxPyEndAllowThreads(__tstate
);
3559 if (PyErr_Occurred()) return NULL
;
3561 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3562 _resultobj
= Py_BuildValue("s",_ptemp
);
3565 _resultobj
= Py_None
;
3574 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3575 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3576 PyObject
* _resultobj
;
3577 wxGenericDragImage
* _result
;
3579 wxTreeItemId
* _arg1
;
3580 PyObject
* _argo0
= 0;
3581 PyObject
* _argo1
= 0;
3582 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3596 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3597 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3604 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3606 wxPyEndAllowThreads(__tstate
);
3607 if (PyErr_Occurred()) return NULL
;
3609 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3610 _resultobj
= Py_BuildValue("s",_ptemp
);
3613 _resultobj
= Py_None
;
3618 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3619 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3620 PyObject
* _resultobj
;
3621 wxGenericDragImage
* _result
;
3624 PyObject
* _argo0
= 0;
3625 char *_kwnames
[] = { "listCtrl","id", NULL
};
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3640 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3642 wxPyEndAllowThreads(__tstate
);
3643 if (PyErr_Occurred()) return NULL
;
3645 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3646 _resultobj
= Py_BuildValue("s",_ptemp
);
3649 _resultobj
= Py_None
;
3654 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3655 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
* _resultobj
;
3657 wxGenericDragImage
* _arg0
;
3658 PyObject
* _argo0
= 0;
3659 char *_kwnames
[] = { "self", NULL
};
3662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3673 delete_wxGenericDragImage(_arg0
);
3675 wxPyEndAllowThreads(__tstate
);
3676 if (PyErr_Occurred()) return NULL
;
3677 } Py_INCREF(Py_None
);
3678 _resultobj
= Py_None
;
3682 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3683 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3684 PyObject
* _resultobj
;
3685 wxGenericDragImage
* _arg0
;
3687 PyObject
* _argo0
= 0;
3688 PyObject
* _argo1
= 0;
3689 char *_kwnames
[] = { "self","bitmap", NULL
};
3692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3702 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3703 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3710 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3712 wxPyEndAllowThreads(__tstate
);
3713 if (PyErr_Occurred()) return NULL
;
3714 } Py_INCREF(Py_None
);
3715 _resultobj
= Py_None
;
3719 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3720 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
* _resultobj
;
3723 wxGenericDragImage
* _arg0
;
3726 bool _arg3
= (bool ) FALSE
;
3727 wxRect
* _arg4
= (wxRect
*) NULL
;
3728 PyObject
* _argo0
= 0;
3730 PyObject
* _obj1
= 0;
3731 PyObject
* _argo2
= 0;
3732 int tempbool3
= (int) FALSE
;
3734 PyObject
* _obj4
= 0;
3735 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3749 if (! wxPoint_helper(_obj1
, &_arg1
))
3753 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3754 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3759 _arg3
= (bool ) tempbool3
;
3763 if (! wxRect_helper(_obj4
, &_arg4
))
3767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3768 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3770 wxPyEndAllowThreads(__tstate
);
3771 if (PyErr_Occurred()) return NULL
;
3772 } _resultobj
= Py_BuildValue("i",_result
);
3776 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3777 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3778 PyObject
* _resultobj
;
3780 wxGenericDragImage
* _arg0
;
3784 PyObject
* _argo0
= 0;
3786 PyObject
* _obj1
= 0;
3787 PyObject
* _argo2
= 0;
3788 PyObject
* _argo3
= 0;
3789 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3795 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3796 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3797 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3803 if (! wxPoint_helper(_obj1
, &_arg1
))
3807 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3808 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3814 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3815 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3824 wxPyEndAllowThreads(__tstate
);
3825 if (PyErr_Occurred()) return NULL
;
3826 } _resultobj
= Py_BuildValue("i",_result
);
3830 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3831 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
* _resultobj
;
3834 wxGenericDragImage
* _arg0
;
3835 PyObject
* _argo0
= 0;
3836 char *_kwnames
[] = { "self", NULL
};
3839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) return NULL
;
3854 } _resultobj
= Py_BuildValue("i",_result
);
3858 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3859 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
* _resultobj
;
3862 wxGenericDragImage
* _arg0
;
3864 PyObject
* _argo0
= 0;
3866 PyObject
* _obj1
= 0;
3867 char *_kwnames
[] = { "self","pt", NULL
};
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3881 if (! wxPoint_helper(_obj1
, &_arg1
))
3885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3886 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3888 wxPyEndAllowThreads(__tstate
);
3889 if (PyErr_Occurred()) return NULL
;
3890 } _resultobj
= Py_BuildValue("i",_result
);
3894 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3895 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3896 PyObject
* _resultobj
;
3898 wxGenericDragImage
* _arg0
;
3899 PyObject
* _argo0
= 0;
3900 char *_kwnames
[] = { "self", NULL
};
3903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3906 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3907 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3908 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3914 _result
= (bool )wxDragImage_Show(_arg0
);
3916 wxPyEndAllowThreads(__tstate
);
3917 if (PyErr_Occurred()) return NULL
;
3918 } _resultobj
= Py_BuildValue("i",_result
);
3922 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3923 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3924 PyObject
* _resultobj
;
3926 wxGenericDragImage
* _arg0
;
3927 PyObject
* _argo0
= 0;
3928 char *_kwnames
[] = { "self", NULL
};
3931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
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_Hide. Expected _wxGenericDragImage_p.");
3941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3942 _result
= (bool )wxDragImage_Hide(_arg0
);
3944 wxPyEndAllowThreads(__tstate
);
3945 if (PyErr_Occurred()) return NULL
;
3946 } _resultobj
= Py_BuildValue("i",_result
);
3950 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3951 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3952 PyObject
* _resultobj
;
3954 wxGenericDragImage
* _arg0
;
3956 PyObject
* _argo0
= 0;
3958 PyObject
* _obj1
= 0;
3959 char *_kwnames
[] = { "self","pos", NULL
};
3963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
3966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
3974 if (! wxPoint_helper(_obj1
, &_arg1
))
3978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3979 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
3981 wxPyEndAllowThreads(__tstate
);
3982 if (PyErr_Occurred()) return NULL
;
3983 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3984 _resultobj
= Py_BuildValue("s",_ptemp
);
3988 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3989 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3990 PyObject
* _resultobj
;
3992 wxGenericDragImage
* _arg0
;
3997 PyObject
* _argo0
= 0;
3999 PyObject
* _obj1
= 0;
4001 PyObject
* _obj2
= 0;
4004 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4018 if (! wxPoint_helper(_obj1
, &_arg1
))
4023 if (! wxPoint_helper(_obj2
, &_arg2
))
4026 _arg3
= (bool ) tempbool3
;
4027 _arg4
= (bool ) tempbool4
;
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) return NULL
;
4034 } _resultobj
= Py_BuildValue("i",_result
);
4038 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4041 src
= (wxPyTimer
*) ptr
;
4042 dest
= (wxObject
*) src
;
4043 return (void *) dest
;
4046 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4047 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4048 PyObject
* _resultobj
;
4049 wxPyTimer
* _result
;
4051 PyObject
* _obj0
= 0;
4052 char *_kwnames
[] = { "notify", NULL
};
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4063 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4065 wxPyEndAllowThreads(__tstate
);
4066 if (PyErr_Occurred()) return NULL
;
4068 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4069 _resultobj
= Py_BuildValue("s",_ptemp
);
4072 _resultobj
= Py_None
;
4077 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4078 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
* _resultobj
;
4081 PyObject
* _argo0
= 0;
4082 char *_kwnames
[] = { "self", NULL
};
4085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4096 delete_wxPyTimer(_arg0
);
4098 wxPyEndAllowThreads(__tstate
);
4099 if (PyErr_Occurred()) return NULL
;
4100 } Py_INCREF(Py_None
);
4101 _resultobj
= Py_None
;
4105 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4106 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4107 PyObject
* _resultobj
;
4110 PyObject
* _argo0
= 0;
4111 char *_kwnames
[] = { "self", NULL
};
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4125 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4127 wxPyEndAllowThreads(__tstate
);
4128 if (PyErr_Occurred()) return NULL
;
4129 } _resultobj
= Py_BuildValue("i",_result
);
4133 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4134 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4135 PyObject
* _resultobj
;
4138 PyObject
* _argo0
= 0;
4139 char *_kwnames
[] = { "self", NULL
};
4142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4153 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4155 wxPyEndAllowThreads(__tstate
);
4156 if (PyErr_Occurred()) return NULL
;
4157 } _resultobj
= Py_BuildValue("i",_result
);
4161 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4162 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4163 PyObject
* _resultobj
;
4166 PyObject
* _argo0
= 0;
4167 char *_kwnames
[] = { "self", NULL
};
4170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4181 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4183 wxPyEndAllowThreads(__tstate
);
4184 if (PyErr_Occurred()) return NULL
;
4185 } _resultobj
= Py_BuildValue("i",_result
);
4189 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4190 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4191 PyObject
* _resultobj
;
4193 wxEvtHandler
* _arg1
;
4194 int _arg2
= (int ) -1;
4195 PyObject
* _argo0
= 0;
4196 PyObject
* _argo1
= 0;
4197 char *_kwnames
[] = { "self","owner","id", NULL
};
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4210 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4211 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4218 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4220 wxPyEndAllowThreads(__tstate
);
4221 if (PyErr_Occurred()) return NULL
;
4222 } Py_INCREF(Py_None
);
4223 _resultobj
= Py_None
;
4227 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4228 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4229 PyObject
* _resultobj
;
4231 int _arg1
= (int ) -1;
4232 int _arg2
= (int ) FALSE
;
4233 PyObject
* _argo0
= 0;
4234 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4248 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4250 wxPyEndAllowThreads(__tstate
);
4251 if (PyErr_Occurred()) return NULL
;
4252 } Py_INCREF(Py_None
);
4253 _resultobj
= Py_None
;
4257 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4258 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
* _resultobj
;
4261 PyObject
* _argo0
= 0;
4262 char *_kwnames
[] = { "self", NULL
};
4265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4276 wxPyTimer_Stop(_arg0
);
4278 wxPyEndAllowThreads(__tstate
);
4279 if (PyErr_Occurred()) return NULL
;
4280 } Py_INCREF(Py_None
);
4281 _resultobj
= Py_None
;
4285 #define new_wxStopWatch() (new wxStopWatch())
4286 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
* _resultobj
;
4288 wxStopWatch
* _result
;
4289 char *_kwnames
[] = { NULL
};
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 _result
= (wxStopWatch
*)new_wxStopWatch();
4299 wxPyEndAllowThreads(__tstate
);
4300 if (PyErr_Occurred()) return NULL
;
4302 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4303 _resultobj
= Py_BuildValue("s",_ptemp
);
4306 _resultobj
= Py_None
;
4311 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4312 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
* _resultobj
;
4314 wxStopWatch
* _arg0
;
4315 PyObject
* _argo0
= 0;
4316 char *_kwnames
[] = { "self", NULL
};
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 delete_wxStopWatch(_arg0
);
4332 wxPyEndAllowThreads(__tstate
);
4333 if (PyErr_Occurred()) return NULL
;
4334 } Py_INCREF(Py_None
);
4335 _resultobj
= Py_None
;
4339 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4340 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
* _resultobj
;
4342 wxStopWatch
* _arg0
;
4343 long _arg1
= (long ) 0;
4344 PyObject
* _argo0
= 0;
4345 char *_kwnames
[] = { "self","t", NULL
};
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4359 wxStopWatch_Start(_arg0
,_arg1
);
4361 wxPyEndAllowThreads(__tstate
);
4362 if (PyErr_Occurred()) return NULL
;
4363 } Py_INCREF(Py_None
);
4364 _resultobj
= Py_None
;
4368 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4369 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
* _resultobj
;
4371 wxStopWatch
* _arg0
;
4372 PyObject
* _argo0
= 0;
4373 char *_kwnames
[] = { "self", NULL
};
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4387 wxStopWatch_Pause(_arg0
);
4389 wxPyEndAllowThreads(__tstate
);
4390 if (PyErr_Occurred()) return NULL
;
4391 } Py_INCREF(Py_None
);
4392 _resultobj
= Py_None
;
4396 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4397 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
* _resultobj
;
4399 wxStopWatch
* _arg0
;
4400 PyObject
* _argo0
= 0;
4401 char *_kwnames
[] = { "self", NULL
};
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 wxStopWatch_Resume(_arg0
);
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) return NULL
;
4419 } Py_INCREF(Py_None
);
4420 _resultobj
= Py_None
;
4424 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4425 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
* _resultobj
;
4428 wxStopWatch
* _arg0
;
4429 PyObject
* _argo0
= 0;
4430 char *_kwnames
[] = { "self", NULL
};
4433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4436 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4437 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4444 _result
= (long )wxStopWatch_Time(_arg0
);
4446 wxPyEndAllowThreads(__tstate
);
4447 if (PyErr_Occurred()) return NULL
;
4448 } _resultobj
= Py_BuildValue("l",_result
);
4452 #define new_wxLog() (new wxLog())
4453 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4454 PyObject
* _resultobj
;
4456 char *_kwnames
[] = { NULL
};
4460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4464 _result
= (wxLog
*)new_wxLog();
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) return NULL
;
4469 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4470 _resultobj
= Py_BuildValue("s",_ptemp
);
4473 _resultobj
= Py_None
;
4478 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
* _resultobj
;
4481 char *_kwnames
[] = { NULL
};
4484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4488 _result
= (bool )wxLog::IsEnabled();
4490 wxPyEndAllowThreads(__tstate
);
4491 if (PyErr_Occurred()) return NULL
;
4492 } _resultobj
= Py_BuildValue("i",_result
);
4496 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4497 PyObject
* _resultobj
;
4499 bool _arg0
= (bool ) TRUE
;
4500 int tempbool0
= (int) TRUE
;
4501 char *_kwnames
[] = { "doIt", NULL
};
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4506 _arg0
= (bool ) tempbool0
;
4508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4509 _result
= (bool )wxLog::EnableLogging(_arg0
);
4511 wxPyEndAllowThreads(__tstate
);
4512 if (PyErr_Occurred()) return NULL
;
4513 } _resultobj
= Py_BuildValue("i",_result
);
4517 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
* _resultobj
;
4521 int _arg2
= (int ) 0;
4522 PyObject
* _argo0
= 0;
4523 PyObject
* _obj1
= 0;
4524 char *_kwnames
[] = { "level","szString","t", NULL
};
4527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxLog_OnLog",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4530 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4531 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4532 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4537 _arg1
= wxString_in_helper(_obj1
);
4542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4543 wxLog::OnLog(*_arg0
,*_arg1
,_arg2
);
4545 wxPyEndAllowThreads(__tstate
);
4546 if (PyErr_Occurred()) return NULL
;
4547 } Py_INCREF(Py_None
);
4548 _resultobj
= Py_None
;
4556 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4557 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4558 PyObject
* _resultobj
;
4560 PyObject
* _argo0
= 0;
4561 char *_kwnames
[] = { "self", NULL
};
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4577 wxPyEndAllowThreads(__tstate
);
4578 if (PyErr_Occurred()) return NULL
;
4579 } Py_INCREF(Py_None
);
4580 _resultobj
= Py_None
;
4584 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4585 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4586 PyObject
* _resultobj
;
4589 PyObject
* _argo0
= 0;
4590 char *_kwnames
[] = { "self", NULL
};
4593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4604 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4606 wxPyEndAllowThreads(__tstate
);
4607 if (PyErr_Occurred()) return NULL
;
4608 } _resultobj
= Py_BuildValue("i",_result
);
4612 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4613 PyObject
* _resultobj
;
4614 char *_kwnames
[] = { NULL
};
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 wxLog::FlushActive();
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) return NULL
;
4625 } Py_INCREF(Py_None
);
4626 _resultobj
= Py_None
;
4630 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
* _resultobj
;
4633 char *_kwnames
[] = { NULL
};
4637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4641 _result
= (wxLog
*)wxLog::GetActiveTarget();
4643 wxPyEndAllowThreads(__tstate
);
4644 if (PyErr_Occurred()) return NULL
;
4646 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4647 _resultobj
= Py_BuildValue("s",_ptemp
);
4650 _resultobj
= Py_None
;
4655 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4656 PyObject
* _resultobj
;
4659 PyObject
* _argo0
= 0;
4660 char *_kwnames
[] = { "pLogger", NULL
};
4664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4675 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4677 wxPyEndAllowThreads(__tstate
);
4678 if (PyErr_Occurred()) return NULL
;
4680 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4681 _resultobj
= Py_BuildValue("s",_ptemp
);
4684 _resultobj
= Py_None
;
4689 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4690 PyObject
* _resultobj
;
4691 char *_kwnames
[] = { NULL
};
4694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 wxPyEndAllowThreads(__tstate
);
4701 if (PyErr_Occurred()) return NULL
;
4702 } Py_INCREF(Py_None
);
4703 _resultobj
= Py_None
;
4707 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4708 PyObject
* _resultobj
;
4709 char *_kwnames
[] = { NULL
};
4712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) return NULL
;
4720 } Py_INCREF(Py_None
);
4721 _resultobj
= Py_None
;
4725 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
* _resultobj
;
4727 bool _arg0
= (bool ) TRUE
;
4728 int tempbool0
= (int) TRUE
;
4729 char *_kwnames
[] = { "bVerbose", NULL
};
4732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_SetVerbose",_kwnames
,&tempbool0
))
4734 _arg0
= (bool ) tempbool0
;
4736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4737 wxLog::SetVerbose(_arg0
);
4739 wxPyEndAllowThreads(__tstate
);
4740 if (PyErr_Occurred()) return NULL
;
4741 } Py_INCREF(Py_None
);
4742 _resultobj
= Py_None
;
4746 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4747 PyObject
* _resultobj
;
4748 char *_kwnames
[] = { NULL
};
4751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4755 wxLog::DontCreateOnDemand();
4757 wxPyEndAllowThreads(__tstate
);
4758 if (PyErr_Occurred()) return NULL
;
4759 } Py_INCREF(Py_None
);
4760 _resultobj
= Py_None
;
4764 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4765 PyObject
* _resultobj
;
4766 wxTraceMask
* _arg0
;
4767 PyObject
* _argo0
= 0;
4768 char *_kwnames
[] = { "ulMask", NULL
};
4771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4782 wxLog::SetTraceMask(*_arg0
);
4784 wxPyEndAllowThreads(__tstate
);
4785 if (PyErr_Occurred()) return NULL
;
4786 } Py_INCREF(Py_None
);
4787 _resultobj
= Py_None
;
4791 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4792 PyObject
* _resultobj
;
4794 PyObject
* _obj0
= 0;
4795 char *_kwnames
[] = { "str", NULL
};
4798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4801 _arg0
= wxString_in_helper(_obj0
);
4806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4807 wxLog::AddTraceMask(*_arg0
);
4809 wxPyEndAllowThreads(__tstate
);
4810 if (PyErr_Occurred()) return NULL
;
4811 } Py_INCREF(Py_None
);
4812 _resultobj
= Py_None
;
4820 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4821 PyObject
* _resultobj
;
4823 PyObject
* _obj0
= 0;
4824 char *_kwnames
[] = { "str", NULL
};
4827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4830 _arg0
= wxString_in_helper(_obj0
);
4835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4836 wxLog::RemoveTraceMask(*_arg0
);
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) return NULL
;
4840 } Py_INCREF(Py_None
);
4841 _resultobj
= Py_None
;
4849 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
* _resultobj
;
4851 char *_kwnames
[] = { NULL
};
4854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 wxLog::ClearTraceMasks();
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) return NULL
;
4862 } Py_INCREF(Py_None
);
4863 _resultobj
= Py_None
;
4867 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4868 PyObject
* _resultobj
;
4870 PyObject
* _obj0
= 0;
4871 char *_kwnames
[] = { "ts", NULL
};
4874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTimestamp",_kwnames
,&_obj0
))
4877 _arg0
= wxString_in_helper(_obj0
);
4882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4883 wxLog::SetTimestamp(*_arg0
);
4885 wxPyEndAllowThreads(__tstate
);
4886 if (PyErr_Occurred()) return NULL
;
4887 } Py_INCREF(Py_None
);
4888 _resultobj
= Py_None
;
4896 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
* _resultobj
;
4899 char *_kwnames
[] = { NULL
};
4902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
4905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 const wxString
& _result_ref
= wxLog::GetTimestamp();
4907 _result
= (wxString
*) &_result_ref
;
4909 wxPyEndAllowThreads(__tstate
);
4910 if (PyErr_Occurred()) return NULL
;
4913 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4915 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4921 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4922 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
* _resultobj
;
4926 PyObject
* _argo0
= 0;
4927 char *_kwnames
[] = { "self", NULL
};
4930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4941 _result
= (bool )wxLog_GetVerbose(_arg0
);
4943 wxPyEndAllowThreads(__tstate
);
4944 if (PyErr_Occurred()) return NULL
;
4945 } _resultobj
= Py_BuildValue("i",_result
);
4949 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4950 PyObject
* _resultobj
;
4951 wxTraceMask
* _result
;
4952 char *_kwnames
[] = { NULL
};
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4960 _result
= new wxTraceMask (wxLog::GetTraceMask());
4962 wxPyEndAllowThreads(__tstate
);
4963 if (PyErr_Occurred()) return NULL
;
4964 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
4965 _resultobj
= Py_BuildValue("s",_ptemp
);
4969 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4970 PyObject
* _resultobj
;
4973 PyObject
* _obj0
= 0;
4974 char *_kwnames
[] = { "mask", NULL
};
4977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_IsAllowedTraceMask",_kwnames
,&_obj0
))
4980 _arg0
= wxString_in_helper(_obj0
);
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 _result
= (bool )wxLog::IsAllowedTraceMask(*_arg0
);
4988 wxPyEndAllowThreads(__tstate
);
4989 if (PyErr_Occurred()) return NULL
;
4990 } _resultobj
= Py_BuildValue("i",_result
);
4998 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5000 wxLog::TimeStamp(&msg
);
5003 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5004 PyObject
* _resultobj
;
5007 PyObject
* _argo0
= 0;
5008 char *_kwnames
[] = { "self", NULL
};
5011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5014 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5015 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5016 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5022 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5024 wxPyEndAllowThreads(__tstate
);
5025 if (PyErr_Occurred()) return NULL
;
5028 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5030 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5039 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5042 src
= (wxLogStderr
*) ptr
;
5043 dest
= (wxLog
*) src
;
5044 return (void *) dest
;
5047 #define new_wxLogStderr() (new wxLogStderr())
5048 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5049 PyObject
* _resultobj
;
5050 wxLogStderr
* _result
;
5051 char *_kwnames
[] = { NULL
};
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5059 _result
= (wxLogStderr
*)new_wxLogStderr();
5061 wxPyEndAllowThreads(__tstate
);
5062 if (PyErr_Occurred()) return NULL
;
5064 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5065 _resultobj
= Py_BuildValue("s",_ptemp
);
5068 _resultobj
= Py_None
;
5073 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5076 src
= (wxLogTextCtrl
*) ptr
;
5077 dest
= (wxLog
*) src
;
5078 return (void *) dest
;
5081 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5082 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5083 PyObject
* _resultobj
;
5084 wxLogTextCtrl
* _result
;
5086 PyObject
* _argo0
= 0;
5087 char *_kwnames
[] = { "pTextCtrl", NULL
};
5091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) return NULL
;
5107 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5108 _resultobj
= Py_BuildValue("s",_ptemp
);
5111 _resultobj
= Py_None
;
5116 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5119 src
= (wxLogGui
*) ptr
;
5120 dest
= (wxLog
*) src
;
5121 return (void *) dest
;
5124 #define new_wxLogGui() (new wxLogGui())
5125 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
* _resultobj
;
5128 char *_kwnames
[] = { NULL
};
5132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 _result
= (wxLogGui
*)new_wxLogGui();
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) return NULL
;
5141 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5142 _resultobj
= Py_BuildValue("s",_ptemp
);
5145 _resultobj
= Py_None
;
5150 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5153 src
= (wxLogWindow
*) ptr
;
5154 dest
= (wxLog
*) src
;
5155 return (void *) dest
;
5158 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5159 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5160 PyObject
* _resultobj
;
5161 wxLogWindow
* _result
;
5164 bool _arg2
= (bool ) TRUE
;
5165 bool _arg3
= (bool ) TRUE
;
5166 PyObject
* _argo0
= 0;
5167 PyObject
* _obj1
= 0;
5168 int tempbool2
= (int) TRUE
;
5169 int tempbool3
= (int) TRUE
;
5170 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_obj1
,&tempbool2
,&tempbool3
))
5177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5184 _arg1
= wxString_in_helper(_obj1
);
5188 _arg2
= (bool ) tempbool2
;
5189 _arg3
= (bool ) tempbool3
;
5191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5192 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,*_arg1
,_arg2
,_arg3
);
5194 wxPyEndAllowThreads(__tstate
);
5195 if (PyErr_Occurred()) return NULL
;
5197 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5198 _resultobj
= Py_BuildValue("s",_ptemp
);
5201 _resultobj
= Py_None
;
5210 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5211 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
* _resultobj
;
5213 wxLogWindow
* _arg0
;
5214 bool _arg1
= (bool ) TRUE
;
5215 PyObject
* _argo0
= 0;
5216 int tempbool1
= (int) TRUE
;
5217 char *_kwnames
[] = { "self","bShow", NULL
};
5220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5229 _arg1
= (bool ) tempbool1
;
5231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 wxLogWindow_Show(_arg0
,_arg1
);
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) return NULL
;
5236 } Py_INCREF(Py_None
);
5237 _resultobj
= Py_None
;
5241 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5242 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5243 PyObject
* _resultobj
;
5245 wxLogWindow
* _arg0
;
5246 PyObject
* _argo0
= 0;
5247 char *_kwnames
[] = { "self", NULL
};
5250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5261 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5263 wxPyEndAllowThreads(__tstate
);
5264 if (PyErr_Occurred()) return NULL
;
5265 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5269 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5270 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
* _resultobj
;
5273 wxLogWindow
* _arg0
;
5274 PyObject
* _argo0
= 0;
5275 char *_kwnames
[] = { "self", NULL
};
5279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5290 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5292 wxPyEndAllowThreads(__tstate
);
5293 if (PyErr_Occurred()) return NULL
;
5295 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5296 _resultobj
= Py_BuildValue("s",_ptemp
);
5299 _resultobj
= Py_None
;
5304 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5305 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
* _resultobj
;
5308 wxLogWindow
* _arg0
;
5309 PyObject
* _argo0
= 0;
5310 char *_kwnames
[] = { "self", NULL
};
5313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5324 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5326 wxPyEndAllowThreads(__tstate
);
5327 if (PyErr_Occurred()) return NULL
;
5328 } _resultobj
= Py_BuildValue("i",_result
);
5332 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5333 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5334 PyObject
* _resultobj
;
5335 wxLogWindow
* _arg0
;
5337 PyObject
* _argo0
= 0;
5339 char *_kwnames
[] = { "self","bDoPass", NULL
};
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5351 _arg1
= (bool ) tempbool1
;
5353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5354 wxLogWindow_PassMessages(_arg0
,_arg1
);
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) return NULL
;
5358 } Py_INCREF(Py_None
);
5359 _resultobj
= Py_None
;
5363 static void *SwigwxLogChainTowxLog(void *ptr
) {
5366 src
= (wxLogChain
*) ptr
;
5367 dest
= (wxLog
*) src
;
5368 return (void *) dest
;
5371 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5372 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5373 PyObject
* _resultobj
;
5374 wxLogChain
* _result
;
5376 PyObject
* _argo0
= 0;
5377 char *_kwnames
[] = { "logger", NULL
};
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) return NULL
;
5397 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5398 _resultobj
= Py_BuildValue("s",_ptemp
);
5401 _resultobj
= Py_None
;
5406 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5407 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5408 PyObject
* _resultobj
;
5411 PyObject
* _argo0
= 0;
5412 PyObject
* _argo1
= 0;
5413 char *_kwnames
[] = { "self","logger", NULL
};
5416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5426 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5427 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 wxLogChain_SetLog(_arg0
,_arg1
);
5436 wxPyEndAllowThreads(__tstate
);
5437 if (PyErr_Occurred()) return NULL
;
5438 } Py_INCREF(Py_None
);
5439 _resultobj
= Py_None
;
5443 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5444 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5445 PyObject
* _resultobj
;
5448 PyObject
* _argo0
= 0;
5450 char *_kwnames
[] = { "self","bDoPass", NULL
};
5453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5462 _arg1
= (bool ) tempbool1
;
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 wxLogChain_PassMessages(_arg0
,_arg1
);
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) return NULL
;
5469 } Py_INCREF(Py_None
);
5470 _resultobj
= Py_None
;
5474 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5475 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
* _resultobj
;
5479 PyObject
* _argo0
= 0;
5480 char *_kwnames
[] = { "self", NULL
};
5483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5494 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5496 wxPyEndAllowThreads(__tstate
);
5497 if (PyErr_Occurred()) return NULL
;
5498 } _resultobj
= Py_BuildValue("i",_result
);
5502 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5503 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
* _resultobj
;
5507 PyObject
* _argo0
= 0;
5508 char *_kwnames
[] = { "self", NULL
};
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5523 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5525 wxPyEndAllowThreads(__tstate
);
5526 if (PyErr_Occurred()) return NULL
;
5528 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5529 _resultobj
= Py_BuildValue("s",_ptemp
);
5532 _resultobj
= Py_None
;
5537 #define new_wxLogNull() (new wxLogNull())
5538 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
* _resultobj
;
5540 wxLogNull
* _result
;
5541 char *_kwnames
[] = { NULL
};
5545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 _result
= (wxLogNull
*)new_wxLogNull();
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) return NULL
;
5554 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5555 _resultobj
= Py_BuildValue("s",_ptemp
);
5558 _resultobj
= Py_None
;
5563 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5564 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
* _resultobj
;
5567 PyObject
* _argo0
= 0;
5568 char *_kwnames
[] = { "self", NULL
};
5571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5582 delete_wxLogNull(_arg0
);
5584 wxPyEndAllowThreads(__tstate
);
5585 if (PyErr_Occurred()) return NULL
;
5586 } Py_INCREF(Py_None
);
5587 _resultobj
= Py_None
;
5591 static void *SwigwxPyLogTowxLog(void *ptr
) {
5594 src
= (wxPyLog
*) ptr
;
5595 dest
= (wxLog
*) src
;
5596 return (void *) dest
;
5599 #define new_wxPyLog() (new wxPyLog())
5600 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
* _resultobj
;
5603 char *_kwnames
[] = { NULL
};
5607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 _result
= (wxPyLog
*)new_wxPyLog();
5613 wxPyEndAllowThreads(__tstate
);
5614 if (PyErr_Occurred()) return NULL
;
5616 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5617 _resultobj
= Py_BuildValue("s",_ptemp
);
5620 _resultobj
= Py_None
;
5625 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5626 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
* _resultobj
;
5631 PyObject
* _argo0
= 0;
5632 PyObject
* _obj1
= 0;
5633 PyObject
* _obj2
= 0;
5634 char *_kwnames
[] = { "self","self","_class", NULL
};
5637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5656 wxPyEndAllowThreads(__tstate
);
5657 if (PyErr_Occurred()) return NULL
;
5658 } Py_INCREF(Py_None
);
5659 _resultobj
= Py_None
;
5663 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5664 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
* _resultobj
;
5667 PyObject
* _argo0
= 0;
5668 char *_kwnames
[] = { "self", NULL
};
5671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5682 wxPyLog_Destroy(_arg0
);
5684 wxPyEndAllowThreads(__tstate
);
5685 if (PyErr_Occurred()) return NULL
;
5686 } Py_INCREF(Py_None
);
5687 _resultobj
= Py_None
;
5691 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5692 wxProcessEvent
*src
;
5694 src
= (wxProcessEvent
*) ptr
;
5695 dest
= (wxEvent
*) src
;
5696 return (void *) dest
;
5699 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5700 wxProcessEvent
*src
;
5702 src
= (wxProcessEvent
*) ptr
;
5703 dest
= (wxObject
*) src
;
5704 return (void *) dest
;
5707 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5708 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
* _resultobj
;
5710 wxProcessEvent
* _result
;
5711 int _arg0
= (int ) 0;
5712 int _arg1
= (int ) 0;
5713 int _arg2
= (int ) 0;
5714 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5722 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5724 wxPyEndAllowThreads(__tstate
);
5725 if (PyErr_Occurred()) return NULL
;
5727 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5728 _resultobj
= Py_BuildValue("s",_ptemp
);
5731 _resultobj
= Py_None
;
5736 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5737 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
* _resultobj
;
5740 wxProcessEvent
* _arg0
;
5741 PyObject
* _argo0
= 0;
5742 char *_kwnames
[] = { "self", NULL
};
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5756 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) return NULL
;
5760 } _resultobj
= Py_BuildValue("i",_result
);
5764 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5765 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
* _resultobj
;
5768 wxProcessEvent
* _arg0
;
5769 PyObject
* _argo0
= 0;
5770 char *_kwnames
[] = { "self", NULL
};
5773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) return NULL
;
5788 } _resultobj
= Py_BuildValue("i",_result
);
5792 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5793 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5794 PyObject
* _resultobj
;
5796 wxProcessEvent
* _arg0
;
5798 PyObject
* _argo0
= 0;
5799 char *_kwnames
[] = { "self","m_pid", NULL
};
5802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5813 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5815 wxPyEndAllowThreads(__tstate
);
5816 if (PyErr_Occurred()) return NULL
;
5817 } _resultobj
= Py_BuildValue("i",_result
);
5821 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5822 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5823 PyObject
* _resultobj
;
5825 wxProcessEvent
* _arg0
;
5826 PyObject
* _argo0
= 0;
5827 char *_kwnames
[] = { "self", NULL
};
5830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5841 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5843 wxPyEndAllowThreads(__tstate
);
5844 if (PyErr_Occurred()) return NULL
;
5845 } _resultobj
= Py_BuildValue("i",_result
);
5849 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5850 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5851 PyObject
* _resultobj
;
5853 wxProcessEvent
* _arg0
;
5855 PyObject
* _argo0
= 0;
5856 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5870 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5872 wxPyEndAllowThreads(__tstate
);
5873 if (PyErr_Occurred()) return NULL
;
5874 } _resultobj
= Py_BuildValue("i",_result
);
5878 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5879 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
* _resultobj
;
5882 wxProcessEvent
* _arg0
;
5883 PyObject
* _argo0
= 0;
5884 char *_kwnames
[] = { "self", NULL
};
5887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5898 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5900 wxPyEndAllowThreads(__tstate
);
5901 if (PyErr_Occurred()) return NULL
;
5902 } _resultobj
= Py_BuildValue("i",_result
);
5906 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5909 src
= (wxPyProcess
*) ptr
;
5910 dest
= (wxEvtHandler
*) src
;
5911 return (void *) dest
;
5914 static void *SwigwxPyProcessTowxObject(void *ptr
) {
5917 src
= (wxPyProcess
*) ptr
;
5918 dest
= (wxObject
*) src
;
5919 return (void *) dest
;
5922 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5923 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
* _resultobj
;
5925 wxPyProcess
* _result
;
5926 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
5927 int _arg1
= (int ) -1;
5928 PyObject
* _argo0
= 0;
5929 char *_kwnames
[] = { "parent","id", NULL
};
5933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
5936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
5938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
5943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
5946 wxPyEndAllowThreads(__tstate
);
5947 if (PyErr_Occurred()) return NULL
;
5949 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
5950 _resultobj
= Py_BuildValue("s",_ptemp
);
5953 _resultobj
= Py_None
;
5958 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
5959 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5960 PyObject
* _resultobj
;
5961 wxPyProcess
* _arg0
;
5962 PyObject
* _argo0
= 0;
5963 char *_kwnames
[] = { "self", NULL
};
5966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
5969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
5976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5977 wxPyProcess_Destroy(_arg0
);
5979 wxPyEndAllowThreads(__tstate
);
5980 if (PyErr_Occurred()) return NULL
;
5981 } Py_INCREF(Py_None
);
5982 _resultobj
= Py_None
;
5986 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5987 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5988 PyObject
* _resultobj
;
5989 wxPyProcess
* _arg0
;
5992 PyObject
* _argo0
= 0;
5993 PyObject
* _obj1
= 0;
5994 PyObject
* _obj2
= 0;
5995 char *_kwnames
[] = { "self","self","_class", NULL
};
5998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6015 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) return NULL
;
6019 } Py_INCREF(Py_None
);
6020 _resultobj
= Py_None
;
6024 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6025 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6026 PyObject
* _resultobj
;
6027 wxPyProcess
* _arg0
;
6030 PyObject
* _argo0
= 0;
6031 char *_kwnames
[] = { "self","pid","status", NULL
};
6034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6045 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6047 wxPyEndAllowThreads(__tstate
);
6048 if (PyErr_Occurred()) return NULL
;
6049 } Py_INCREF(Py_None
);
6050 _resultobj
= Py_None
;
6054 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6055 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6056 PyObject
* _resultobj
;
6057 wxPyProcess
* _arg0
;
6058 PyObject
* _argo0
= 0;
6059 char *_kwnames
[] = { "self", NULL
};
6062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6073 wxProcess_Redirect(_arg0
);
6075 wxPyEndAllowThreads(__tstate
);
6076 if (PyErr_Occurred()) return NULL
;
6077 } Py_INCREF(Py_None
);
6078 _resultobj
= Py_None
;
6082 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6083 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
* _resultobj
;
6086 wxPyProcess
* _arg0
;
6087 PyObject
* _argo0
= 0;
6088 char *_kwnames
[] = { "self", NULL
};
6091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6104 wxPyEndAllowThreads(__tstate
);
6105 if (PyErr_Occurred()) return NULL
;
6106 } _resultobj
= Py_BuildValue("i",_result
);
6110 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6111 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6112 PyObject
* _resultobj
;
6113 wxPyProcess
* _arg0
;
6114 PyObject
* _argo0
= 0;
6115 char *_kwnames
[] = { "self", NULL
};
6118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6129 wxProcess_Detach(_arg0
);
6131 wxPyEndAllowThreads(__tstate
);
6132 if (PyErr_Occurred()) return NULL
;
6133 } Py_INCREF(Py_None
);
6134 _resultobj
= Py_None
;
6138 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6139 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6140 PyObject
* _resultobj
;
6141 wxInputStream
* _result
;
6142 wxPyProcess
* _arg0
;
6143 PyObject
* _argo0
= 0;
6144 char *_kwnames
[] = { "self", NULL
};
6147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
6150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
6157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6158 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
6160 wxPyEndAllowThreads(__tstate
);
6161 if (PyErr_Occurred()) return NULL
;
6163 wxPyInputStream
* _ptr
= NULL
;
6166 _ptr
= new wxPyInputStream(_result
);
6168 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6173 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6174 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6175 PyObject
* _resultobj
;
6176 wxInputStream
* _result
;
6177 wxPyProcess
* _arg0
;
6178 PyObject
* _argo0
= 0;
6179 char *_kwnames
[] = { "self", NULL
};
6182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6193 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6195 wxPyEndAllowThreads(__tstate
);
6196 if (PyErr_Occurred()) return NULL
;
6198 wxPyInputStream
* _ptr
= NULL
;
6201 _ptr
= new wxPyInputStream(_result
);
6203 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6208 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6209 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6210 PyObject
* _resultobj
;
6211 wxOutputStream
* _result
;
6212 wxPyProcess
* _arg0
;
6213 PyObject
* _argo0
= 0;
6214 char *_kwnames
[] = { "self", NULL
};
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6229 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6231 wxPyEndAllowThreads(__tstate
);
6232 if (PyErr_Occurred()) return NULL
;
6234 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6235 _resultobj
= Py_BuildValue("s",_ptemp
);
6238 _resultobj
= Py_None
;
6243 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6244 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
* _resultobj
;
6246 wxPyProcess
* _arg0
;
6247 PyObject
* _argo0
= 0;
6248 char *_kwnames
[] = { "self", NULL
};
6251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6262 wxProcess_CloseOutput(_arg0
);
6264 wxPyEndAllowThreads(__tstate
);
6265 if (PyErr_Occurred()) return NULL
;
6266 } Py_INCREF(Py_None
);
6267 _resultobj
= Py_None
;
6271 static void *SwigwxJoystickTowxObject(void *ptr
) {
6274 src
= (wxJoystick
*) ptr
;
6275 dest
= (wxObject
*) src
;
6276 return (void *) dest
;
6279 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6280 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
* _resultobj
;
6282 wxJoystick
* _result
;
6283 int _arg0
= (int ) wxJOYSTICK1
;
6284 char *_kwnames
[] = { "joystick", NULL
};
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6294 wxPyEndAllowThreads(__tstate
);
6295 if (PyErr_Occurred()) return NULL
;
6297 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6298 _resultobj
= Py_BuildValue("s",_ptemp
);
6301 _resultobj
= Py_None
;
6306 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6307 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
* _resultobj
;
6310 PyObject
* _argo0
= 0;
6311 char *_kwnames
[] = { "self", NULL
};
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6325 delete_wxJoystick(_arg0
);
6327 wxPyEndAllowThreads(__tstate
);
6328 if (PyErr_Occurred()) return NULL
;
6329 } Py_INCREF(Py_None
);
6330 _resultobj
= Py_None
;
6334 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6335 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
* _resultobj
;
6339 PyObject
* _argo0
= 0;
6340 char *_kwnames
[] = { "self", NULL
};
6344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6355 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6357 wxPyEndAllowThreads(__tstate
);
6358 if (PyErr_Occurred()) return NULL
;
6359 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6360 _resultobj
= Py_BuildValue("s",_ptemp
);
6364 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6365 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
* _resultobj
;
6369 PyObject
* _argo0
= 0;
6370 char *_kwnames
[] = { "self", NULL
};
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) return NULL
;
6388 } _resultobj
= Py_BuildValue("i",_result
);
6392 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6393 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6394 PyObject
* _resultobj
;
6397 PyObject
* _argo0
= 0;
6398 char *_kwnames
[] = { "self", NULL
};
6401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6414 wxPyEndAllowThreads(__tstate
);
6415 if (PyErr_Occurred()) return NULL
;
6416 } _resultobj
= Py_BuildValue("i",_result
);
6420 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6421 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6422 PyObject
* _resultobj
;
6425 PyObject
* _argo0
= 0;
6426 char *_kwnames
[] = { "self", NULL
};
6429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6440 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6442 wxPyEndAllowThreads(__tstate
);
6443 if (PyErr_Occurred()) return NULL
;
6444 } _resultobj
= Py_BuildValue("i",_result
);
6448 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6449 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6450 PyObject
* _resultobj
;
6453 PyObject
* _argo0
= 0;
6454 char *_kwnames
[] = { "self", NULL
};
6457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6468 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6470 wxPyEndAllowThreads(__tstate
);
6471 if (PyErr_Occurred()) return NULL
;
6472 } _resultobj
= Py_BuildValue("i",_result
);
6476 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6477 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6478 PyObject
* _resultobj
;
6481 PyObject
* _argo0
= 0;
6482 char *_kwnames
[] = { "self", NULL
};
6485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6488 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6489 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6496 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6498 wxPyEndAllowThreads(__tstate
);
6499 if (PyErr_Occurred()) return NULL
;
6500 } _resultobj
= Py_BuildValue("i",_result
);
6504 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6505 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6506 PyObject
* _resultobj
;
6509 PyObject
* _argo0
= 0;
6510 char *_kwnames
[] = { "self", NULL
};
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6524 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6526 wxPyEndAllowThreads(__tstate
);
6527 if (PyErr_Occurred()) return NULL
;
6528 } _resultobj
= Py_BuildValue("i",_result
);
6532 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6533 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
* _resultobj
;
6537 PyObject
* _argo0
= 0;
6538 char *_kwnames
[] = { "self", NULL
};
6541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6544 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6545 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6552 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6554 wxPyEndAllowThreads(__tstate
);
6555 if (PyErr_Occurred()) return NULL
;
6556 } _resultobj
= Py_BuildValue("i",_result
);
6560 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6561 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
* _resultobj
;
6565 PyObject
* _argo0
= 0;
6566 char *_kwnames
[] = { "self", NULL
};
6569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6580 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6582 wxPyEndAllowThreads(__tstate
);
6583 if (PyErr_Occurred()) return NULL
;
6584 } _resultobj
= Py_BuildValue("i",_result
);
6588 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6589 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6590 PyObject
* _resultobj
;
6593 PyObject
* _argo0
= 0;
6594 char *_kwnames
[] = { "self","threshold", NULL
};
6597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6608 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) return NULL
;
6612 } Py_INCREF(Py_None
);
6613 _resultobj
= Py_None
;
6617 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6618 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6619 PyObject
* _resultobj
;
6622 PyObject
* _argo0
= 0;
6623 char *_kwnames
[] = { "self", NULL
};
6626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6637 _result
= (bool )wxJoystick_IsOk(_arg0
);
6639 wxPyEndAllowThreads(__tstate
);
6640 if (PyErr_Occurred()) return NULL
;
6641 } _resultobj
= Py_BuildValue("i",_result
);
6645 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6646 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6647 PyObject
* _resultobj
;
6650 PyObject
* _argo0
= 0;
6651 char *_kwnames
[] = { "self", NULL
};
6654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) return NULL
;
6669 } _resultobj
= Py_BuildValue("i",_result
);
6673 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6674 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
* _resultobj
;
6678 PyObject
* _argo0
= 0;
6679 char *_kwnames
[] = { "self", NULL
};
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) return NULL
;
6697 } _resultobj
= Py_BuildValue("i",_result
);
6701 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6702 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6703 PyObject
* _resultobj
;
6706 PyObject
* _argo0
= 0;
6707 char *_kwnames
[] = { "self", NULL
};
6710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6721 _result
= (int )wxJoystick_GetProductId(_arg0
);
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) return NULL
;
6725 } _resultobj
= Py_BuildValue("i",_result
);
6729 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6730 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6731 PyObject
* _resultobj
;
6734 PyObject
* _argo0
= 0;
6735 char *_kwnames
[] = { "self", NULL
};
6738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6749 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6751 wxPyEndAllowThreads(__tstate
);
6752 if (PyErr_Occurred()) return NULL
;
6755 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6757 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6766 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6767 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6768 PyObject
* _resultobj
;
6771 PyObject
* _argo0
= 0;
6772 char *_kwnames
[] = { "self", NULL
};
6775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6786 _result
= (int )wxJoystick_GetXMin(_arg0
);
6788 wxPyEndAllowThreads(__tstate
);
6789 if (PyErr_Occurred()) return NULL
;
6790 } _resultobj
= Py_BuildValue("i",_result
);
6794 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6795 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6796 PyObject
* _resultobj
;
6799 PyObject
* _argo0
= 0;
6800 char *_kwnames
[] = { "self", NULL
};
6803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 _result
= (int )wxJoystick_GetYMin(_arg0
);
6816 wxPyEndAllowThreads(__tstate
);
6817 if (PyErr_Occurred()) return NULL
;
6818 } _resultobj
= Py_BuildValue("i",_result
);
6822 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6823 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
* _resultobj
;
6827 PyObject
* _argo0
= 0;
6828 char *_kwnames
[] = { "self", NULL
};
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6842 _result
= (int )wxJoystick_GetZMin(_arg0
);
6844 wxPyEndAllowThreads(__tstate
);
6845 if (PyErr_Occurred()) return NULL
;
6846 } _resultobj
= Py_BuildValue("i",_result
);
6850 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6851 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6852 PyObject
* _resultobj
;
6855 PyObject
* _argo0
= 0;
6856 char *_kwnames
[] = { "self", NULL
};
6859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6870 _result
= (int )wxJoystick_GetXMax(_arg0
);
6872 wxPyEndAllowThreads(__tstate
);
6873 if (PyErr_Occurred()) return NULL
;
6874 } _resultobj
= Py_BuildValue("i",_result
);
6878 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6879 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
* _resultobj
;
6883 PyObject
* _argo0
= 0;
6884 char *_kwnames
[] = { "self", NULL
};
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 _result
= (int )wxJoystick_GetYMax(_arg0
);
6900 wxPyEndAllowThreads(__tstate
);
6901 if (PyErr_Occurred()) return NULL
;
6902 } _resultobj
= Py_BuildValue("i",_result
);
6906 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6907 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
* _resultobj
;
6911 PyObject
* _argo0
= 0;
6912 char *_kwnames
[] = { "self", NULL
};
6915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
6918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 _result
= (int )wxJoystick_GetZMax(_arg0
);
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) return NULL
;
6930 } _resultobj
= Py_BuildValue("i",_result
);
6934 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6935 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6936 PyObject
* _resultobj
;
6939 PyObject
* _argo0
= 0;
6940 char *_kwnames
[] = { "self", NULL
};
6943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
6946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6954 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
6956 wxPyEndAllowThreads(__tstate
);
6957 if (PyErr_Occurred()) return NULL
;
6958 } _resultobj
= Py_BuildValue("i",_result
);
6962 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
6963 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
* _resultobj
;
6967 PyObject
* _argo0
= 0;
6968 char *_kwnames
[] = { "self", NULL
};
6971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
6974 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6975 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6976 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
6981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6982 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
6984 wxPyEndAllowThreads(__tstate
);
6985 if (PyErr_Occurred()) return NULL
;
6986 } _resultobj
= Py_BuildValue("i",_result
);
6990 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
6991 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
* _resultobj
;
6995 PyObject
* _argo0
= 0;
6996 char *_kwnames
[] = { "self", NULL
};
6999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7010 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7012 wxPyEndAllowThreads(__tstate
);
7013 if (PyErr_Occurred()) return NULL
;
7014 } _resultobj
= Py_BuildValue("i",_result
);
7018 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7019 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7020 PyObject
* _resultobj
;
7023 PyObject
* _argo0
= 0;
7024 char *_kwnames
[] = { "self", NULL
};
7027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7038 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7040 wxPyEndAllowThreads(__tstate
);
7041 if (PyErr_Occurred()) return NULL
;
7042 } _resultobj
= Py_BuildValue("i",_result
);
7046 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7047 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
* _resultobj
;
7051 PyObject
* _argo0
= 0;
7052 char *_kwnames
[] = { "self", NULL
};
7055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7066 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7068 wxPyEndAllowThreads(__tstate
);
7069 if (PyErr_Occurred()) return NULL
;
7070 } _resultobj
= Py_BuildValue("i",_result
);
7074 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7075 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7076 PyObject
* _resultobj
;
7079 PyObject
* _argo0
= 0;
7080 char *_kwnames
[] = { "self", NULL
};
7083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7094 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7096 wxPyEndAllowThreads(__tstate
);
7097 if (PyErr_Occurred()) return NULL
;
7098 } _resultobj
= Py_BuildValue("i",_result
);
7102 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7103 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
* _resultobj
;
7107 PyObject
* _argo0
= 0;
7108 char *_kwnames
[] = { "self", NULL
};
7111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7122 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7124 wxPyEndAllowThreads(__tstate
);
7125 if (PyErr_Occurred()) return NULL
;
7126 } _resultobj
= Py_BuildValue("i",_result
);
7130 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7131 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7132 PyObject
* _resultobj
;
7135 PyObject
* _argo0
= 0;
7136 char *_kwnames
[] = { "self", NULL
};
7139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7150 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7152 wxPyEndAllowThreads(__tstate
);
7153 if (PyErr_Occurred()) return NULL
;
7154 } _resultobj
= Py_BuildValue("i",_result
);
7158 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7159 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
* _resultobj
;
7163 PyObject
* _argo0
= 0;
7164 char *_kwnames
[] = { "self", NULL
};
7167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7178 _result
= (int )wxJoystick_GetUMin(_arg0
);
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) return NULL
;
7182 } _resultobj
= Py_BuildValue("i",_result
);
7186 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7187 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7188 PyObject
* _resultobj
;
7191 PyObject
* _argo0
= 0;
7192 char *_kwnames
[] = { "self", NULL
};
7195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 _result
= (int )wxJoystick_GetUMax(_arg0
);
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) return NULL
;
7210 } _resultobj
= Py_BuildValue("i",_result
);
7214 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7215 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
* _resultobj
;
7219 PyObject
* _argo0
= 0;
7220 char *_kwnames
[] = { "self", NULL
};
7223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7234 _result
= (int )wxJoystick_GetVMin(_arg0
);
7236 wxPyEndAllowThreads(__tstate
);
7237 if (PyErr_Occurred()) return NULL
;
7238 } _resultobj
= Py_BuildValue("i",_result
);
7242 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7243 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
* _resultobj
;
7247 PyObject
* _argo0
= 0;
7248 char *_kwnames
[] = { "self", NULL
};
7251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7262 _result
= (int )wxJoystick_GetVMax(_arg0
);
7264 wxPyEndAllowThreads(__tstate
);
7265 if (PyErr_Occurred()) return NULL
;
7266 } _resultobj
= Py_BuildValue("i",_result
);
7270 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7271 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
* _resultobj
;
7275 PyObject
* _argo0
= 0;
7276 char *_kwnames
[] = { "self", NULL
};
7279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7290 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) return NULL
;
7294 } _resultobj
= Py_BuildValue("i",_result
);
7298 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7299 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7300 PyObject
* _resultobj
;
7303 PyObject
* _argo0
= 0;
7304 char *_kwnames
[] = { "self", NULL
};
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7318 _result
= (bool )wxJoystick_HasZ(_arg0
);
7320 wxPyEndAllowThreads(__tstate
);
7321 if (PyErr_Occurred()) return NULL
;
7322 } _resultobj
= Py_BuildValue("i",_result
);
7326 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7327 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7328 PyObject
* _resultobj
;
7331 PyObject
* _argo0
= 0;
7332 char *_kwnames
[] = { "self", NULL
};
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7338 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7339 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7340 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 _result
= (bool )wxJoystick_HasU(_arg0
);
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) return NULL
;
7350 } _resultobj
= Py_BuildValue("i",_result
);
7354 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7355 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7356 PyObject
* _resultobj
;
7359 PyObject
* _argo0
= 0;
7360 char *_kwnames
[] = { "self", NULL
};
7363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 _result
= (bool )wxJoystick_HasV(_arg0
);
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) return NULL
;
7378 } _resultobj
= Py_BuildValue("i",_result
);
7382 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7383 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7384 PyObject
* _resultobj
;
7387 PyObject
* _argo0
= 0;
7388 char *_kwnames
[] = { "self", NULL
};
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) return NULL
;
7406 } _resultobj
= Py_BuildValue("i",_result
);
7410 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7411 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7412 PyObject
* _resultobj
;
7415 PyObject
* _argo0
= 0;
7416 char *_kwnames
[] = { "self", NULL
};
7419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7430 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7432 wxPyEndAllowThreads(__tstate
);
7433 if (PyErr_Occurred()) return NULL
;
7434 } _resultobj
= Py_BuildValue("i",_result
);
7438 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7439 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
* _resultobj
;
7443 PyObject
* _argo0
= 0;
7444 char *_kwnames
[] = { "self", NULL
};
7447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7460 wxPyEndAllowThreads(__tstate
);
7461 if (PyErr_Occurred()) return NULL
;
7462 } _resultobj
= Py_BuildValue("i",_result
);
7466 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7467 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7468 PyObject
* _resultobj
;
7472 int _arg2
= (int ) 0;
7473 PyObject
* _argo0
= 0;
7474 PyObject
* _argo1
= 0;
7475 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7488 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7489 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7496 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7498 wxPyEndAllowThreads(__tstate
);
7499 if (PyErr_Occurred()) return NULL
;
7500 } _resultobj
= Py_BuildValue("i",_result
);
7504 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7505 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7506 PyObject
* _resultobj
;
7509 PyObject
* _argo0
= 0;
7510 char *_kwnames
[] = { "self", NULL
};
7513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7516 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7517 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7524 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7526 wxPyEndAllowThreads(__tstate
);
7527 if (PyErr_Occurred()) return NULL
;
7528 } _resultobj
= Py_BuildValue("i",_result
);
7532 static void *SwigwxWaveTowxObject(void *ptr
) {
7535 src
= (wxWave
*) ptr
;
7536 dest
= (wxObject
*) src
;
7537 return (void *) dest
;
7540 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7541 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7542 PyObject
* _resultobj
;
7545 bool _arg1
= (bool ) FALSE
;
7546 PyObject
* _obj0
= 0;
7547 int tempbool1
= (int) FALSE
;
7548 char *_kwnames
[] = { "fileName","isResource", NULL
};
7552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7555 _arg0
= wxString_in_helper(_obj0
);
7559 _arg1
= (bool ) tempbool1
;
7561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7562 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7564 wxPyEndAllowThreads(__tstate
);
7565 if (PyErr_Occurred()) return NULL
;
7567 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7568 _resultobj
= Py_BuildValue("s",_ptemp
);
7571 _resultobj
= Py_None
;
7580 #define delete_wxWave(_swigobj) (delete _swigobj)
7581 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7582 PyObject
* _resultobj
;
7584 PyObject
* _argo0
= 0;
7585 char *_kwnames
[] = { "self", NULL
};
7588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7599 delete_wxWave(_arg0
);
7601 wxPyEndAllowThreads(__tstate
);
7602 if (PyErr_Occurred()) return NULL
;
7603 } Py_INCREF(Py_None
);
7604 _resultobj
= Py_None
;
7608 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7609 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7610 PyObject
* _resultobj
;
7613 PyObject
* _argo0
= 0;
7614 char *_kwnames
[] = { "self", NULL
};
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7628 _result
= (bool )wxWave_IsOk(_arg0
);
7630 wxPyEndAllowThreads(__tstate
);
7631 if (PyErr_Occurred()) return NULL
;
7632 } _resultobj
= Py_BuildValue("i",_result
);
7636 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7637 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7638 PyObject
* _resultobj
;
7641 bool _arg1
= (bool ) TRUE
;
7642 bool _arg2
= (bool ) FALSE
;
7643 PyObject
* _argo0
= 0;
7644 int tempbool1
= (int) TRUE
;
7645 int tempbool2
= (int) FALSE
;
7646 char *_kwnames
[] = { "self","async","looped", NULL
};
7649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7658 _arg1
= (bool ) tempbool1
;
7659 _arg2
= (bool ) tempbool2
;
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) return NULL
;
7666 } _resultobj
= Py_BuildValue("i",_result
);
7670 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7671 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7672 PyObject
* _resultobj
;
7673 wxFileTypeInfo
* _result
;
7678 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
7688 wxPyEndAllowThreads(__tstate
);
7689 if (PyErr_Occurred()) return NULL
;
7691 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7692 _resultobj
= Py_BuildValue("s",_ptemp
);
7695 _resultobj
= Py_None
;
7700 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7701 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7702 PyObject
* _resultobj
;
7703 wxFileTypeInfo
* _result
;
7704 wxArrayString
* _arg0
;
7705 PyObject
* _obj0
= 0;
7706 char *_kwnames
[] = { "sArray", NULL
};
7710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7713 if (! PySequence_Check(_obj0
)) {
7714 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7717 _arg0
= new wxArrayString
;
7718 int i
, len
=PySequence_Length(_obj0
);
7719 for (i
=0; i
<len
; i
++) {
7720 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7722 PyObject
* str
= PyObject_Unicode(item
);
7723 _arg0
->Add(PyUnicode_AsUnicode(str
));
7725 PyObject
* str
= PyObject_Str(item
);
7726 _arg0
->Add(PyString_AsString(str
));
7733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7734 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
7736 wxPyEndAllowThreads(__tstate
);
7737 if (PyErr_Occurred()) return NULL
;
7739 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7740 _resultobj
= Py_BuildValue("s",_ptemp
);
7743 _resultobj
= Py_None
;
7752 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7753 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
* _resultobj
;
7755 wxFileTypeInfo
* _result
;
7756 char *_kwnames
[] = { NULL
};
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
7763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7764 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
7766 wxPyEndAllowThreads(__tstate
);
7767 if (PyErr_Occurred()) return NULL
;
7769 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7770 _resultobj
= Py_BuildValue("s",_ptemp
);
7773 _resultobj
= Py_None
;
7778 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
7779 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
* _resultobj
;
7782 wxFileTypeInfo
* _arg0
;
7783 PyObject
* _argo0
= 0;
7784 char *_kwnames
[] = { "self", NULL
};
7787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
7790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
7797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7798 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) return NULL
;
7802 } _resultobj
= Py_BuildValue("i",_result
);
7806 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
7807 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
* _resultobj
;
7809 wxFileTypeInfo
* _arg0
;
7811 int _arg2
= (int ) 0;
7812 PyObject
* _argo0
= 0;
7813 PyObject
* _obj1
= 0;
7814 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
7817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
7820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
7827 _arg1
= wxString_in_helper(_obj1
);
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) return NULL
;
7837 } Py_INCREF(Py_None
);
7838 _resultobj
= Py_None
;
7846 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
7847 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7848 PyObject
* _resultobj
;
7849 wxFileTypeInfo
* _arg0
;
7851 PyObject
* _argo0
= 0;
7852 PyObject
* _obj1
= 0;
7853 char *_kwnames
[] = { "self","shortDesc", NULL
};
7856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
7859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
7866 _arg1
= wxString_in_helper(_obj1
);
7871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7872 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) return NULL
;
7876 } Py_INCREF(Py_None
);
7877 _resultobj
= Py_None
;
7885 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
7886 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
* _resultobj
;
7889 wxFileTypeInfo
* _arg0
;
7890 PyObject
* _argo0
= 0;
7891 char *_kwnames
[] = { "self", NULL
};
7894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetMimeType",_kwnames
,&_argo0
))
7897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetMimeType. Expected _wxFileTypeInfo_p.");
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_arg0
);
7906 _result
= (wxString
*) &_result_ref
;
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) return NULL
;
7912 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7914 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7920 #define wxFileTypeInfo_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
7921 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7922 PyObject
* _resultobj
;
7924 wxFileTypeInfo
* _arg0
;
7925 PyObject
* _argo0
= 0;
7926 char *_kwnames
[] = { "self", NULL
};
7929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetOpenCommand",_kwnames
,&_argo0
))
7932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetOpenCommand. Expected _wxFileTypeInfo_p.");
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_arg0
);
7941 _result
= (wxString
*) &_result_ref
;
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) return NULL
;
7947 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7949 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7955 #define wxFileTypeInfo_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
7956 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
* _resultobj
;
7959 wxFileTypeInfo
* _arg0
;
7960 PyObject
* _argo0
= 0;
7961 char *_kwnames
[] = { "self", NULL
};
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetPrintCommand",_kwnames
,&_argo0
))
7967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetPrintCommand. Expected _wxFileTypeInfo_p.");
7974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_arg0
);
7976 _result
= (wxString
*) &_result_ref
;
7978 wxPyEndAllowThreads(__tstate
);
7979 if (PyErr_Occurred()) return NULL
;
7982 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
7984 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
7990 #define wxFileTypeInfo_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
7991 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
* _resultobj
;
7994 wxFileTypeInfo
* _arg0
;
7995 PyObject
* _argo0
= 0;
7996 char *_kwnames
[] = { "self", NULL
};
7999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetShortDesc",_kwnames
,&_argo0
))
8002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetShortDesc. Expected _wxFileTypeInfo_p.");
8009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8010 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_arg0
);
8011 _result
= (wxString
*) &_result_ref
;
8013 wxPyEndAllowThreads(__tstate
);
8014 if (PyErr_Occurred()) return NULL
;
8017 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8019 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8025 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8026 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8027 PyObject
* _resultobj
;
8029 wxFileTypeInfo
* _arg0
;
8030 PyObject
* _argo0
= 0;
8031 char *_kwnames
[] = { "self", NULL
};
8034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8045 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8046 _result
= (wxString
*) &_result_ref
;
8048 wxPyEndAllowThreads(__tstate
);
8049 if (PyErr_Occurred()) return NULL
;
8052 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8054 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8060 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8061 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8062 return wxArrayString2PyList_helper(arr
);
8064 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8065 PyObject
* _resultobj
;
8067 wxFileTypeInfo
* _arg0
;
8068 PyObject
* _argo0
= 0;
8069 char *_kwnames
[] = { "self", NULL
};
8072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8083 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8085 wxPyEndAllowThreads(__tstate
);
8086 if (PyErr_Occurred()) return NULL
;
8088 _resultobj
= _result
;
8093 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8094 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8095 PyObject
* _resultobj
;
8097 wxFileTypeInfo
* _arg0
;
8098 PyObject
* _argo0
= 0;
8099 char *_kwnames
[] = { "self", NULL
};
8102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8113 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8115 wxPyEndAllowThreads(__tstate
);
8116 if (PyErr_Occurred()) return NULL
;
8117 } _resultobj
= Py_BuildValue("i",_result
);
8121 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8122 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8123 PyObject
* _resultobj
;
8125 wxFileTypeInfo
* _arg0
;
8126 PyObject
* _argo0
= 0;
8127 char *_kwnames
[] = { "self", NULL
};
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconFile",_kwnames
,&_argo0
))
8133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconFile. Expected _wxFileTypeInfo_p.");
8140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8141 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8142 _result
= (wxString
*) &_result_ref
;
8144 wxPyEndAllowThreads(__tstate
);
8145 if (PyErr_Occurred()) return NULL
;
8148 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8150 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8156 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8157 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8158 PyObject
* _resultobj
;
8160 wxFileTypeInfo
* _arg0
;
8161 PyObject
* _argo0
= 0;
8162 char *_kwnames
[] = { "self", NULL
};
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8176 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8178 wxPyEndAllowThreads(__tstate
);
8179 if (PyErr_Occurred()) return NULL
;
8180 } _resultobj
= Py_BuildValue("i",_result
);
8184 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8185 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8186 PyObject
* _resultobj
;
8187 wxFileType
* _result
;
8188 wxFileTypeInfo
* _arg0
;
8189 PyObject
* _argo0
= 0;
8190 char *_kwnames
[] = { "ftInfo", NULL
};
8194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8205 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) return NULL
;
8210 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8211 _resultobj
= Py_BuildValue("s",_ptemp
);
8214 _resultobj
= Py_None
;
8219 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8221 if (self
->GetMimeType(&str
)) {
8223 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8225 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8231 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
* _resultobj
;
8235 PyObject
* _argo0
= 0;
8236 char *_kwnames
[] = { "self", NULL
};
8239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8250 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8252 wxPyEndAllowThreads(__tstate
);
8253 if (PyErr_Occurred()) return NULL
;
8255 _resultobj
= _result
;
8260 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8262 if (self
->GetMimeTypes(arr
))
8263 return wxArrayString2PyList_helper(arr
);
8267 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8268 PyObject
* _resultobj
;
8271 PyObject
* _argo0
= 0;
8272 char *_kwnames
[] = { "self", NULL
};
8275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8278 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8279 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8280 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8286 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8288 wxPyEndAllowThreads(__tstate
);
8289 if (PyErr_Occurred()) return NULL
;
8291 _resultobj
= _result
;
8296 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8298 if (self
->GetExtensions(arr
))
8299 return wxArrayString2PyList_helper(arr
);
8303 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
* _resultobj
;
8307 PyObject
* _argo0
= 0;
8308 char *_kwnames
[] = { "self", NULL
};
8311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8314 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8315 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8316 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8322 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8324 wxPyEndAllowThreads(__tstate
);
8325 if (PyErr_Occurred()) return NULL
;
8327 _resultobj
= _result
;
8332 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8334 if (self
->GetIcon(&icon
))
8335 return new wxIcon(icon
);
8339 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
* _resultobj
;
8343 PyObject
* _argo0
= 0;
8344 char *_kwnames
[] = { "self", NULL
};
8348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8359 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8361 wxPyEndAllowThreads(__tstate
);
8362 if (PyErr_Occurred()) return NULL
;
8364 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8365 _resultobj
= Py_BuildValue("s",_ptemp
);
8368 _resultobj
= Py_None
;
8373 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8377 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8378 wxPyBeginBlockThreads();
8379 PyObject
* tuple
= PyTuple_New(3);
8380 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8383 PyTuple_SetItem(tuple
, 1, PyUnicode_FromUnicode(iconFile
.c_str(), iconFile
.Len()));
8385 PyTuple_SetItem(tuple
, 1, PyString_FromStringAndSize(iconFile
.c_str(), iconFile
.Len()));
8387 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8388 wxPyEndBlockThreads();
8394 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8395 PyObject
* _resultobj
;
8398 PyObject
* _argo0
= 0;
8399 char *_kwnames
[] = { "self", NULL
};
8402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8413 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8415 wxPyEndAllowThreads(__tstate
);
8416 if (PyErr_Occurred()) return NULL
;
8418 _resultobj
= _result
;
8423 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8425 if (self
->GetDescription(&str
)) {
8427 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8429 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8434 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8435 PyObject
* _resultobj
;
8438 PyObject
* _argo0
= 0;
8439 char *_kwnames
[] = { "self", NULL
};
8442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8445 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8446 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8447 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8453 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8455 wxPyEndAllowThreads(__tstate
);
8456 if (PyErr_Occurred()) return NULL
;
8458 _resultobj
= _result
;
8463 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8465 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8467 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8469 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8474 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8475 PyObject
* _resultobj
;
8479 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8480 PyObject
* _argo0
= 0;
8481 PyObject
* _obj1
= 0;
8482 PyObject
* _obj2
= 0;
8483 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8489 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8490 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8491 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8496 _arg1
= wxString_in_helper(_obj1
);
8502 _arg2
= wxString_in_helper(_obj2
);
8507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8508 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) return NULL
;
8513 _resultobj
= _result
;
8526 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8528 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8530 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8532 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8537 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8538 PyObject
* _resultobj
;
8542 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8543 PyObject
* _argo0
= 0;
8544 PyObject
* _obj1
= 0;
8545 PyObject
* _obj2
= 0;
8546 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8559 _arg1
= wxString_in_helper(_obj1
);
8565 _arg2
= wxString_in_helper(_obj2
);
8570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8573 wxPyEndAllowThreads(__tstate
);
8574 if (PyErr_Occurred()) return NULL
;
8576 _resultobj
= _result
;
8589 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8590 wxArrayString verbs
;
8591 wxArrayString commands
;
8592 if (self
->GetAllCommands(&verbs
, &commands
,
8593 wxFileType::MessageParameters(filename
, mimetype
))) {
8594 wxPyBeginBlockThreads();
8595 PyObject
* tuple
= PyTuple_New(2);
8596 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8597 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8598 wxPyEndBlockThreads();
8604 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8605 PyObject
* _resultobj
;
8609 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8610 PyObject
* _argo0
= 0;
8611 PyObject
* _obj1
= 0;
8612 PyObject
* _obj2
= 0;
8613 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8626 _arg1
= wxString_in_helper(_obj1
);
8632 _arg2
= wxString_in_helper(_obj2
);
8637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8638 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8640 wxPyEndAllowThreads(__tstate
);
8641 if (PyErr_Occurred()) return NULL
;
8643 _resultobj
= _result
;
8656 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8657 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8658 PyObject
* _resultobj
;
8663 bool _arg3
= (bool ) TRUE
;
8664 PyObject
* _argo0
= 0;
8665 PyObject
* _obj1
= 0;
8666 PyObject
* _obj2
= 0;
8667 int tempbool3
= (int) TRUE
;
8668 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8681 _arg1
= wxString_in_helper(_obj1
);
8686 _arg2
= wxString_in_helper(_obj2
);
8690 _arg3
= (bool ) tempbool3
;
8692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8693 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8695 wxPyEndAllowThreads(__tstate
);
8696 if (PyErr_Occurred()) return NULL
;
8697 } _resultobj
= Py_BuildValue("i",_result
);
8709 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8710 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8711 PyObject
* _resultobj
;
8714 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
8715 int _arg2
= (int ) 0;
8716 PyObject
* _argo0
= 0;
8717 PyObject
* _obj1
= 0;
8718 char *_kwnames
[] = { "self","cmd","index", NULL
};
8721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8732 _arg1
= wxString_in_helper(_obj1
);
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) return NULL
;
8742 } _resultobj
= Py_BuildValue("i",_result
);
8750 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
8751 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
* _resultobj
;
8755 PyObject
* _argo0
= 0;
8756 char *_kwnames
[] = { "self", NULL
};
8759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
8762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 _result
= (bool )wxFileType_Unassociate(_arg0
);
8772 wxPyEndAllowThreads(__tstate
);
8773 if (PyErr_Occurred()) return NULL
;
8774 } _resultobj
= Py_BuildValue("i",_result
);
8778 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
* _resultobj
;
8782 wxFileType::MessageParameters
* _arg1
;
8783 PyObject
* _obj0
= 0;
8784 PyObject
* _argo1
= 0;
8785 char *_kwnames
[] = { "command","params", NULL
};
8788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
8791 _arg0
= wxString_in_helper(_obj0
);
8796 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8797 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
8798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
8803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8804 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
8806 wxPyEndAllowThreads(__tstate
);
8807 if (PyErr_Occurred()) return NULL
;
8810 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8812 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8825 #define delete_wxFileType(_swigobj) (delete _swigobj)
8826 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8827 PyObject
* _resultobj
;
8829 PyObject
* _argo0
= 0;
8830 char *_kwnames
[] = { "self", NULL
};
8833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
8836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
8843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 delete_wxFileType(_arg0
);
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) return NULL
;
8848 } Py_INCREF(Py_None
);
8849 _resultobj
= Py_None
;
8853 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8854 PyObject
* _resultobj
;
8858 PyObject
* _obj0
= 0;
8859 PyObject
* _obj1
= 0;
8860 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
8863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
8866 _arg0
= wxString_in_helper(_obj0
);
8871 _arg1
= wxString_in_helper(_obj1
);
8876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
8879 wxPyEndAllowThreads(__tstate
);
8880 if (PyErr_Occurred()) return NULL
;
8881 } _resultobj
= Py_BuildValue("i",_result
);
8893 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
8894 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8895 PyObject
* _resultobj
;
8896 wxMimeTypesManager
* _result
;
8897 char *_kwnames
[] = { NULL
};
8901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
8904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8905 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) return NULL
;
8910 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
8911 _resultobj
= Py_BuildValue("s",_ptemp
);
8914 _resultobj
= Py_None
;
8919 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
8920 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8921 PyObject
* _resultobj
;
8922 wxMimeTypesManager
* _arg0
;
8923 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
8924 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8925 PyObject
* _argo0
= 0;
8926 PyObject
* _obj2
= 0;
8927 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
8930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
8935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
8941 _arg2
= wxString_in_helper(_obj2
);
8946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8947 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
8949 wxPyEndAllowThreads(__tstate
);
8950 if (PyErr_Occurred()) return NULL
;
8951 } Py_INCREF(Py_None
);
8952 _resultobj
= Py_None
;
8960 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
8961 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8962 PyObject
* _resultobj
;
8963 wxMimeTypesManager
* _arg0
;
8964 PyObject
* _argo0
= 0;
8965 char *_kwnames
[] = { "self", NULL
};
8968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
8971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
8973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
8978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8979 wxMimeTypesManager_ClearData(_arg0
);
8981 wxPyEndAllowThreads(__tstate
);
8982 if (PyErr_Occurred()) return NULL
;
8983 } Py_INCREF(Py_None
);
8984 _resultobj
= Py_None
;
8988 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
8989 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8990 PyObject
* _resultobj
;
8991 wxFileType
* _result
;
8992 wxMimeTypesManager
* _arg0
;
8994 PyObject
* _argo0
= 0;
8995 PyObject
* _obj1
= 0;
8996 char *_kwnames
[] = { "self","ext", NULL
};
9000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9010 _arg1
= wxString_in_helper(_obj1
);
9015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9016 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9018 wxPyEndAllowThreads(__tstate
);
9019 if (PyErr_Occurred()) return NULL
;
9021 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9022 _resultobj
= Py_BuildValue("s",_ptemp
);
9025 _resultobj
= Py_None
;
9034 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9035 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9036 PyObject
* _resultobj
;
9037 wxFileType
* _result
;
9038 wxMimeTypesManager
* _arg0
;
9040 PyObject
* _argo0
= 0;
9041 PyObject
* _obj1
= 0;
9042 char *_kwnames
[] = { "self","mimeType", NULL
};
9046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9056 _arg1
= wxString_in_helper(_obj1
);
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) return NULL
;
9067 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9068 _resultobj
= Py_BuildValue("s",_ptemp
);
9071 _resultobj
= Py_None
;
9080 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9081 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
* _resultobj
;
9084 wxMimeTypesManager
* _arg0
;
9086 bool _arg2
= (bool ) FALSE
;
9087 PyObject
* _argo0
= 0;
9088 PyObject
* _obj1
= 0;
9089 int tempbool2
= (int) FALSE
;
9090 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9103 _arg1
= wxString_in_helper(_obj1
);
9107 _arg2
= (bool ) tempbool2
;
9109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9110 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9112 wxPyEndAllowThreads(__tstate
);
9113 if (PyErr_Occurred()) return NULL
;
9114 } _resultobj
= Py_BuildValue("i",_result
);
9122 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9123 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9124 PyObject
* _resultobj
;
9126 wxMimeTypesManager
* _arg0
;
9128 PyObject
* _argo0
= 0;
9129 PyObject
* _obj1
= 0;
9130 char *_kwnames
[] = { "self","filename", NULL
};
9133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9136 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9137 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9138 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9143 _arg1
= wxString_in_helper(_obj1
);
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) return NULL
;
9153 } _resultobj
= Py_BuildValue("i",_result
);
9161 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9163 self
->EnumAllFileTypes(arr
);
9164 return wxArrayString2PyList_helper(arr
);
9166 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9167 PyObject
* _resultobj
;
9169 wxMimeTypesManager
* _arg0
;
9170 PyObject
* _argo0
= 0;
9171 char *_kwnames
[] = { "self", NULL
};
9174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9185 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9187 wxPyEndAllowThreads(__tstate
);
9188 if (PyErr_Occurred()) return NULL
;
9190 _resultobj
= _result
;
9195 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9196 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9197 PyObject
* _resultobj
;
9198 wxMimeTypesManager
* _arg0
;
9199 wxFileTypeInfo
* _arg1
;
9200 PyObject
* _argo0
= 0;
9201 PyObject
* _argo1
= 0;
9202 char *_kwnames
[] = { "self","ft", NULL
};
9205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9215 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9216 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9223 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9225 wxPyEndAllowThreads(__tstate
);
9226 if (PyErr_Occurred()) return NULL
;
9227 } Py_INCREF(Py_None
);
9228 _resultobj
= Py_None
;
9232 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9233 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9234 PyObject
* _resultobj
;
9235 wxFileType
* _result
;
9236 wxMimeTypesManager
* _arg0
;
9237 wxFileTypeInfo
* _arg1
;
9238 PyObject
* _argo0
= 0;
9239 PyObject
* _argo1
= 0;
9240 char *_kwnames
[] = { "self","ftInfo", NULL
};
9244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9247 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9248 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9249 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9254 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9255 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9262 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9264 wxPyEndAllowThreads(__tstate
);
9265 if (PyErr_Occurred()) return NULL
;
9267 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9268 _resultobj
= Py_BuildValue("s",_ptemp
);
9271 _resultobj
= Py_None
;
9276 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9277 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9278 PyObject
* _resultobj
;
9280 wxMimeTypesManager
* _arg0
;
9282 PyObject
* _argo0
= 0;
9283 PyObject
* _argo1
= 0;
9284 char *_kwnames
[] = { "self","ft", NULL
};
9287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9297 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9298 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9305 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9307 wxPyEndAllowThreads(__tstate
);
9308 if (PyErr_Occurred()) return NULL
;
9309 } _resultobj
= Py_BuildValue("i",_result
);
9313 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9314 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9315 PyObject
* _resultobj
;
9316 wxMimeTypesManager
* _arg0
;
9317 PyObject
* _argo0
= 0;
9318 char *_kwnames
[] = { "self", NULL
};
9321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9332 delete_wxMimeTypesManager(_arg0
);
9334 wxPyEndAllowThreads(__tstate
);
9335 if (PyErr_Occurred()) return NULL
;
9336 } Py_INCREF(Py_None
);
9337 _resultobj
= Py_None
;
9341 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9344 src
= (wxFileHistory
*) ptr
;
9345 dest
= (wxObject
*) src
;
9346 return (void *) dest
;
9349 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9350 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
* _resultobj
;
9352 wxFileHistory
* _result
;
9353 int _arg0
= (int ) 9;
9354 char *_kwnames
[] = { "maxFiles", NULL
};
9358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) return NULL
;
9367 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9368 _resultobj
= Py_BuildValue("s",_ptemp
);
9371 _resultobj
= Py_None
;
9376 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9377 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9378 PyObject
* _resultobj
;
9379 wxFileHistory
* _arg0
;
9380 PyObject
* _argo0
= 0;
9381 char *_kwnames
[] = { "self", NULL
};
9384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9395 delete_wxFileHistory(_arg0
);
9397 wxPyEndAllowThreads(__tstate
);
9398 if (PyErr_Occurred()) return NULL
;
9399 } Py_INCREF(Py_None
);
9400 _resultobj
= Py_None
;
9404 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9405 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9406 PyObject
* _resultobj
;
9407 wxFileHistory
* _arg0
;
9409 PyObject
* _argo0
= 0;
9410 PyObject
* _obj1
= 0;
9411 char *_kwnames
[] = { "self","file", NULL
};
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9417 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9418 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9419 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9424 _arg1
= wxString_in_helper(_obj1
);
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) return NULL
;
9434 } Py_INCREF(Py_None
);
9435 _resultobj
= Py_None
;
9443 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9444 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9445 PyObject
* _resultobj
;
9446 wxFileHistory
* _arg0
;
9448 PyObject
* _argo0
= 0;
9449 char *_kwnames
[] = { "self","i", NULL
};
9452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9455 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9456 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9457 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) return NULL
;
9467 } Py_INCREF(Py_None
);
9468 _resultobj
= Py_None
;
9472 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9473 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
* _resultobj
;
9476 wxFileHistory
* _arg0
;
9477 PyObject
* _argo0
= 0;
9478 char *_kwnames
[] = { "self", NULL
};
9481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
9484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9492 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
9494 wxPyEndAllowThreads(__tstate
);
9495 if (PyErr_Occurred()) return NULL
;
9496 } _resultobj
= Py_BuildValue("i",_result
);
9500 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
9501 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9502 PyObject
* _resultobj
;
9503 wxFileHistory
* _arg0
;
9505 PyObject
* _argo0
= 0;
9506 PyObject
* _argo1
= 0;
9507 char *_kwnames
[] = { "self","menu", NULL
};
9510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
9513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
9520 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9521 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
9527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9528 wxFileHistory_UseMenu(_arg0
,_arg1
);
9530 wxPyEndAllowThreads(__tstate
);
9531 if (PyErr_Occurred()) return NULL
;
9532 } Py_INCREF(Py_None
);
9533 _resultobj
= Py_None
;
9537 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
9538 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
* _resultobj
;
9540 wxFileHistory
* _arg0
;
9542 PyObject
* _argo0
= 0;
9543 PyObject
* _argo1
= 0;
9544 char *_kwnames
[] = { "self","menu", NULL
};
9547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
9550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
9557 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9558 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
9564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
9567 wxPyEndAllowThreads(__tstate
);
9568 if (PyErr_Occurred()) return NULL
;
9569 } Py_INCREF(Py_None
);
9570 _resultobj
= Py_None
;
9574 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
9575 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
* _resultobj
;
9577 wxFileHistory
* _arg0
;
9578 wxConfigBase
* _arg1
;
9579 PyObject
* _argo0
= 0;
9580 PyObject
* _argo1
= 0;
9581 char *_kwnames
[] = { "self","config", NULL
};
9584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
9587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
9594 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9595 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
9601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9602 wxFileHistory_Load(_arg0
,*_arg1
);
9604 wxPyEndAllowThreads(__tstate
);
9605 if (PyErr_Occurred()) return NULL
;
9606 } Py_INCREF(Py_None
);
9607 _resultobj
= Py_None
;
9611 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
9612 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9613 PyObject
* _resultobj
;
9614 wxFileHistory
* _arg0
;
9615 wxConfigBase
* _arg1
;
9616 PyObject
* _argo0
= 0;
9617 PyObject
* _argo1
= 0;
9618 char *_kwnames
[] = { "self","config", NULL
};
9621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
9624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Save. Expected _wxFileHistory_p.");
9631 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9632 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
9638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9639 wxFileHistory_Save(_arg0
,*_arg1
);
9641 wxPyEndAllowThreads(__tstate
);
9642 if (PyErr_Occurred()) return NULL
;
9643 } Py_INCREF(Py_None
);
9644 _resultobj
= Py_None
;
9648 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
9649 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9650 PyObject
* _resultobj
;
9651 wxFileHistory
* _arg0
;
9652 PyObject
* _argo0
= 0;
9653 char *_kwnames
[] = { "self", NULL
};
9656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
9659 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9660 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9661 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 wxFileHistory_AddFilesToMenu(_arg0
);
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) return NULL
;
9671 } Py_INCREF(Py_None
);
9672 _resultobj
= Py_None
;
9676 #define wxFileHistory_AddFilesToThisMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
9677 static PyObject
*_wrap_wxFileHistory_AddFilesToThisMenu(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_AddFilesToThisMenu",_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_AddFilesToThisMenu. 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_AddFilesToThisMenu. Expected _wxMenu_p.");
9703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9704 wxFileHistory_AddFilesToThisMenu(_arg0
,_arg1
);
9706 wxPyEndAllowThreads(__tstate
);
9707 if (PyErr_Occurred()) return NULL
;
9708 } Py_INCREF(Py_None
);
9709 _resultobj
= Py_None
;
9713 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
9714 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9715 PyObject
* _resultobj
;
9717 wxFileHistory
* _arg0
;
9719 PyObject
* _argo0
= 0;
9720 char *_kwnames
[] = { "self","i", NULL
};
9723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
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_GetHistoryFile. Expected _wxFileHistory_p.");
9733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9734 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
9736 wxPyEndAllowThreads(__tstate
);
9737 if (PyErr_Occurred()) return NULL
;
9740 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9742 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9751 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
9752 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9753 PyObject
* _resultobj
;
9755 wxFileHistory
* _arg0
;
9756 PyObject
* _argo0
= 0;
9757 char *_kwnames
[] = { "self", NULL
};
9760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
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_GetCount. Expected _wxFileHistory_p.");
9770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9771 _result
= (int )wxFileHistory_GetCount(_arg0
);
9773 wxPyEndAllowThreads(__tstate
);
9774 if (PyErr_Occurred()) return NULL
;
9775 } _resultobj
= Py_BuildValue("i",_result
);
9779 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
9780 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9781 PyObject
* _resultobj
;
9783 wxFileHistory
* _arg0
;
9784 PyObject
* _argo0
= 0;
9785 char *_kwnames
[] = { "self", NULL
};
9788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
9791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) return NULL
;
9803 } _resultobj
= Py_BuildValue("i",_result
);
9807 static PyMethodDef misc2cMethods
[] = {
9808 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
9809 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
9810 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
9811 { "wxFileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
9812 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
9813 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
9814 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
9815 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
9816 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
9817 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
9818 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
9819 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
9820 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
9821 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
9822 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
9823 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
9824 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
9825 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
9826 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
9827 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
9828 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
9829 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9830 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
9831 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
9832 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
9833 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
9834 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
9835 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
9836 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
9837 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
9838 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
9839 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
9840 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
9841 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
9842 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
9843 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
9844 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
9845 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
9846 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
9847 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
9848 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9849 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
9850 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
9851 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
9852 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
9853 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
9854 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
9855 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
9856 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
9857 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
9858 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9859 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
9860 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
9861 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
9862 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
9863 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
9864 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
9865 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
9866 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9867 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
9868 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
9869 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
9870 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
9871 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
9872 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
9873 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
9874 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
9875 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
9876 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
9877 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
9878 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
9879 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
9880 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
9881 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
9882 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
9883 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
9884 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
9885 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
9886 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
9887 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
9888 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
9889 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
9890 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
9891 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
9892 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
9893 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
9894 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
9895 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
9896 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
9897 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
9898 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
9899 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
9900 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9901 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
9902 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
9903 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
9904 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
9905 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
9906 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
9907 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
9908 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
9909 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
9910 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9911 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
9912 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
9913 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
9914 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
9915 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
9916 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
9917 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
9918 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
9919 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
9920 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
9921 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9922 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9923 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
9924 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
9925 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
9926 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
9927 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
9928 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
9929 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
9930 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
9931 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9932 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9933 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
9934 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
9935 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
9936 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
9937 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9938 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
9939 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
9940 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
9941 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
9942 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9943 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
9944 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
9945 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
9946 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
9947 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
9948 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9949 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
9950 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
9951 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9952 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9953 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
9954 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
9955 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
9956 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
9957 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9958 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9959 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9960 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
9961 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
9962 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
9963 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
9964 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
9965 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
9966 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
9967 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9968 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
9969 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
9970 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
9971 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
9972 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
9973 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
9974 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
9975 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
9976 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
9977 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
9978 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
9979 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
9980 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
9981 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
9982 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
9983 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
9984 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
9985 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
9986 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
9987 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
9988 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
9989 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
9990 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
9991 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
9992 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
9993 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
9994 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
9995 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
9996 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
9997 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
9998 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
9999 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
10000 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
10001 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10002 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10003 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
10004 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10005 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10006 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10007 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10008 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10009 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10010 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10011 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10012 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10013 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
10014 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10015 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10016 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
10017 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10018 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10019 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10020 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10021 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10022 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10023 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10024 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10025 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10026 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10027 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
10028 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10029 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10030 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10031 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
10032 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10033 { "wxSystemSettings_SetScreenType", (PyCFunction
) _wrap_wxSystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
10034 { "wxSystemSettings_GetScreenType", (PyCFunction
) _wrap_wxSystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
10035 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
10036 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
10037 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10038 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10039 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
10040 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
10041 { "wxSafeShowMessage", (PyCFunction
) _wrap_wxSafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
10042 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
10043 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
10044 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
10045 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10046 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
10047 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
10048 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
10049 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
10050 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
10051 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
10052 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
10053 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10054 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
10055 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
10056 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
10057 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
10058 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
10059 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
10060 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
10061 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10062 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10063 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
10064 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
10065 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
10066 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10067 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10068 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
10069 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10070 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
10071 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10072 { "wxGetTopLevelParent", (PyCFunction
) _wrap_wxGetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
10073 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10074 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10075 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
10076 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10077 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10078 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10079 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10080 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10081 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10082 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10083 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10084 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10085 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10086 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
10087 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10088 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
10089 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
10090 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
10091 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10092 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10093 { "wxDirSelector", (PyCFunction
) _wrap_wxDirSelector
, METH_VARARGS
| METH_KEYWORDS
},
10094 { "wxSaveFileSelector", (PyCFunction
) _wrap_wxSaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10095 { "wxLoadFileSelector", (PyCFunction
) _wrap_wxLoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10096 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10103 * This table is used by the pointer type-checker
10105 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10106 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
10107 { "_signed_long","_long",0},
10108 { "_wxPrintQuality","_wxCoord",0},
10109 { "_wxPrintQuality","_int",0},
10110 { "_wxPrintQuality","_signed_int",0},
10111 { "_wxPrintQuality","_unsigned_int",0},
10112 { "_wxPrintQuality","_wxWindowID",0},
10113 { "_wxPrintQuality","_uint",0},
10114 { "_wxPrintQuality","_EBool",0},
10115 { "_wxPrintQuality","_size_t",0},
10116 { "_wxPrintQuality","_time_t",0},
10117 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
10118 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
10119 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
10120 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
10121 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
10122 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
10123 { "_byte","_unsigned_char",0},
10124 { "_long","_unsigned_long",0},
10125 { "_long","_signed_long",0},
10126 { "_size_t","_wxCoord",0},
10127 { "_size_t","_wxPrintQuality",0},
10128 { "_size_t","_time_t",0},
10129 { "_size_t","_unsigned_int",0},
10130 { "_size_t","_int",0},
10131 { "_size_t","_wxWindowID",0},
10132 { "_size_t","_uint",0},
10133 { "_uint","_wxCoord",0},
10134 { "_uint","_wxPrintQuality",0},
10135 { "_uint","_time_t",0},
10136 { "_uint","_size_t",0},
10137 { "_uint","_unsigned_int",0},
10138 { "_uint","_int",0},
10139 { "_uint","_wxWindowID",0},
10140 { "_wxChar","_char",0},
10141 { "_char","_wxChar",0},
10142 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10143 { "_EBool","_wxCoord",0},
10144 { "_EBool","_wxPrintQuality",0},
10145 { "_EBool","_signed_int",0},
10146 { "_EBool","_int",0},
10147 { "_EBool","_wxWindowID",0},
10148 { "_unsigned_long","_long",0},
10149 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10150 { "_signed_int","_wxCoord",0},
10151 { "_signed_int","_wxPrintQuality",0},
10152 { "_signed_int","_EBool",0},
10153 { "_signed_int","_wxWindowID",0},
10154 { "_signed_int","_int",0},
10155 { "_WXTYPE","_wxDateTime_t",0},
10156 { "_WXTYPE","_short",0},
10157 { "_WXTYPE","_signed_short",0},
10158 { "_WXTYPE","_unsigned_short",0},
10159 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
10160 { "_unsigned_short","_wxDateTime_t",0},
10161 { "_unsigned_short","_WXTYPE",0},
10162 { "_unsigned_short","_short",0},
10163 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
10164 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
10165 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
10166 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
10167 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
10168 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
10169 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
10170 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
10171 { "_signed_short","_WXTYPE",0},
10172 { "_signed_short","_short",0},
10173 { "_unsigned_char","_byte",0},
10174 { "_unsigned_int","_wxCoord",0},
10175 { "_unsigned_int","_wxPrintQuality",0},
10176 { "_unsigned_int","_time_t",0},
10177 { "_unsigned_int","_size_t",0},
10178 { "_unsigned_int","_uint",0},
10179 { "_unsigned_int","_wxWindowID",0},
10180 { "_unsigned_int","_int",0},
10181 { "_short","_wxDateTime_t",0},
10182 { "_short","_WXTYPE",0},
10183 { "_short","_unsigned_short",0},
10184 { "_short","_signed_short",0},
10185 { "_wxWindowID","_wxCoord",0},
10186 { "_wxWindowID","_wxPrintQuality",0},
10187 { "_wxWindowID","_time_t",0},
10188 { "_wxWindowID","_size_t",0},
10189 { "_wxWindowID","_EBool",0},
10190 { "_wxWindowID","_uint",0},
10191 { "_wxWindowID","_int",0},
10192 { "_wxWindowID","_signed_int",0},
10193 { "_wxWindowID","_unsigned_int",0},
10194 { "_int","_wxCoord",0},
10195 { "_int","_wxPrintQuality",0},
10196 { "_int","_time_t",0},
10197 { "_int","_size_t",0},
10198 { "_int","_EBool",0},
10199 { "_int","_uint",0},
10200 { "_int","_wxWindowID",0},
10201 { "_int","_unsigned_int",0},
10202 { "_int","_signed_int",0},
10203 { "_wxDateTime_t","_unsigned_short",0},
10204 { "_wxDateTime_t","_short",0},
10205 { "_wxDateTime_t","_WXTYPE",0},
10206 { "_time_t","_wxCoord",0},
10207 { "_time_t","_wxPrintQuality",0},
10208 { "_time_t","_unsigned_int",0},
10209 { "_time_t","_int",0},
10210 { "_time_t","_wxWindowID",0},
10211 { "_time_t","_uint",0},
10212 { "_time_t","_size_t",0},
10213 { "_wxCoord","_int",0},
10214 { "_wxCoord","_signed_int",0},
10215 { "_wxCoord","_unsigned_int",0},
10216 { "_wxCoord","_wxWindowID",0},
10217 { "_wxCoord","_uint",0},
10218 { "_wxCoord","_EBool",0},
10219 { "_wxCoord","_size_t",0},
10220 { "_wxCoord","_time_t",0},
10221 { "_wxCoord","_wxPrintQuality",0},
10222 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
10225 static PyObject
*SWIG_globals
;
10229 SWIGEXPORT(void) initmisc2c() {
10231 SWIG_globals
= SWIG_newvarlink();
10232 m
= Py_InitModule("misc2c", misc2cMethods
);
10233 d
= PyModule_GetDict(m
);
10234 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
10235 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
10236 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
10237 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
10238 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
10239 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
10240 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
10241 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
10242 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
10243 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
10244 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
10245 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
10246 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
10247 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
10248 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
10249 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
10250 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
10251 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
10252 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
10253 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
10254 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
10255 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
10256 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
10257 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
10258 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
10259 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
10260 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
10261 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
10262 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
10263 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
10264 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
10265 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
10266 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
10267 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
10268 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
10269 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
10270 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
10271 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
10272 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
10273 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
10274 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
10275 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
10276 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
10277 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
10278 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
10279 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
10280 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
10281 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
10282 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
10283 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
10284 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
10285 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
10286 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
10287 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
10288 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
10289 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
10290 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
10291 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
10292 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
10293 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
10294 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
10295 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
10296 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
10297 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
10298 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
10299 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
10300 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
10301 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
10302 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
10303 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
10304 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
10305 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
10306 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
10307 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
10308 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
10309 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
10310 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
10311 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
10312 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
10313 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
10314 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
10315 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
10316 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
10317 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
10318 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
10319 PyDict_SetItemString(d
,"wxSYS_SCREEN_NONE", PyInt_FromLong((long) wxSYS_SCREEN_NONE
));
10320 PyDict_SetItemString(d
,"wxSYS_SCREEN_TINY", PyInt_FromLong((long) wxSYS_SCREEN_TINY
));
10321 PyDict_SetItemString(d
,"wxSYS_SCREEN_PDA", PyInt_FromLong((long) wxSYS_SCREEN_PDA
));
10322 PyDict_SetItemString(d
,"wxSYS_SCREEN_SMALL", PyInt_FromLong((long) wxSYS_SCREEN_SMALL
));
10323 PyDict_SetItemString(d
,"wxSYS_SCREEN_DESKTOP", PyInt_FromLong((long) wxSYS_SCREEN_DESKTOP
));
10324 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
10325 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
10326 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
10327 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
10328 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
10329 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
10330 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
10331 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
10332 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
10333 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
10334 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
10335 PyDict_SetItemString(d
,"wxEXEC_ASYNC", PyInt_FromLong((long) wxEXEC_ASYNC
));
10336 PyDict_SetItemString(d
,"wxEXEC_SYNC", PyInt_FromLong((long) wxEXEC_SYNC
));
10337 PyDict_SetItemString(d
,"wxEXEC_NOHIDE", PyInt_FromLong((long) wxEXEC_NOHIDE
));
10338 PyDict_SetItemString(d
,"wxEXEC_MAKE_GROUP_LEADER", PyInt_FromLong((long) wxEXEC_MAKE_GROUP_LEADER
));
10339 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
10340 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
10341 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
10342 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
10343 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
10344 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10345 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
10347 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10348 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
10351 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10352 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);