2 * FILE : src/msw/misc2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmisc2c
56 #define SWIG_name "misc2c"
59 #include "pyistream.h"
60 #include <wx/resource.h>
61 #include <wx/tooltip.h>
63 #include <wx/tipdlg.h>
64 #include <wx/process.h>
66 #if wxUSE_JOYSTICK || defined(__WXMSW__)
67 #include <wx/joystick.h>
70 #if wxUSE_WAVE || defined(__WXMSW__)
74 #include <wx/mimetype.h>
77 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
83 } else if (target
== Py_None
) {
87 if (!PyTuple_Check(target
)) {
89 target
= PyTuple_New(1);
90 PyTuple_SetItem(target
, 0, o2
);
93 PyTuple_SetItem(o3
, 0, o
);
96 target
= PySequence_Concat(o2
, o3
);
103 // Put some wx default wxChar* values into wxStrings.
104 DECLARE_DEF_STRING(FileSelectorPromptStr
);
105 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr
);
106 DECLARE_DEF_STRING(DirSelectorPromptStr
);
107 static const wxString
wxPyEmptyString(wxT(""));
109 int wxCaret_GetBlinkTime() {
110 return wxCaret::GetBlinkTime();
113 void wxCaret_SetBlinkTime(int milliseconds
) {
114 wxCaret::SetBlinkTime(milliseconds
);
117 bool wxThread_IsMain() {
118 #ifdef WXP_WITH_THREAD
119 return wxThread::IsMain();
125 class wxPyTipProvider
: public wxTipProvider
{
127 wxPyTipProvider(size_t currentTip
)
128 : wxTipProvider(currentTip
) {}
130 DEC_PYCALLBACK_STRING__pure(GetTip
);
135 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
138 #include <wx/generic/dragimgg.h>
140 // A Log class that can be derived from in wxPython
141 class wxPyLog
: public wxLog
{
143 wxPyLog() : wxLog() {}
145 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
147 wxPyBeginBlockThreads();
148 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog")))
149 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
,
150 wx2PyString(szString
), t
));
151 wxPyEndBlockThreads();
153 wxLog::DoLog(level
, szString
, t
);
156 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
158 wxPyBeginBlockThreads();
159 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString")))
160 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)",
161 wx2PyString(szString
), t
));
162 wxPyEndBlockThreads();
164 wxLog::DoLogString(szString
, t
);
169 // C++ version of wxProcess derived class
171 class wxPyProcess
: public wxProcess
{
173 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
174 : wxProcess(parent
, id
)
177 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
182 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
185 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
186 // A C++ stub class for wxJoystick for platforms that don't have it.
187 class wxJoystick
: public wxObject
{
189 wxJoystick(int joystick
= wxJOYSTICK1
) {
190 wxPyBeginBlockThreads();
191 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
192 wxPyEndBlockThreads();
194 wxPoint
GetPosition() { return wxPoint(-1,-1); }
195 int GetZPosition() { return -1; }
196 int GetButtonState() { return -1; }
197 int GetPOVPosition() { return -1; }
198 int GetPOVCTSPosition() { return -1; }
199 int GetRudderPosition() { return -1; }
200 int GetUPosition() { return -1; }
201 int GetVPosition() { return -1; }
202 int GetMovementThreshold() { return -1; }
203 void SetMovementThreshold(int threshold
) {}
205 bool IsOk(void) { return FALSE
; }
206 int GetNumberJoysticks() { return -1; }
207 int GetManufacturerId() { return -1; }
208 int GetProductId() { return -1; }
209 wxString
GetProductName() { return ""; }
210 int GetXMin() { return -1; }
211 int GetYMin() { return -1; }
212 int GetZMin() { return -1; }
213 int GetXMax() { return -1; }
214 int GetYMax() { return -1; }
215 int GetZMax() { return -1; }
216 int GetNumberButtons() { return -1; }
217 int GetNumberAxes() { return -1; }
218 int GetMaxButtons() { return -1; }
219 int GetMaxAxes() { return -1; }
220 int GetPollingMin() { return -1; }
221 int GetPollingMax() { return -1; }
222 int GetRudderMin() { return -1; }
223 int GetRudderMax() { return -1; }
224 int GetUMin() { return -1; }
225 int GetUMax() { return -1; }
226 int GetVMin() { return -1; }
227 int GetVMax() { return -1; }
229 bool HasRudder() { return FALSE
; }
230 bool HasZ() { return FALSE
; }
231 bool HasU() { return FALSE
; }
232 bool HasV() { return FALSE
; }
233 bool HasPOV() { return FALSE
; }
234 bool HasPOV4Dir() { return FALSE
; }
235 bool HasPOVCTS() { return FALSE
; }
237 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
238 bool ReleaseCapture() { return FALSE
; }
243 // A C++ stub class for wxWave for platforms that don't have it.
244 class wxWave
: public wxObject
247 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
248 wxPyBeginBlockThreads();
249 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
250 wxPyEndBlockThreads();
252 wxWave(int size
, const wxByte
* data
) {
253 wxPyBeginBlockThreads();
254 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
255 wxPyEndBlockThreads();
260 bool IsOk() const { return FALSE
; }
261 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
265 // Implementations of some alternate "constructors"
266 wxWave
* wxWaveData(const wxString
& data
) {
267 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
271 extern wxMimeTypesManager
* wxTheMimeTypesManager
;
275 #include <wx/docview.h>
279 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
280 PyObject
* _resultobj
;
282 wxString
* _arg0
= (wxString
*) &wxPyFileSelectorPromptStr
;
283 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
284 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
285 wxString
* _arg3
= (wxString
*) &wxPyEmptyString
;
286 wxString
* _arg4
= (wxString
*) &wxPyFileSelectorDefaultWildcardStr
;
287 int _arg5
= (int ) 0;
288 wxWindow
* _arg6
= (wxWindow
*) NULL
;
289 int _arg7
= (int ) -1;
290 int _arg8
= (int ) -1;
291 PyObject
* _obj0
= 0;
292 PyObject
* _obj1
= 0;
293 PyObject
* _obj2
= 0;
294 PyObject
* _obj3
= 0;
295 PyObject
* _obj4
= 0;
296 PyObject
* _argo6
= 0;
297 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOOOOiOii:wxFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_obj3
,&_obj4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
304 _arg0
= wxString_in_helper(_obj0
);
310 _arg1
= wxString_in_helper(_obj1
);
316 _arg2
= wxString_in_helper(_obj2
);
322 _arg3
= wxString_in_helper(_obj3
);
328 _arg4
= wxString_in_helper(_obj4
);
333 if (_argo6
== Py_None
) { _arg6
= NULL
; }
334 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
335 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
341 _result
= new wxString (wxFileSelector(*_arg0
,*_arg1
,*_arg2
,*_arg3
,*_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
343 wxPyEndAllowThreads(__tstate
);
344 if (PyErr_Occurred()) return NULL
;
347 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
349 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
378 static PyObject
*_wrap_wxLoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
379 PyObject
* _resultobj
;
383 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
384 wxWindow
* _arg3
= (wxWindow
*) NULL
;
385 PyObject
* _obj0
= 0;
386 PyObject
* _obj1
= 0;
387 PyObject
* _obj2
= 0;
388 PyObject
* _argo3
= 0;
389 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxLoadFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
395 _arg0
= wxString_in_helper(_obj0
);
400 _arg1
= wxString_in_helper(_obj1
);
406 _arg2
= wxString_in_helper(_obj2
);
411 if (_argo3
== Py_None
) { _arg3
= NULL
; }
412 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxLoadFileSelector. Expected _wxWindow_p.");
418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
419 _result
= new wxString (wxLoadFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
421 wxPyEndAllowThreads(__tstate
);
422 if (PyErr_Occurred()) return NULL
;
425 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
427 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
448 static PyObject
*_wrap_wxSaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
449 PyObject
* _resultobj
;
453 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
454 wxWindow
* _arg3
= (wxWindow
*) NULL
;
455 PyObject
* _obj0
= 0;
456 PyObject
* _obj1
= 0;
457 PyObject
* _obj2
= 0;
458 PyObject
* _argo3
= 0;
459 char *_kwnames
[] = { "what","extension","default_name","parent", NULL
};
462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|OO:wxSaveFileSelector",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
465 _arg0
= wxString_in_helper(_obj0
);
470 _arg1
= wxString_in_helper(_obj1
);
476 _arg2
= wxString_in_helper(_obj2
);
481 if (_argo3
== Py_None
) { _arg3
= NULL
; }
482 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxSaveFileSelector. Expected _wxWindow_p.");
488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
489 _result
= new wxString (wxSaveFileSelector(*_arg0
,*_arg1
,*_arg2
,_arg3
));
491 wxPyEndAllowThreads(__tstate
);
492 if (PyErr_Occurred()) return NULL
;
495 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
497 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
518 static PyObject
*_wrap_wxDirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
519 PyObject
* _resultobj
;
521 wxString
* _arg0
= (wxString
*) &wxPyDirSelectorPromptStr
;
522 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
523 long _arg2
= (long ) wxDEFAULT_DIALOG_STYLE
|wxRESIZE_BORDER
|wxDD_NEW_DIR_BUTTON
;
524 wxPoint
* _arg3
= (wxPoint
*) &wxDefaultPosition
;
525 wxWindow
* _arg4
= (wxWindow
*) NULL
;
526 PyObject
* _obj0
= 0;
527 PyObject
* _obj1
= 0;
529 PyObject
* _obj3
= 0;
530 PyObject
* _argo4
= 0;
531 char *_kwnames
[] = { "message","defaultPath","style","pos","parent", NULL
};
534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|OOlOO:wxDirSelector",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_obj3
,&_argo4
))
538 _arg0
= wxString_in_helper(_obj0
);
544 _arg1
= wxString_in_helper(_obj1
);
551 if (! wxPoint_helper(_obj3
, &_arg3
))
555 if (_argo4
== Py_None
) { _arg4
= NULL
; }
556 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxDirSelector. Expected _wxWindow_p.");
562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
563 _result
= new wxString (wxDirSelector(*_arg0
,*_arg1
,_arg2
,*_arg3
,_arg4
));
565 wxPyEndAllowThreads(__tstate
);
566 if (PyErr_Occurred()) return NULL
;
569 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
571 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
588 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
589 PyObject
* _resultobj
;
592 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
593 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
594 wxWindow
* _arg3
= (wxWindow
*) NULL
;
595 int _arg4
= (int ) -1;
596 int _arg5
= (int ) -1;
597 bool _arg6
= (bool ) TRUE
;
598 PyObject
* _obj0
= 0;
599 PyObject
* _obj1
= 0;
600 PyObject
* _obj2
= 0;
601 PyObject
* _argo3
= 0;
602 int tempbool6
= (int) TRUE
;
603 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
609 _arg0
= wxString_in_helper(_obj0
);
615 _arg1
= wxString_in_helper(_obj1
);
621 _arg2
= wxString_in_helper(_obj2
);
626 if (_argo3
== Py_None
) { _arg3
= NULL
; }
627 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
632 _arg6
= (bool ) tempbool6
;
634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
635 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
637 wxPyEndAllowThreads(__tstate
);
638 if (PyErr_Occurred()) return NULL
;
641 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
643 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
664 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
665 PyObject
* _resultobj
;
668 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
669 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
670 wxWindow
* _arg3
= (wxWindow
*) NULL
;
671 PyObject
* _obj0
= 0;
672 PyObject
* _obj1
= 0;
673 PyObject
* _obj2
= 0;
674 PyObject
* _argo3
= 0;
675 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
681 _arg0
= wxString_in_helper(_obj0
);
687 _arg1
= wxString_in_helper(_obj1
);
693 _arg2
= wxString_in_helper(_obj2
);
698 if (_argo3
== Py_None
) { _arg3
= NULL
; }
699 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
700 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
706 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
708 wxPyEndAllowThreads(__tstate
);
709 if (PyErr_Occurred()) return NULL
;
712 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
714 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
735 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
736 PyObject
* _resultobj
;
742 wxWindow
* _arg4
= (wxWindow
*) NULL
;
743 int _arg5
= (int ) -1;
744 int _arg6
= (int ) -1;
745 bool _arg7
= (bool ) TRUE
;
746 int _arg8
= (int ) 150;
747 int _arg9
= (int ) 200;
748 PyObject
* _obj0
= 0;
749 PyObject
* _obj1
= 0;
750 PyObject
* _obj3
= 0;
751 PyObject
* _argo4
= 0;
752 int tempbool7
= (int) TRUE
;
753 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
759 _arg0
= wxString_in_helper(_obj0
);
764 _arg1
= wxString_in_helper(_obj1
);
770 _arg3
= wxString_LIST_helper(_obj3
);
776 if (_argo4
== Py_None
) { _arg4
= NULL
; }
777 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
782 _arg7
= (bool ) tempbool7
;
785 _arg2
= PyList_Size(_obj3
);
792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
793 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
795 wxPyEndAllowThreads(__tstate
);
796 if (PyErr_Occurred()) return NULL
;
799 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
801 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
821 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
822 PyObject
* _resultobj
;
828 wxWindow
* _arg4
= (wxWindow
*) NULL
;
829 int _arg5
= (int ) -1;
830 int _arg6
= (int ) -1;
831 bool _arg7
= (bool ) TRUE
;
832 int _arg8
= (int ) 150;
833 int _arg9
= (int ) 200;
834 PyObject
* _obj0
= 0;
835 PyObject
* _obj1
= 0;
836 PyObject
* _obj3
= 0;
837 PyObject
* _argo4
= 0;
838 int tempbool7
= (int) TRUE
;
839 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
845 _arg0
= wxString_in_helper(_obj0
);
850 _arg1
= wxString_in_helper(_obj1
);
856 _arg3
= wxString_LIST_helper(_obj3
);
862 if (_argo4
== Py_None
) { _arg4
= NULL
; }
863 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
868 _arg7
= (bool ) tempbool7
;
871 _arg2
= PyList_Size(_obj3
);
878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
879 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
881 wxPyEndAllowThreads(__tstate
);
882 if (PyErr_Occurred()) return NULL
;
883 } _resultobj
= Py_BuildValue("i",_result
);
898 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
899 PyObject
* _resultobj
;
902 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
903 int _arg2
= (int ) wxOK
|wxCENTRE
;
904 wxWindow
* _arg3
= (wxWindow
*) NULL
;
905 int _arg4
= (int ) -1;
906 int _arg5
= (int ) -1;
907 PyObject
* _obj0
= 0;
908 PyObject
* _obj1
= 0;
909 PyObject
* _argo3
= 0;
910 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
916 _arg0
= wxString_in_helper(_obj0
);
922 _arg1
= wxString_in_helper(_obj1
);
927 if (_argo3
== Py_None
) { _arg3
= NULL
; }
928 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
935 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
937 wxPyEndAllowThreads(__tstate
);
938 if (PyErr_Occurred()) return NULL
;
939 } _resultobj
= Py_BuildValue("i",_result
);
951 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
952 PyObject
* _resultobj
;
958 long _arg4
= (long ) 0;
959 long _arg5
= (long ) 100;
960 wxWindow
* _arg6
= (wxWindow
*) NULL
;
961 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
962 PyObject
* _obj0
= 0;
963 PyObject
* _obj1
= 0;
964 PyObject
* _obj2
= 0;
965 PyObject
* _argo6
= 0;
967 PyObject
* _obj7
= 0;
968 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
974 _arg0
= wxString_in_helper(_obj0
);
979 _arg1
= wxString_in_helper(_obj1
);
984 _arg2
= wxString_in_helper(_obj2
);
989 if (_argo6
== Py_None
) { _arg6
= NULL
; }
990 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
998 if (! wxPoint_helper(_obj7
, &_arg7
))
1002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1003 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
1005 wxPyEndAllowThreads(__tstate
);
1006 if (PyErr_Occurred()) return NULL
;
1007 } _resultobj
= Py_BuildValue("l",_result
);
1023 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1024 PyObject
* _resultobj
;
1026 char *_kwnames
[] = { NULL
};
1029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
1032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1033 _result
= (bool )wxColourDisplay();
1035 wxPyEndAllowThreads(__tstate
);
1036 if (PyErr_Occurred()) return NULL
;
1037 } _resultobj
= Py_BuildValue("i",_result
);
1041 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1042 PyObject
* _resultobj
;
1044 char *_kwnames
[] = { NULL
};
1047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
1050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1051 _result
= (int )wxDisplayDepth();
1053 wxPyEndAllowThreads(__tstate
);
1054 if (PyErr_Occurred()) return NULL
;
1055 } _resultobj
= Py_BuildValue("i",_result
);
1059 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1060 PyObject
* _resultobj
;
1062 char *_kwnames
[] = { NULL
};
1065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
1068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1069 _result
= (int )wxGetDisplayDepth();
1071 wxPyEndAllowThreads(__tstate
);
1072 if (PyErr_Occurred()) return NULL
;
1073 } _resultobj
= Py_BuildValue("i",_result
);
1077 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1078 PyObject
* _resultobj
;
1083 char *_kwnames
[] = { NULL
};
1092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1096 wxDisplaySize(_arg0
,_arg1
);
1098 wxPyEndAllowThreads(__tstate
);
1099 if (PyErr_Occurred()) return NULL
;
1100 } Py_INCREF(Py_None
);
1101 _resultobj
= Py_None
;
1104 o
= PyInt_FromLong((long) (*_arg0
));
1105 _resultobj
= t_output_helper(_resultobj
, o
);
1109 o
= PyInt_FromLong((long) (*_arg1
));
1110 _resultobj
= t_output_helper(_resultobj
, o
);
1115 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1116 PyObject
* _resultobj
;
1118 char *_kwnames
[] = { NULL
};
1122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1126 _result
= new wxSize (wxGetDisplaySize());
1128 wxPyEndAllowThreads(__tstate
);
1129 if (PyErr_Occurred()) return NULL
;
1130 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1131 _resultobj
= Py_BuildValue("s",_ptemp
);
1135 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1136 PyObject
* _resultobj
;
1141 char *_kwnames
[] = { NULL
};
1150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1154 wxDisplaySizeMM(_arg0
,_arg1
);
1156 wxPyEndAllowThreads(__tstate
);
1157 if (PyErr_Occurred()) return NULL
;
1158 } Py_INCREF(Py_None
);
1159 _resultobj
= Py_None
;
1162 o
= PyInt_FromLong((long) (*_arg0
));
1163 _resultobj
= t_output_helper(_resultobj
, o
);
1167 o
= PyInt_FromLong((long) (*_arg1
));
1168 _resultobj
= t_output_helper(_resultobj
, o
);
1173 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1174 PyObject
* _resultobj
;
1176 char *_kwnames
[] = { NULL
};
1180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1184 _result
= new wxSize (wxGetDisplaySizeMM());
1186 wxPyEndAllowThreads(__tstate
);
1187 if (PyErr_Occurred()) return NULL
;
1188 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1189 _resultobj
= Py_BuildValue("s",_ptemp
);
1193 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1194 PyObject
* _resultobj
;
1203 char *_kwnames
[] = { NULL
};
1218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1222 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1224 wxPyEndAllowThreads(__tstate
);
1225 if (PyErr_Occurred()) return NULL
;
1226 } Py_INCREF(Py_None
);
1227 _resultobj
= Py_None
;
1230 o
= PyInt_FromLong((long) (*_arg0
));
1231 _resultobj
= t_output_helper(_resultobj
, o
);
1235 o
= PyInt_FromLong((long) (*_arg1
));
1236 _resultobj
= t_output_helper(_resultobj
, o
);
1240 o
= PyInt_FromLong((long) (*_arg2
));
1241 _resultobj
= t_output_helper(_resultobj
, o
);
1245 o
= PyInt_FromLong((long) (*_arg3
));
1246 _resultobj
= t_output_helper(_resultobj
, o
);
1251 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1252 PyObject
* _resultobj
;
1254 char *_kwnames
[] = { NULL
};
1258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1262 _result
= new wxRect (wxGetClientDisplayRect());
1264 wxPyEndAllowThreads(__tstate
);
1265 if (PyErr_Occurred()) return NULL
;
1266 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1267 _resultobj
= Py_BuildValue("s",_ptemp
);
1271 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1272 PyObject
* _resultobj
;
1274 PyObject
* _argo0
= 0;
1275 char *_kwnames
[] = { "cursor", NULL
};
1278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1289 wxSetCursor(*_arg0
);
1291 wxPyEndAllowThreads(__tstate
);
1292 if (PyErr_Occurred()) return NULL
;
1293 } Py_INCREF(Py_None
);
1294 _resultobj
= Py_None
;
1298 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1299 PyObject
* _resultobj
;
1302 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1303 PyObject
* _obj0
= 0;
1304 PyObject
* _argo1
= 0;
1305 char *_kwnames
[] = { "label","parent", NULL
};
1308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
1311 _arg0
= wxString_in_helper(_obj0
);
1316 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1317 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1324 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
1326 wxPyEndAllowThreads(__tstate
);
1327 if (PyErr_Occurred()) return NULL
;
1328 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1336 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1337 PyObject
* _resultobj
;
1340 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1341 PyObject
* _obj0
= 0;
1342 PyObject
* _argo1
= 0;
1343 char *_kwnames
[] = { "name","parent", NULL
};
1346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1349 _arg0
= wxString_in_helper(_obj0
);
1354 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1355 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1362 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1364 wxPyEndAllowThreads(__tstate
);
1365 if (PyErr_Occurred()) return NULL
;
1366 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1374 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
* _resultobj
;
1376 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1377 PyObject
* _argo0
= 0;
1378 char *_kwnames
[] = { "cursor", NULL
};
1381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1392 wxBeginBusyCursor(_arg0
);
1394 wxPyEndAllowThreads(__tstate
);
1395 if (PyErr_Occurred()) return NULL
;
1396 } Py_INCREF(Py_None
);
1397 _resultobj
= Py_None
;
1401 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1402 PyObject
* _resultobj
;
1404 char *_kwnames
[] = { NULL
};
1407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1411 _result
= (wxWindow
*)wxGetActiveWindow();
1413 wxPyEndAllowThreads(__tstate
);
1414 if (PyErr_Occurred()) return NULL
;
1415 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1419 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1420 PyObject
* _resultobj
;
1424 PyObject
* _obj0
= 0;
1425 char *_kwnames
[] = { "pt", NULL
};
1428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1432 if (! wxPoint_helper(_obj0
, &_arg0
))
1436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1437 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1439 wxPyEndAllowThreads(__tstate
);
1440 if (PyErr_Occurred()) return NULL
;
1441 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1445 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1446 PyObject
* _resultobj
;
1450 PyObject
* _obj0
= 0;
1451 char *_kwnames
[] = { "pt", NULL
};
1454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1458 if (! wxPoint_helper(_obj0
, &_arg0
))
1462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1463 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1465 wxPyEndAllowThreads(__tstate
);
1466 if (PyErr_Occurred()) return NULL
;
1467 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1471 static PyObject
*_wrap_wxCheckForInterrupt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1472 PyObject
* _resultobj
;
1475 PyObject
* _argo0
= 0;
1476 char *_kwnames
[] = { "wnd", NULL
};
1479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckForInterrupt",_kwnames
,&_argo0
))
1482 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1483 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1484 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckForInterrupt. Expected _wxWindow_p.");
1489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1490 _result
= (bool )wxCheckForInterrupt(_arg0
);
1492 wxPyEndAllowThreads(__tstate
);
1493 if (PyErr_Occurred()) return NULL
;
1494 } _resultobj
= Py_BuildValue("i",_result
);
1498 static PyObject
*_wrap_wxFlushEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1499 PyObject
* _resultobj
;
1500 char *_kwnames
[] = { NULL
};
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFlushEvents",_kwnames
))
1506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1509 wxPyEndAllowThreads(__tstate
);
1510 if (PyErr_Occurred()) return NULL
;
1511 } Py_INCREF(Py_None
);
1512 _resultobj
= Py_None
;
1516 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
* _resultobj
;
1521 char *_kwnames
[] = { "name","value", NULL
};
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1528 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1530 wxPyEndAllowThreads(__tstate
);
1531 if (PyErr_Occurred()) return NULL
;
1532 } _resultobj
= Py_BuildValue("i",_result
);
1536 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1537 PyObject
* _resultobj
;
1538 char *_kwnames
[] = { NULL
};
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1547 wxPyEndAllowThreads(__tstate
);
1548 if (PyErr_Occurred()) return NULL
;
1549 } Py_INCREF(Py_None
);
1550 _resultobj
= Py_None
;
1554 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1555 PyObject
* _resultobj
;
1558 char *_kwnames
[] = { "resource", NULL
};
1562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1566 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1568 wxPyEndAllowThreads(__tstate
);
1569 if (PyErr_Occurred()) return NULL
;
1570 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1571 _resultobj
= Py_BuildValue("s",_ptemp
);
1575 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1576 PyObject
* _resultobj
;
1579 char *_kwnames
[] = { "resource", NULL
};
1583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1587 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1589 wxPyEndAllowThreads(__tstate
);
1590 if (PyErr_Occurred()) return NULL
;
1591 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1592 _resultobj
= Py_BuildValue("s",_ptemp
);
1596 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1597 PyObject
* _resultobj
;
1598 wxMenuBar
* _result
;
1600 char *_kwnames
[] = { "resource", NULL
};
1603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1607 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1609 wxPyEndAllowThreads(__tstate
);
1610 if (PyErr_Occurred()) return NULL
;
1611 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1615 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1616 PyObject
* _resultobj
;
1619 char *_kwnames
[] = { "name", NULL
};
1622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1626 _result
= (int )wxResourceGetIdentifier(_arg0
);
1628 wxPyEndAllowThreads(__tstate
);
1629 if (PyErr_Occurred()) return NULL
;
1630 } _resultobj
= Py_BuildValue("i",_result
);
1634 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
* _resultobj
;
1638 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1639 PyObject
* _argo1
= 0;
1640 char *_kwnames
[] = { "resource","table", NULL
};
1643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1646 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1647 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1654 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1656 wxPyEndAllowThreads(__tstate
);
1657 if (PyErr_Occurred()) return NULL
;
1658 } _resultobj
= Py_BuildValue("i",_result
);
1662 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1663 PyObject
* _resultobj
;
1666 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1667 PyObject
* _argo1
= 0;
1668 char *_kwnames
[] = { "filename","table", NULL
};
1671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1674 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1675 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1682 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1684 wxPyEndAllowThreads(__tstate
);
1685 if (PyErr_Occurred()) return NULL
;
1686 } _resultobj
= Py_BuildValue("i",_result
);
1690 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1691 PyObject
* _resultobj
;
1694 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1695 PyObject
* _argo1
= 0;
1696 char *_kwnames
[] = { "resource","table", NULL
};
1699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1702 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1703 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1710 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1712 wxPyEndAllowThreads(__tstate
);
1713 if (PyErr_Occurred()) return NULL
;
1714 } _resultobj
= Py_BuildValue("i",_result
);
1718 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1719 PyObject
* _resultobj
;
1721 char *_kwnames
[] = { NULL
};
1724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1728 _result
= (int )wxCaret_GetBlinkTime();
1730 wxPyEndAllowThreads(__tstate
);
1731 if (PyErr_Occurred()) return NULL
;
1732 } _resultobj
= Py_BuildValue("i",_result
);
1736 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
* _resultobj
;
1739 char *_kwnames
[] = { "milliseconds", NULL
};
1742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1746 wxCaret_SetBlinkTime(_arg0
);
1748 wxPyEndAllowThreads(__tstate
);
1749 if (PyErr_Occurred()) return NULL
;
1750 } Py_INCREF(Py_None
);
1751 _resultobj
= Py_None
;
1755 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1756 PyObject
* _resultobj
;
1758 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1759 PyObject
* _argo0
= 0;
1760 char *_kwnames
[] = { "win", NULL
};
1763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1774 _result
= (bool )wxSafeYield(_arg0
);
1776 wxPyEndAllowThreads(__tstate
);
1777 if (PyErr_Occurred()) return NULL
;
1778 } _resultobj
= Py_BuildValue("i",_result
);
1782 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
* _resultobj
;
1784 wxEvtHandler
* _arg0
;
1786 PyObject
* _argo0
= 0;
1787 PyObject
* _argo1
= 0;
1788 char *_kwnames
[] = { "dest","event", NULL
};
1791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1801 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1802 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1809 wxPostEvent(_arg0
,*_arg1
);
1811 wxPyEndAllowThreads(__tstate
);
1812 if (PyErr_Occurred()) return NULL
;
1813 } Py_INCREF(Py_None
);
1814 _resultobj
= Py_None
;
1818 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1819 PyObject
* _resultobj
;
1820 char *_kwnames
[] = { NULL
};
1823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1829 wxPyEndAllowThreads(__tstate
);
1830 if (PyErr_Occurred()) return NULL
;
1831 } Py_INCREF(Py_None
);
1832 _resultobj
= Py_None
;
1836 static PyObject
*_wrap_wxWakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1837 PyObject
* _resultobj
;
1838 char *_kwnames
[] = { NULL
};
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpMainThread",_kwnames
))
1844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1845 wxWakeUpMainThread();
1847 wxPyEndAllowThreads(__tstate
);
1848 if (PyErr_Occurred()) return NULL
;
1849 } Py_INCREF(Py_None
);
1850 _resultobj
= Py_None
;
1854 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1855 PyObject
* _resultobj
;
1856 char *_kwnames
[] = { NULL
};
1859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1865 wxPyEndAllowThreads(__tstate
);
1866 if (PyErr_Occurred()) return NULL
;
1867 } Py_INCREF(Py_None
);
1868 _resultobj
= Py_None
;
1872 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
* _resultobj
;
1874 char *_kwnames
[] = { NULL
};
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1883 wxPyEndAllowThreads(__tstate
);
1884 if (PyErr_Occurred()) return NULL
;
1885 } Py_INCREF(Py_None
);
1886 _resultobj
= Py_None
;
1890 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
* _resultobj
;
1893 char *_kwnames
[] = { NULL
};
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1900 _result
= (bool )wxThread_IsMain();
1902 wxPyEndAllowThreads(__tstate
);
1903 if (PyErr_Occurred()) return NULL
;
1904 } _resultobj
= Py_BuildValue("i",_result
);
1908 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
* _resultobj
;
1912 wxTipProvider
* _arg1
;
1913 bool _arg2
= (bool ) TRUE
;
1914 PyObject
* _argo0
= 0;
1915 PyObject
* _argo1
= 0;
1916 int tempbool2
= (int) TRUE
;
1917 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1930 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1931 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1936 _arg2
= (bool ) tempbool2
;
1938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1939 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1941 wxPyEndAllowThreads(__tstate
);
1942 if (PyErr_Occurred()) return NULL
;
1943 } _resultobj
= Py_BuildValue("i",_result
);
1947 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1948 PyObject
* _resultobj
;
1949 wxTipProvider
* _result
;
1952 PyObject
* _obj0
= 0;
1953 char *_kwnames
[] = { "filename","currentTip", NULL
};
1957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1960 _arg0
= wxString_in_helper(_obj0
);
1965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1966 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1968 wxPyEndAllowThreads(__tstate
);
1969 if (PyErr_Occurred()) return NULL
;
1971 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1972 _resultobj
= Py_BuildValue("s",_ptemp
);
1975 _resultobj
= Py_None
;
1984 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1985 PyObject
* _resultobj
;
1986 unsigned long _result
;
1987 char *_kwnames
[] = { NULL
};
1990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1994 _result
= (unsigned long )wxSysErrorCode();
1996 wxPyEndAllowThreads(__tstate
);
1997 if (PyErr_Occurred()) return NULL
;
1998 } _resultobj
= Py_BuildValue("l",_result
);
2002 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
* _resultobj
;
2005 unsigned long _arg0
= (unsigned long ) 0;
2006 char *_kwnames
[] = { "nErrCode", NULL
};
2009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
2012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2013 _result
= new wxString (wxSysErrorMsg(_arg0
));
2015 wxPyEndAllowThreads(__tstate
);
2016 if (PyErr_Occurred()) return NULL
;
2019 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2021 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2030 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2031 PyObject
* _resultobj
;
2033 PyObject
* _obj0
= 0;
2034 char *_kwnames
[] = { "szFormat", NULL
};
2037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogFatalError",_kwnames
,&_obj0
))
2040 _arg0
= wxString_in_helper(_obj0
);
2045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2046 wxLogFatalError(*_arg0
);
2048 wxPyEndAllowThreads(__tstate
);
2049 if (PyErr_Occurred()) return NULL
;
2050 } Py_INCREF(Py_None
);
2051 _resultobj
= Py_None
;
2059 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2060 PyObject
* _resultobj
;
2062 PyObject
* _obj0
= 0;
2063 char *_kwnames
[] = { "szFormat", NULL
};
2066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogError",_kwnames
,&_obj0
))
2069 _arg0
= wxString_in_helper(_obj0
);
2074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2077 wxPyEndAllowThreads(__tstate
);
2078 if (PyErr_Occurred()) return NULL
;
2079 } Py_INCREF(Py_None
);
2080 _resultobj
= Py_None
;
2088 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2089 PyObject
* _resultobj
;
2091 PyObject
* _obj0
= 0;
2092 char *_kwnames
[] = { "szFormat", NULL
};
2095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWarning",_kwnames
,&_obj0
))
2098 _arg0
= wxString_in_helper(_obj0
);
2103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2104 wxLogWarning(*_arg0
);
2106 wxPyEndAllowThreads(__tstate
);
2107 if (PyErr_Occurred()) return NULL
;
2108 } Py_INCREF(Py_None
);
2109 _resultobj
= Py_None
;
2117 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
* _resultobj
;
2120 PyObject
* _obj0
= 0;
2121 char *_kwnames
[] = { "szFormat", NULL
};
2124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogMessage",_kwnames
,&_obj0
))
2127 _arg0
= wxString_in_helper(_obj0
);
2132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2133 wxLogMessage(*_arg0
);
2135 wxPyEndAllowThreads(__tstate
);
2136 if (PyErr_Occurred()) return NULL
;
2137 } Py_INCREF(Py_None
);
2138 _resultobj
= Py_None
;
2146 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2147 PyObject
* _resultobj
;
2149 PyObject
* _obj0
= 0;
2150 char *_kwnames
[] = { "szFormat", NULL
};
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogInfo",_kwnames
,&_obj0
))
2156 _arg0
= wxString_in_helper(_obj0
);
2161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2164 wxPyEndAllowThreads(__tstate
);
2165 if (PyErr_Occurred()) return NULL
;
2166 } Py_INCREF(Py_None
);
2167 _resultobj
= Py_None
;
2175 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2176 PyObject
* _resultobj
;
2178 PyObject
* _obj0
= 0;
2179 char *_kwnames
[] = { "szFormat", NULL
};
2182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogVerbose",_kwnames
,&_obj0
))
2185 _arg0
= wxString_in_helper(_obj0
);
2190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2191 wxLogVerbose(*_arg0
);
2193 wxPyEndAllowThreads(__tstate
);
2194 if (PyErr_Occurred()) return NULL
;
2195 } Py_INCREF(Py_None
);
2196 _resultobj
= Py_None
;
2204 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2205 PyObject
* _resultobj
;
2207 PyObject
* _obj0
= 0;
2208 char *_kwnames
[] = { "szFormat", NULL
};
2211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogStatus",_kwnames
,&_obj0
))
2214 _arg0
= wxString_in_helper(_obj0
);
2219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2220 wxLogStatus(*_arg0
);
2222 wxPyEndAllowThreads(__tstate
);
2223 if (PyErr_Occurred()) return NULL
;
2224 } Py_INCREF(Py_None
);
2225 _resultobj
= Py_None
;
2233 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2234 PyObject
* _resultobj
;
2237 PyObject
* _argo0
= 0;
2238 PyObject
* _obj1
= 0;
2239 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogStatusFrame",_kwnames
,&_argo0
,&_obj1
))
2245 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2246 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2252 _arg1
= wxString_in_helper(_obj1
);
2257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2258 wxLogStatus(_arg0
,*_arg1
);
2260 wxPyEndAllowThreads(__tstate
);
2261 if (PyErr_Occurred()) return NULL
;
2262 } Py_INCREF(Py_None
);
2263 _resultobj
= Py_None
;
2271 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2272 PyObject
* _resultobj
;
2274 PyObject
* _obj0
= 0;
2275 char *_kwnames
[] = { "szFormat", NULL
};
2278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogSysError",_kwnames
,&_obj0
))
2281 _arg0
= wxString_in_helper(_obj0
);
2286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2287 wxLogSysError(*_arg0
);
2289 wxPyEndAllowThreads(__tstate
);
2290 if (PyErr_Occurred()) return NULL
;
2291 } Py_INCREF(Py_None
);
2292 _resultobj
= Py_None
;
2300 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2301 PyObject
* _resultobj
;
2304 int _arg1
= (int ) (wxEXEC_ASYNC
);
2305 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2306 PyObject
* _obj0
= 0;
2307 PyObject
* _argo2
= 0;
2308 char *_kwnames
[] = { "command","flags","process", NULL
};
2311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2314 _arg0
= wxString_in_helper(_obj0
);
2319 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2320 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2327 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2329 wxPyEndAllowThreads(__tstate
);
2330 if (PyErr_Occurred()) return NULL
;
2331 } _resultobj
= Py_BuildValue("l",_result
);
2339 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
* _resultobj
;
2343 PyObject
* _obj0
= 0;
2344 char *_kwnames
[] = { "data", NULL
};
2348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2351 _arg0
= wxString_in_helper(_obj0
);
2356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2357 _result
= (wxWave
*)wxWaveData(*_arg0
);
2359 wxPyEndAllowThreads(__tstate
);
2360 if (PyErr_Occurred()) return NULL
;
2362 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2363 _resultobj
= Py_BuildValue("s",_ptemp
);
2366 _resultobj
= Py_None
;
2375 static int _wrap_wxTheMimeTypesManager_set(PyObject
*val
) {
2377 PyErr_SetString(PyExc_TypeError
,"Variable wxTheMimeTypesManager is read-only.");
2381 static PyObject
*_wrap_wxTheMimeTypesManager_get() {
2385 SWIG_MakePtr(ptemp
, (char *) wxTheMimeTypesManager
,"_wxMimeTypesManager_p");
2386 pyobj
= PyString_FromString(ptemp
);
2390 static PyObject
*_wrap_wxSystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2391 PyObject
* _resultobj
;
2393 wxSystemColour _arg0
;
2394 char *_kwnames
[] = { "index", NULL
};
2398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetColour",_kwnames
,&_arg0
))
2401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2402 _result
= new wxColour (wxSystemSettings::GetColour(_arg0
));
2404 wxPyEndAllowThreads(__tstate
);
2405 if (PyErr_Occurred()) return NULL
;
2406 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
2407 _resultobj
= Py_BuildValue("s",_ptemp
);
2411 static PyObject
*_wrap_wxSystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2412 PyObject
* _resultobj
;
2415 char *_kwnames
[] = { "index", NULL
};
2419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetFont",_kwnames
,&_arg0
))
2422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2423 _result
= new wxFont (wxSystemSettings::GetFont(_arg0
));
2425 wxPyEndAllowThreads(__tstate
);
2426 if (PyErr_Occurred()) return NULL
;
2427 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
2428 _resultobj
= Py_BuildValue("s",_ptemp
);
2432 static PyObject
*_wrap_wxSystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2433 PyObject
* _resultobj
;
2435 wxSystemMetric _arg0
;
2436 char *_kwnames
[] = { "index", NULL
};
2439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetMetric",_kwnames
,&_arg0
))
2442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2443 _result
= (int )wxSystemSettings::GetMetric(_arg0
);
2445 wxPyEndAllowThreads(__tstate
);
2446 if (PyErr_Occurred()) return NULL
;
2447 } _resultobj
= Py_BuildValue("i",_result
);
2451 static PyObject
*_wrap_wxSystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2452 PyObject
* _resultobj
;
2454 wxSystemFeature _arg0
;
2455 char *_kwnames
[] = { "index", NULL
};
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_HasFeature",_kwnames
,&_arg0
))
2461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2462 _result
= (bool )wxSystemSettings::HasFeature(_arg0
);
2464 wxPyEndAllowThreads(__tstate
);
2465 if (PyErr_Occurred()) return NULL
;
2466 } _resultobj
= Py_BuildValue("i",_result
);
2470 static void *SwigwxToolTipTowxObject(void *ptr
) {
2473 src
= (wxToolTip
*) ptr
;
2474 dest
= (wxObject
*) src
;
2475 return (void *) dest
;
2478 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2479 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
* _resultobj
;
2481 wxToolTip
* _result
;
2483 PyObject
* _obj0
= 0;
2484 char *_kwnames
[] = { "tip", NULL
};
2488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2491 _arg0
= wxString_in_helper(_obj0
);
2496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2497 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2499 wxPyEndAllowThreads(__tstate
);
2500 if (PyErr_Occurred()) return NULL
;
2502 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2503 _resultobj
= Py_BuildValue("s",_ptemp
);
2506 _resultobj
= Py_None
;
2515 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2516 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2517 PyObject
* _resultobj
;
2520 PyObject
* _argo0
= 0;
2521 PyObject
* _obj1
= 0;
2522 char *_kwnames
[] = { "self","tip", NULL
};
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2535 _arg1
= wxString_in_helper(_obj1
);
2540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2541 wxToolTip_SetTip(_arg0
,*_arg1
);
2543 wxPyEndAllowThreads(__tstate
);
2544 if (PyErr_Occurred()) return NULL
;
2545 } Py_INCREF(Py_None
);
2546 _resultobj
= Py_None
;
2554 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2555 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
* _resultobj
;
2559 PyObject
* _argo0
= 0;
2560 char *_kwnames
[] = { "self", NULL
};
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2574 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2576 wxPyEndAllowThreads(__tstate
);
2577 if (PyErr_Occurred()) return NULL
;
2580 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
2582 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2591 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2592 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2593 PyObject
* _resultobj
;
2596 PyObject
* _argo0
= 0;
2597 char *_kwnames
[] = { "self", NULL
};
2600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) return NULL
;
2615 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2619 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2620 PyObject
* _resultobj
;
2623 char *_kwnames
[] = { "flag", NULL
};
2626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2628 _arg0
= (bool ) tempbool0
;
2630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2631 wxToolTip::Enable(_arg0
);
2633 wxPyEndAllowThreads(__tstate
);
2634 if (PyErr_Occurred()) return NULL
;
2635 } Py_INCREF(Py_None
);
2636 _resultobj
= Py_None
;
2640 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2641 PyObject
* _resultobj
;
2643 char *_kwnames
[] = { "milliseconds", NULL
};
2646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2650 wxToolTip::SetDelay(_arg0
);
2652 wxPyEndAllowThreads(__tstate
);
2653 if (PyErr_Occurred()) return NULL
;
2654 } Py_INCREF(Py_None
);
2655 _resultobj
= Py_None
;
2659 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2660 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2661 PyObject
* _resultobj
;
2665 PyObject
* _argo0
= 0;
2667 PyObject
* _obj1
= 0;
2668 char *_kwnames
[] = { "window","size", NULL
};
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2683 if (! wxSize_helper(_obj1
, &_arg1
))
2687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2688 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2690 wxPyEndAllowThreads(__tstate
);
2691 if (PyErr_Occurred()) return NULL
;
2693 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2694 _resultobj
= Py_BuildValue("s",_ptemp
);
2697 _resultobj
= Py_None
;
2702 #define delete_wxCaret(_swigobj) (delete _swigobj)
2703 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2704 PyObject
* _resultobj
;
2706 PyObject
* _argo0
= 0;
2707 char *_kwnames
[] = { "self", NULL
};
2710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2721 delete_wxCaret(_arg0
);
2723 wxPyEndAllowThreads(__tstate
);
2724 if (PyErr_Occurred()) return NULL
;
2725 } Py_INCREF(Py_None
);
2726 _resultobj
= Py_None
;
2730 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2731 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2732 PyObject
* _resultobj
;
2735 PyObject
* _argo0
= 0;
2736 char *_kwnames
[] = { "self", NULL
};
2739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2750 _result
= (bool )wxCaret_IsOk(_arg0
);
2752 wxPyEndAllowThreads(__tstate
);
2753 if (PyErr_Occurred()) return NULL
;
2754 } _resultobj
= Py_BuildValue("i",_result
);
2758 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2759 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2760 PyObject
* _resultobj
;
2763 PyObject
* _argo0
= 0;
2764 char *_kwnames
[] = { "self", NULL
};
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2778 _result
= (bool )wxCaret_IsVisible(_arg0
);
2780 wxPyEndAllowThreads(__tstate
);
2781 if (PyErr_Occurred()) return NULL
;
2782 } _resultobj
= Py_BuildValue("i",_result
);
2786 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2787 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2788 PyObject
* _resultobj
;
2794 PyObject
* _argo0
= 0;
2795 char *_kwnames
[] = { "self", NULL
};
2804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2815 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2817 wxPyEndAllowThreads(__tstate
);
2818 if (PyErr_Occurred()) return NULL
;
2819 } Py_INCREF(Py_None
);
2820 _resultobj
= Py_None
;
2823 o
= PyInt_FromLong((long) (*_arg1
));
2824 _resultobj
= t_output_helper(_resultobj
, o
);
2828 o
= PyInt_FromLong((long) (*_arg2
));
2829 _resultobj
= t_output_helper(_resultobj
, o
);
2834 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2835 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2836 PyObject
* _resultobj
;
2839 PyObject
* _argo0
= 0;
2840 char *_kwnames
[] = { "self", NULL
};
2844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2855 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2857 wxPyEndAllowThreads(__tstate
);
2858 if (PyErr_Occurred()) return NULL
;
2859 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2860 _resultobj
= Py_BuildValue("s",_ptemp
);
2864 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2865 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2866 PyObject
* _resultobj
;
2872 PyObject
* _argo0
= 0;
2873 char *_kwnames
[] = { "self", NULL
};
2882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2893 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2895 wxPyEndAllowThreads(__tstate
);
2896 if (PyErr_Occurred()) return NULL
;
2897 } Py_INCREF(Py_None
);
2898 _resultobj
= Py_None
;
2901 o
= PyInt_FromLong((long) (*_arg1
));
2902 _resultobj
= t_output_helper(_resultobj
, o
);
2906 o
= PyInt_FromLong((long) (*_arg2
));
2907 _resultobj
= t_output_helper(_resultobj
, o
);
2912 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2913 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2914 PyObject
* _resultobj
;
2917 PyObject
* _argo0
= 0;
2918 char *_kwnames
[] = { "self", NULL
};
2922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2933 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2935 wxPyEndAllowThreads(__tstate
);
2936 if (PyErr_Occurred()) return NULL
;
2937 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2938 _resultobj
= Py_BuildValue("s",_ptemp
);
2942 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2943 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2944 PyObject
* _resultobj
;
2947 PyObject
* _argo0
= 0;
2948 char *_kwnames
[] = { "self", NULL
};
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2962 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2964 wxPyEndAllowThreads(__tstate
);
2965 if (PyErr_Occurred()) return NULL
;
2966 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2970 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2971 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2972 PyObject
* _resultobj
;
2976 PyObject
* _argo0
= 0;
2977 char *_kwnames
[] = { "self","x","y", NULL
};
2980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2991 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2993 wxPyEndAllowThreads(__tstate
);
2994 if (PyErr_Occurred()) return NULL
;
2995 } Py_INCREF(Py_None
);
2996 _resultobj
= Py_None
;
3000 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3001 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3002 PyObject
* _resultobj
;
3005 PyObject
* _argo0
= 0;
3007 PyObject
* _obj1
= 0;
3008 char *_kwnames
[] = { "self","pt", NULL
};
3011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
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_Move. Expected _wxCaret_p.");
3022 if (! wxPoint_helper(_obj1
, &_arg1
))
3026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3027 wxCaret_Move(_arg0
,*_arg1
);
3029 wxPyEndAllowThreads(__tstate
);
3030 if (PyErr_Occurred()) return NULL
;
3031 } Py_INCREF(Py_None
);
3032 _resultobj
= Py_None
;
3036 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
3037 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
* _resultobj
;
3042 PyObject
* _argo0
= 0;
3043 char *_kwnames
[] = { "self","width","height", NULL
};
3046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
3056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3057 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
3059 wxPyEndAllowThreads(__tstate
);
3060 if (PyErr_Occurred()) return NULL
;
3061 } Py_INCREF(Py_None
);
3062 _resultobj
= Py_None
;
3066 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3067 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3068 PyObject
* _resultobj
;
3071 PyObject
* _argo0
= 0;
3073 PyObject
* _obj1
= 0;
3074 char *_kwnames
[] = { "self","size", NULL
};
3077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
3080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3088 if (! wxSize_helper(_obj1
, &_arg1
))
3092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3093 wxCaret_SetSize(_arg0
,*_arg1
);
3095 wxPyEndAllowThreads(__tstate
);
3096 if (PyErr_Occurred()) return NULL
;
3097 } Py_INCREF(Py_None
);
3098 _resultobj
= Py_None
;
3102 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3103 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3104 PyObject
* _resultobj
;
3106 int _arg1
= (int ) TRUE
;
3107 PyObject
* _argo0
= 0;
3108 char *_kwnames
[] = { "self","show", NULL
};
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3122 wxCaret_Show(_arg0
,_arg1
);
3124 wxPyEndAllowThreads(__tstate
);
3125 if (PyErr_Occurred()) return NULL
;
3126 } Py_INCREF(Py_None
);
3127 _resultobj
= Py_None
;
3131 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3132 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3133 PyObject
* _resultobj
;
3135 PyObject
* _argo0
= 0;
3136 char *_kwnames
[] = { "self", NULL
};
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3150 wxCaret_Hide(_arg0
);
3152 wxPyEndAllowThreads(__tstate
);
3153 if (PyErr_Occurred()) return NULL
;
3154 } Py_INCREF(Py_None
);
3155 _resultobj
= Py_None
;
3159 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3160 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3161 PyObject
* _resultobj
;
3162 wxBusyCursor
* _result
;
3163 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3164 PyObject
* _argo0
= 0;
3165 char *_kwnames
[] = { "cursor", NULL
};
3169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3180 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3182 wxPyEndAllowThreads(__tstate
);
3183 if (PyErr_Occurred()) return NULL
;
3185 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3186 _resultobj
= Py_BuildValue("s",_ptemp
);
3189 _resultobj
= Py_None
;
3194 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3195 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3196 PyObject
* _resultobj
;
3197 wxBusyCursor
* _arg0
;
3198 PyObject
* _argo0
= 0;
3199 char *_kwnames
[] = { "self", NULL
};
3202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3213 delete_wxBusyCursor(_arg0
);
3215 wxPyEndAllowThreads(__tstate
);
3216 if (PyErr_Occurred()) return NULL
;
3217 } Py_INCREF(Py_None
);
3218 _resultobj
= Py_None
;
3222 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3223 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
* _resultobj
;
3225 wxWindowDisabler
* _result
;
3226 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3227 PyObject
* _argo0
= 0;
3228 char *_kwnames
[] = { "winToSkip", NULL
};
3232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3243 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3245 wxPyEndAllowThreads(__tstate
);
3246 if (PyErr_Occurred()) return NULL
;
3248 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3249 _resultobj
= Py_BuildValue("s",_ptemp
);
3252 _resultobj
= Py_None
;
3257 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3258 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
* _resultobj
;
3260 wxWindowDisabler
* _arg0
;
3261 PyObject
* _argo0
= 0;
3262 char *_kwnames
[] = { "self", NULL
};
3265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3276 delete_wxWindowDisabler(_arg0
);
3278 wxPyEndAllowThreads(__tstate
);
3279 if (PyErr_Occurred()) return NULL
;
3280 } Py_INCREF(Py_None
);
3281 _resultobj
= Py_None
;
3285 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3286 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
* _resultobj
;
3288 wxMutexGuiLocker
* _result
;
3289 char *_kwnames
[] = { NULL
};
3293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3297 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3299 wxPyEndAllowThreads(__tstate
);
3300 if (PyErr_Occurred()) return NULL
;
3302 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3303 _resultobj
= Py_BuildValue("s",_ptemp
);
3306 _resultobj
= Py_None
;
3311 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3312 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
* _resultobj
;
3314 wxMutexGuiLocker
* _arg0
;
3315 PyObject
* _argo0
= 0;
3316 char *_kwnames
[] = { "self", NULL
};
3319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3330 delete_wxMutexGuiLocker(_arg0
);
3332 wxPyEndAllowThreads(__tstate
);
3333 if (PyErr_Occurred()) return NULL
;
3334 } Py_INCREF(Py_None
);
3335 _resultobj
= Py_None
;
3339 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3340 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3341 PyObject
* _resultobj
;
3342 wxTipProvider
* _arg0
;
3343 PyObject
* _argo0
= 0;
3344 char *_kwnames
[] = { "self", NULL
};
3347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3358 delete_wxTipProvider(_arg0
);
3360 wxPyEndAllowThreads(__tstate
);
3361 if (PyErr_Occurred()) return NULL
;
3362 } Py_INCREF(Py_None
);
3363 _resultobj
= Py_None
;
3367 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3368 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
* _resultobj
;
3371 wxTipProvider
* _arg0
;
3372 PyObject
* _argo0
= 0;
3373 char *_kwnames
[] = { "self", NULL
};
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3387 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3389 wxPyEndAllowThreads(__tstate
);
3390 if (PyErr_Occurred()) return NULL
;
3393 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
3395 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3404 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3405 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
* _resultobj
;
3408 wxTipProvider
* _arg0
;
3409 PyObject
* _argo0
= 0;
3410 char *_kwnames
[] = { "self", NULL
};
3413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3424 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3426 wxPyEndAllowThreads(__tstate
);
3427 if (PyErr_Occurred()) return NULL
;
3428 } _resultobj
= Py_BuildValue("i",_result
);
3432 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3433 wxPyTipProvider
*src
;
3434 wxTipProvider
*dest
;
3435 src
= (wxPyTipProvider
*) ptr
;
3436 dest
= (wxTipProvider
*) src
;
3437 return (void *) dest
;
3440 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3441 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3442 PyObject
* _resultobj
;
3443 wxPyTipProvider
* _result
;
3445 char *_kwnames
[] = { "currentTip", NULL
};
3449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3453 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3455 wxPyEndAllowThreads(__tstate
);
3456 if (PyErr_Occurred()) return NULL
;
3458 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3459 _resultobj
= Py_BuildValue("s",_ptemp
);
3462 _resultobj
= Py_None
;
3467 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3468 wxGenericDragImage
*src
;
3470 src
= (wxGenericDragImage
*) ptr
;
3471 dest
= (wxObject
*) src
;
3472 return (void *) dest
;
3475 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3476 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
* _resultobj
;
3478 wxGenericDragImage
* _result
;
3480 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3481 PyObject
* _argo0
= 0;
3482 PyObject
* _argo1
= 0;
3483 char *_kwnames
[] = { "image","cursor", NULL
};
3487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3497 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3498 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3505 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3507 wxPyEndAllowThreads(__tstate
);
3508 if (PyErr_Occurred()) return NULL
;
3510 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3511 _resultobj
= Py_BuildValue("s",_ptemp
);
3514 _resultobj
= Py_None
;
3519 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3520 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3521 PyObject
* _resultobj
;
3522 wxGenericDragImage
* _result
;
3524 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3525 PyObject
* _argo0
= 0;
3526 PyObject
* _argo1
= 0;
3527 char *_kwnames
[] = { "image","cursor", NULL
};
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3541 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3542 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3551 wxPyEndAllowThreads(__tstate
);
3552 if (PyErr_Occurred()) return NULL
;
3554 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3555 _resultobj
= Py_BuildValue("s",_ptemp
);
3558 _resultobj
= Py_None
;
3563 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3564 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
* _resultobj
;
3566 wxGenericDragImage
* _result
;
3568 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3569 PyObject
* _obj0
= 0;
3570 PyObject
* _argo1
= 0;
3571 char *_kwnames
[] = { "str","cursor", NULL
};
3575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3578 _arg0
= wxString_in_helper(_obj0
);
3583 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3584 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3591 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3593 wxPyEndAllowThreads(__tstate
);
3594 if (PyErr_Occurred()) return NULL
;
3596 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3597 _resultobj
= Py_BuildValue("s",_ptemp
);
3600 _resultobj
= Py_None
;
3609 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3610 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3611 PyObject
* _resultobj
;
3612 wxGenericDragImage
* _result
;
3614 wxTreeItemId
* _arg1
;
3615 PyObject
* _argo0
= 0;
3616 PyObject
* _argo1
= 0;
3617 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3631 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3632 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3639 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3641 wxPyEndAllowThreads(__tstate
);
3642 if (PyErr_Occurred()) return NULL
;
3644 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3645 _resultobj
= Py_BuildValue("s",_ptemp
);
3648 _resultobj
= Py_None
;
3653 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3654 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3655 PyObject
* _resultobj
;
3656 wxGenericDragImage
* _result
;
3659 PyObject
* _argo0
= 0;
3660 char *_kwnames
[] = { "listCtrl","id", NULL
};
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3675 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3677 wxPyEndAllowThreads(__tstate
);
3678 if (PyErr_Occurred()) return NULL
;
3680 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3681 _resultobj
= Py_BuildValue("s",_ptemp
);
3684 _resultobj
= Py_None
;
3689 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3690 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3691 PyObject
* _resultobj
;
3692 wxGenericDragImage
* _arg0
;
3693 PyObject
* _argo0
= 0;
3694 char *_kwnames
[] = { "self", NULL
};
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3708 delete_wxGenericDragImage(_arg0
);
3710 wxPyEndAllowThreads(__tstate
);
3711 if (PyErr_Occurred()) return NULL
;
3712 } Py_INCREF(Py_None
);
3713 _resultobj
= Py_None
;
3717 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3718 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
* _resultobj
;
3720 wxGenericDragImage
* _arg0
;
3722 PyObject
* _argo0
= 0;
3723 PyObject
* _argo1
= 0;
3724 char *_kwnames
[] = { "self","bitmap", NULL
};
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3737 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3738 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3745 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3747 wxPyEndAllowThreads(__tstate
);
3748 if (PyErr_Occurred()) return NULL
;
3749 } Py_INCREF(Py_None
);
3750 _resultobj
= Py_None
;
3754 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3755 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3756 PyObject
* _resultobj
;
3758 wxGenericDragImage
* _arg0
;
3761 bool _arg3
= (bool ) FALSE
;
3762 wxRect
* _arg4
= (wxRect
*) NULL
;
3763 PyObject
* _argo0
= 0;
3765 PyObject
* _obj1
= 0;
3766 PyObject
* _argo2
= 0;
3767 int tempbool3
= (int) FALSE
;
3769 PyObject
* _obj4
= 0;
3770 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3784 if (! wxPoint_helper(_obj1
, &_arg1
))
3788 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3789 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3794 _arg3
= (bool ) tempbool3
;
3798 if (! wxRect_helper(_obj4
, &_arg4
))
3802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3803 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3805 wxPyEndAllowThreads(__tstate
);
3806 if (PyErr_Occurred()) return NULL
;
3807 } _resultobj
= Py_BuildValue("i",_result
);
3811 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3812 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
* _resultobj
;
3815 wxGenericDragImage
* _arg0
;
3819 PyObject
* _argo0
= 0;
3821 PyObject
* _obj1
= 0;
3822 PyObject
* _argo2
= 0;
3823 PyObject
* _argo3
= 0;
3824 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3838 if (! wxPoint_helper(_obj1
, &_arg1
))
3842 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3843 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3849 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3850 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3851 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3857 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) return NULL
;
3861 } _resultobj
= Py_BuildValue("i",_result
);
3865 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3866 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3867 PyObject
* _resultobj
;
3869 wxGenericDragImage
* _arg0
;
3870 PyObject
* _argo0
= 0;
3871 char *_kwnames
[] = { "self", NULL
};
3874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3885 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) return NULL
;
3889 } _resultobj
= Py_BuildValue("i",_result
);
3893 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3894 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
* _resultobj
;
3897 wxGenericDragImage
* _arg0
;
3899 PyObject
* _argo0
= 0;
3901 PyObject
* _obj1
= 0;
3902 char *_kwnames
[] = { "self","pt", NULL
};
3905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3916 if (! wxPoint_helper(_obj1
, &_arg1
))
3920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3921 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3923 wxPyEndAllowThreads(__tstate
);
3924 if (PyErr_Occurred()) return NULL
;
3925 } _resultobj
= Py_BuildValue("i",_result
);
3929 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3930 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
* _resultobj
;
3933 wxGenericDragImage
* _arg0
;
3934 PyObject
* _argo0
= 0;
3935 char *_kwnames
[] = { "self", NULL
};
3938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3949 _result
= (bool )wxDragImage_Show(_arg0
);
3951 wxPyEndAllowThreads(__tstate
);
3952 if (PyErr_Occurred()) return NULL
;
3953 } _resultobj
= Py_BuildValue("i",_result
);
3957 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3958 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
* _resultobj
;
3961 wxGenericDragImage
* _arg0
;
3962 PyObject
* _argo0
= 0;
3963 char *_kwnames
[] = { "self", NULL
};
3966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3969 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3970 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3971 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 _result
= (bool )wxDragImage_Hide(_arg0
);
3979 wxPyEndAllowThreads(__tstate
);
3980 if (PyErr_Occurred()) return NULL
;
3981 } _resultobj
= Py_BuildValue("i",_result
);
3985 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3986 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3987 PyObject
* _resultobj
;
3989 wxGenericDragImage
* _arg0
;
3991 PyObject
* _argo0
= 0;
3993 PyObject
* _obj1
= 0;
3994 char *_kwnames
[] = { "self","pos", NULL
};
3998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4009 if (! wxPoint_helper(_obj1
, &_arg1
))
4013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4014 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4016 wxPyEndAllowThreads(__tstate
);
4017 if (PyErr_Occurred()) return NULL
;
4018 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4019 _resultobj
= Py_BuildValue("s",_ptemp
);
4023 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4024 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4025 PyObject
* _resultobj
;
4027 wxGenericDragImage
* _arg0
;
4032 PyObject
* _argo0
= 0;
4034 PyObject
* _obj1
= 0;
4036 PyObject
* _obj2
= 0;
4039 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4053 if (! wxPoint_helper(_obj1
, &_arg1
))
4058 if (! wxPoint_helper(_obj2
, &_arg2
))
4061 _arg3
= (bool ) tempbool3
;
4062 _arg4
= (bool ) tempbool4
;
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) return NULL
;
4069 } _resultobj
= Py_BuildValue("i",_result
);
4073 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4076 src
= (wxPyTimer
*) ptr
;
4077 dest
= (wxObject
*) src
;
4078 return (void *) dest
;
4081 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4082 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
* _resultobj
;
4084 wxPyTimer
* _result
;
4086 PyObject
* _obj0
= 0;
4087 char *_kwnames
[] = { "notify", NULL
};
4091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4100 wxPyEndAllowThreads(__tstate
);
4101 if (PyErr_Occurred()) return NULL
;
4103 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4104 _resultobj
= Py_BuildValue("s",_ptemp
);
4107 _resultobj
= Py_None
;
4112 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4113 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4114 PyObject
* _resultobj
;
4116 PyObject
* _argo0
= 0;
4117 char *_kwnames
[] = { "self", NULL
};
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4131 delete_wxPyTimer(_arg0
);
4133 wxPyEndAllowThreads(__tstate
);
4134 if (PyErr_Occurred()) return NULL
;
4135 } Py_INCREF(Py_None
);
4136 _resultobj
= Py_None
;
4140 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4141 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
* _resultobj
;
4145 PyObject
* _argo0
= 0;
4146 char *_kwnames
[] = { "self", NULL
};
4149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4160 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4162 wxPyEndAllowThreads(__tstate
);
4163 if (PyErr_Occurred()) return NULL
;
4164 } _resultobj
= Py_BuildValue("i",_result
);
4168 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4169 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
* _resultobj
;
4173 PyObject
* _argo0
= 0;
4174 char *_kwnames
[] = { "self", NULL
};
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4188 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4190 wxPyEndAllowThreads(__tstate
);
4191 if (PyErr_Occurred()) return NULL
;
4192 } _resultobj
= Py_BuildValue("i",_result
);
4196 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4197 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4198 PyObject
* _resultobj
;
4201 PyObject
* _argo0
= 0;
4202 char *_kwnames
[] = { "self", NULL
};
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4216 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4218 wxPyEndAllowThreads(__tstate
);
4219 if (PyErr_Occurred()) return NULL
;
4220 } _resultobj
= Py_BuildValue("i",_result
);
4224 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4225 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
* _resultobj
;
4228 wxEvtHandler
* _arg1
;
4229 int _arg2
= (int ) -1;
4230 PyObject
* _argo0
= 0;
4231 PyObject
* _argo1
= 0;
4232 char *_kwnames
[] = { "self","owner","id", NULL
};
4235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4245 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4246 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4253 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4255 wxPyEndAllowThreads(__tstate
);
4256 if (PyErr_Occurred()) return NULL
;
4257 } Py_INCREF(Py_None
);
4258 _resultobj
= Py_None
;
4262 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4263 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
* _resultobj
;
4266 int _arg1
= (int ) -1;
4267 int _arg2
= (int ) FALSE
;
4268 PyObject
* _argo0
= 0;
4269 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4285 wxPyEndAllowThreads(__tstate
);
4286 if (PyErr_Occurred()) return NULL
;
4287 } Py_INCREF(Py_None
);
4288 _resultobj
= Py_None
;
4292 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4293 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4294 PyObject
* _resultobj
;
4296 PyObject
* _argo0
= 0;
4297 char *_kwnames
[] = { "self", NULL
};
4300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 wxPyTimer_Stop(_arg0
);
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) return NULL
;
4315 } Py_INCREF(Py_None
);
4316 _resultobj
= Py_None
;
4320 #define new_wxStopWatch() (new wxStopWatch())
4321 static PyObject
*_wrap_new_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4322 PyObject
* _resultobj
;
4323 wxStopWatch
* _result
;
4324 char *_kwnames
[] = { NULL
};
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxStopWatch",_kwnames
))
4331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4332 _result
= (wxStopWatch
*)new_wxStopWatch();
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) return NULL
;
4337 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxStopWatch_p");
4338 _resultobj
= Py_BuildValue("s",_ptemp
);
4341 _resultobj
= Py_None
;
4346 #define delete_wxStopWatch(_swigobj) (delete _swigobj)
4347 static PyObject
*_wrap_delete_wxStopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4348 PyObject
* _resultobj
;
4349 wxStopWatch
* _arg0
;
4350 PyObject
* _argo0
= 0;
4351 char *_kwnames
[] = { "self", NULL
};
4354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxStopWatch",_kwnames
,&_argo0
))
4357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxStopWatch. Expected _wxStopWatch_p.");
4364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4365 delete_wxStopWatch(_arg0
);
4367 wxPyEndAllowThreads(__tstate
);
4368 if (PyErr_Occurred()) return NULL
;
4369 } Py_INCREF(Py_None
);
4370 _resultobj
= Py_None
;
4374 #define wxStopWatch_Start(_swigobj,_swigarg0) (_swigobj->Start(_swigarg0))
4375 static PyObject
*_wrap_wxStopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4376 PyObject
* _resultobj
;
4377 wxStopWatch
* _arg0
;
4378 long _arg1
= (long ) 0;
4379 PyObject
* _argo0
= 0;
4380 char *_kwnames
[] = { "self","t", NULL
};
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|l:wxStopWatch_Start",_kwnames
,&_argo0
,&_arg1
))
4386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Start. Expected _wxStopWatch_p.");
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4394 wxStopWatch_Start(_arg0
,_arg1
);
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) return NULL
;
4398 } Py_INCREF(Py_None
);
4399 _resultobj
= Py_None
;
4403 #define wxStopWatch_Pause(_swigobj) (_swigobj->Pause())
4404 static PyObject
*_wrap_wxStopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4405 PyObject
* _resultobj
;
4406 wxStopWatch
* _arg0
;
4407 PyObject
* _argo0
= 0;
4408 char *_kwnames
[] = { "self", NULL
};
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Pause",_kwnames
,&_argo0
))
4414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Pause. Expected _wxStopWatch_p.");
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 wxStopWatch_Pause(_arg0
);
4424 wxPyEndAllowThreads(__tstate
);
4425 if (PyErr_Occurred()) return NULL
;
4426 } Py_INCREF(Py_None
);
4427 _resultobj
= Py_None
;
4431 #define wxStopWatch_Resume(_swigobj) (_swigobj->Resume())
4432 static PyObject
*_wrap_wxStopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
* _resultobj
;
4434 wxStopWatch
* _arg0
;
4435 PyObject
* _argo0
= 0;
4436 char *_kwnames
[] = { "self", NULL
};
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Resume",_kwnames
,&_argo0
))
4442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Resume. Expected _wxStopWatch_p.");
4449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4450 wxStopWatch_Resume(_arg0
);
4452 wxPyEndAllowThreads(__tstate
);
4453 if (PyErr_Occurred()) return NULL
;
4454 } Py_INCREF(Py_None
);
4455 _resultobj
= Py_None
;
4459 #define wxStopWatch_Time(_swigobj) (_swigobj->Time())
4460 static PyObject
*_wrap_wxStopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4461 PyObject
* _resultobj
;
4463 wxStopWatch
* _arg0
;
4464 PyObject
* _argo0
= 0;
4465 char *_kwnames
[] = { "self", NULL
};
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxStopWatch_Time",_kwnames
,&_argo0
))
4471 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4472 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxStopWatch_p")) {
4473 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxStopWatch_Time. Expected _wxStopWatch_p.");
4478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4479 _result
= (long )wxStopWatch_Time(_arg0
);
4481 wxPyEndAllowThreads(__tstate
);
4482 if (PyErr_Occurred()) return NULL
;
4483 } _resultobj
= Py_BuildValue("l",_result
);
4487 #define new_wxLog() (new wxLog())
4488 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
* _resultobj
;
4491 char *_kwnames
[] = { NULL
};
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4499 _result
= (wxLog
*)new_wxLog();
4501 wxPyEndAllowThreads(__tstate
);
4502 if (PyErr_Occurred()) return NULL
;
4504 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4505 _resultobj
= Py_BuildValue("s",_ptemp
);
4508 _resultobj
= Py_None
;
4513 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
* _resultobj
;
4516 char *_kwnames
[] = { NULL
};
4519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4523 _result
= (bool )wxLog::IsEnabled();
4525 wxPyEndAllowThreads(__tstate
);
4526 if (PyErr_Occurred()) return NULL
;
4527 } _resultobj
= Py_BuildValue("i",_result
);
4531 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
* _resultobj
;
4534 bool _arg0
= (bool ) TRUE
;
4535 int tempbool0
= (int) TRUE
;
4536 char *_kwnames
[] = { "doIt", NULL
};
4539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4541 _arg0
= (bool ) tempbool0
;
4543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4544 _result
= (bool )wxLog::EnableLogging(_arg0
);
4546 wxPyEndAllowThreads(__tstate
);
4547 if (PyErr_Occurred()) return NULL
;
4548 } _resultobj
= Py_BuildValue("i",_result
);
4552 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4553 PyObject
* _resultobj
;
4556 int _arg2
= (int ) 0;
4557 PyObject
* _argo0
= 0;
4558 PyObject
* _obj1
= 0;
4559 char *_kwnames
[] = { "level","szString","t", NULL
};
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxLog_OnLog",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
4565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4572 _arg1
= wxString_in_helper(_obj1
);
4577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4578 wxLog::OnLog(*_arg0
,*_arg1
,_arg2
);
4580 wxPyEndAllowThreads(__tstate
);
4581 if (PyErr_Occurred()) return NULL
;
4582 } Py_INCREF(Py_None
);
4583 _resultobj
= Py_None
;
4591 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4592 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
* _resultobj
;
4595 PyObject
* _argo0
= 0;
4596 char *_kwnames
[] = { "self", NULL
};
4599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4612 wxPyEndAllowThreads(__tstate
);
4613 if (PyErr_Occurred()) return NULL
;
4614 } Py_INCREF(Py_None
);
4615 _resultobj
= Py_None
;
4619 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4620 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4621 PyObject
* _resultobj
;
4624 PyObject
* _argo0
= 0;
4625 char *_kwnames
[] = { "self", NULL
};
4628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4639 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4641 wxPyEndAllowThreads(__tstate
);
4642 if (PyErr_Occurred()) return NULL
;
4643 } _resultobj
= Py_BuildValue("i",_result
);
4647 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
* _resultobj
;
4649 char *_kwnames
[] = { NULL
};
4652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4656 wxLog::FlushActive();
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) return NULL
;
4660 } Py_INCREF(Py_None
);
4661 _resultobj
= Py_None
;
4665 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
* _resultobj
;
4668 char *_kwnames
[] = { NULL
};
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4676 _result
= (wxLog
*)wxLog::GetActiveTarget();
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) return NULL
;
4681 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4682 _resultobj
= Py_BuildValue("s",_ptemp
);
4685 _resultobj
= Py_None
;
4690 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4691 PyObject
* _resultobj
;
4694 PyObject
* _argo0
= 0;
4695 char *_kwnames
[] = { "pLogger", NULL
};
4699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4710 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4712 wxPyEndAllowThreads(__tstate
);
4713 if (PyErr_Occurred()) return NULL
;
4715 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4716 _resultobj
= Py_BuildValue("s",_ptemp
);
4719 _resultobj
= Py_None
;
4724 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
* _resultobj
;
4726 char *_kwnames
[] = { NULL
};
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4735 wxPyEndAllowThreads(__tstate
);
4736 if (PyErr_Occurred()) return NULL
;
4737 } Py_INCREF(Py_None
);
4738 _resultobj
= Py_None
;
4742 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
* _resultobj
;
4744 char *_kwnames
[] = { NULL
};
4747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) return NULL
;
4755 } Py_INCREF(Py_None
);
4756 _resultobj
= Py_None
;
4760 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4761 PyObject
* _resultobj
;
4762 bool _arg0
= (bool ) TRUE
;
4763 int tempbool0
= (int) TRUE
;
4764 char *_kwnames
[] = { "bVerbose", NULL
};
4767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_SetVerbose",_kwnames
,&tempbool0
))
4769 _arg0
= (bool ) tempbool0
;
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4772 wxLog::SetVerbose(_arg0
);
4774 wxPyEndAllowThreads(__tstate
);
4775 if (PyErr_Occurred()) return NULL
;
4776 } Py_INCREF(Py_None
);
4777 _resultobj
= Py_None
;
4781 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4782 PyObject
* _resultobj
;
4783 char *_kwnames
[] = { NULL
};
4786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4790 wxLog::DontCreateOnDemand();
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) return NULL
;
4794 } Py_INCREF(Py_None
);
4795 _resultobj
= Py_None
;
4799 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
* _resultobj
;
4801 wxTraceMask
* _arg0
;
4802 PyObject
* _argo0
= 0;
4803 char *_kwnames
[] = { "ulMask", NULL
};
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4817 wxLog::SetTraceMask(*_arg0
);
4819 wxPyEndAllowThreads(__tstate
);
4820 if (PyErr_Occurred()) return NULL
;
4821 } Py_INCREF(Py_None
);
4822 _resultobj
= Py_None
;
4826 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4827 PyObject
* _resultobj
;
4829 PyObject
* _obj0
= 0;
4830 char *_kwnames
[] = { "str", NULL
};
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4836 _arg0
= wxString_in_helper(_obj0
);
4841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4842 wxLog::AddTraceMask(*_arg0
);
4844 wxPyEndAllowThreads(__tstate
);
4845 if (PyErr_Occurred()) return NULL
;
4846 } Py_INCREF(Py_None
);
4847 _resultobj
= Py_None
;
4855 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4856 PyObject
* _resultobj
;
4858 PyObject
* _obj0
= 0;
4859 char *_kwnames
[] = { "str", NULL
};
4862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4865 _arg0
= wxString_in_helper(_obj0
);
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 wxLog::RemoveTraceMask(*_arg0
);
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) return NULL
;
4875 } Py_INCREF(Py_None
);
4876 _resultobj
= Py_None
;
4884 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4885 PyObject
* _resultobj
;
4886 char *_kwnames
[] = { NULL
};
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 wxLog::ClearTraceMasks();
4895 wxPyEndAllowThreads(__tstate
);
4896 if (PyErr_Occurred()) return NULL
;
4897 } Py_INCREF(Py_None
);
4898 _resultobj
= Py_None
;
4902 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
* _resultobj
;
4905 PyObject
* _obj0
= 0;
4906 char *_kwnames
[] = { "ts", NULL
};
4909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTimestamp",_kwnames
,&_obj0
))
4912 _arg0
= wxString_in_helper(_obj0
);
4917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4918 wxLog::SetTimestamp(*_arg0
);
4920 wxPyEndAllowThreads(__tstate
);
4921 if (PyErr_Occurred()) return NULL
;
4922 } Py_INCREF(Py_None
);
4923 _resultobj
= Py_None
;
4931 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4932 PyObject
* _resultobj
;
4934 char *_kwnames
[] = { NULL
};
4937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
4940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4941 const wxString
& _result_ref
= wxLog::GetTimestamp();
4942 _result
= (wxString
*) &_result_ref
;
4944 wxPyEndAllowThreads(__tstate
);
4945 if (PyErr_Occurred()) return NULL
;
4948 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
4950 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4956 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4957 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4958 PyObject
* _resultobj
;
4961 PyObject
* _argo0
= 0;
4962 char *_kwnames
[] = { "self", NULL
};
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4976 _result
= (bool )wxLog_GetVerbose(_arg0
);
4978 wxPyEndAllowThreads(__tstate
);
4979 if (PyErr_Occurred()) return NULL
;
4980 } _resultobj
= Py_BuildValue("i",_result
);
4984 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
* _resultobj
;
4986 wxTraceMask
* _result
;
4987 char *_kwnames
[] = { NULL
};
4991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4995 _result
= new wxTraceMask (wxLog::GetTraceMask());
4997 wxPyEndAllowThreads(__tstate
);
4998 if (PyErr_Occurred()) return NULL
;
4999 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
5000 _resultobj
= Py_BuildValue("s",_ptemp
);
5004 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5005 PyObject
* _resultobj
;
5008 PyObject
* _obj0
= 0;
5009 char *_kwnames
[] = { "mask", NULL
};
5012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_IsAllowedTraceMask",_kwnames
,&_obj0
))
5015 _arg0
= wxString_in_helper(_obj0
);
5020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5021 _result
= (bool )wxLog::IsAllowedTraceMask(*_arg0
);
5023 wxPyEndAllowThreads(__tstate
);
5024 if (PyErr_Occurred()) return NULL
;
5025 } _resultobj
= Py_BuildValue("i",_result
);
5033 static wxString
wxLog_TimeStamp(wxLog
*self
) {
5035 wxLog::TimeStamp(&msg
);
5038 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5039 PyObject
* _resultobj
;
5042 PyObject
* _argo0
= 0;
5043 char *_kwnames
[] = { "self", NULL
};
5046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
5049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
5056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5057 _result
= new wxString (wxLog_TimeStamp(_arg0
));
5059 wxPyEndAllowThreads(__tstate
);
5060 if (PyErr_Occurred()) return NULL
;
5063 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
5065 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5074 static void *SwigwxLogStderrTowxLog(void *ptr
) {
5077 src
= (wxLogStderr
*) ptr
;
5078 dest
= (wxLog
*) src
;
5079 return (void *) dest
;
5082 #define new_wxLogStderr() (new wxLogStderr())
5083 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
* _resultobj
;
5085 wxLogStderr
* _result
;
5086 char *_kwnames
[] = { NULL
};
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
5093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5094 _result
= (wxLogStderr
*)new_wxLogStderr();
5096 wxPyEndAllowThreads(__tstate
);
5097 if (PyErr_Occurred()) return NULL
;
5099 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
5100 _resultobj
= Py_BuildValue("s",_ptemp
);
5103 _resultobj
= Py_None
;
5108 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
5111 src
= (wxLogTextCtrl
*) ptr
;
5112 dest
= (wxLog
*) src
;
5113 return (void *) dest
;
5116 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
5117 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
* _resultobj
;
5119 wxLogTextCtrl
* _result
;
5121 PyObject
* _argo0
= 0;
5122 char *_kwnames
[] = { "pTextCtrl", NULL
};
5126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
5129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
5131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
5136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5137 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
5139 wxPyEndAllowThreads(__tstate
);
5140 if (PyErr_Occurred()) return NULL
;
5142 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
5143 _resultobj
= Py_BuildValue("s",_ptemp
);
5146 _resultobj
= Py_None
;
5151 static void *SwigwxLogGuiTowxLog(void *ptr
) {
5154 src
= (wxLogGui
*) ptr
;
5155 dest
= (wxLog
*) src
;
5156 return (void *) dest
;
5159 #define new_wxLogGui() (new wxLogGui())
5160 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
* _resultobj
;
5163 char *_kwnames
[] = { NULL
};
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5171 _result
= (wxLogGui
*)new_wxLogGui();
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) return NULL
;
5176 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
5177 _resultobj
= Py_BuildValue("s",_ptemp
);
5180 _resultobj
= Py_None
;
5185 static void *SwigwxLogWindowTowxLog(void *ptr
) {
5188 src
= (wxLogWindow
*) ptr
;
5189 dest
= (wxLog
*) src
;
5190 return (void *) dest
;
5193 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5194 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5195 PyObject
* _resultobj
;
5196 wxLogWindow
* _result
;
5199 bool _arg2
= (bool ) TRUE
;
5200 bool _arg3
= (bool ) TRUE
;
5201 PyObject
* _argo0
= 0;
5202 PyObject
* _obj1
= 0;
5203 int tempbool2
= (int) TRUE
;
5204 int tempbool3
= (int) TRUE
;
5205 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_obj1
,&tempbool2
,&tempbool3
))
5212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5219 _arg1
= wxString_in_helper(_obj1
);
5223 _arg2
= (bool ) tempbool2
;
5224 _arg3
= (bool ) tempbool3
;
5226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5227 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,*_arg1
,_arg2
,_arg3
);
5229 wxPyEndAllowThreads(__tstate
);
5230 if (PyErr_Occurred()) return NULL
;
5232 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5233 _resultobj
= Py_BuildValue("s",_ptemp
);
5236 _resultobj
= Py_None
;
5245 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5246 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5247 PyObject
* _resultobj
;
5248 wxLogWindow
* _arg0
;
5249 bool _arg1
= (bool ) TRUE
;
5250 PyObject
* _argo0
= 0;
5251 int tempbool1
= (int) TRUE
;
5252 char *_kwnames
[] = { "self","bShow", NULL
};
5255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5258 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5259 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5264 _arg1
= (bool ) tempbool1
;
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5267 wxLogWindow_Show(_arg0
,_arg1
);
5269 wxPyEndAllowThreads(__tstate
);
5270 if (PyErr_Occurred()) return NULL
;
5271 } Py_INCREF(Py_None
);
5272 _resultobj
= Py_None
;
5276 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5277 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5278 PyObject
* _resultobj
;
5280 wxLogWindow
* _arg0
;
5281 PyObject
* _argo0
= 0;
5282 char *_kwnames
[] = { "self", NULL
};
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5296 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5298 wxPyEndAllowThreads(__tstate
);
5299 if (PyErr_Occurred()) return NULL
;
5300 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5304 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5305 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
* _resultobj
;
5308 wxLogWindow
* _arg0
;
5309 PyObject
* _argo0
= 0;
5310 char *_kwnames
[] = { "self", NULL
};
5314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5325 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5327 wxPyEndAllowThreads(__tstate
);
5328 if (PyErr_Occurred()) return NULL
;
5330 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5331 _resultobj
= Py_BuildValue("s",_ptemp
);
5334 _resultobj
= Py_None
;
5339 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5340 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
* _resultobj
;
5343 wxLogWindow
* _arg0
;
5344 PyObject
* _argo0
= 0;
5345 char *_kwnames
[] = { "self", NULL
};
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5359 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5361 wxPyEndAllowThreads(__tstate
);
5362 if (PyErr_Occurred()) return NULL
;
5363 } _resultobj
= Py_BuildValue("i",_result
);
5367 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5368 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5369 PyObject
* _resultobj
;
5370 wxLogWindow
* _arg0
;
5372 PyObject
* _argo0
= 0;
5374 char *_kwnames
[] = { "self","bDoPass", NULL
};
5377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5386 _arg1
= (bool ) tempbool1
;
5388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5389 wxLogWindow_PassMessages(_arg0
,_arg1
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) return NULL
;
5393 } Py_INCREF(Py_None
);
5394 _resultobj
= Py_None
;
5398 #define new_wxLogNull() (new wxLogNull())
5399 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5400 PyObject
* _resultobj
;
5401 wxLogNull
* _result
;
5402 char *_kwnames
[] = { NULL
};
5406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 _result
= (wxLogNull
*)new_wxLogNull();
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) return NULL
;
5415 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5416 _resultobj
= Py_BuildValue("s",_ptemp
);
5419 _resultobj
= Py_None
;
5424 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5425 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
* _resultobj
;
5428 PyObject
* _argo0
= 0;
5429 char *_kwnames
[] = { "self", NULL
};
5432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5443 delete_wxLogNull(_arg0
);
5445 wxPyEndAllowThreads(__tstate
);
5446 if (PyErr_Occurred()) return NULL
;
5447 } Py_INCREF(Py_None
);
5448 _resultobj
= Py_None
;
5452 static void *SwigwxLogChainTowxLog(void *ptr
) {
5455 src
= (wxLogChain
*) ptr
;
5456 dest
= (wxLog
*) src
;
5457 return (void *) dest
;
5460 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5461 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
* _resultobj
;
5463 wxLogChain
* _result
;
5465 PyObject
* _argo0
= 0;
5466 char *_kwnames
[] = { "logger", NULL
};
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5473 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5474 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5481 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5483 wxPyEndAllowThreads(__tstate
);
5484 if (PyErr_Occurred()) return NULL
;
5486 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5487 _resultobj
= Py_BuildValue("s",_ptemp
);
5490 _resultobj
= Py_None
;
5495 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5496 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
* _resultobj
;
5500 PyObject
* _argo0
= 0;
5501 PyObject
* _argo1
= 0;
5502 char *_kwnames
[] = { "self","logger", NULL
};
5505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5515 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5516 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5523 wxLogChain_SetLog(_arg0
,_arg1
);
5525 wxPyEndAllowThreads(__tstate
);
5526 if (PyErr_Occurred()) return NULL
;
5527 } Py_INCREF(Py_None
);
5528 _resultobj
= Py_None
;
5532 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5533 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5534 PyObject
* _resultobj
;
5537 PyObject
* _argo0
= 0;
5539 char *_kwnames
[] = { "self","bDoPass", NULL
};
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5551 _arg1
= (bool ) tempbool1
;
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5554 wxLogChain_PassMessages(_arg0
,_arg1
);
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) return NULL
;
5558 } Py_INCREF(Py_None
);
5559 _resultobj
= Py_None
;
5563 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5564 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
* _resultobj
;
5568 PyObject
* _argo0
= 0;
5569 char *_kwnames
[] = { "self", NULL
};
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5583 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5585 wxPyEndAllowThreads(__tstate
);
5586 if (PyErr_Occurred()) return NULL
;
5587 } _resultobj
= Py_BuildValue("i",_result
);
5591 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5592 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5593 PyObject
* _resultobj
;
5596 PyObject
* _argo0
= 0;
5597 char *_kwnames
[] = { "self", NULL
};
5601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5612 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5614 wxPyEndAllowThreads(__tstate
);
5615 if (PyErr_Occurred()) return NULL
;
5617 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5618 _resultobj
= Py_BuildValue("s",_ptemp
);
5621 _resultobj
= Py_None
;
5626 static void *SwigwxPyLogTowxLog(void *ptr
) {
5629 src
= (wxPyLog
*) ptr
;
5630 dest
= (wxLog
*) src
;
5631 return (void *) dest
;
5634 #define new_wxPyLog() (new wxPyLog())
5635 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
* _resultobj
;
5638 char *_kwnames
[] = { NULL
};
5642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5646 _result
= (wxPyLog
*)new_wxPyLog();
5648 wxPyEndAllowThreads(__tstate
);
5649 if (PyErr_Occurred()) return NULL
;
5651 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5652 _resultobj
= Py_BuildValue("s",_ptemp
);
5655 _resultobj
= Py_None
;
5660 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5661 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5662 PyObject
* _resultobj
;
5666 PyObject
* _argo0
= 0;
5667 PyObject
* _obj1
= 0;
5668 PyObject
* _obj2
= 0;
5669 char *_kwnames
[] = { "self","self","_class", NULL
};
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5689 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5691 wxPyEndAllowThreads(__tstate
);
5692 if (PyErr_Occurred()) return NULL
;
5693 } Py_INCREF(Py_None
);
5694 _resultobj
= Py_None
;
5698 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5699 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5700 PyObject
* _resultobj
;
5702 PyObject
* _argo0
= 0;
5703 char *_kwnames
[] = { "self", NULL
};
5706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5717 wxPyLog_Destroy(_arg0
);
5719 wxPyEndAllowThreads(__tstate
);
5720 if (PyErr_Occurred()) return NULL
;
5721 } Py_INCREF(Py_None
);
5722 _resultobj
= Py_None
;
5726 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5727 wxProcessEvent
*src
;
5729 src
= (wxProcessEvent
*) ptr
;
5730 dest
= (wxEvent
*) src
;
5731 return (void *) dest
;
5734 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5735 wxProcessEvent
*src
;
5737 src
= (wxProcessEvent
*) ptr
;
5738 dest
= (wxObject
*) src
;
5739 return (void *) dest
;
5742 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5743 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
* _resultobj
;
5745 wxProcessEvent
* _result
;
5746 int _arg0
= (int ) 0;
5747 int _arg1
= (int ) 0;
5748 int _arg2
= (int ) 0;
5749 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5757 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) return NULL
;
5762 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5763 _resultobj
= Py_BuildValue("s",_ptemp
);
5766 _resultobj
= Py_None
;
5771 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5772 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5773 PyObject
* _resultobj
;
5775 wxProcessEvent
* _arg0
;
5776 PyObject
* _argo0
= 0;
5777 char *_kwnames
[] = { "self", NULL
};
5780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5791 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5793 wxPyEndAllowThreads(__tstate
);
5794 if (PyErr_Occurred()) return NULL
;
5795 } _resultobj
= Py_BuildValue("i",_result
);
5799 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5800 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5801 PyObject
* _resultobj
;
5803 wxProcessEvent
* _arg0
;
5804 PyObject
* _argo0
= 0;
5805 char *_kwnames
[] = { "self", NULL
};
5808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5819 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5821 wxPyEndAllowThreads(__tstate
);
5822 if (PyErr_Occurred()) return NULL
;
5823 } _resultobj
= Py_BuildValue("i",_result
);
5827 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5828 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
* _resultobj
;
5831 wxProcessEvent
* _arg0
;
5833 PyObject
* _argo0
= 0;
5834 char *_kwnames
[] = { "self","m_pid", NULL
};
5837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) return NULL
;
5852 } _resultobj
= Py_BuildValue("i",_result
);
5856 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5857 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
* _resultobj
;
5860 wxProcessEvent
* _arg0
;
5861 PyObject
* _argo0
= 0;
5862 char *_kwnames
[] = { "self", NULL
};
5865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5876 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) return NULL
;
5880 } _resultobj
= Py_BuildValue("i",_result
);
5884 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5885 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5886 PyObject
* _resultobj
;
5888 wxProcessEvent
* _arg0
;
5890 PyObject
* _argo0
= 0;
5891 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5905 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5907 wxPyEndAllowThreads(__tstate
);
5908 if (PyErr_Occurred()) return NULL
;
5909 } _resultobj
= Py_BuildValue("i",_result
);
5913 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5914 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5915 PyObject
* _resultobj
;
5917 wxProcessEvent
* _arg0
;
5918 PyObject
* _argo0
= 0;
5919 char *_kwnames
[] = { "self", NULL
};
5922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5935 wxPyEndAllowThreads(__tstate
);
5936 if (PyErr_Occurred()) return NULL
;
5937 } _resultobj
= Py_BuildValue("i",_result
);
5941 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5944 src
= (wxPyProcess
*) ptr
;
5945 dest
= (wxEvtHandler
*) src
;
5946 return (void *) dest
;
5949 static void *SwigwxPyProcessTowxObject(void *ptr
) {
5952 src
= (wxPyProcess
*) ptr
;
5953 dest
= (wxObject
*) src
;
5954 return (void *) dest
;
5957 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5958 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
* _resultobj
;
5960 wxPyProcess
* _result
;
5961 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
5962 int _arg1
= (int ) -1;
5963 PyObject
* _argo0
= 0;
5964 char *_kwnames
[] = { "parent","id", NULL
};
5968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
5971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
5973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
5978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) return NULL
;
5984 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
5985 _resultobj
= Py_BuildValue("s",_ptemp
);
5988 _resultobj
= Py_None
;
5993 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
5994 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
* _resultobj
;
5996 wxPyProcess
* _arg0
;
5997 PyObject
* _argo0
= 0;
5998 char *_kwnames
[] = { "self", NULL
};
6001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
6004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
6011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6012 wxPyProcess_Destroy(_arg0
);
6014 wxPyEndAllowThreads(__tstate
);
6015 if (PyErr_Occurred()) return NULL
;
6016 } Py_INCREF(Py_None
);
6017 _resultobj
= Py_None
;
6021 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
6022 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
* _resultobj
;
6024 wxPyProcess
* _arg0
;
6027 PyObject
* _argo0
= 0;
6028 PyObject
* _obj1
= 0;
6029 PyObject
* _obj2
= 0;
6030 char *_kwnames
[] = { "self","self","_class", NULL
};
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
6036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
6049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6050 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
6052 wxPyEndAllowThreads(__tstate
);
6053 if (PyErr_Occurred()) return NULL
;
6054 } Py_INCREF(Py_None
);
6055 _resultobj
= Py_None
;
6059 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
6060 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6061 PyObject
* _resultobj
;
6062 wxPyProcess
* _arg0
;
6065 PyObject
* _argo0
= 0;
6066 char *_kwnames
[] = { "self","pid","status", NULL
};
6069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
6072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
6079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6080 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
6082 wxPyEndAllowThreads(__tstate
);
6083 if (PyErr_Occurred()) return NULL
;
6084 } Py_INCREF(Py_None
);
6085 _resultobj
= Py_None
;
6089 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
6090 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
* _resultobj
;
6092 wxPyProcess
* _arg0
;
6093 PyObject
* _argo0
= 0;
6094 char *_kwnames
[] = { "self", NULL
};
6097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
6100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
6107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6108 wxProcess_Redirect(_arg0
);
6110 wxPyEndAllowThreads(__tstate
);
6111 if (PyErr_Occurred()) return NULL
;
6112 } Py_INCREF(Py_None
);
6113 _resultobj
= Py_None
;
6117 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
6118 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6119 PyObject
* _resultobj
;
6121 wxPyProcess
* _arg0
;
6122 PyObject
* _argo0
= 0;
6123 char *_kwnames
[] = { "self", NULL
};
6126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
6129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
6136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6137 _result
= (bool )wxProcess_IsRedirected(_arg0
);
6139 wxPyEndAllowThreads(__tstate
);
6140 if (PyErr_Occurred()) return NULL
;
6141 } _resultobj
= Py_BuildValue("i",_result
);
6145 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
6146 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
* _resultobj
;
6148 wxPyProcess
* _arg0
;
6149 PyObject
* _argo0
= 0;
6150 char *_kwnames
[] = { "self", NULL
};
6153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
6156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
6163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6164 wxProcess_Detach(_arg0
);
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) return NULL
;
6168 } Py_INCREF(Py_None
);
6169 _resultobj
= Py_None
;
6173 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
6174 static PyObject
*_wrap_wxProcess_GetInputStream(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_GetInputStream",_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_GetInputStream. Expected _wxPyProcess_p.");
6192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6193 _result
= (wxInputStream
*)wxProcess_GetInputStream(_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_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
6209 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6210 PyObject
* _resultobj
;
6211 wxInputStream
* _result
;
6212 wxPyProcess
* _arg0
;
6213 PyObject
* _argo0
= 0;
6214 char *_kwnames
[] = { "self", NULL
};
6217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
6220 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6221 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6222 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
6227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6228 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
6230 wxPyEndAllowThreads(__tstate
);
6231 if (PyErr_Occurred()) return NULL
;
6233 wxPyInputStream
* _ptr
= NULL
;
6236 _ptr
= new wxPyInputStream(_result
);
6238 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
6243 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
6244 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
* _resultobj
;
6246 wxOutputStream
* _result
;
6247 wxPyProcess
* _arg0
;
6248 PyObject
* _argo0
= 0;
6249 char *_kwnames
[] = { "self", NULL
};
6253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6264 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6266 wxPyEndAllowThreads(__tstate
);
6267 if (PyErr_Occurred()) return NULL
;
6269 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6270 _resultobj
= Py_BuildValue("s",_ptemp
);
6273 _resultobj
= Py_None
;
6278 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6279 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
* _resultobj
;
6281 wxPyProcess
* _arg0
;
6282 PyObject
* _argo0
= 0;
6283 char *_kwnames
[] = { "self", NULL
};
6286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6297 wxProcess_CloseOutput(_arg0
);
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) return NULL
;
6301 } Py_INCREF(Py_None
);
6302 _resultobj
= Py_None
;
6306 static void *SwigwxJoystickTowxObject(void *ptr
) {
6309 src
= (wxJoystick
*) ptr
;
6310 dest
= (wxObject
*) src
;
6311 return (void *) dest
;
6314 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6315 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6316 PyObject
* _resultobj
;
6317 wxJoystick
* _result
;
6318 int _arg0
= (int ) wxJOYSTICK1
;
6319 char *_kwnames
[] = { "joystick", NULL
};
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6327 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6329 wxPyEndAllowThreads(__tstate
);
6330 if (PyErr_Occurred()) return NULL
;
6332 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6333 _resultobj
= Py_BuildValue("s",_ptemp
);
6336 _resultobj
= Py_None
;
6341 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6342 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6343 PyObject
* _resultobj
;
6345 PyObject
* _argo0
= 0;
6346 char *_kwnames
[] = { "self", NULL
};
6349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6360 delete_wxJoystick(_arg0
);
6362 wxPyEndAllowThreads(__tstate
);
6363 if (PyErr_Occurred()) return NULL
;
6364 } Py_INCREF(Py_None
);
6365 _resultobj
= Py_None
;
6369 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6370 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6371 PyObject
* _resultobj
;
6374 PyObject
* _argo0
= 0;
6375 char *_kwnames
[] = { "self", NULL
};
6379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6392 wxPyEndAllowThreads(__tstate
);
6393 if (PyErr_Occurred()) return NULL
;
6394 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6395 _resultobj
= Py_BuildValue("s",_ptemp
);
6399 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6400 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6401 PyObject
* _resultobj
;
6404 PyObject
* _argo0
= 0;
6405 char *_kwnames
[] = { "self", NULL
};
6408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6421 wxPyEndAllowThreads(__tstate
);
6422 if (PyErr_Occurred()) return NULL
;
6423 } _resultobj
= Py_BuildValue("i",_result
);
6427 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6428 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6429 PyObject
* _resultobj
;
6432 PyObject
* _argo0
= 0;
6433 char *_kwnames
[] = { "self", NULL
};
6436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6447 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6449 wxPyEndAllowThreads(__tstate
);
6450 if (PyErr_Occurred()) return NULL
;
6451 } _resultobj
= Py_BuildValue("i",_result
);
6455 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6456 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
* _resultobj
;
6460 PyObject
* _argo0
= 0;
6461 char *_kwnames
[] = { "self", NULL
};
6464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6475 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6477 wxPyEndAllowThreads(__tstate
);
6478 if (PyErr_Occurred()) return NULL
;
6479 } _resultobj
= Py_BuildValue("i",_result
);
6483 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6484 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6485 PyObject
* _resultobj
;
6488 PyObject
* _argo0
= 0;
6489 char *_kwnames
[] = { "self", NULL
};
6492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) return NULL
;
6507 } _resultobj
= Py_BuildValue("i",_result
);
6511 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6512 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6513 PyObject
* _resultobj
;
6516 PyObject
* _argo0
= 0;
6517 char *_kwnames
[] = { "self", NULL
};
6520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6531 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6533 wxPyEndAllowThreads(__tstate
);
6534 if (PyErr_Occurred()) return NULL
;
6535 } _resultobj
= Py_BuildValue("i",_result
);
6539 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6540 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6541 PyObject
* _resultobj
;
6544 PyObject
* _argo0
= 0;
6545 char *_kwnames
[] = { "self", NULL
};
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6559 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6561 wxPyEndAllowThreads(__tstate
);
6562 if (PyErr_Occurred()) return NULL
;
6563 } _resultobj
= Py_BuildValue("i",_result
);
6567 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6568 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6569 PyObject
* _resultobj
;
6572 PyObject
* _argo0
= 0;
6573 char *_kwnames
[] = { "self", NULL
};
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6587 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) return NULL
;
6591 } _resultobj
= Py_BuildValue("i",_result
);
6595 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6596 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6597 PyObject
* _resultobj
;
6600 PyObject
* _argo0
= 0;
6601 char *_kwnames
[] = { "self", NULL
};
6604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6615 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6617 wxPyEndAllowThreads(__tstate
);
6618 if (PyErr_Occurred()) return NULL
;
6619 } _resultobj
= Py_BuildValue("i",_result
);
6623 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6624 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6625 PyObject
* _resultobj
;
6628 PyObject
* _argo0
= 0;
6629 char *_kwnames
[] = { "self","threshold", NULL
};
6632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6643 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6645 wxPyEndAllowThreads(__tstate
);
6646 if (PyErr_Occurred()) return NULL
;
6647 } Py_INCREF(Py_None
);
6648 _resultobj
= Py_None
;
6652 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6653 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6654 PyObject
* _resultobj
;
6657 PyObject
* _argo0
= 0;
6658 char *_kwnames
[] = { "self", NULL
};
6661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6672 _result
= (bool )wxJoystick_IsOk(_arg0
);
6674 wxPyEndAllowThreads(__tstate
);
6675 if (PyErr_Occurred()) return NULL
;
6676 } _resultobj
= Py_BuildValue("i",_result
);
6680 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6681 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6682 PyObject
* _resultobj
;
6685 PyObject
* _argo0
= 0;
6686 char *_kwnames
[] = { "self", NULL
};
6689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6700 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6702 wxPyEndAllowThreads(__tstate
);
6703 if (PyErr_Occurred()) return NULL
;
6704 } _resultobj
= Py_BuildValue("i",_result
);
6708 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6709 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
* _resultobj
;
6713 PyObject
* _argo0
= 0;
6714 char *_kwnames
[] = { "self", NULL
};
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) return NULL
;
6732 } _resultobj
= Py_BuildValue("i",_result
);
6736 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6737 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6738 PyObject
* _resultobj
;
6741 PyObject
* _argo0
= 0;
6742 char *_kwnames
[] = { "self", NULL
};
6745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6748 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6749 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 _result
= (int )wxJoystick_GetProductId(_arg0
);
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) return NULL
;
6760 } _resultobj
= Py_BuildValue("i",_result
);
6764 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6765 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6766 PyObject
* _resultobj
;
6769 PyObject
* _argo0
= 0;
6770 char *_kwnames
[] = { "self", NULL
};
6773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6776 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6777 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6784 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6786 wxPyEndAllowThreads(__tstate
);
6787 if (PyErr_Occurred()) return NULL
;
6790 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
6792 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6801 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6802 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6803 PyObject
* _resultobj
;
6806 PyObject
* _argo0
= 0;
6807 char *_kwnames
[] = { "self", NULL
};
6810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6821 _result
= (int )wxJoystick_GetXMin(_arg0
);
6823 wxPyEndAllowThreads(__tstate
);
6824 if (PyErr_Occurred()) return NULL
;
6825 } _resultobj
= Py_BuildValue("i",_result
);
6829 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6830 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
* _resultobj
;
6834 PyObject
* _argo0
= 0;
6835 char *_kwnames
[] = { "self", NULL
};
6838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6849 _result
= (int )wxJoystick_GetYMin(_arg0
);
6851 wxPyEndAllowThreads(__tstate
);
6852 if (PyErr_Occurred()) return NULL
;
6853 } _resultobj
= Py_BuildValue("i",_result
);
6857 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6858 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
* _resultobj
;
6862 PyObject
* _argo0
= 0;
6863 char *_kwnames
[] = { "self", NULL
};
6866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 _result
= (int )wxJoystick_GetZMin(_arg0
);
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) return NULL
;
6881 } _resultobj
= Py_BuildValue("i",_result
);
6885 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6886 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
* _resultobj
;
6890 PyObject
* _argo0
= 0;
6891 char *_kwnames
[] = { "self", NULL
};
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 _result
= (int )wxJoystick_GetXMax(_arg0
);
6907 wxPyEndAllowThreads(__tstate
);
6908 if (PyErr_Occurred()) return NULL
;
6909 } _resultobj
= Py_BuildValue("i",_result
);
6913 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6914 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
* _resultobj
;
6918 PyObject
* _argo0
= 0;
6919 char *_kwnames
[] = { "self", NULL
};
6922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6933 _result
= (int )wxJoystick_GetYMax(_arg0
);
6935 wxPyEndAllowThreads(__tstate
);
6936 if (PyErr_Occurred()) return NULL
;
6937 } _resultobj
= Py_BuildValue("i",_result
);
6941 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6942 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6943 PyObject
* _resultobj
;
6946 PyObject
* _argo0
= 0;
6947 char *_kwnames
[] = { "self", NULL
};
6950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
6953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6961 _result
= (int )wxJoystick_GetZMax(_arg0
);
6963 wxPyEndAllowThreads(__tstate
);
6964 if (PyErr_Occurred()) return NULL
;
6965 } _resultobj
= Py_BuildValue("i",_result
);
6969 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6970 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
* _resultobj
;
6974 PyObject
* _argo0
= 0;
6975 char *_kwnames
[] = { "self", NULL
};
6978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
6981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
6988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6989 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
6991 wxPyEndAllowThreads(__tstate
);
6992 if (PyErr_Occurred()) return NULL
;
6993 } _resultobj
= Py_BuildValue("i",_result
);
6997 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
6998 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6999 PyObject
* _resultobj
;
7002 PyObject
* _argo0
= 0;
7003 char *_kwnames
[] = { "self", NULL
};
7006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
7009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
7016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7017 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
7019 wxPyEndAllowThreads(__tstate
);
7020 if (PyErr_Occurred()) return NULL
;
7021 } _resultobj
= Py_BuildValue("i",_result
);
7025 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
7026 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
* _resultobj
;
7030 PyObject
* _argo0
= 0;
7031 char *_kwnames
[] = { "self", NULL
};
7034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
7037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
7044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7045 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
7047 wxPyEndAllowThreads(__tstate
);
7048 if (PyErr_Occurred()) return NULL
;
7049 } _resultobj
= Py_BuildValue("i",_result
);
7053 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
7054 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
* _resultobj
;
7058 PyObject
* _argo0
= 0;
7059 char *_kwnames
[] = { "self", NULL
};
7062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
7065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
7072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7073 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) return NULL
;
7077 } _resultobj
= Py_BuildValue("i",_result
);
7081 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
7082 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7083 PyObject
* _resultobj
;
7086 PyObject
* _argo0
= 0;
7087 char *_kwnames
[] = { "self", NULL
};
7090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
7093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
7100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7101 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
7103 wxPyEndAllowThreads(__tstate
);
7104 if (PyErr_Occurred()) return NULL
;
7105 } _resultobj
= Py_BuildValue("i",_result
);
7109 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
7110 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7111 PyObject
* _resultobj
;
7114 PyObject
* _argo0
= 0;
7115 char *_kwnames
[] = { "self", NULL
};
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
7121 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7122 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7123 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
7128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7129 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
7131 wxPyEndAllowThreads(__tstate
);
7132 if (PyErr_Occurred()) return NULL
;
7133 } _resultobj
= Py_BuildValue("i",_result
);
7137 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
7138 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7139 PyObject
* _resultobj
;
7142 PyObject
* _argo0
= 0;
7143 char *_kwnames
[] = { "self", NULL
};
7146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
7149 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7150 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7151 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
7156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7157 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
7159 wxPyEndAllowThreads(__tstate
);
7160 if (PyErr_Occurred()) return NULL
;
7161 } _resultobj
= Py_BuildValue("i",_result
);
7165 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
7166 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
* _resultobj
;
7170 PyObject
* _argo0
= 0;
7171 char *_kwnames
[] = { "self", NULL
};
7174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
7177 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7178 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7179 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
7184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7185 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
7187 wxPyEndAllowThreads(__tstate
);
7188 if (PyErr_Occurred()) return NULL
;
7189 } _resultobj
= Py_BuildValue("i",_result
);
7193 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
7194 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7195 PyObject
* _resultobj
;
7198 PyObject
* _argo0
= 0;
7199 char *_kwnames
[] = { "self", NULL
};
7202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
7205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
7212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 _result
= (int )wxJoystick_GetUMin(_arg0
);
7215 wxPyEndAllowThreads(__tstate
);
7216 if (PyErr_Occurred()) return NULL
;
7217 } _resultobj
= Py_BuildValue("i",_result
);
7221 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
7222 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
* _resultobj
;
7226 PyObject
* _argo0
= 0;
7227 char *_kwnames
[] = { "self", NULL
};
7230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
7233 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7234 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
7240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7241 _result
= (int )wxJoystick_GetUMax(_arg0
);
7243 wxPyEndAllowThreads(__tstate
);
7244 if (PyErr_Occurred()) return NULL
;
7245 } _resultobj
= Py_BuildValue("i",_result
);
7249 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
7250 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
* _resultobj
;
7254 PyObject
* _argo0
= 0;
7255 char *_kwnames
[] = { "self", NULL
};
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
7261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
7268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7269 _result
= (int )wxJoystick_GetVMin(_arg0
);
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) return NULL
;
7273 } _resultobj
= Py_BuildValue("i",_result
);
7277 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
7278 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7279 PyObject
* _resultobj
;
7282 PyObject
* _argo0
= 0;
7283 char *_kwnames
[] = { "self", NULL
};
7286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 _result
= (int )wxJoystick_GetVMax(_arg0
);
7299 wxPyEndAllowThreads(__tstate
);
7300 if (PyErr_Occurred()) return NULL
;
7301 } _resultobj
= Py_BuildValue("i",_result
);
7305 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7306 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7307 PyObject
* _resultobj
;
7310 PyObject
* _argo0
= 0;
7311 char *_kwnames
[] = { "self", NULL
};
7314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7325 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7327 wxPyEndAllowThreads(__tstate
);
7328 if (PyErr_Occurred()) return NULL
;
7329 } _resultobj
= Py_BuildValue("i",_result
);
7333 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7334 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7335 PyObject
* _resultobj
;
7338 PyObject
* _argo0
= 0;
7339 char *_kwnames
[] = { "self", NULL
};
7342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7353 _result
= (bool )wxJoystick_HasZ(_arg0
);
7355 wxPyEndAllowThreads(__tstate
);
7356 if (PyErr_Occurred()) return NULL
;
7357 } _resultobj
= Py_BuildValue("i",_result
);
7361 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7362 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
* _resultobj
;
7366 PyObject
* _argo0
= 0;
7367 char *_kwnames
[] = { "self", NULL
};
7370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7381 _result
= (bool )wxJoystick_HasU(_arg0
);
7383 wxPyEndAllowThreads(__tstate
);
7384 if (PyErr_Occurred()) return NULL
;
7385 } _resultobj
= Py_BuildValue("i",_result
);
7389 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7390 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7391 PyObject
* _resultobj
;
7394 PyObject
* _argo0
= 0;
7395 char *_kwnames
[] = { "self", NULL
};
7398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7409 _result
= (bool )wxJoystick_HasV(_arg0
);
7411 wxPyEndAllowThreads(__tstate
);
7412 if (PyErr_Occurred()) return NULL
;
7413 } _resultobj
= Py_BuildValue("i",_result
);
7417 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7418 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7419 PyObject
* _resultobj
;
7422 PyObject
* _argo0
= 0;
7423 char *_kwnames
[] = { "self", NULL
};
7426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7437 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7439 wxPyEndAllowThreads(__tstate
);
7440 if (PyErr_Occurred()) return NULL
;
7441 } _resultobj
= Py_BuildValue("i",_result
);
7445 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7446 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7447 PyObject
* _resultobj
;
7450 PyObject
* _argo0
= 0;
7451 char *_kwnames
[] = { "self", NULL
};
7454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7465 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7467 wxPyEndAllowThreads(__tstate
);
7468 if (PyErr_Occurred()) return NULL
;
7469 } _resultobj
= Py_BuildValue("i",_result
);
7473 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7474 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
* _resultobj
;
7478 PyObject
* _argo0
= 0;
7479 char *_kwnames
[] = { "self", NULL
};
7482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7493 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7495 wxPyEndAllowThreads(__tstate
);
7496 if (PyErr_Occurred()) return NULL
;
7497 } _resultobj
= Py_BuildValue("i",_result
);
7501 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7502 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7503 PyObject
* _resultobj
;
7507 int _arg2
= (int ) 0;
7508 PyObject
* _argo0
= 0;
7509 PyObject
* _argo1
= 0;
7510 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
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_SetCapture. Expected _wxJoystick_p.");
7523 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7524 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7531 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7533 wxPyEndAllowThreads(__tstate
);
7534 if (PyErr_Occurred()) return NULL
;
7535 } _resultobj
= Py_BuildValue("i",_result
);
7539 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7540 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7541 PyObject
* _resultobj
;
7544 PyObject
* _argo0
= 0;
7545 char *_kwnames
[] = { "self", NULL
};
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7559 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7561 wxPyEndAllowThreads(__tstate
);
7562 if (PyErr_Occurred()) return NULL
;
7563 } _resultobj
= Py_BuildValue("i",_result
);
7567 static void *SwigwxWaveTowxObject(void *ptr
) {
7570 src
= (wxWave
*) ptr
;
7571 dest
= (wxObject
*) src
;
7572 return (void *) dest
;
7575 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7576 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
* _resultobj
;
7580 bool _arg1
= (bool ) FALSE
;
7581 PyObject
* _obj0
= 0;
7582 int tempbool1
= (int) FALSE
;
7583 char *_kwnames
[] = { "fileName","isResource", NULL
};
7587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7590 _arg0
= wxString_in_helper(_obj0
);
7594 _arg1
= (bool ) tempbool1
;
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7599 wxPyEndAllowThreads(__tstate
);
7600 if (PyErr_Occurred()) return NULL
;
7602 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7603 _resultobj
= Py_BuildValue("s",_ptemp
);
7606 _resultobj
= Py_None
;
7615 #define delete_wxWave(_swigobj) (delete _swigobj)
7616 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7617 PyObject
* _resultobj
;
7619 PyObject
* _argo0
= 0;
7620 char *_kwnames
[] = { "self", NULL
};
7623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7634 delete_wxWave(_arg0
);
7636 wxPyEndAllowThreads(__tstate
);
7637 if (PyErr_Occurred()) return NULL
;
7638 } Py_INCREF(Py_None
);
7639 _resultobj
= Py_None
;
7643 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7644 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7645 PyObject
* _resultobj
;
7648 PyObject
* _argo0
= 0;
7649 char *_kwnames
[] = { "self", NULL
};
7652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7655 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7656 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 _result
= (bool )wxWave_IsOk(_arg0
);
7665 wxPyEndAllowThreads(__tstate
);
7666 if (PyErr_Occurred()) return NULL
;
7667 } _resultobj
= Py_BuildValue("i",_result
);
7671 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7672 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7673 PyObject
* _resultobj
;
7676 bool _arg1
= (bool ) TRUE
;
7677 bool _arg2
= (bool ) FALSE
;
7678 PyObject
* _argo0
= 0;
7679 int tempbool1
= (int) TRUE
;
7680 int tempbool2
= (int) FALSE
;
7681 char *_kwnames
[] = { "self","async","looped", NULL
};
7684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7687 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7688 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7689 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7693 _arg1
= (bool ) tempbool1
;
7694 _arg2
= (bool ) tempbool2
;
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7697 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7699 wxPyEndAllowThreads(__tstate
);
7700 if (PyErr_Occurred()) return NULL
;
7701 } _resultobj
= Py_BuildValue("i",_result
);
7705 #define new_wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxFileTypeInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7706 static PyObject
*_wrap_new_wxFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7707 PyObject
* _resultobj
;
7708 wxFileTypeInfo
* _result
;
7713 char *_kwnames
[] = { "mimeType","openCmd","printCmd","desc", NULL
};
7717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"ssss:new_wxFileTypeInfo",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
))
7720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7721 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfo(_arg0
,_arg1
,_arg2
,_arg3
);
7723 wxPyEndAllowThreads(__tstate
);
7724 if (PyErr_Occurred()) return NULL
;
7726 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7727 _resultobj
= Py_BuildValue("s",_ptemp
);
7730 _resultobj
= Py_None
;
7735 #define new_wxFileTypeInfoSequence(_swigarg0) (new wxFileTypeInfo(_swigarg0))
7736 static PyObject
*_wrap_new_wxFileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7737 PyObject
* _resultobj
;
7738 wxFileTypeInfo
* _result
;
7739 wxArrayString
* _arg0
;
7740 PyObject
* _obj0
= 0;
7741 char *_kwnames
[] = { "sArray", NULL
};
7745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileTypeInfoSequence",_kwnames
,&_obj0
))
7748 if (! PySequence_Check(_obj0
)) {
7749 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7752 _arg0
= new wxArrayString
;
7753 int i
, len
=PySequence_Length(_obj0
);
7754 for (i
=0; i
<len
; i
++) {
7755 PyObject
* item
= PySequence_GetItem(_obj0
, i
);
7757 PyObject
* str
= PyObject_Unicode(item
);
7758 _arg0
->Add(PyUnicode_AsUnicode(str
));
7760 PyObject
* str
= PyObject_Str(item
);
7761 _arg0
->Add(PyString_AsString(str
));
7768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7769 _result
= (wxFileTypeInfo
*)new_wxFileTypeInfoSequence(*_arg0
);
7771 wxPyEndAllowThreads(__tstate
);
7772 if (PyErr_Occurred()) return NULL
;
7774 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7775 _resultobj
= Py_BuildValue("s",_ptemp
);
7778 _resultobj
= Py_None
;
7787 #define new_wxNullFileTypeInfo() (new wxFileTypeInfo())
7788 static PyObject
*_wrap_new_wxNullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7789 PyObject
* _resultobj
;
7790 wxFileTypeInfo
* _result
;
7791 char *_kwnames
[] = { NULL
};
7795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxNullFileTypeInfo",_kwnames
))
7798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7799 _result
= (wxFileTypeInfo
*)new_wxNullFileTypeInfo();
7801 wxPyEndAllowThreads(__tstate
);
7802 if (PyErr_Occurred()) return NULL
;
7804 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileTypeInfo_p");
7805 _resultobj
= Py_BuildValue("s",_ptemp
);
7808 _resultobj
= Py_None
;
7813 #define wxFileTypeInfo_IsValid(_swigobj) (_swigobj->IsValid())
7814 static PyObject
*_wrap_wxFileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
* _resultobj
;
7817 wxFileTypeInfo
* _arg0
;
7818 PyObject
* _argo0
= 0;
7819 char *_kwnames
[] = { "self", NULL
};
7822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_IsValid",_kwnames
,&_argo0
))
7825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_IsValid. Expected _wxFileTypeInfo_p.");
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 _result
= (bool )wxFileTypeInfo_IsValid(_arg0
);
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) return NULL
;
7837 } _resultobj
= Py_BuildValue("i",_result
);
7841 #define wxFileTypeInfo_SetIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetIcon(_swigarg0,_swigarg1))
7842 static PyObject
*_wrap_wxFileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
* _resultobj
;
7844 wxFileTypeInfo
* _arg0
;
7846 int _arg2
= (int ) 0;
7847 PyObject
* _argo0
= 0;
7848 PyObject
* _obj1
= 0;
7849 char *_kwnames
[] = { "self","iconFile","iconIndex", NULL
};
7852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxFileTypeInfo_SetIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
7855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetIcon. Expected _wxFileTypeInfo_p.");
7862 _arg1
= wxString_in_helper(_obj1
);
7867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7868 wxFileTypeInfo_SetIcon(_arg0
,*_arg1
,_arg2
);
7870 wxPyEndAllowThreads(__tstate
);
7871 if (PyErr_Occurred()) return NULL
;
7872 } Py_INCREF(Py_None
);
7873 _resultobj
= Py_None
;
7881 #define wxFileTypeInfo_SetShortDesc(_swigobj,_swigarg0) (_swigobj->SetShortDesc(_swigarg0))
7882 static PyObject
*_wrap_wxFileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
* _resultobj
;
7884 wxFileTypeInfo
* _arg0
;
7886 PyObject
* _argo0
= 0;
7887 PyObject
* _obj1
= 0;
7888 char *_kwnames
[] = { "self","shortDesc", NULL
};
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileTypeInfo_SetShortDesc",_kwnames
,&_argo0
,&_obj1
))
7894 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7895 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
7896 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_SetShortDesc. Expected _wxFileTypeInfo_p.");
7901 _arg1
= wxString_in_helper(_obj1
);
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 wxFileTypeInfo_SetShortDesc(_arg0
,*_arg1
);
7909 wxPyEndAllowThreads(__tstate
);
7910 if (PyErr_Occurred()) return NULL
;
7911 } Py_INCREF(Py_None
);
7912 _resultobj
= Py_None
;
7920 #define wxFileTypeInfo_GetMimeType(_swigobj) (_swigobj->GetMimeType())
7921 static PyObject
*_wrap_wxFileTypeInfo_GetMimeType(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_GetMimeType",_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_GetMimeType. Expected _wxFileTypeInfo_p.");
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 const wxString
& _result_ref
= wxFileTypeInfo_GetMimeType(_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_GetOpenCommand(_swigobj) (_swigobj->GetOpenCommand())
7956 static PyObject
*_wrap_wxFileTypeInfo_GetOpenCommand(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_GetOpenCommand",_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_GetOpenCommand. Expected _wxFileTypeInfo_p.");
7974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7975 const wxString
& _result_ref
= wxFileTypeInfo_GetOpenCommand(_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_GetPrintCommand(_swigobj) (_swigobj->GetPrintCommand())
7991 static PyObject
*_wrap_wxFileTypeInfo_GetPrintCommand(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_GetPrintCommand",_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_GetPrintCommand. Expected _wxFileTypeInfo_p.");
8009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8010 const wxString
& _result_ref
= wxFileTypeInfo_GetPrintCommand(_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_GetShortDesc(_swigobj) (_swigobj->GetShortDesc())
8026 static PyObject
*_wrap_wxFileTypeInfo_GetShortDesc(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_GetShortDesc",_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_GetShortDesc. Expected _wxFileTypeInfo_p.");
8044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8045 const wxString
& _result_ref
= wxFileTypeInfo_GetShortDesc(_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 #define wxFileTypeInfo_GetDescription(_swigobj) (_swigobj->GetDescription())
8061 static PyObject
*_wrap_wxFileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8062 PyObject
* _resultobj
;
8064 wxFileTypeInfo
* _arg0
;
8065 PyObject
* _argo0
= 0;
8066 char *_kwnames
[] = { "self", NULL
};
8069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetDescription",_kwnames
,&_argo0
))
8072 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8073 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8074 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetDescription. Expected _wxFileTypeInfo_p.");
8079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8080 const wxString
& _result_ref
= wxFileTypeInfo_GetDescription(_arg0
);
8081 _result
= (wxString
*) &_result_ref
;
8083 wxPyEndAllowThreads(__tstate
);
8084 if (PyErr_Occurred()) return NULL
;
8087 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8089 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8095 static PyObject
* wxFileTypeInfo_GetExtensions(wxFileTypeInfo
*self
) {
8096 wxArrayString
& arr
= (wxArrayString
&)self
->GetExtensions();
8097 return wxArrayString2PyList_helper(arr
);
8099 static PyObject
*_wrap_wxFileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
* _resultobj
;
8102 wxFileTypeInfo
* _arg0
;
8103 PyObject
* _argo0
= 0;
8104 char *_kwnames
[] = { "self", NULL
};
8107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensions",_kwnames
,&_argo0
))
8110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensions. Expected _wxFileTypeInfo_p.");
8117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8118 _result
= (PyObject
*)wxFileTypeInfo_GetExtensions(_arg0
);
8120 wxPyEndAllowThreads(__tstate
);
8121 if (PyErr_Occurred()) return NULL
;
8123 _resultobj
= _result
;
8128 #define wxFileTypeInfo_GetExtensionsCount(_swigobj) (_swigobj->GetExtensionsCount())
8129 static PyObject
*_wrap_wxFileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8130 PyObject
* _resultobj
;
8132 wxFileTypeInfo
* _arg0
;
8133 PyObject
* _argo0
= 0;
8134 char *_kwnames
[] = { "self", NULL
};
8137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetExtensionsCount",_kwnames
,&_argo0
))
8140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetExtensionsCount. Expected _wxFileTypeInfo_p.");
8147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8148 _result
= (int )wxFileTypeInfo_GetExtensionsCount(_arg0
);
8150 wxPyEndAllowThreads(__tstate
);
8151 if (PyErr_Occurred()) return NULL
;
8152 } _resultobj
= Py_BuildValue("i",_result
);
8156 #define wxFileTypeInfo_GetIconFile(_swigobj) (_swigobj->GetIconFile())
8157 static PyObject
*_wrap_wxFileTypeInfo_GetIconFile(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_GetIconFile",_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_GetIconFile. Expected _wxFileTypeInfo_p.");
8175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8176 const wxString
& _result_ref
= wxFileTypeInfo_GetIconFile(_arg0
);
8177 _result
= (wxString
*) &_result_ref
;
8179 wxPyEndAllowThreads(__tstate
);
8180 if (PyErr_Occurred()) return NULL
;
8183 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8185 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8191 #define wxFileTypeInfo_GetIconIndex(_swigobj) (_swigobj->GetIconIndex())
8192 static PyObject
*_wrap_wxFileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
* _resultobj
;
8195 wxFileTypeInfo
* _arg0
;
8196 PyObject
* _argo0
= 0;
8197 char *_kwnames
[] = { "self", NULL
};
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileTypeInfo_GetIconIndex",_kwnames
,&_argo0
))
8203 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8204 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileTypeInfo_GetIconIndex. Expected _wxFileTypeInfo_p.");
8210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8211 _result
= (int )wxFileTypeInfo_GetIconIndex(_arg0
);
8213 wxPyEndAllowThreads(__tstate
);
8214 if (PyErr_Occurred()) return NULL
;
8215 } _resultobj
= Py_BuildValue("i",_result
);
8219 #define new_wxFileType(_swigarg0) (new wxFileType(_swigarg0))
8220 static PyObject
*_wrap_new_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
* _resultobj
;
8222 wxFileType
* _result
;
8223 wxFileTypeInfo
* _arg0
;
8224 PyObject
* _argo0
= 0;
8225 char *_kwnames
[] = { "ftInfo", NULL
};
8229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxFileType",_kwnames
,&_argo0
))
8232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileTypeInfo_p")) {
8234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxFileType. Expected _wxFileTypeInfo_p.");
8239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8240 _result
= (wxFileType
*)new_wxFileType(*_arg0
);
8242 wxPyEndAllowThreads(__tstate
);
8243 if (PyErr_Occurred()) return NULL
;
8245 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
8246 _resultobj
= Py_BuildValue("s",_ptemp
);
8249 _resultobj
= Py_None
;
8254 static PyObject
* wxFileType_GetMimeType(wxFileType
*self
) {
8256 if (self
->GetMimeType(&str
)) {
8258 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8260 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8266 static PyObject
*_wrap_wxFileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
* _resultobj
;
8270 PyObject
* _argo0
= 0;
8271 char *_kwnames
[] = { "self", NULL
};
8274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeType",_kwnames
,&_argo0
))
8277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeType. Expected _wxFileType_p.");
8284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8285 _result
= (PyObject
*)wxFileType_GetMimeType(_arg0
);
8287 wxPyEndAllowThreads(__tstate
);
8288 if (PyErr_Occurred()) return NULL
;
8290 _resultobj
= _result
;
8295 static PyObject
* wxFileType_GetMimeTypes(wxFileType
*self
) {
8297 if (self
->GetMimeTypes(arr
))
8298 return wxArrayString2PyList_helper(arr
);
8302 static PyObject
*_wrap_wxFileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8303 PyObject
* _resultobj
;
8306 PyObject
* _argo0
= 0;
8307 char *_kwnames
[] = { "self", NULL
};
8310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetMimeTypes",_kwnames
,&_argo0
))
8313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetMimeTypes. Expected _wxFileType_p.");
8320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8321 _result
= (PyObject
*)wxFileType_GetMimeTypes(_arg0
);
8323 wxPyEndAllowThreads(__tstate
);
8324 if (PyErr_Occurred()) return NULL
;
8326 _resultobj
= _result
;
8331 static PyObject
* wxFileType_GetExtensions(wxFileType
*self
) {
8333 if (self
->GetExtensions(arr
))
8334 return wxArrayString2PyList_helper(arr
);
8338 static PyObject
*_wrap_wxFileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8339 PyObject
* _resultobj
;
8342 PyObject
* _argo0
= 0;
8343 char *_kwnames
[] = { "self", NULL
};
8346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetExtensions",_kwnames
,&_argo0
))
8349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetExtensions. Expected _wxFileType_p.");
8356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8357 _result
= (PyObject
*)wxFileType_GetExtensions(_arg0
);
8359 wxPyEndAllowThreads(__tstate
);
8360 if (PyErr_Occurred()) return NULL
;
8362 _resultobj
= _result
;
8367 static wxIcon
* wxFileType_GetIcon(wxFileType
*self
) {
8369 if (self
->GetIcon(&icon
))
8370 return new wxIcon(icon
);
8374 static PyObject
*_wrap_wxFileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8375 PyObject
* _resultobj
;
8378 PyObject
* _argo0
= 0;
8379 char *_kwnames
[] = { "self", NULL
};
8383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIcon",_kwnames
,&_argo0
))
8386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIcon. Expected _wxFileType_p.");
8393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8394 _result
= (wxIcon
*)wxFileType_GetIcon(_arg0
);
8396 wxPyEndAllowThreads(__tstate
);
8397 if (PyErr_Occurred()) return NULL
;
8399 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxIcon_p");
8400 _resultobj
= Py_BuildValue("s",_ptemp
);
8403 _resultobj
= Py_None
;
8408 static PyObject
* wxFileType_GetIconInfo(wxFileType
*self
) {
8412 if (self
->GetIcon(&icon
, &iconFile
, &iconIndex
)) {
8413 wxPyBeginBlockThreads();
8414 PyObject
* tuple
= PyTuple_New(3);
8415 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(icon
),
8418 PyTuple_SetItem(tuple
, 1, PyUnicode_FromUnicode(iconFile
.c_str(), iconFile
.Len()));
8420 PyTuple_SetItem(tuple
, 1, PyString_FromStringAndSize(iconFile
.c_str(), iconFile
.Len()));
8422 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
8423 wxPyEndBlockThreads();
8429 static PyObject
*_wrap_wxFileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8430 PyObject
* _resultobj
;
8433 PyObject
* _argo0
= 0;
8434 char *_kwnames
[] = { "self", NULL
};
8437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetIconInfo",_kwnames
,&_argo0
))
8440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetIconInfo. Expected _wxFileType_p.");
8447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8448 _result
= (PyObject
*)wxFileType_GetIconInfo(_arg0
);
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) return NULL
;
8453 _resultobj
= _result
;
8458 static PyObject
* wxFileType_GetDescription(wxFileType
*self
) {
8460 if (self
->GetDescription(&str
)) {
8462 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8464 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8469 static PyObject
*_wrap_wxFileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8470 PyObject
* _resultobj
;
8473 PyObject
* _argo0
= 0;
8474 char *_kwnames
[] = { "self", NULL
};
8477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_GetDescription",_kwnames
,&_argo0
))
8480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetDescription. Expected _wxFileType_p.");
8487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8488 _result
= (PyObject
*)wxFileType_GetDescription(_arg0
);
8490 wxPyEndAllowThreads(__tstate
);
8491 if (PyErr_Occurred()) return NULL
;
8493 _resultobj
= _result
;
8498 static PyObject
* wxFileType_GetOpenCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8500 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8502 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8504 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8509 static PyObject
*_wrap_wxFileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8510 PyObject
* _resultobj
;
8514 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8515 PyObject
* _argo0
= 0;
8516 PyObject
* _obj1
= 0;
8517 PyObject
* _obj2
= 0;
8518 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetOpenCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetOpenCommand. Expected _wxFileType_p.");
8531 _arg1
= wxString_in_helper(_obj1
);
8537 _arg2
= wxString_in_helper(_obj2
);
8542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8543 _result
= (PyObject
*)wxFileType_GetOpenCommand(_arg0
,*_arg1
,*_arg2
);
8545 wxPyEndAllowThreads(__tstate
);
8546 if (PyErr_Occurred()) return NULL
;
8548 _resultobj
= _result
;
8561 static PyObject
* wxFileType_GetPrintCommand(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8563 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
))) {
8565 return PyUnicode_FromUnicode(str
.c_str(), str
.Len());
8567 return PyString_FromStringAndSize(str
.c_str(), str
.Len());
8572 static PyObject
*_wrap_wxFileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8573 PyObject
* _resultobj
;
8577 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8578 PyObject
* _argo0
= 0;
8579 PyObject
* _obj1
= 0;
8580 PyObject
* _obj2
= 0;
8581 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetPrintCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetPrintCommand. Expected _wxFileType_p.");
8594 _arg1
= wxString_in_helper(_obj1
);
8600 _arg2
= wxString_in_helper(_obj2
);
8605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8606 _result
= (PyObject
*)wxFileType_GetPrintCommand(_arg0
,*_arg1
,*_arg2
);
8608 wxPyEndAllowThreads(__tstate
);
8609 if (PyErr_Occurred()) return NULL
;
8611 _resultobj
= _result
;
8624 static PyObject
* wxFileType_GetAllCommands(wxFileType
*self
,const wxString
& filename
,const wxString
& mimetype
) {
8625 wxArrayString verbs
;
8626 wxArrayString commands
;
8627 if (self
->GetAllCommands(&verbs
, &commands
,
8628 wxFileType::MessageParameters(filename
, mimetype
))) {
8629 wxPyBeginBlockThreads();
8630 PyObject
* tuple
= PyTuple_New(2);
8631 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
8632 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
8633 wxPyEndBlockThreads();
8639 static PyObject
*_wrap_wxFileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
* _resultobj
;
8644 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8645 PyObject
* _argo0
= 0;
8646 PyObject
* _obj1
= 0;
8647 PyObject
* _obj2
= 0;
8648 char *_kwnames
[] = { "self","filename","mimetype", NULL
};
8651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|O:wxFileType_GetAllCommands",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
8654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_GetAllCommands. Expected _wxFileType_p.");
8661 _arg1
= wxString_in_helper(_obj1
);
8667 _arg2
= wxString_in_helper(_obj2
);
8672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8673 _result
= (PyObject
*)wxFileType_GetAllCommands(_arg0
,*_arg1
,*_arg2
);
8675 wxPyEndAllowThreads(__tstate
);
8676 if (PyErr_Occurred()) return NULL
;
8678 _resultobj
= _result
;
8691 #define wxFileType_SetCommand(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetCommand(_swigarg0,_swigarg1,_swigarg2))
8692 static PyObject
*_wrap_wxFileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8693 PyObject
* _resultobj
;
8698 bool _arg3
= (bool ) TRUE
;
8699 PyObject
* _argo0
= 0;
8700 PyObject
* _obj1
= 0;
8701 PyObject
* _obj2
= 0;
8702 int tempbool3
= (int) TRUE
;
8703 char *_kwnames
[] = { "self","cmd","verb","overwriteprompt", NULL
};
8706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|i:wxFileType_SetCommand",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
))
8709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetCommand. Expected _wxFileType_p.");
8716 _arg1
= wxString_in_helper(_obj1
);
8721 _arg2
= wxString_in_helper(_obj2
);
8725 _arg3
= (bool ) tempbool3
;
8727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8728 _result
= (bool )wxFileType_SetCommand(_arg0
,*_arg1
,*_arg2
,_arg3
);
8730 wxPyEndAllowThreads(__tstate
);
8731 if (PyErr_Occurred()) return NULL
;
8732 } _resultobj
= Py_BuildValue("i",_result
);
8744 #define wxFileType_SetDefaultIcon(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDefaultIcon(_swigarg0,_swigarg1))
8745 static PyObject
*_wrap_wxFileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8746 PyObject
* _resultobj
;
8749 wxString
* _arg1
= (wxString
*) &wxPyEmptyString
;
8750 int _arg2
= (int ) 0;
8751 PyObject
* _argo0
= 0;
8752 PyObject
* _obj1
= 0;
8753 char *_kwnames
[] = { "self","cmd","index", NULL
};
8756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|Oi:wxFileType_SetDefaultIcon",_kwnames
,&_argo0
,&_obj1
,&_arg2
))
8759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_SetDefaultIcon. Expected _wxFileType_p.");
8767 _arg1
= wxString_in_helper(_obj1
);
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 _result
= (bool )wxFileType_SetDefaultIcon(_arg0
,*_arg1
,_arg2
);
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) return NULL
;
8777 } _resultobj
= Py_BuildValue("i",_result
);
8785 #define wxFileType_Unassociate(_swigobj) (_swigobj->Unassociate())
8786 static PyObject
*_wrap_wxFileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8787 PyObject
* _resultobj
;
8790 PyObject
* _argo0
= 0;
8791 char *_kwnames
[] = { "self", NULL
};
8794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileType_Unassociate",_kwnames
,&_argo0
))
8797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileType_Unassociate. Expected _wxFileType_p.");
8804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8805 _result
= (bool )wxFileType_Unassociate(_arg0
);
8807 wxPyEndAllowThreads(__tstate
);
8808 if (PyErr_Occurred()) return NULL
;
8809 } _resultobj
= Py_BuildValue("i",_result
);
8813 static PyObject
*_wrap_wxFileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8814 PyObject
* _resultobj
;
8817 wxFileType::MessageParameters
* _arg1
;
8818 PyObject
* _obj0
= 0;
8819 PyObject
* _argo1
= 0;
8820 char *_kwnames
[] = { "command","params", NULL
};
8823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileType_ExpandCommand",_kwnames
,&_obj0
,&_argo1
))
8826 _arg0
= wxString_in_helper(_obj0
);
8831 if (_argo1
== Py_None
) { _arg1
= NULL
; }
8832 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType::MessageParameters_p")) {
8833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileType_ExpandCommand. Expected _wxFileType::MessageParameters_p.");
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 _result
= new wxString (wxFileType::ExpandCommand(*_arg0
,*_arg1
));
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) return NULL
;
8845 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
8847 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
8860 #define delete_wxFileType(_swigobj) (delete _swigobj)
8861 static PyObject
*_wrap_delete_wxFileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8862 PyObject
* _resultobj
;
8864 PyObject
* _argo0
= 0;
8865 char *_kwnames
[] = { "self", NULL
};
8868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileType",_kwnames
,&_argo0
))
8871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileType_p")) {
8873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileType. Expected _wxFileType_p.");
8878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8879 delete_wxFileType(_arg0
);
8881 wxPyEndAllowThreads(__tstate
);
8882 if (PyErr_Occurred()) return NULL
;
8883 } Py_INCREF(Py_None
);
8884 _resultobj
= Py_None
;
8888 static PyObject
*_wrap_wxMimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8889 PyObject
* _resultobj
;
8893 PyObject
* _obj0
= 0;
8894 PyObject
* _obj1
= 0;
8895 char *_kwnames
[] = { "mimeType","wildcard", NULL
};
8898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_IsOfType",_kwnames
,&_obj0
,&_obj1
))
8901 _arg0
= wxString_in_helper(_obj0
);
8906 _arg1
= wxString_in_helper(_obj1
);
8911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8912 _result
= (bool )wxMimeTypesManager::IsOfType(*_arg0
,*_arg1
);
8914 wxPyEndAllowThreads(__tstate
);
8915 if (PyErr_Occurred()) return NULL
;
8916 } _resultobj
= Py_BuildValue("i",_result
);
8928 #define new_wxMimeTypesManager() (new wxMimeTypesManager())
8929 static PyObject
*_wrap_new_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8930 PyObject
* _resultobj
;
8931 wxMimeTypesManager
* _result
;
8932 char *_kwnames
[] = { NULL
};
8936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMimeTypesManager",_kwnames
))
8939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8940 _result
= (wxMimeTypesManager
*)new_wxMimeTypesManager();
8942 wxPyEndAllowThreads(__tstate
);
8943 if (PyErr_Occurred()) return NULL
;
8945 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMimeTypesManager_p");
8946 _resultobj
= Py_BuildValue("s",_ptemp
);
8949 _resultobj
= Py_None
;
8954 #define wxMimeTypesManager_Initialize(_swigobj,_swigarg0,_swigarg1) (_swigobj->Initialize(_swigarg0,_swigarg1))
8955 static PyObject
*_wrap_wxMimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
* _resultobj
;
8957 wxMimeTypesManager
* _arg0
;
8958 int _arg1
= (int ) (wxMAILCAP_STANDARD
);
8959 wxString
* _arg2
= (wxString
*) &wxPyEmptyString
;
8960 PyObject
* _argo0
= 0;
8961 PyObject
* _obj2
= 0;
8962 char *_kwnames
[] = { "self","mailcapStyle","extraDir", NULL
};
8965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxMimeTypesManager_Initialize",_kwnames
,&_argo0
,&_arg1
,&_obj2
))
8968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
8969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
8970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Initialize. Expected _wxMimeTypesManager_p.");
8976 _arg2
= wxString_in_helper(_obj2
);
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 wxMimeTypesManager_Initialize(_arg0
,_arg1
,*_arg2
);
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) return NULL
;
8986 } Py_INCREF(Py_None
);
8987 _resultobj
= Py_None
;
8995 #define wxMimeTypesManager_ClearData(_swigobj) (_swigobj->ClearData())
8996 static PyObject
*_wrap_wxMimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8997 PyObject
* _resultobj
;
8998 wxMimeTypesManager
* _arg0
;
8999 PyObject
* _argo0
= 0;
9000 char *_kwnames
[] = { "self", NULL
};
9003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_ClearData",_kwnames
,&_argo0
))
9006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ClearData. Expected _wxMimeTypesManager_p.");
9013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9014 wxMimeTypesManager_ClearData(_arg0
);
9016 wxPyEndAllowThreads(__tstate
);
9017 if (PyErr_Occurred()) return NULL
;
9018 } Py_INCREF(Py_None
);
9019 _resultobj
= Py_None
;
9023 #define wxMimeTypesManager_GetFileTypeFromExtension(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromExtension(_swigarg0))
9024 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9025 PyObject
* _resultobj
;
9026 wxFileType
* _result
;
9027 wxMimeTypesManager
* _arg0
;
9029 PyObject
* _argo0
= 0;
9030 PyObject
* _obj1
= 0;
9031 char *_kwnames
[] = { "self","ext", NULL
};
9035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromExtension",_kwnames
,&_argo0
,&_obj1
))
9038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromExtension. Expected _wxMimeTypesManager_p.");
9045 _arg1
= wxString_in_helper(_obj1
);
9050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9051 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromExtension(_arg0
,*_arg1
);
9053 wxPyEndAllowThreads(__tstate
);
9054 if (PyErr_Occurred()) return NULL
;
9056 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9057 _resultobj
= Py_BuildValue("s",_ptemp
);
9060 _resultobj
= Py_None
;
9069 #define wxMimeTypesManager_GetFileTypeFromMimeType(_swigobj,_swigarg0) (_swigobj->GetFileTypeFromMimeType(_swigarg0))
9070 static PyObject
*_wrap_wxMimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
* _resultobj
;
9072 wxFileType
* _result
;
9073 wxMimeTypesManager
* _arg0
;
9075 PyObject
* _argo0
= 0;
9076 PyObject
* _obj1
= 0;
9077 char *_kwnames
[] = { "self","mimeType", NULL
};
9081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_GetFileTypeFromMimeType",_kwnames
,&_argo0
,&_obj1
))
9084 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9085 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9086 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_GetFileTypeFromMimeType. Expected _wxMimeTypesManager_p.");
9091 _arg1
= wxString_in_helper(_obj1
);
9096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9097 _result
= (wxFileType
*)wxMimeTypesManager_GetFileTypeFromMimeType(_arg0
,*_arg1
);
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) return NULL
;
9102 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9103 _resultobj
= Py_BuildValue("s",_ptemp
);
9106 _resultobj
= Py_None
;
9115 #define wxMimeTypesManager_ReadMailcap(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadMailcap(_swigarg0,_swigarg1))
9116 static PyObject
*_wrap_wxMimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9117 PyObject
* _resultobj
;
9119 wxMimeTypesManager
* _arg0
;
9121 bool _arg2
= (bool ) FALSE
;
9122 PyObject
* _argo0
= 0;
9123 PyObject
* _obj1
= 0;
9124 int tempbool2
= (int) FALSE
;
9125 char *_kwnames
[] = { "self","filename","fallback", NULL
};
9128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxMimeTypesManager_ReadMailcap",_kwnames
,&_argo0
,&_obj1
,&tempbool2
))
9131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMailcap. Expected _wxMimeTypesManager_p.");
9138 _arg1
= wxString_in_helper(_obj1
);
9142 _arg2
= (bool ) tempbool2
;
9144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9145 _result
= (bool )wxMimeTypesManager_ReadMailcap(_arg0
,*_arg1
,_arg2
);
9147 wxPyEndAllowThreads(__tstate
);
9148 if (PyErr_Occurred()) return NULL
;
9149 } _resultobj
= Py_BuildValue("i",_result
);
9157 #define wxMimeTypesManager_ReadMimeTypes(_swigobj,_swigarg0) (_swigobj->ReadMimeTypes(_swigarg0))
9158 static PyObject
*_wrap_wxMimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9159 PyObject
* _resultobj
;
9161 wxMimeTypesManager
* _arg0
;
9163 PyObject
* _argo0
= 0;
9164 PyObject
* _obj1
= 0;
9165 char *_kwnames
[] = { "self","filename", NULL
};
9168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_ReadMimeTypes",_kwnames
,&_argo0
,&_obj1
))
9171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_ReadMimeTypes. Expected _wxMimeTypesManager_p.");
9178 _arg1
= wxString_in_helper(_obj1
);
9183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9184 _result
= (bool )wxMimeTypesManager_ReadMimeTypes(_arg0
,*_arg1
);
9186 wxPyEndAllowThreads(__tstate
);
9187 if (PyErr_Occurred()) return NULL
;
9188 } _resultobj
= Py_BuildValue("i",_result
);
9196 static PyObject
* wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
) {
9198 self
->EnumAllFileTypes(arr
);
9199 return wxArrayString2PyList_helper(arr
);
9201 static PyObject
*_wrap_wxMimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9202 PyObject
* _resultobj
;
9204 wxMimeTypesManager
* _arg0
;
9205 PyObject
* _argo0
= 0;
9206 char *_kwnames
[] = { "self", NULL
};
9209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxMimeTypesManager_EnumAllFileTypes",_kwnames
,&_argo0
))
9212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_EnumAllFileTypes. Expected _wxMimeTypesManager_p.");
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 _result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(_arg0
);
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) return NULL
;
9225 _resultobj
= _result
;
9230 #define wxMimeTypesManager_AddFallback(_swigobj,_swigarg0) (_swigobj->AddFallback(_swigarg0))
9231 static PyObject
*_wrap_wxMimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9232 PyObject
* _resultobj
;
9233 wxMimeTypesManager
* _arg0
;
9234 wxFileTypeInfo
* _arg1
;
9235 PyObject
* _argo0
= 0;
9236 PyObject
* _argo1
= 0;
9237 char *_kwnames
[] = { "self","ft", NULL
};
9240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_AddFallback",_kwnames
,&_argo0
,&_argo1
))
9243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_AddFallback. Expected _wxMimeTypesManager_p.");
9250 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9251 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_AddFallback. Expected _wxFileTypeInfo_p.");
9257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 wxMimeTypesManager_AddFallback(_arg0
,*_arg1
);
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) return NULL
;
9262 } Py_INCREF(Py_None
);
9263 _resultobj
= Py_None
;
9267 #define wxMimeTypesManager_Associate(_swigobj,_swigarg0) (_swigobj->Associate(_swigarg0))
9268 static PyObject
*_wrap_wxMimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9269 PyObject
* _resultobj
;
9270 wxFileType
* _result
;
9271 wxMimeTypesManager
* _arg0
;
9272 wxFileTypeInfo
* _arg1
;
9273 PyObject
* _argo0
= 0;
9274 PyObject
* _argo1
= 0;
9275 char *_kwnames
[] = { "self","ftInfo", NULL
};
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Associate",_kwnames
,&_argo0
,&_argo1
))
9282 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9283 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Associate. Expected _wxMimeTypesManager_p.");
9289 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9290 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileTypeInfo_p")) {
9291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Associate. Expected _wxFileTypeInfo_p.");
9296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9297 _result
= (wxFileType
*)wxMimeTypesManager_Associate(_arg0
,*_arg1
);
9299 wxPyEndAllowThreads(__tstate
);
9300 if (PyErr_Occurred()) return NULL
;
9302 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileType_p");
9303 _resultobj
= Py_BuildValue("s",_ptemp
);
9306 _resultobj
= Py_None
;
9311 #define wxMimeTypesManager_Unassociate(_swigobj,_swigarg0) (_swigobj->Unassociate(_swigarg0))
9312 static PyObject
*_wrap_wxMimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9313 PyObject
* _resultobj
;
9315 wxMimeTypesManager
* _arg0
;
9317 PyObject
* _argo0
= 0;
9318 PyObject
* _argo1
= 0;
9319 char *_kwnames
[] = { "self","ft", NULL
};
9322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxMimeTypesManager_Unassociate",_kwnames
,&_argo0
,&_argo1
))
9325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxMimeTypesManager_Unassociate. Expected _wxMimeTypesManager_p.");
9332 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9333 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxFileType_p")) {
9334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxMimeTypesManager_Unassociate. Expected _wxFileType_p.");
9339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9340 _result
= (bool )wxMimeTypesManager_Unassociate(_arg0
,_arg1
);
9342 wxPyEndAllowThreads(__tstate
);
9343 if (PyErr_Occurred()) return NULL
;
9344 } _resultobj
= Py_BuildValue("i",_result
);
9348 #define delete_wxMimeTypesManager(_swigobj) (delete _swigobj)
9349 static PyObject
*_wrap_delete_wxMimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9350 PyObject
* _resultobj
;
9351 wxMimeTypesManager
* _arg0
;
9352 PyObject
* _argo0
= 0;
9353 char *_kwnames
[] = { "self", NULL
};
9356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMimeTypesManager",_kwnames
,&_argo0
))
9359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMimeTypesManager_p")) {
9361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMimeTypesManager. Expected _wxMimeTypesManager_p.");
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9367 delete_wxMimeTypesManager(_arg0
);
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) return NULL
;
9371 } Py_INCREF(Py_None
);
9372 _resultobj
= Py_None
;
9376 static void *SwigwxFileHistoryTowxObject(void *ptr
) {
9379 src
= (wxFileHistory
*) ptr
;
9380 dest
= (wxObject
*) src
;
9381 return (void *) dest
;
9384 #define new_wxFileHistory(_swigarg0) (new wxFileHistory(_swigarg0))
9385 static PyObject
*_wrap_new_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9386 PyObject
* _resultobj
;
9387 wxFileHistory
* _result
;
9388 int _arg0
= (int ) 9;
9389 char *_kwnames
[] = { "maxFiles", NULL
};
9393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxFileHistory",_kwnames
,&_arg0
))
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 _result
= (wxFileHistory
*)new_wxFileHistory(_arg0
);
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) return NULL
;
9402 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFileHistory_p");
9403 _resultobj
= Py_BuildValue("s",_ptemp
);
9406 _resultobj
= Py_None
;
9411 #define delete_wxFileHistory(_swigobj) (delete _swigobj)
9412 static PyObject
*_wrap_delete_wxFileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9413 PyObject
* _resultobj
;
9414 wxFileHistory
* _arg0
;
9415 PyObject
* _argo0
= 0;
9416 char *_kwnames
[] = { "self", NULL
};
9419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFileHistory",_kwnames
,&_argo0
))
9422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFileHistory. Expected _wxFileHistory_p.");
9429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9430 delete_wxFileHistory(_arg0
);
9432 wxPyEndAllowThreads(__tstate
);
9433 if (PyErr_Occurred()) return NULL
;
9434 } Py_INCREF(Py_None
);
9435 _resultobj
= Py_None
;
9439 #define wxFileHistory_AddFileToHistory(_swigobj,_swigarg0) (_swigobj->AddFileToHistory(_swigarg0))
9440 static PyObject
*_wrap_wxFileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9441 PyObject
* _resultobj
;
9442 wxFileHistory
* _arg0
;
9444 PyObject
* _argo0
= 0;
9445 PyObject
* _obj1
= 0;
9446 char *_kwnames
[] = { "self","file", NULL
};
9449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFileToHistory",_kwnames
,&_argo0
,&_obj1
))
9452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFileToHistory. Expected _wxFileHistory_p.");
9459 _arg1
= wxString_in_helper(_obj1
);
9464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9465 wxFileHistory_AddFileToHistory(_arg0
,*_arg1
);
9467 wxPyEndAllowThreads(__tstate
);
9468 if (PyErr_Occurred()) return NULL
;
9469 } Py_INCREF(Py_None
);
9470 _resultobj
= Py_None
;
9478 #define wxFileHistory_RemoveFileFromHistory(_swigobj,_swigarg0) (_swigobj->RemoveFileFromHistory(_swigarg0))
9479 static PyObject
*_wrap_wxFileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9480 PyObject
* _resultobj
;
9481 wxFileHistory
* _arg0
;
9483 PyObject
* _argo0
= 0;
9484 char *_kwnames
[] = { "self","i", NULL
};
9487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_RemoveFileFromHistory",_kwnames
,&_argo0
,&_arg1
))
9490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveFileFromHistory. Expected _wxFileHistory_p.");
9497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9498 wxFileHistory_RemoveFileFromHistory(_arg0
,_arg1
);
9500 wxPyEndAllowThreads(__tstate
);
9501 if (PyErr_Occurred()) return NULL
;
9502 } Py_INCREF(Py_None
);
9503 _resultobj
= Py_None
;
9507 #define wxFileHistory_GetMaxFiles(_swigobj) (_swigobj->GetMaxFiles())
9508 static PyObject
*_wrap_wxFileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9509 PyObject
* _resultobj
;
9511 wxFileHistory
* _arg0
;
9512 PyObject
* _argo0
= 0;
9513 char *_kwnames
[] = { "self", NULL
};
9516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetMaxFiles",_kwnames
,&_argo0
))
9519 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9520 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9521 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetMaxFiles. Expected _wxFileHistory_p.");
9526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9527 _result
= (int )wxFileHistory_GetMaxFiles(_arg0
);
9529 wxPyEndAllowThreads(__tstate
);
9530 if (PyErr_Occurred()) return NULL
;
9531 } _resultobj
= Py_BuildValue("i",_result
);
9535 #define wxFileHistory_UseMenu(_swigobj,_swigarg0) (_swigobj->UseMenu(_swigarg0))
9536 static PyObject
*_wrap_wxFileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
* _resultobj
;
9538 wxFileHistory
* _arg0
;
9540 PyObject
* _argo0
= 0;
9541 PyObject
* _argo1
= 0;
9542 char *_kwnames
[] = { "self","menu", NULL
};
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_UseMenu",_kwnames
,&_argo0
,&_argo1
))
9548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_UseMenu. Expected _wxFileHistory_p.");
9555 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9556 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_UseMenu. Expected _wxMenu_p.");
9562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9563 wxFileHistory_UseMenu(_arg0
,_arg1
);
9565 wxPyEndAllowThreads(__tstate
);
9566 if (PyErr_Occurred()) return NULL
;
9567 } Py_INCREF(Py_None
);
9568 _resultobj
= Py_None
;
9572 #define wxFileHistory_RemoveMenu(_swigobj,_swigarg0) (_swigobj->RemoveMenu(_swigarg0))
9573 static PyObject
*_wrap_wxFileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9574 PyObject
* _resultobj
;
9575 wxFileHistory
* _arg0
;
9577 PyObject
* _argo0
= 0;
9578 PyObject
* _argo1
= 0;
9579 char *_kwnames
[] = { "self","menu", NULL
};
9582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_RemoveMenu",_kwnames
,&_argo0
,&_argo1
))
9585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_RemoveMenu. Expected _wxFileHistory_p.");
9592 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9593 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_RemoveMenu. Expected _wxMenu_p.");
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 wxFileHistory_RemoveMenu(_arg0
,_arg1
);
9602 wxPyEndAllowThreads(__tstate
);
9603 if (PyErr_Occurred()) return NULL
;
9604 } Py_INCREF(Py_None
);
9605 _resultobj
= Py_None
;
9609 #define wxFileHistory_Load(_swigobj,_swigarg0) (_swigobj->Load(_swigarg0))
9610 static PyObject
*_wrap_wxFileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9611 PyObject
* _resultobj
;
9612 wxFileHistory
* _arg0
;
9613 wxConfigBase
* _arg1
;
9614 PyObject
* _argo0
= 0;
9615 PyObject
* _argo1
= 0;
9616 char *_kwnames
[] = { "self","config", NULL
};
9619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Load",_kwnames
,&_argo0
,&_argo1
))
9622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_Load. Expected _wxFileHistory_p.");
9629 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9630 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Load. Expected _wxConfigBase_p.");
9636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9637 wxFileHistory_Load(_arg0
,*_arg1
);
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) return NULL
;
9641 } Py_INCREF(Py_None
);
9642 _resultobj
= Py_None
;
9646 #define wxFileHistory_Save(_swigobj,_swigarg0) (_swigobj->Save(_swigarg0))
9647 static PyObject
*_wrap_wxFileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
* _resultobj
;
9649 wxFileHistory
* _arg0
;
9650 wxConfigBase
* _arg1
;
9651 PyObject
* _argo0
= 0;
9652 PyObject
* _argo1
= 0;
9653 char *_kwnames
[] = { "self","config", NULL
};
9656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_Save",_kwnames
,&_argo0
,&_argo1
))
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_Save. Expected _wxFileHistory_p.");
9666 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9667 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxConfigBase_p")) {
9668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_Save. Expected _wxConfigBase_p.");
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 wxFileHistory_Save(_arg0
,*_arg1
);
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) return NULL
;
9678 } Py_INCREF(Py_None
);
9679 _resultobj
= Py_None
;
9683 #define wxFileHistory_AddFilesToMenu(_swigobj) (_swigobj->AddFilesToMenu())
9684 static PyObject
*_wrap_wxFileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
* _resultobj
;
9686 wxFileHistory
* _arg0
;
9687 PyObject
* _argo0
= 0;
9688 char *_kwnames
[] = { "self", NULL
};
9691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_AddFilesToMenu",_kwnames
,&_argo0
))
9694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToMenu. Expected _wxFileHistory_p.");
9701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9702 wxFileHistory_AddFilesToMenu(_arg0
);
9704 wxPyEndAllowThreads(__tstate
);
9705 if (PyErr_Occurred()) return NULL
;
9706 } Py_INCREF(Py_None
);
9707 _resultobj
= Py_None
;
9711 #define wxFileHistory_AddFilesToThisMenu(_swigobj,_swigarg0) (_swigobj->AddFilesToMenu(_swigarg0))
9712 static PyObject
*_wrap_wxFileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
* _resultobj
;
9714 wxFileHistory
* _arg0
;
9716 PyObject
* _argo0
= 0;
9717 PyObject
* _argo1
= 0;
9718 char *_kwnames
[] = { "self","menu", NULL
};
9721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxFileHistory_AddFilesToThisMenu",_kwnames
,&_argo0
,&_argo1
))
9724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_AddFilesToThisMenu. Expected _wxFileHistory_p.");
9731 if (_argo1
== Py_None
) { _arg1
= NULL
; }
9732 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxMenu_p")) {
9733 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFileHistory_AddFilesToThisMenu. Expected _wxMenu_p.");
9738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9739 wxFileHistory_AddFilesToThisMenu(_arg0
,_arg1
);
9741 wxPyEndAllowThreads(__tstate
);
9742 if (PyErr_Occurred()) return NULL
;
9743 } Py_INCREF(Py_None
);
9744 _resultobj
= Py_None
;
9748 #define wxFileHistory_GetHistoryFile(_swigobj,_swigarg0) (_swigobj->GetHistoryFile(_swigarg0))
9749 static PyObject
*_wrap_wxFileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9750 PyObject
* _resultobj
;
9752 wxFileHistory
* _arg0
;
9754 PyObject
* _argo0
= 0;
9755 char *_kwnames
[] = { "self","i", NULL
};
9758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxFileHistory_GetHistoryFile",_kwnames
,&_argo0
,&_arg1
))
9761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetHistoryFile. Expected _wxFileHistory_p.");
9768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9769 _result
= new wxString (wxFileHistory_GetHistoryFile(_arg0
,_arg1
));
9771 wxPyEndAllowThreads(__tstate
);
9772 if (PyErr_Occurred()) return NULL
;
9775 _resultobj
= PyUnicode_FromUnicode(_result
->c_str(), _result
->Len());
9777 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
9786 #define wxFileHistory_GetCount(_swigobj) (_swigobj->GetCount())
9787 static PyObject
*_wrap_wxFileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9788 PyObject
* _resultobj
;
9790 wxFileHistory
* _arg0
;
9791 PyObject
* _argo0
= 0;
9792 char *_kwnames
[] = { "self", NULL
};
9795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetCount",_kwnames
,&_argo0
))
9798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetCount. Expected _wxFileHistory_p.");
9805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9806 _result
= (int )wxFileHistory_GetCount(_arg0
);
9808 wxPyEndAllowThreads(__tstate
);
9809 if (PyErr_Occurred()) return NULL
;
9810 } _resultobj
= Py_BuildValue("i",_result
);
9814 #define wxFileHistory_GetNoHistoryFiles(_swigobj) (_swigobj->GetNoHistoryFiles())
9815 static PyObject
*_wrap_wxFileHistory_GetNoHistoryFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
* _resultobj
;
9818 wxFileHistory
* _arg0
;
9819 PyObject
* _argo0
= 0;
9820 char *_kwnames
[] = { "self", NULL
};
9823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFileHistory_GetNoHistoryFiles",_kwnames
,&_argo0
))
9826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
9827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFileHistory_p")) {
9828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFileHistory_GetNoHistoryFiles. Expected _wxFileHistory_p.");
9833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9834 _result
= (int )wxFileHistory_GetNoHistoryFiles(_arg0
);
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) return NULL
;
9838 } _resultobj
= Py_BuildValue("i",_result
);
9842 static PyMethodDef misc2cMethods
[] = {
9843 { "wxFileHistory_GetNoHistoryFiles", (PyCFunction
) _wrap_wxFileHistory_GetNoHistoryFiles
, METH_VARARGS
| METH_KEYWORDS
},
9844 { "wxFileHistory_GetCount", (PyCFunction
) _wrap_wxFileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
9845 { "wxFileHistory_GetHistoryFile", (PyCFunction
) _wrap_wxFileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
9846 { "wxFileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
9847 { "wxFileHistory_AddFilesToMenu", (PyCFunction
) _wrap_wxFileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
9848 { "wxFileHistory_Save", (PyCFunction
) _wrap_wxFileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
9849 { "wxFileHistory_Load", (PyCFunction
) _wrap_wxFileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
9850 { "wxFileHistory_RemoveMenu", (PyCFunction
) _wrap_wxFileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
9851 { "wxFileHistory_UseMenu", (PyCFunction
) _wrap_wxFileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
9852 { "wxFileHistory_GetMaxFiles", (PyCFunction
) _wrap_wxFileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
9853 { "wxFileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_wxFileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
9854 { "wxFileHistory_AddFileToHistory", (PyCFunction
) _wrap_wxFileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
9855 { "delete_wxFileHistory", (PyCFunction
) _wrap_delete_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
9856 { "new_wxFileHistory", (PyCFunction
) _wrap_new_wxFileHistory
, METH_VARARGS
| METH_KEYWORDS
},
9857 { "delete_wxMimeTypesManager", (PyCFunction
) _wrap_delete_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
9858 { "wxMimeTypesManager_Unassociate", (PyCFunction
) _wrap_wxMimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
9859 { "wxMimeTypesManager_Associate", (PyCFunction
) _wrap_wxMimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
9860 { "wxMimeTypesManager_AddFallback", (PyCFunction
) _wrap_wxMimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
9861 { "wxMimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_wxMimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
9862 { "wxMimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
9863 { "wxMimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_wxMimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
9864 { "wxMimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9865 { "wxMimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_wxMimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
9866 { "wxMimeTypesManager_ClearData", (PyCFunction
) _wrap_wxMimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
9867 { "wxMimeTypesManager_Initialize", (PyCFunction
) _wrap_wxMimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
9868 { "new_wxMimeTypesManager", (PyCFunction
) _wrap_new_wxMimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
9869 { "wxMimeTypesManager_IsOfType", (PyCFunction
) _wrap_wxMimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
9870 { "delete_wxFileType", (PyCFunction
) _wrap_delete_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
9871 { "wxFileType_ExpandCommand", (PyCFunction
) _wrap_wxFileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
9872 { "wxFileType_Unassociate", (PyCFunction
) _wrap_wxFileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
9873 { "wxFileType_SetDefaultIcon", (PyCFunction
) _wrap_wxFileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
9874 { "wxFileType_SetCommand", (PyCFunction
) _wrap_wxFileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
9875 { "wxFileType_GetAllCommands", (PyCFunction
) _wrap_wxFileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
9876 { "wxFileType_GetPrintCommand", (PyCFunction
) _wrap_wxFileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
9877 { "wxFileType_GetOpenCommand", (PyCFunction
) _wrap_wxFileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
9878 { "wxFileType_GetDescription", (PyCFunction
) _wrap_wxFileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
9879 { "wxFileType_GetIconInfo", (PyCFunction
) _wrap_wxFileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
9880 { "wxFileType_GetIcon", (PyCFunction
) _wrap_wxFileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
9881 { "wxFileType_GetExtensions", (PyCFunction
) _wrap_wxFileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
9882 { "wxFileType_GetMimeTypes", (PyCFunction
) _wrap_wxFileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
9883 { "wxFileType_GetMimeType", (PyCFunction
) _wrap_wxFileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9884 { "new_wxFileType", (PyCFunction
) _wrap_new_wxFileType
, METH_VARARGS
| METH_KEYWORDS
},
9885 { "wxFileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
9886 { "wxFileTypeInfo_GetIconFile", (PyCFunction
) _wrap_wxFileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
9887 { "wxFileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
9888 { "wxFileTypeInfo_GetExtensions", (PyCFunction
) _wrap_wxFileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
9889 { "wxFileTypeInfo_GetDescription", (PyCFunction
) _wrap_wxFileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
9890 { "wxFileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
9891 { "wxFileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
9892 { "wxFileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_wxFileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
9893 { "wxFileTypeInfo_GetMimeType", (PyCFunction
) _wrap_wxFileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
9894 { "wxFileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_wxFileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
9895 { "wxFileTypeInfo_SetIcon", (PyCFunction
) _wrap_wxFileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
9896 { "wxFileTypeInfo_IsValid", (PyCFunction
) _wrap_wxFileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
9897 { "new_wxNullFileTypeInfo", (PyCFunction
) _wrap_new_wxNullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
9898 { "new_wxFileTypeInfoSequence", (PyCFunction
) _wrap_new_wxFileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
9899 { "new_wxFileTypeInfo", (PyCFunction
) _wrap_new_wxFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
9900 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
9901 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9902 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
9903 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
9904 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
9905 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
9906 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
9907 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
9908 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
9909 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
9910 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
9911 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
9912 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
9913 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
9914 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
9915 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
9916 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
9917 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
9918 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
9919 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
9920 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
9921 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
9922 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
9923 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
9924 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
9925 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
9926 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
9927 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
9928 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
9929 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
9930 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
9931 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
9932 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
9933 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
9934 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
9935 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
9936 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
9937 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
9938 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
9939 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
9940 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
9941 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
9942 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
9943 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
9944 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
9945 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
9946 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
9947 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
9948 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
9949 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
9950 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
9951 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
9952 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
9953 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
9954 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
9955 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
9956 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9957 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9958 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
9959 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
9960 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
9961 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
9962 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
9963 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
9964 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
9965 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
9966 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
9967 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
9968 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
9969 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
9970 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9971 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
9972 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
9973 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
9974 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
9975 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
9976 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
9977 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
9978 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
9979 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
9980 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
9981 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
9982 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
9983 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
9984 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
9985 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
9986 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9987 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9988 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
9989 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
9990 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
9991 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
9992 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9993 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9994 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
9995 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
9996 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
9997 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
9998 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
9999 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10000 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
10001 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
10002 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
10003 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
10004 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
10005 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
10006 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
10007 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
10008 { "wxStopWatch_Time", (PyCFunction
) _wrap_wxStopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
10009 { "wxStopWatch_Resume", (PyCFunction
) _wrap_wxStopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
10010 { "wxStopWatch_Pause", (PyCFunction
) _wrap_wxStopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
10011 { "wxStopWatch_Start", (PyCFunction
) _wrap_wxStopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
10012 { "delete_wxStopWatch", (PyCFunction
) _wrap_delete_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10013 { "new_wxStopWatch", (PyCFunction
) _wrap_new_wxStopWatch
, METH_VARARGS
| METH_KEYWORDS
},
10014 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
10015 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
10016 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
10017 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
10018 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
10019 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
10020 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10021 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
10022 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
10023 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
10024 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10025 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
10026 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
10027 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
10028 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
10029 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
10030 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10031 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10032 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
10033 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
10034 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
10035 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
10036 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
10037 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10038 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
10039 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10040 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10041 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10042 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
10043 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10044 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
10045 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10046 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10047 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
10048 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
10049 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
10050 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
10051 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
10052 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
10053 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10054 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
10055 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
10056 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
10057 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
10058 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
10059 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
10060 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10061 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
10062 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
10063 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
10064 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
10065 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
10066 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
10067 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
10068 { "wxSystemSettings_HasFeature", (PyCFunction
) _wrap_wxSystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
10069 { "wxSystemSettings_GetMetric", (PyCFunction
) _wrap_wxSystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
10070 { "wxSystemSettings_GetFont", (PyCFunction
) _wrap_wxSystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
10071 { "wxSystemSettings_GetColour", (PyCFunction
) _wrap_wxSystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
10072 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
10073 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
10074 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
10075 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
10076 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
10077 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
10078 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
10079 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
10080 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
10081 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
10082 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
10083 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
10084 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
10085 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
10086 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
10087 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
10088 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
10089 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
10090 { "wxWakeUpMainThread", (PyCFunction
) _wrap_wxWakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
10091 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
10092 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
10093 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
10094 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10095 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
10096 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
10097 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
10098 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
10099 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10100 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
10101 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
10102 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
10103 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
10104 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
10105 { "wxFlushEvents", (PyCFunction
) _wrap_wxFlushEvents
, METH_VARARGS
| METH_KEYWORDS
},
10106 { "wxCheckForInterrupt", (PyCFunction
) _wrap_wxCheckForInterrupt
, METH_VARARGS
| METH_KEYWORDS
},
10107 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10108 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
10109 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
10110 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
10111 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
10112 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
10113 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
10114 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10115 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
10116 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10117 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
10118 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10119 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
10120 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10121 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
10122 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
10123 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10124 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
10125 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
10126 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
10127 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10128 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
10129 { "wxDirSelector", (PyCFunction
) _wrap_wxDirSelector
, METH_VARARGS
| METH_KEYWORDS
},
10130 { "wxSaveFileSelector", (PyCFunction
) _wrap_wxSaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10131 { "wxLoadFileSelector", (PyCFunction
) _wrap_wxLoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10132 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
10139 * This table is used by the pointer type-checker
10141 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
10142 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
10143 { "_signed_long","_long",0},
10144 { "_wxPrintQuality","_wxCoord",0},
10145 { "_wxPrintQuality","_int",0},
10146 { "_wxPrintQuality","_signed_int",0},
10147 { "_wxPrintQuality","_unsigned_int",0},
10148 { "_wxPrintQuality","_wxWindowID",0},
10149 { "_wxPrintQuality","_uint",0},
10150 { "_wxPrintQuality","_EBool",0},
10151 { "_wxPrintQuality","_size_t",0},
10152 { "_wxPrintQuality","_time_t",0},
10153 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
10154 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
10155 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
10156 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
10157 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
10158 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
10159 { "_byte","_unsigned_char",0},
10160 { "_long","_unsigned_long",0},
10161 { "_long","_signed_long",0},
10162 { "_size_t","_wxCoord",0},
10163 { "_size_t","_wxPrintQuality",0},
10164 { "_size_t","_time_t",0},
10165 { "_size_t","_unsigned_int",0},
10166 { "_size_t","_int",0},
10167 { "_size_t","_wxWindowID",0},
10168 { "_size_t","_uint",0},
10169 { "_uint","_wxCoord",0},
10170 { "_uint","_wxPrintQuality",0},
10171 { "_uint","_time_t",0},
10172 { "_uint","_size_t",0},
10173 { "_uint","_unsigned_int",0},
10174 { "_uint","_int",0},
10175 { "_uint","_wxWindowID",0},
10176 { "_wxChar","_char",0},
10177 { "_char","_wxChar",0},
10178 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
10179 { "_EBool","_wxCoord",0},
10180 { "_EBool","_wxPrintQuality",0},
10181 { "_EBool","_signed_int",0},
10182 { "_EBool","_int",0},
10183 { "_EBool","_wxWindowID",0},
10184 { "_unsigned_long","_long",0},
10185 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
10186 { "_signed_int","_wxCoord",0},
10187 { "_signed_int","_wxPrintQuality",0},
10188 { "_signed_int","_EBool",0},
10189 { "_signed_int","_wxWindowID",0},
10190 { "_signed_int","_int",0},
10191 { "_WXTYPE","_wxDateTime_t",0},
10192 { "_WXTYPE","_short",0},
10193 { "_WXTYPE","_signed_short",0},
10194 { "_WXTYPE","_unsigned_short",0},
10195 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
10196 { "_unsigned_short","_wxDateTime_t",0},
10197 { "_unsigned_short","_WXTYPE",0},
10198 { "_unsigned_short","_short",0},
10199 { "_wxObject","_wxFileHistory",SwigwxFileHistoryTowxObject
},
10200 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
10201 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
10202 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
10203 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
10204 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
10205 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
10206 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
10207 { "_signed_short","_WXTYPE",0},
10208 { "_signed_short","_short",0},
10209 { "_unsigned_char","_byte",0},
10210 { "_unsigned_int","_wxCoord",0},
10211 { "_unsigned_int","_wxPrintQuality",0},
10212 { "_unsigned_int","_time_t",0},
10213 { "_unsigned_int","_size_t",0},
10214 { "_unsigned_int","_uint",0},
10215 { "_unsigned_int","_wxWindowID",0},
10216 { "_unsigned_int","_int",0},
10217 { "_short","_wxDateTime_t",0},
10218 { "_short","_WXTYPE",0},
10219 { "_short","_unsigned_short",0},
10220 { "_short","_signed_short",0},
10221 { "_wxWindowID","_wxCoord",0},
10222 { "_wxWindowID","_wxPrintQuality",0},
10223 { "_wxWindowID","_time_t",0},
10224 { "_wxWindowID","_size_t",0},
10225 { "_wxWindowID","_EBool",0},
10226 { "_wxWindowID","_uint",0},
10227 { "_wxWindowID","_int",0},
10228 { "_wxWindowID","_signed_int",0},
10229 { "_wxWindowID","_unsigned_int",0},
10230 { "_int","_wxCoord",0},
10231 { "_int","_wxPrintQuality",0},
10232 { "_int","_time_t",0},
10233 { "_int","_size_t",0},
10234 { "_int","_EBool",0},
10235 { "_int","_uint",0},
10236 { "_int","_wxWindowID",0},
10237 { "_int","_unsigned_int",0},
10238 { "_int","_signed_int",0},
10239 { "_wxDateTime_t","_unsigned_short",0},
10240 { "_wxDateTime_t","_short",0},
10241 { "_wxDateTime_t","_WXTYPE",0},
10242 { "_time_t","_wxCoord",0},
10243 { "_time_t","_wxPrintQuality",0},
10244 { "_time_t","_unsigned_int",0},
10245 { "_time_t","_int",0},
10246 { "_time_t","_wxWindowID",0},
10247 { "_time_t","_uint",0},
10248 { "_time_t","_size_t",0},
10249 { "_wxCoord","_int",0},
10250 { "_wxCoord","_signed_int",0},
10251 { "_wxCoord","_unsigned_int",0},
10252 { "_wxCoord","_wxWindowID",0},
10253 { "_wxCoord","_uint",0},
10254 { "_wxCoord","_EBool",0},
10255 { "_wxCoord","_size_t",0},
10256 { "_wxCoord","_time_t",0},
10257 { "_wxCoord","_wxPrintQuality",0},
10258 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
10261 static PyObject
*SWIG_globals
;
10265 SWIGEXPORT(void) initmisc2c() {
10267 SWIG_globals
= SWIG_newvarlink();
10268 m
= Py_InitModule("misc2c", misc2cMethods
);
10269 d
= PyModule_GetDict(m
);
10270 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
10271 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
10272 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
10273 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
10274 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
10275 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
10276 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
10277 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
10278 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
10279 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
10280 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
10281 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
10282 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
10283 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
10284 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
10285 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
10286 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
10287 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
10288 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
10289 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
10290 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
10291 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
10292 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
10293 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
10294 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
10295 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
10296 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
10297 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
10298 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
10299 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
10300 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
10301 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
10302 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
10303 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
10304 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
10305 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
10306 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
10307 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
10308 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
10309 PyDict_SetItemString(d
,"wxSYS_COLOUR_LISTBOX", PyInt_FromLong((long) wxSYS_COLOUR_LISTBOX
));
10310 PyDict_SetItemString(d
,"wxSYS_COLOUR_HOTLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HOTLIGHT
));
10311 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
10312 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRADIENTINACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
10313 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_MENUHILIGHT
));
10314 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUBAR", PyInt_FromLong((long) wxSYS_COLOUR_MENUBAR
));
10315 PyDict_SetItemString(d
,"wxSYS_COLOUR_MAX", PyInt_FromLong((long) wxSYS_COLOUR_MAX
));
10316 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
10317 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
10318 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
10319 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
10320 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
10321 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
10322 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
10323 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
10324 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
10325 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
10326 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
10327 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
10328 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
10329 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
10330 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
10331 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
10332 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
10333 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
10334 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
10335 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
10336 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
10337 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
10338 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
10339 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
10340 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
10341 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
10342 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
10343 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
10344 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
10345 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
10346 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
10347 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
10348 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
10349 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
10350 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
10351 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
10352 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
10353 PyDict_SetItemString(d
,"wxSYS_CAN_DRAW_FRAME_DECORATIONS", PyInt_FromLong((long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
10354 PyDict_SetItemString(d
,"wxSYS_CAN_ICONIZE_FRAME", PyInt_FromLong((long) wxSYS_CAN_ICONIZE_FRAME
));
10355 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
10356 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
10357 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
10358 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
10359 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
10360 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
10361 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
10362 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
10363 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
10364 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
10365 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
10366 PyDict_SetItemString(d
,"wxEXEC_ASYNC", PyInt_FromLong((long) wxEXEC_ASYNC
));
10367 PyDict_SetItemString(d
,"wxEXEC_SYNC", PyInt_FromLong((long) wxEXEC_SYNC
));
10368 PyDict_SetItemString(d
,"wxEXEC_NOHIDE", PyInt_FromLong((long) wxEXEC_NOHIDE
));
10369 PyDict_SetItemString(d
,"wxEXEC_MAKE_GROUP_LEADER", PyInt_FromLong((long) wxEXEC_MAKE_GROUP_LEADER
));
10370 PyDict_SetItemString(d
,"wxMAILCAP_STANDARD", PyInt_FromLong((long) wxMAILCAP_STANDARD
));
10371 PyDict_SetItemString(d
,"wxMAILCAP_NETSCAPE", PyInt_FromLong((long) wxMAILCAP_NETSCAPE
));
10372 PyDict_SetItemString(d
,"wxMAILCAP_KDE", PyInt_FromLong((long) wxMAILCAP_KDE
));
10373 PyDict_SetItemString(d
,"wxMAILCAP_GNOME", PyInt_FromLong((long) wxMAILCAP_GNOME
));
10374 PyDict_SetItemString(d
,"wxMAILCAP_ALL", PyInt_FromLong((long) wxMAILCAP_ALL
));
10375 PyDict_SetItemString(d
,"cvar", SWIG_globals
);
10376 SWIG_addvarlink(SWIG_globals
,"wxTheMimeTypesManager",_wrap_wxTheMimeTypesManager_get
, _wrap_wxTheMimeTypesManager_set
);
10378 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
10379 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
10382 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
10383 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);