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 <wx/resource.h>
60 #include <wx/tooltip.h>
62 #include <wx/fontenum.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__)
75 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
81 } else if (target
== Py_None
) {
85 if (!PyTuple_Check(target
)) {
87 target
= PyTuple_New(1);
88 PyTuple_SetItem(target
, 0, o2
);
91 PyTuple_SetItem(o3
, 0, o
);
94 target
= PySequence_Concat(o2
, o3
);
101 #if PYTHON_API_VERSION >= 1009
102 static char* wxStringErrorMsg
= "String or Unicode type required";
104 static char* wxStringErrorMsg
= "string type is required for parameter";
107 static wxString
wxPyEmptyStr("");
110 wxColour
wxSystemSettings_GetSystemColour(int index
) {
111 return wxSystemSettings::GetSystemColour(index
);
114 wxFont
wxSystemSettings_GetSystemFont(int index
) {
115 return wxSystemSettings::GetSystemFont(index
);
118 int wxSystemSettings_GetSystemMetric(int index
) {
119 return wxSystemSettings::GetSystemMetric(index
);
122 void wxToolTip_Enable(bool flag
) {
123 wxToolTip::Enable(flag
);
126 void wxToolTip_SetDelay(long milliseconds
) {
127 wxToolTip::SetDelay(milliseconds
);
130 int wxCaret_GetBlinkTime() {
131 return wxCaret::GetBlinkTime();
134 void wxCaret_SetBlinkTime(int milliseconds
) {
135 wxCaret::SetBlinkTime(milliseconds
);
138 class wxPyFontEnumerator
: public wxFontEnumerator
{
140 wxPyFontEnumerator() {}
141 ~wxPyFontEnumerator() {}
143 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
144 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
149 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
150 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
153 bool wxThread_IsMain() {
154 return wxThread::IsMain();
157 class wxPyTipProvider
: public wxTipProvider
{
159 wxPyTipProvider(size_t currentTip
)
160 : wxTipProvider(currentTip
) {}
162 DEC_PYCALLBACK_STRING__pure(GetTip
);
167 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
170 #include <wx/generic/dragimgg.h>
173 wxGenericDragImage
* wxDragIcon(const wxIcon
& image
,
174 const wxCursor
& cursor
) {
175 return new wxGenericDragImage(image
, cursor
);
178 wxGenericDragImage
* wxDragString(const wxString
& str
,
179 const wxCursor
& cursor
) {
180 return new wxGenericDragImage(str
, cursor
);
183 wxGenericDragImage
* wxDragTreeItem(const wxTreeCtrl
& treeCtrl
, wxTreeItemId
& id
) {
184 return new wxGenericDragImage(treeCtrl
, id
);
187 wxGenericDragImage
* wxDragListItem(const wxListCtrl
& listCtrl
, long id
) {
188 return new wxGenericDragImage(listCtrl
, id
);
191 // C++ version of wxProcess derived class
193 class wxPyProcess
: public wxProcess
{
195 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
196 : wxProcess(parent
, id
)
199 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
204 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
206 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
207 // A C++ stub class for wxJoystick for platforms that don't have it.
208 class wxJoystick
: public wxObject
{
210 wxJoystick(int joystick
= wxJOYSTICK1
) {
211 bool doSave
= wxPyRestoreThread();
212 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
213 wxPySaveThread(doSave
);
215 wxPoint
GetPosition() { return wxPoint(-1,-1); }
216 int GetZPosition() { return -1; }
217 int GetButtonState() { return -1; }
218 int GetPOVPosition() { return -1; }
219 int GetPOVCTSPosition() { return -1; }
220 int GetRudderPosition() { return -1; }
221 int GetUPosition() { return -1; }
222 int GetVPosition() { return -1; }
223 int GetMovementThreshold() { return -1; }
224 void SetMovementThreshold(int threshold
) ;
226 bool IsOk(void) { return FALSE
; }
227 int GetNumberJoysticks() { return -1; }
228 int GetManufacturerId() { return -1; }
229 int GetProductId() { return -1; }
230 wxString
GetProductName() { return ""; }
231 int GetXMin() { return -1; }
232 int GetYMin() { return -1; }
233 int GetZMin() { return -1; }
234 int GetXMax() { return -1; }
235 int GetYMax() { return -1; }
236 int GetZMax() { return -1; }
237 int GetNumberButtons() { return -1; }
238 int GetNumberAxes() { return -1; }
239 int GetMaxButtons() { return -1; }
240 int GetMaxAxes() { return -1; }
241 int GetPollingMin() { return -1; }
242 int GetPollingMax() { return -1; }
243 int GetRudderMin() { return -1; }
244 int GetRudderMax() { return -1; }
245 int GetUMin() { return -1; }
246 int GetUMax() { return -1; }
247 int GetVMin() { return -1; }
248 int GetVMax() { return -1; }
250 bool HasRudder() { return FALSE
; }
251 bool HasZ() { return FALSE
; }
252 bool HasU() { return FALSE
; }
253 bool HasV() { return FALSE
; }
254 bool HasPOV() { return FALSE
; }
255 bool HasPOV4Dir() { return FALSE
; }
256 bool HasPOVCTS() { return FALSE
; }
258 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
259 bool ReleaseCapture() { return FALSE
; }
263 #if !wxUSE_WAVE && !defined(__WXMSW__)
264 // A C++ stub class for wxWave for platforms that don't have it.
265 class wxWave
: public wxObject
268 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
269 bool doSave
= wxPyRestoreThread();
270 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
271 wxPySaveThread(doSave
);
273 wxWave(int size
, const wxByte
* data
) {
274 bool doSave
= wxPyRestoreThread();
275 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
276 wxPySaveThread(doSave
);
281 bool IsOk() const { return FALSE
; }
282 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
286 // Implementations of some alternate "constructors"
287 wxWave
* wxWaveData(const wxString
& data
) {
288 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
293 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
294 PyObject
* _resultobj
;
297 char * _arg1
= (char *) NULL
;
298 char * _arg2
= (char *) NULL
;
299 char * _arg3
= (char *) NULL
;
300 char * _arg4
= (char *) "*.*";
301 int _arg5
= (int ) 0;
302 wxWindow
* _arg6
= (wxWindow
*) NULL
;
303 int _arg7
= (int ) -1;
304 int _arg8
= (int ) -1;
305 PyObject
* _argo6
= 0;
306 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|ssssiOii:wxFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
312 if (_argo6
== Py_None
) { _arg6
= NULL
; }
313 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
319 wxPy_BEGIN_ALLOW_THREADS
;
320 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
322 wxPy_END_ALLOW_THREADS
;
324 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
332 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
333 PyObject
* _resultobj
;
336 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
337 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
338 wxWindow
* _arg3
= (wxWindow
*) NULL
;
339 int _arg4
= (int ) -1;
340 int _arg5
= (int ) -1;
341 bool _arg6
= (bool ) TRUE
;
342 PyObject
* _obj0
= 0;
343 PyObject
* _obj1
= 0;
344 PyObject
* _obj2
= 0;
345 PyObject
* _argo3
= 0;
346 int tempbool6
= (int) TRUE
;
347 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
353 #if PYTHON_API_VERSION >= 1009
354 char* tmpPtr
; int tmpSize
;
355 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
356 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
359 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
361 _arg0
= new wxString(tmpPtr
, tmpSize
);
363 if (!PyString_Check(_obj0
)) {
364 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
367 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
372 #if PYTHON_API_VERSION >= 1009
373 char* tmpPtr
; int tmpSize
;
374 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
375 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
378 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
380 _arg1
= new wxString(tmpPtr
, tmpSize
);
382 if (!PyString_Check(_obj1
)) {
383 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
386 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
391 #if PYTHON_API_VERSION >= 1009
392 char* tmpPtr
; int tmpSize
;
393 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
394 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
397 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
399 _arg2
= new wxString(tmpPtr
, tmpSize
);
401 if (!PyString_Check(_obj2
)) {
402 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
405 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
409 if (_argo3
== Py_None
) { _arg3
= NULL
; }
410 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
415 _arg6
= (bool ) tempbool6
;
417 wxPy_BEGIN_ALLOW_THREADS
;
418 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
420 wxPy_END_ALLOW_THREADS
;
422 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
442 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
443 PyObject
* _resultobj
;
446 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
447 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
448 wxWindow
* _arg3
= (wxWindow
*) NULL
;
449 PyObject
* _obj0
= 0;
450 PyObject
* _obj1
= 0;
451 PyObject
* _obj2
= 0;
452 PyObject
* _argo3
= 0;
453 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
459 #if PYTHON_API_VERSION >= 1009
460 char* tmpPtr
; int tmpSize
;
461 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
462 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
465 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
467 _arg0
= new wxString(tmpPtr
, tmpSize
);
469 if (!PyString_Check(_obj0
)) {
470 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
473 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
478 #if PYTHON_API_VERSION >= 1009
479 char* tmpPtr
; int tmpSize
;
480 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
481 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
484 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
486 _arg1
= new wxString(tmpPtr
, tmpSize
);
488 if (!PyString_Check(_obj1
)) {
489 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
492 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
497 #if PYTHON_API_VERSION >= 1009
498 char* tmpPtr
; int tmpSize
;
499 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
500 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
503 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
505 _arg2
= new wxString(tmpPtr
, tmpSize
);
507 if (!PyString_Check(_obj2
)) {
508 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
511 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
515 if (_argo3
== Py_None
) { _arg3
= NULL
; }
516 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
522 wxPy_BEGIN_ALLOW_THREADS
;
523 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
525 wxPy_END_ALLOW_THREADS
;
527 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
547 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
548 PyObject
* _resultobj
;
554 wxWindow
* _arg4
= (wxWindow
*) NULL
;
555 int _arg5
= (int ) -1;
556 int _arg6
= (int ) -1;
557 bool _arg7
= (bool ) TRUE
;
558 int _arg8
= (int ) 150;
559 int _arg9
= (int ) 200;
560 PyObject
* _obj0
= 0;
561 PyObject
* _obj1
= 0;
562 PyObject
* _obj3
= 0;
563 PyObject
* _argo4
= 0;
564 int tempbool7
= (int) TRUE
;
565 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
571 #if PYTHON_API_VERSION >= 1009
572 char* tmpPtr
; int tmpSize
;
573 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
574 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
577 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
579 _arg0
= new wxString(tmpPtr
, tmpSize
);
581 if (!PyString_Check(_obj0
)) {
582 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
585 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
589 #if PYTHON_API_VERSION >= 1009
590 char* tmpPtr
; int tmpSize
;
591 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
592 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
595 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
597 _arg1
= new wxString(tmpPtr
, tmpSize
);
599 if (!PyString_Check(_obj1
)) {
600 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
603 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
608 _arg3
= wxString_LIST_helper(_obj3
);
614 if (_argo4
== Py_None
) { _arg4
= NULL
; }
615 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
620 _arg7
= (bool ) tempbool7
;
623 _arg2
= PyList_Size(_obj3
);
630 wxPy_BEGIN_ALLOW_THREADS
;
631 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
633 wxPy_END_ALLOW_THREADS
;
635 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
654 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
655 PyObject
* _resultobj
;
661 wxWindow
* _arg4
= (wxWindow
*) NULL
;
662 int _arg5
= (int ) -1;
663 int _arg6
= (int ) -1;
664 bool _arg7
= (bool ) TRUE
;
665 int _arg8
= (int ) 150;
666 int _arg9
= (int ) 200;
667 PyObject
* _obj0
= 0;
668 PyObject
* _obj1
= 0;
669 PyObject
* _obj3
= 0;
670 PyObject
* _argo4
= 0;
671 int tempbool7
= (int) TRUE
;
672 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
678 #if PYTHON_API_VERSION >= 1009
679 char* tmpPtr
; int tmpSize
;
680 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
681 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
684 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
686 _arg0
= new wxString(tmpPtr
, tmpSize
);
688 if (!PyString_Check(_obj0
)) {
689 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
692 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
696 #if PYTHON_API_VERSION >= 1009
697 char* tmpPtr
; int tmpSize
;
698 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
699 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
702 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
704 _arg1
= new wxString(tmpPtr
, tmpSize
);
706 if (!PyString_Check(_obj1
)) {
707 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
710 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
715 _arg3
= wxString_LIST_helper(_obj3
);
721 if (_argo4
== Py_None
) { _arg4
= NULL
; }
722 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
727 _arg7
= (bool ) tempbool7
;
730 _arg2
= PyList_Size(_obj3
);
737 wxPy_BEGIN_ALLOW_THREADS
;
738 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
740 wxPy_END_ALLOW_THREADS
;
741 } _resultobj
= Py_BuildValue("i",_result
);
756 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
757 PyObject
* _resultobj
;
760 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
761 int _arg2
= (int ) wxOK
|wxCENTRE
;
762 wxWindow
* _arg3
= (wxWindow
*) NULL
;
763 int _arg4
= (int ) -1;
764 int _arg5
= (int ) -1;
765 PyObject
* _obj0
= 0;
766 PyObject
* _obj1
= 0;
767 PyObject
* _argo3
= 0;
768 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
774 #if PYTHON_API_VERSION >= 1009
775 char* tmpPtr
; int tmpSize
;
776 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
777 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
780 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
782 _arg0
= new wxString(tmpPtr
, tmpSize
);
784 if (!PyString_Check(_obj0
)) {
785 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
788 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
793 #if PYTHON_API_VERSION >= 1009
794 char* tmpPtr
; int tmpSize
;
795 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
796 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
799 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
801 _arg1
= new wxString(tmpPtr
, tmpSize
);
803 if (!PyString_Check(_obj1
)) {
804 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
807 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
811 if (_argo3
== Py_None
) { _arg3
= NULL
; }
812 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
818 wxPy_BEGIN_ALLOW_THREADS
;
819 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
821 wxPy_END_ALLOW_THREADS
;
822 } _resultobj
= Py_BuildValue("i",_result
);
834 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
835 PyObject
* _resultobj
;
841 long _arg4
= (long ) 0;
842 long _arg5
= (long ) 100;
843 wxWindow
* _arg6
= (wxWindow
*) NULL
;
844 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
845 PyObject
* _obj0
= 0;
846 PyObject
* _obj1
= 0;
847 PyObject
* _obj2
= 0;
848 PyObject
* _argo6
= 0;
850 PyObject
* _obj7
= 0;
851 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
857 #if PYTHON_API_VERSION >= 1009
858 char* tmpPtr
; int tmpSize
;
859 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
860 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
863 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
865 _arg0
= new wxString(tmpPtr
, tmpSize
);
867 if (!PyString_Check(_obj0
)) {
868 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
871 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
875 #if PYTHON_API_VERSION >= 1009
876 char* tmpPtr
; int tmpSize
;
877 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
878 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
881 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
883 _arg1
= new wxString(tmpPtr
, tmpSize
);
885 if (!PyString_Check(_obj1
)) {
886 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
889 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
893 #if PYTHON_API_VERSION >= 1009
894 char* tmpPtr
; int tmpSize
;
895 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
896 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
899 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
901 _arg2
= new wxString(tmpPtr
, tmpSize
);
903 if (!PyString_Check(_obj2
)) {
904 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
907 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
911 if (_argo6
== Py_None
) { _arg6
= NULL
; }
912 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
920 if (! wxPoint_helper(_obj7
, &_arg7
))
924 wxPy_BEGIN_ALLOW_THREADS
;
925 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
927 wxPy_END_ALLOW_THREADS
;
928 } _resultobj
= Py_BuildValue("l",_result
);
944 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
945 PyObject
* _resultobj
;
947 char *_kwnames
[] = { NULL
};
950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
953 wxPy_BEGIN_ALLOW_THREADS
;
954 _result
= (bool )wxColourDisplay();
956 wxPy_END_ALLOW_THREADS
;
957 } _resultobj
= Py_BuildValue("i",_result
);
961 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
962 PyObject
* _resultobj
;
964 char *_kwnames
[] = { NULL
};
967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
970 wxPy_BEGIN_ALLOW_THREADS
;
971 _result
= (int )wxDisplayDepth();
973 wxPy_END_ALLOW_THREADS
;
974 } _resultobj
= Py_BuildValue("i",_result
);
978 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
979 PyObject
* _resultobj
;
981 char *_kwnames
[] = { NULL
};
984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
987 wxPy_BEGIN_ALLOW_THREADS
;
988 _result
= (int )wxGetDisplayDepth();
990 wxPy_END_ALLOW_THREADS
;
991 } _resultobj
= Py_BuildValue("i",_result
);
995 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
996 PyObject
* _resultobj
;
1001 char *_kwnames
[] = { NULL
};
1010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1013 wxPy_BEGIN_ALLOW_THREADS
;
1014 wxDisplaySize(_arg0
,_arg1
);
1016 wxPy_END_ALLOW_THREADS
;
1017 } Py_INCREF(Py_None
);
1018 _resultobj
= Py_None
;
1021 o
= PyInt_FromLong((long) (*_arg0
));
1022 _resultobj
= t_output_helper(_resultobj
, o
);
1026 o
= PyInt_FromLong((long) (*_arg1
));
1027 _resultobj
= t_output_helper(_resultobj
, o
);
1032 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1033 PyObject
* _resultobj
;
1035 char *_kwnames
[] = { NULL
};
1039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1042 wxPy_BEGIN_ALLOW_THREADS
;
1043 _result
= new wxSize (wxGetDisplaySize());
1045 wxPy_END_ALLOW_THREADS
;
1046 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1047 _resultobj
= Py_BuildValue("s",_ptemp
);
1051 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1052 PyObject
* _resultobj
;
1057 char *_kwnames
[] = { NULL
};
1066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1069 wxPy_BEGIN_ALLOW_THREADS
;
1070 wxDisplaySizeMM(_arg0
,_arg1
);
1072 wxPy_END_ALLOW_THREADS
;
1073 } Py_INCREF(Py_None
);
1074 _resultobj
= Py_None
;
1077 o
= PyInt_FromLong((long) (*_arg0
));
1078 _resultobj
= t_output_helper(_resultobj
, o
);
1082 o
= PyInt_FromLong((long) (*_arg1
));
1083 _resultobj
= t_output_helper(_resultobj
, o
);
1088 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1089 PyObject
* _resultobj
;
1091 char *_kwnames
[] = { NULL
};
1095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1098 wxPy_BEGIN_ALLOW_THREADS
;
1099 _result
= new wxSize (wxGetDisplaySizeMM());
1101 wxPy_END_ALLOW_THREADS
;
1102 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1103 _resultobj
= Py_BuildValue("s",_ptemp
);
1107 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1108 PyObject
* _resultobj
;
1117 char *_kwnames
[] = { NULL
};
1132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1135 wxPy_BEGIN_ALLOW_THREADS
;
1136 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1138 wxPy_END_ALLOW_THREADS
;
1139 } Py_INCREF(Py_None
);
1140 _resultobj
= Py_None
;
1143 o
= PyInt_FromLong((long) (*_arg0
));
1144 _resultobj
= t_output_helper(_resultobj
, o
);
1148 o
= PyInt_FromLong((long) (*_arg1
));
1149 _resultobj
= t_output_helper(_resultobj
, o
);
1153 o
= PyInt_FromLong((long) (*_arg2
));
1154 _resultobj
= t_output_helper(_resultobj
, o
);
1158 o
= PyInt_FromLong((long) (*_arg3
));
1159 _resultobj
= t_output_helper(_resultobj
, o
);
1164 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1165 PyObject
* _resultobj
;
1167 char *_kwnames
[] = { NULL
};
1171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1174 wxPy_BEGIN_ALLOW_THREADS
;
1175 _result
= new wxRect (wxGetClientDisplayRect());
1177 wxPy_END_ALLOW_THREADS
;
1178 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1179 _resultobj
= Py_BuildValue("s",_ptemp
);
1183 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1184 PyObject
* _resultobj
;
1186 PyObject
* _argo0
= 0;
1187 char *_kwnames
[] = { "cursor", NULL
};
1190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1200 wxPy_BEGIN_ALLOW_THREADS
;
1201 wxSetCursor(*_arg0
);
1203 wxPy_END_ALLOW_THREADS
;
1204 } Py_INCREF(Py_None
);
1205 _resultobj
= Py_None
;
1209 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1210 PyObject
* _resultobj
;
1213 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1214 PyObject
* _obj0
= 0;
1215 PyObject
* _argo1
= 0;
1216 char *_kwnames
[] = { "label","parent", NULL
};
1219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
1222 #if PYTHON_API_VERSION >= 1009
1223 char* tmpPtr
; int tmpSize
;
1224 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1225 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1228 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1230 _arg0
= new wxString(tmpPtr
, tmpSize
);
1232 if (!PyString_Check(_obj0
)) {
1233 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1236 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1240 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1241 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1247 wxPy_BEGIN_ALLOW_THREADS
;
1248 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
1250 wxPy_END_ALLOW_THREADS
;
1251 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1259 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1260 PyObject
* _resultobj
;
1263 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1264 PyObject
* _obj0
= 0;
1265 PyObject
* _argo1
= 0;
1266 char *_kwnames
[] = { "name","parent", NULL
};
1269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1272 #if PYTHON_API_VERSION >= 1009
1273 char* tmpPtr
; int tmpSize
;
1274 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1275 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1278 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1280 _arg0
= new wxString(tmpPtr
, tmpSize
);
1282 if (!PyString_Check(_obj0
)) {
1283 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1286 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1290 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1291 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1297 wxPy_BEGIN_ALLOW_THREADS
;
1298 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1300 wxPy_END_ALLOW_THREADS
;
1301 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1309 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1310 PyObject
* _resultobj
;
1311 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1312 PyObject
* _argo0
= 0;
1313 char *_kwnames
[] = { "cursor", NULL
};
1316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1326 wxPy_BEGIN_ALLOW_THREADS
;
1327 wxBeginBusyCursor(_arg0
);
1329 wxPy_END_ALLOW_THREADS
;
1330 } Py_INCREF(Py_None
);
1331 _resultobj
= Py_None
;
1335 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1336 PyObject
* _resultobj
;
1338 char *_kwnames
[] = { NULL
};
1341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1344 wxPy_BEGIN_ALLOW_THREADS
;
1345 _result
= (wxWindow
*)wxGetActiveWindow();
1347 wxPy_END_ALLOW_THREADS
;
1348 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1352 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1353 PyObject
* _resultobj
;
1357 PyObject
* _obj0
= 0;
1358 char *_kwnames
[] = { "pt", NULL
};
1361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1365 if (! wxPoint_helper(_obj0
, &_arg0
))
1369 wxPy_BEGIN_ALLOW_THREADS
;
1370 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1372 wxPy_END_ALLOW_THREADS
;
1373 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1377 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1378 PyObject
* _resultobj
;
1382 PyObject
* _obj0
= 0;
1383 char *_kwnames
[] = { "pt", NULL
};
1386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1390 if (! wxPoint_helper(_obj0
, &_arg0
))
1394 wxPy_BEGIN_ALLOW_THREADS
;
1395 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1397 wxPy_END_ALLOW_THREADS
;
1398 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1402 static PyObject
*_wrap_wxCheckForInterrupt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1403 PyObject
* _resultobj
;
1406 PyObject
* _argo0
= 0;
1407 char *_kwnames
[] = { "wnd", NULL
};
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckForInterrupt",_kwnames
,&_argo0
))
1413 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1414 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1415 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckForInterrupt. Expected _wxWindow_p.");
1420 wxPy_BEGIN_ALLOW_THREADS
;
1421 _result
= (bool )wxCheckForInterrupt(_arg0
);
1423 wxPy_END_ALLOW_THREADS
;
1424 } _resultobj
= Py_BuildValue("i",_result
);
1428 static PyObject
*_wrap_wxFlushEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1429 PyObject
* _resultobj
;
1430 char *_kwnames
[] = { NULL
};
1433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFlushEvents",_kwnames
))
1436 wxPy_BEGIN_ALLOW_THREADS
;
1439 wxPy_END_ALLOW_THREADS
;
1440 } Py_INCREF(Py_None
);
1441 _resultobj
= Py_None
;
1445 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1446 PyObject
* _resultobj
;
1450 char *_kwnames
[] = { "name","value", NULL
};
1453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1456 wxPy_BEGIN_ALLOW_THREADS
;
1457 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1459 wxPy_END_ALLOW_THREADS
;
1460 } _resultobj
= Py_BuildValue("i",_result
);
1464 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
* _resultobj
;
1466 char *_kwnames
[] = { NULL
};
1469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1472 wxPy_BEGIN_ALLOW_THREADS
;
1475 wxPy_END_ALLOW_THREADS
;
1476 } Py_INCREF(Py_None
);
1477 _resultobj
= Py_None
;
1481 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
* _resultobj
;
1485 char *_kwnames
[] = { "resource", NULL
};
1489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1492 wxPy_BEGIN_ALLOW_THREADS
;
1493 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1495 wxPy_END_ALLOW_THREADS
;
1496 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1497 _resultobj
= Py_BuildValue("s",_ptemp
);
1501 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1502 PyObject
* _resultobj
;
1505 char *_kwnames
[] = { "resource", NULL
};
1509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1512 wxPy_BEGIN_ALLOW_THREADS
;
1513 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1515 wxPy_END_ALLOW_THREADS
;
1516 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1517 _resultobj
= Py_BuildValue("s",_ptemp
);
1521 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1522 PyObject
* _resultobj
;
1523 wxMenuBar
* _result
;
1525 char *_kwnames
[] = { "resource", NULL
};
1528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1531 wxPy_BEGIN_ALLOW_THREADS
;
1532 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1534 wxPy_END_ALLOW_THREADS
;
1535 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1539 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1540 PyObject
* _resultobj
;
1543 char *_kwnames
[] = { "name", NULL
};
1546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1549 wxPy_BEGIN_ALLOW_THREADS
;
1550 _result
= (int )wxResourceGetIdentifier(_arg0
);
1552 wxPy_END_ALLOW_THREADS
;
1553 } _resultobj
= Py_BuildValue("i",_result
);
1557 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1558 PyObject
* _resultobj
;
1561 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1562 PyObject
* _argo1
= 0;
1563 char *_kwnames
[] = { "resource","table", NULL
};
1566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1569 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1570 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1576 wxPy_BEGIN_ALLOW_THREADS
;
1577 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1579 wxPy_END_ALLOW_THREADS
;
1580 } _resultobj
= Py_BuildValue("i",_result
);
1584 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1585 PyObject
* _resultobj
;
1588 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1589 PyObject
* _argo1
= 0;
1590 char *_kwnames
[] = { "filename","table", NULL
};
1593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1596 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1597 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1603 wxPy_BEGIN_ALLOW_THREADS
;
1604 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1606 wxPy_END_ALLOW_THREADS
;
1607 } _resultobj
= Py_BuildValue("i",_result
);
1611 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1612 PyObject
* _resultobj
;
1615 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1616 PyObject
* _argo1
= 0;
1617 char *_kwnames
[] = { "resource","table", NULL
};
1620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1623 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1624 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1630 wxPy_BEGIN_ALLOW_THREADS
;
1631 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1633 wxPy_END_ALLOW_THREADS
;
1634 } _resultobj
= Py_BuildValue("i",_result
);
1638 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1639 PyObject
* _resultobj
;
1642 char *_kwnames
[] = { "index", NULL
};
1646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1649 wxPy_BEGIN_ALLOW_THREADS
;
1650 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1652 wxPy_END_ALLOW_THREADS
;
1653 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1654 _resultobj
= Py_BuildValue("s",_ptemp
);
1658 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1659 PyObject
* _resultobj
;
1662 char *_kwnames
[] = { "index", NULL
};
1666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1669 wxPy_BEGIN_ALLOW_THREADS
;
1670 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1672 wxPy_END_ALLOW_THREADS
;
1673 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1674 _resultobj
= Py_BuildValue("s",_ptemp
);
1678 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1679 PyObject
* _resultobj
;
1682 char *_kwnames
[] = { "index", NULL
};
1685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1688 wxPy_BEGIN_ALLOW_THREADS
;
1689 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1691 wxPy_END_ALLOW_THREADS
;
1692 } _resultobj
= Py_BuildValue("i",_result
);
1696 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1697 PyObject
* _resultobj
;
1700 char *_kwnames
[] = { "flag", NULL
};
1703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
1705 _arg0
= (bool ) tempbool0
;
1707 wxPy_BEGIN_ALLOW_THREADS
;
1708 wxToolTip_Enable(_arg0
);
1710 wxPy_END_ALLOW_THREADS
;
1711 } Py_INCREF(Py_None
);
1712 _resultobj
= Py_None
;
1716 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1717 PyObject
* _resultobj
;
1719 char *_kwnames
[] = { "milliseconds", NULL
};
1722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
1725 wxPy_BEGIN_ALLOW_THREADS
;
1726 wxToolTip_SetDelay(_arg0
);
1728 wxPy_END_ALLOW_THREADS
;
1729 } Py_INCREF(Py_None
);
1730 _resultobj
= Py_None
;
1734 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1735 PyObject
* _resultobj
;
1737 char *_kwnames
[] = { NULL
};
1740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1743 wxPy_BEGIN_ALLOW_THREADS
;
1744 _result
= (int )wxCaret_GetBlinkTime();
1746 wxPy_END_ALLOW_THREADS
;
1747 } _resultobj
= Py_BuildValue("i",_result
);
1751 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1752 PyObject
* _resultobj
;
1754 char *_kwnames
[] = { "milliseconds", NULL
};
1757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1760 wxPy_BEGIN_ALLOW_THREADS
;
1761 wxCaret_SetBlinkTime(_arg0
);
1763 wxPy_END_ALLOW_THREADS
;
1764 } Py_INCREF(Py_None
);
1765 _resultobj
= Py_None
;
1769 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1770 PyObject
* _resultobj
;
1772 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1773 PyObject
* _argo0
= 0;
1774 char *_kwnames
[] = { "win", NULL
};
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1787 wxPy_BEGIN_ALLOW_THREADS
;
1788 _result
= (bool )wxSafeYield(_arg0
);
1790 wxPy_END_ALLOW_THREADS
;
1791 } _resultobj
= Py_BuildValue("i",_result
);
1795 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1796 PyObject
* _resultobj
;
1797 wxEvtHandler
* _arg0
;
1799 PyObject
* _argo0
= 0;
1800 PyObject
* _argo1
= 0;
1801 char *_kwnames
[] = { "dest","event", NULL
};
1804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1814 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1815 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1821 wxPy_BEGIN_ALLOW_THREADS
;
1822 wxPostEvent(_arg0
,*_arg1
);
1824 wxPy_END_ALLOW_THREADS
;
1825 } Py_INCREF(Py_None
);
1826 _resultobj
= Py_None
;
1830 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1831 PyObject
* _resultobj
;
1832 char *_kwnames
[] = { NULL
};
1835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1838 wxPy_BEGIN_ALLOW_THREADS
;
1841 wxPy_END_ALLOW_THREADS
;
1842 } Py_INCREF(Py_None
);
1843 _resultobj
= Py_None
;
1847 static PyObject
*_wrap_wxWakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1848 PyObject
* _resultobj
;
1849 char *_kwnames
[] = { NULL
};
1852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpMainThread",_kwnames
))
1855 wxPy_BEGIN_ALLOW_THREADS
;
1856 wxWakeUpMainThread();
1858 wxPy_END_ALLOW_THREADS
;
1859 } Py_INCREF(Py_None
);
1860 _resultobj
= Py_None
;
1864 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
* _resultobj
;
1866 char *_kwnames
[] = { NULL
};
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1872 wxPy_BEGIN_ALLOW_THREADS
;
1875 wxPy_END_ALLOW_THREADS
;
1876 } Py_INCREF(Py_None
);
1877 _resultobj
= Py_None
;
1881 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1882 PyObject
* _resultobj
;
1883 char *_kwnames
[] = { NULL
};
1886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1889 wxPy_BEGIN_ALLOW_THREADS
;
1892 wxPy_END_ALLOW_THREADS
;
1893 } Py_INCREF(Py_None
);
1894 _resultobj
= Py_None
;
1898 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
* _resultobj
;
1901 char *_kwnames
[] = { NULL
};
1904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1907 wxPy_BEGIN_ALLOW_THREADS
;
1908 _result
= (bool )wxThread_IsMain();
1910 wxPy_END_ALLOW_THREADS
;
1911 } _resultobj
= Py_BuildValue("i",_result
);
1915 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1916 PyObject
* _resultobj
;
1919 wxTipProvider
* _arg1
;
1920 bool _arg2
= (bool ) TRUE
;
1921 PyObject
* _argo0
= 0;
1922 PyObject
* _argo1
= 0;
1923 int tempbool2
= (int) TRUE
;
1924 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1937 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1938 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1943 _arg2
= (bool ) tempbool2
;
1945 wxPy_BEGIN_ALLOW_THREADS
;
1946 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1948 wxPy_END_ALLOW_THREADS
;
1949 } _resultobj
= Py_BuildValue("i",_result
);
1953 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1954 PyObject
* _resultobj
;
1955 wxTipProvider
* _result
;
1958 PyObject
* _obj0
= 0;
1959 char *_kwnames
[] = { "filename","currentTip", NULL
};
1963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1966 #if PYTHON_API_VERSION >= 1009
1967 char* tmpPtr
; int tmpSize
;
1968 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1969 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1972 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1974 _arg0
= new wxString(tmpPtr
, tmpSize
);
1976 if (!PyString_Check(_obj0
)) {
1977 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1980 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1984 wxPy_BEGIN_ALLOW_THREADS
;
1985 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1987 wxPy_END_ALLOW_THREADS
;
1989 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1990 _resultobj
= Py_BuildValue("s",_ptemp
);
1993 _resultobj
= Py_None
;
2002 static PyObject
*_wrap_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
* _resultobj
;
2004 wxGenericDragImage
* _result
;
2006 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
2007 PyObject
* _argo0
= 0;
2008 PyObject
* _argo1
= 0;
2009 char *_kwnames
[] = { "image","cursor", NULL
};
2013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
2016 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2017 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
2018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragIcon. Expected _wxIcon_p.");
2023 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2024 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
2025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragIcon. Expected _wxCursor_p.");
2030 wxPy_BEGIN_ALLOW_THREADS
;
2031 _result
= (wxGenericDragImage
*)wxDragIcon(*_arg0
,*_arg1
);
2033 wxPy_END_ALLOW_THREADS
;
2035 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
2036 _resultobj
= Py_BuildValue("s",_ptemp
);
2039 _resultobj
= Py_None
;
2044 static PyObject
*_wrap_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2045 PyObject
* _resultobj
;
2046 wxGenericDragImage
* _result
;
2048 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
2049 PyObject
* _obj0
= 0;
2050 PyObject
* _argo1
= 0;
2051 char *_kwnames
[] = { "str","cursor", NULL
};
2055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDragString",_kwnames
,&_obj0
,&_argo1
))
2058 #if PYTHON_API_VERSION >= 1009
2059 char* tmpPtr
; int tmpSize
;
2060 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2061 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2064 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2066 _arg0
= new wxString(tmpPtr
, tmpSize
);
2068 if (!PyString_Check(_obj0
)) {
2069 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2072 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2076 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2077 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
2078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragString. Expected _wxCursor_p.");
2083 wxPy_BEGIN_ALLOW_THREADS
;
2084 _result
= (wxGenericDragImage
*)wxDragString(*_arg0
,*_arg1
);
2086 wxPy_END_ALLOW_THREADS
;
2088 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
2089 _resultobj
= Py_BuildValue("s",_ptemp
);
2092 _resultobj
= Py_None
;
2101 static PyObject
*_wrap_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2102 PyObject
* _resultobj
;
2103 wxGenericDragImage
* _result
;
2105 wxTreeItemId
* _arg1
;
2106 PyObject
* _argo0
= 0;
2107 PyObject
* _argo1
= 0;
2108 char *_kwnames
[] = { "treeCtrl","id", NULL
};
2112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
2115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragTreeItem. Expected _wxTreeCtrl_p.");
2122 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2123 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragTreeItem. Expected _wxTreeItemId_p.");
2129 wxPy_BEGIN_ALLOW_THREADS
;
2130 _result
= (wxGenericDragImage
*)wxDragTreeItem(*_arg0
,*_arg1
);
2132 wxPy_END_ALLOW_THREADS
;
2134 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
2135 _resultobj
= Py_BuildValue("s",_ptemp
);
2138 _resultobj
= Py_None
;
2143 static PyObject
*_wrap_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2144 PyObject
* _resultobj
;
2145 wxGenericDragImage
* _result
;
2148 PyObject
* _argo0
= 0;
2149 char *_kwnames
[] = { "listCtrl","id", NULL
};
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
2156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragListItem. Expected _wxListCtrl_p.");
2163 wxPy_BEGIN_ALLOW_THREADS
;
2164 _result
= (wxGenericDragImage
*)wxDragListItem(*_arg0
,_arg1
);
2166 wxPy_END_ALLOW_THREADS
;
2168 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
2169 _resultobj
= Py_BuildValue("s",_ptemp
);
2172 _resultobj
= Py_None
;
2177 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2178 PyObject
* _resultobj
;
2179 unsigned long _result
;
2180 char *_kwnames
[] = { NULL
};
2183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
2186 wxPy_BEGIN_ALLOW_THREADS
;
2187 _result
= (unsigned long )wxSysErrorCode();
2189 wxPy_END_ALLOW_THREADS
;
2190 } _resultobj
= Py_BuildValue("l",_result
);
2194 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
* _resultobj
;
2197 unsigned long _arg0
= (unsigned long ) 0;
2198 char *_kwnames
[] = { "nErrCode", NULL
};
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
2204 wxPy_BEGIN_ALLOW_THREADS
;
2205 _result
= (char *)wxSysErrorMsg(_arg0
);
2207 wxPy_END_ALLOW_THREADS
;
2208 } _resultobj
= Py_BuildValue("s", _result
);
2212 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2213 PyObject
* _resultobj
;
2215 char *_kwnames
[] = { "szFormat", NULL
};
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
2221 wxPy_BEGIN_ALLOW_THREADS
;
2222 wxLogFatalError(_arg0
);
2224 wxPy_END_ALLOW_THREADS
;
2225 } Py_INCREF(Py_None
);
2226 _resultobj
= Py_None
;
2230 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2231 PyObject
* _resultobj
;
2233 char *_kwnames
[] = { "szFormat", NULL
};
2236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
2239 wxPy_BEGIN_ALLOW_THREADS
;
2242 wxPy_END_ALLOW_THREADS
;
2243 } Py_INCREF(Py_None
);
2244 _resultobj
= Py_None
;
2248 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2249 PyObject
* _resultobj
;
2251 char *_kwnames
[] = { "szFormat", NULL
};
2254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
2257 wxPy_BEGIN_ALLOW_THREADS
;
2258 wxLogWarning(_arg0
);
2260 wxPy_END_ALLOW_THREADS
;
2261 } Py_INCREF(Py_None
);
2262 _resultobj
= Py_None
;
2266 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
* _resultobj
;
2269 char *_kwnames
[] = { "szFormat", NULL
};
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
2275 wxPy_BEGIN_ALLOW_THREADS
;
2276 wxLogMessage(_arg0
);
2278 wxPy_END_ALLOW_THREADS
;
2279 } Py_INCREF(Py_None
);
2280 _resultobj
= Py_None
;
2284 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2285 PyObject
* _resultobj
;
2287 char *_kwnames
[] = { "szFormat", NULL
};
2290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
2293 wxPy_BEGIN_ALLOW_THREADS
;
2296 wxPy_END_ALLOW_THREADS
;
2297 } Py_INCREF(Py_None
);
2298 _resultobj
= Py_None
;
2302 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2303 PyObject
* _resultobj
;
2305 char *_kwnames
[] = { "szFormat", NULL
};
2308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
2311 wxPy_BEGIN_ALLOW_THREADS
;
2312 wxLogVerbose(_arg0
);
2314 wxPy_END_ALLOW_THREADS
;
2315 } Py_INCREF(Py_None
);
2316 _resultobj
= Py_None
;
2320 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2321 PyObject
* _resultobj
;
2323 char *_kwnames
[] = { "szFormat", NULL
};
2326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
2329 wxPy_BEGIN_ALLOW_THREADS
;
2332 wxPy_END_ALLOW_THREADS
;
2333 } Py_INCREF(Py_None
);
2334 _resultobj
= Py_None
;
2338 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2339 PyObject
* _resultobj
;
2342 PyObject
* _argo0
= 0;
2343 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
2349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2356 wxPy_BEGIN_ALLOW_THREADS
;
2357 wxLogStatus(_arg0
,_arg1
);
2359 wxPy_END_ALLOW_THREADS
;
2360 } Py_INCREF(Py_None
);
2361 _resultobj
= Py_None
;
2365 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2366 PyObject
* _resultobj
;
2368 char *_kwnames
[] = { "szFormat", NULL
};
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2374 wxPy_BEGIN_ALLOW_THREADS
;
2375 wxLogSysError(_arg0
);
2377 wxPy_END_ALLOW_THREADS
;
2378 } Py_INCREF(Py_None
);
2379 _resultobj
= Py_None
;
2383 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2384 PyObject
* _resultobj
;
2387 int _arg1
= (int ) FALSE
;
2388 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2389 PyObject
* _obj0
= 0;
2390 PyObject
* _argo2
= 0;
2391 char *_kwnames
[] = { "command","sync","process", NULL
};
2394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2397 #if PYTHON_API_VERSION >= 1009
2398 char* tmpPtr
; int tmpSize
;
2399 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2400 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2403 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2405 _arg0
= new wxString(tmpPtr
, tmpSize
);
2407 if (!PyString_Check(_obj0
)) {
2408 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2411 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2415 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2416 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2422 wxPy_BEGIN_ALLOW_THREADS
;
2423 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2425 wxPy_END_ALLOW_THREADS
;
2426 } _resultobj
= Py_BuildValue("l",_result
);
2434 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2435 PyObject
* _resultobj
;
2438 PyObject
* _obj0
= 0;
2439 char *_kwnames
[] = { "data", NULL
};
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2446 #if PYTHON_API_VERSION >= 1009
2447 char* tmpPtr
; int tmpSize
;
2448 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2449 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2452 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2454 _arg0
= new wxString(tmpPtr
, tmpSize
);
2456 if (!PyString_Check(_obj0
)) {
2457 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2460 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2464 wxPy_BEGIN_ALLOW_THREADS
;
2465 _result
= (wxWave
*)wxWaveData(*_arg0
);
2467 wxPy_END_ALLOW_THREADS
;
2469 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2470 _resultobj
= Py_BuildValue("s",_ptemp
);
2473 _resultobj
= Py_None
;
2482 static void *SwigwxToolTipTowxObject(void *ptr
) {
2485 src
= (wxToolTip
*) ptr
;
2486 dest
= (wxObject
*) src
;
2487 return (void *) dest
;
2490 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2491 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2492 PyObject
* _resultobj
;
2493 wxToolTip
* _result
;
2495 PyObject
* _obj0
= 0;
2496 char *_kwnames
[] = { "tip", NULL
};
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2503 #if PYTHON_API_VERSION >= 1009
2504 char* tmpPtr
; int tmpSize
;
2505 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2506 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2509 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2511 _arg0
= new wxString(tmpPtr
, tmpSize
);
2513 if (!PyString_Check(_obj0
)) {
2514 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2517 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2521 wxPy_BEGIN_ALLOW_THREADS
;
2522 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2524 wxPy_END_ALLOW_THREADS
;
2526 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2527 _resultobj
= Py_BuildValue("s",_ptemp
);
2530 _resultobj
= Py_None
;
2539 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2540 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2541 PyObject
* _resultobj
;
2544 PyObject
* _argo0
= 0;
2545 PyObject
* _obj1
= 0;
2546 char *_kwnames
[] = { "self","tip", NULL
};
2549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2559 #if PYTHON_API_VERSION >= 1009
2560 char* tmpPtr
; int tmpSize
;
2561 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2562 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2565 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2567 _arg1
= new wxString(tmpPtr
, tmpSize
);
2569 if (!PyString_Check(_obj1
)) {
2570 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2573 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2577 wxPy_BEGIN_ALLOW_THREADS
;
2578 wxToolTip_SetTip(_arg0
,*_arg1
);
2580 wxPy_END_ALLOW_THREADS
;
2581 } Py_INCREF(Py_None
);
2582 _resultobj
= Py_None
;
2590 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2591 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2592 PyObject
* _resultobj
;
2595 PyObject
* _argo0
= 0;
2596 char *_kwnames
[] = { "self", NULL
};
2599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2609 wxPy_BEGIN_ALLOW_THREADS
;
2610 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2612 wxPy_END_ALLOW_THREADS
;
2614 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2622 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2623 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
* _resultobj
;
2627 PyObject
* _argo0
= 0;
2628 char *_kwnames
[] = { "self", NULL
};
2631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2641 wxPy_BEGIN_ALLOW_THREADS
;
2642 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2644 wxPy_END_ALLOW_THREADS
;
2645 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2649 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2650 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2651 PyObject
* _resultobj
;
2655 PyObject
* _argo0
= 0;
2657 PyObject
* _obj1
= 0;
2658 char *_kwnames
[] = { "window","size", NULL
};
2662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2673 if (! wxSize_helper(_obj1
, &_arg1
))
2677 wxPy_BEGIN_ALLOW_THREADS
;
2678 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2680 wxPy_END_ALLOW_THREADS
;
2682 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2683 _resultobj
= Py_BuildValue("s",_ptemp
);
2686 _resultobj
= Py_None
;
2691 #define delete_wxCaret(_swigobj) (delete _swigobj)
2692 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2693 PyObject
* _resultobj
;
2695 PyObject
* _argo0
= 0;
2696 char *_kwnames
[] = { "self", NULL
};
2699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2709 wxPy_BEGIN_ALLOW_THREADS
;
2710 delete_wxCaret(_arg0
);
2712 wxPy_END_ALLOW_THREADS
;
2713 } Py_INCREF(Py_None
);
2714 _resultobj
= Py_None
;
2718 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2719 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2720 PyObject
* _resultobj
;
2723 PyObject
* _argo0
= 0;
2724 char *_kwnames
[] = { "self", NULL
};
2727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2737 wxPy_BEGIN_ALLOW_THREADS
;
2738 _result
= (bool )wxCaret_IsOk(_arg0
);
2740 wxPy_END_ALLOW_THREADS
;
2741 } _resultobj
= Py_BuildValue("i",_result
);
2745 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2746 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2747 PyObject
* _resultobj
;
2750 PyObject
* _argo0
= 0;
2751 char *_kwnames
[] = { "self", NULL
};
2754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2764 wxPy_BEGIN_ALLOW_THREADS
;
2765 _result
= (bool )wxCaret_IsVisible(_arg0
);
2767 wxPy_END_ALLOW_THREADS
;
2768 } _resultobj
= Py_BuildValue("i",_result
);
2772 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2773 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2774 PyObject
* _resultobj
;
2780 PyObject
* _argo0
= 0;
2781 char *_kwnames
[] = { "self", NULL
};
2790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2793 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2794 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2795 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2800 wxPy_BEGIN_ALLOW_THREADS
;
2801 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2803 wxPy_END_ALLOW_THREADS
;
2804 } Py_INCREF(Py_None
);
2805 _resultobj
= Py_None
;
2808 o
= PyInt_FromLong((long) (*_arg1
));
2809 _resultobj
= t_output_helper(_resultobj
, o
);
2813 o
= PyInt_FromLong((long) (*_arg2
));
2814 _resultobj
= t_output_helper(_resultobj
, o
);
2819 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2820 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2821 PyObject
* _resultobj
;
2824 PyObject
* _argo0
= 0;
2825 char *_kwnames
[] = { "self", NULL
};
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2839 wxPy_BEGIN_ALLOW_THREADS
;
2840 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2842 wxPy_END_ALLOW_THREADS
;
2843 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2844 _resultobj
= Py_BuildValue("s",_ptemp
);
2848 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2849 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
* _resultobj
;
2856 PyObject
* _argo0
= 0;
2857 char *_kwnames
[] = { "self", NULL
};
2866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2876 wxPy_BEGIN_ALLOW_THREADS
;
2877 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2879 wxPy_END_ALLOW_THREADS
;
2880 } Py_INCREF(Py_None
);
2881 _resultobj
= Py_None
;
2884 o
= PyInt_FromLong((long) (*_arg1
));
2885 _resultobj
= t_output_helper(_resultobj
, o
);
2889 o
= PyInt_FromLong((long) (*_arg2
));
2890 _resultobj
= t_output_helper(_resultobj
, o
);
2895 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2896 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
* _resultobj
;
2900 PyObject
* _argo0
= 0;
2901 char *_kwnames
[] = { "self", NULL
};
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2915 wxPy_BEGIN_ALLOW_THREADS
;
2916 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2918 wxPy_END_ALLOW_THREADS
;
2919 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2920 _resultobj
= Py_BuildValue("s",_ptemp
);
2924 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2925 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2926 PyObject
* _resultobj
;
2929 PyObject
* _argo0
= 0;
2930 char *_kwnames
[] = { "self", NULL
};
2933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2943 wxPy_BEGIN_ALLOW_THREADS
;
2944 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2946 wxPy_END_ALLOW_THREADS
;
2947 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2951 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2952 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2953 PyObject
* _resultobj
;
2957 PyObject
* _argo0
= 0;
2958 char *_kwnames
[] = { "self","x","y", NULL
};
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2971 wxPy_BEGIN_ALLOW_THREADS
;
2972 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2974 wxPy_END_ALLOW_THREADS
;
2975 } Py_INCREF(Py_None
);
2976 _resultobj
= Py_None
;
2980 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2981 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2982 PyObject
* _resultobj
;
2985 PyObject
* _argo0
= 0;
2987 PyObject
* _obj1
= 0;
2988 char *_kwnames
[] = { "self","pt", NULL
};
2991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
3002 if (! wxPoint_helper(_obj1
, &_arg1
))
3006 wxPy_BEGIN_ALLOW_THREADS
;
3007 wxCaret_Move(_arg0
,*_arg1
);
3009 wxPy_END_ALLOW_THREADS
;
3010 } Py_INCREF(Py_None
);
3011 _resultobj
= Py_None
;
3015 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
3016 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3017 PyObject
* _resultobj
;
3021 PyObject
* _argo0
= 0;
3022 char *_kwnames
[] = { "self","width","height", NULL
};
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
3035 wxPy_BEGIN_ALLOW_THREADS
;
3036 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
3038 wxPy_END_ALLOW_THREADS
;
3039 } Py_INCREF(Py_None
);
3040 _resultobj
= Py_None
;
3044 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3045 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3046 PyObject
* _resultobj
;
3049 PyObject
* _argo0
= 0;
3051 PyObject
* _obj1
= 0;
3052 char *_kwnames
[] = { "self","size", NULL
};
3055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
3058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3066 if (! wxSize_helper(_obj1
, &_arg1
))
3070 wxPy_BEGIN_ALLOW_THREADS
;
3071 wxCaret_SetSize(_arg0
,*_arg1
);
3073 wxPy_END_ALLOW_THREADS
;
3074 } Py_INCREF(Py_None
);
3075 _resultobj
= Py_None
;
3079 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3080 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3081 PyObject
* _resultobj
;
3083 int _arg1
= (int ) TRUE
;
3084 PyObject
* _argo0
= 0;
3085 char *_kwnames
[] = { "self","show", NULL
};
3088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3098 wxPy_BEGIN_ALLOW_THREADS
;
3099 wxCaret_Show(_arg0
,_arg1
);
3101 wxPy_END_ALLOW_THREADS
;
3102 } Py_INCREF(Py_None
);
3103 _resultobj
= Py_None
;
3107 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3108 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
* _resultobj
;
3111 PyObject
* _argo0
= 0;
3112 char *_kwnames
[] = { "self", NULL
};
3115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3125 wxPy_BEGIN_ALLOW_THREADS
;
3126 wxCaret_Hide(_arg0
);
3128 wxPy_END_ALLOW_THREADS
;
3129 } Py_INCREF(Py_None
);
3130 _resultobj
= Py_None
;
3134 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
3135 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3136 PyObject
* _resultobj
;
3137 wxPyFontEnumerator
* _result
;
3138 char *_kwnames
[] = { NULL
};
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
3145 wxPy_BEGIN_ALLOW_THREADS
;
3146 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
3148 wxPy_END_ALLOW_THREADS
;
3150 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
3151 _resultobj
= Py_BuildValue("s",_ptemp
);
3154 _resultobj
= Py_None
;
3159 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
3160 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3161 PyObject
* _resultobj
;
3162 wxPyFontEnumerator
* _arg0
;
3163 PyObject
* _argo0
= 0;
3164 char *_kwnames
[] = { "self", NULL
};
3167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
3170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
3177 wxPy_BEGIN_ALLOW_THREADS
;
3178 delete_wxPyFontEnumerator(_arg0
);
3180 wxPy_END_ALLOW_THREADS
;
3181 } Py_INCREF(Py_None
);
3182 _resultobj
= Py_None
;
3186 #define wxFontEnumerator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3187 static PyObject
*_wrap_wxFontEnumerator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3188 PyObject
* _resultobj
;
3189 wxPyFontEnumerator
* _arg0
;
3192 PyObject
* _argo0
= 0;
3193 PyObject
* _obj1
= 0;
3194 PyObject
* _obj2
= 0;
3195 char *_kwnames
[] = { "self","self","_class", NULL
};
3198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFontEnumerator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3201 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3202 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3203 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setSelf. Expected _wxPyFontEnumerator_p.");
3214 wxPy_BEGIN_ALLOW_THREADS
;
3215 wxFontEnumerator__setSelf(_arg0
,_arg1
,_arg2
);
3217 wxPy_END_ALLOW_THREADS
;
3218 } Py_INCREF(Py_None
);
3219 _resultobj
= Py_None
;
3223 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
3224 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3225 PyObject
* _resultobj
;
3227 wxPyFontEnumerator
* _arg0
;
3228 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
3229 bool _arg2
= (bool ) FALSE
;
3230 PyObject
* _argo0
= 0;
3231 int tempbool2
= (int) FALSE
;
3232 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
3235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3244 _arg2
= (bool ) tempbool2
;
3246 wxPy_BEGIN_ALLOW_THREADS
;
3247 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
3249 wxPy_END_ALLOW_THREADS
;
3250 } _resultobj
= Py_BuildValue("i",_result
);
3254 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3255 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3256 PyObject
* _resultobj
;
3258 wxPyFontEnumerator
* _arg0
;
3259 char * _arg1
= (char *) "";
3260 PyObject
* _argo0
= 0;
3261 char *_kwnames
[] = { "self","facename", NULL
};
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
3267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3274 wxPy_BEGIN_ALLOW_THREADS
;
3275 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
3277 wxPy_END_ALLOW_THREADS
;
3278 } _resultobj
= Py_BuildValue("i",_result
);
3282 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3283 wxArrayString
* arr
= self
->GetEncodings();
3284 PyObject
* list
= PyList_New(0);
3285 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3286 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3289 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3290 PyObject
* _resultobj
;
3292 wxPyFontEnumerator
* _arg0
;
3293 PyObject
* _argo0
= 0;
3294 char *_kwnames
[] = { "self", NULL
};
3297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3307 wxPy_BEGIN_ALLOW_THREADS
;
3308 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3310 wxPy_END_ALLOW_THREADS
;
3312 _resultobj
= _result
;
3317 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3318 wxArrayString
* arr
= self
->GetFacenames();
3319 PyObject
* list
= PyList_New(0);
3320 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3321 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3324 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3325 PyObject
* _resultobj
;
3327 wxPyFontEnumerator
* _arg0
;
3328 PyObject
* _argo0
= 0;
3329 char *_kwnames
[] = { "self", NULL
};
3332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3342 wxPy_BEGIN_ALLOW_THREADS
;
3343 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3345 wxPy_END_ALLOW_THREADS
;
3347 _resultobj
= _result
;
3352 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3353 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3354 PyObject
* _resultobj
;
3355 wxBusyCursor
* _result
;
3356 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3357 PyObject
* _argo0
= 0;
3358 char *_kwnames
[] = { "cursor", NULL
};
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3372 wxPy_BEGIN_ALLOW_THREADS
;
3373 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3375 wxPy_END_ALLOW_THREADS
;
3377 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3378 _resultobj
= Py_BuildValue("s",_ptemp
);
3381 _resultobj
= Py_None
;
3386 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3387 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3388 PyObject
* _resultobj
;
3389 wxBusyCursor
* _arg0
;
3390 PyObject
* _argo0
= 0;
3391 char *_kwnames
[] = { "self", NULL
};
3394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3404 wxPy_BEGIN_ALLOW_THREADS
;
3405 delete_wxBusyCursor(_arg0
);
3407 wxPy_END_ALLOW_THREADS
;
3408 } Py_INCREF(Py_None
);
3409 _resultobj
= Py_None
;
3413 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3414 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3415 PyObject
* _resultobj
;
3416 wxWindowDisabler
* _result
;
3417 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3418 PyObject
* _argo0
= 0;
3419 char *_kwnames
[] = { "winToSkip", NULL
};
3423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3433 wxPy_BEGIN_ALLOW_THREADS
;
3434 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3436 wxPy_END_ALLOW_THREADS
;
3438 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3439 _resultobj
= Py_BuildValue("s",_ptemp
);
3442 _resultobj
= Py_None
;
3447 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3448 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
* _resultobj
;
3450 wxWindowDisabler
* _arg0
;
3451 PyObject
* _argo0
= 0;
3452 char *_kwnames
[] = { "self", NULL
};
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3458 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3459 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3460 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3465 wxPy_BEGIN_ALLOW_THREADS
;
3466 delete_wxWindowDisabler(_arg0
);
3468 wxPy_END_ALLOW_THREADS
;
3469 } Py_INCREF(Py_None
);
3470 _resultobj
= Py_None
;
3474 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3475 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3476 PyObject
* _resultobj
;
3477 wxMutexGuiLocker
* _result
;
3478 char *_kwnames
[] = { NULL
};
3482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3485 wxPy_BEGIN_ALLOW_THREADS
;
3486 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3488 wxPy_END_ALLOW_THREADS
;
3490 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3491 _resultobj
= Py_BuildValue("s",_ptemp
);
3494 _resultobj
= Py_None
;
3499 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3500 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3501 PyObject
* _resultobj
;
3502 wxMutexGuiLocker
* _arg0
;
3503 PyObject
* _argo0
= 0;
3504 char *_kwnames
[] = { "self", NULL
};
3507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3517 wxPy_BEGIN_ALLOW_THREADS
;
3518 delete_wxMutexGuiLocker(_arg0
);
3520 wxPy_END_ALLOW_THREADS
;
3521 } Py_INCREF(Py_None
);
3522 _resultobj
= Py_None
;
3526 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3527 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3528 PyObject
* _resultobj
;
3529 wxTipProvider
* _arg0
;
3530 PyObject
* _argo0
= 0;
3531 char *_kwnames
[] = { "self", NULL
};
3534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3544 wxPy_BEGIN_ALLOW_THREADS
;
3545 delete_wxTipProvider(_arg0
);
3547 wxPy_END_ALLOW_THREADS
;
3548 } Py_INCREF(Py_None
);
3549 _resultobj
= Py_None
;
3553 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3554 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3555 PyObject
* _resultobj
;
3557 wxTipProvider
* _arg0
;
3558 PyObject
* _argo0
= 0;
3559 char *_kwnames
[] = { "self", NULL
};
3562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3572 wxPy_BEGIN_ALLOW_THREADS
;
3573 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3575 wxPy_END_ALLOW_THREADS
;
3577 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3585 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3586 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3587 PyObject
* _resultobj
;
3589 wxTipProvider
* _arg0
;
3590 PyObject
* _argo0
= 0;
3591 char *_kwnames
[] = { "self", NULL
};
3594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3604 wxPy_BEGIN_ALLOW_THREADS
;
3605 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3607 wxPy_END_ALLOW_THREADS
;
3608 } _resultobj
= Py_BuildValue("i",_result
);
3612 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3613 wxPyTipProvider
*src
;
3614 wxTipProvider
*dest
;
3615 src
= (wxPyTipProvider
*) ptr
;
3616 dest
= (wxTipProvider
*) src
;
3617 return (void *) dest
;
3620 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3621 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3622 PyObject
* _resultobj
;
3623 wxPyTipProvider
* _result
;
3625 char *_kwnames
[] = { "currentTip", NULL
};
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3632 wxPy_BEGIN_ALLOW_THREADS
;
3633 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3635 wxPy_END_ALLOW_THREADS
;
3637 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3638 _resultobj
= Py_BuildValue("s",_ptemp
);
3641 _resultobj
= Py_None
;
3646 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3647 wxGenericDragImage
*src
;
3649 src
= (wxGenericDragImage
*) ptr
;
3650 dest
= (wxObject
*) src
;
3651 return (void *) dest
;
3654 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3655 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
* _resultobj
;
3657 wxGenericDragImage
* _result
;
3659 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3660 PyObject
* _argo0
= 0;
3661 PyObject
* _argo1
= 0;
3662 char *_kwnames
[] = { "image","cursor", NULL
};
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3676 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3677 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3683 wxPy_BEGIN_ALLOW_THREADS
;
3684 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3686 wxPy_END_ALLOW_THREADS
;
3688 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3689 _resultobj
= Py_BuildValue("s",_ptemp
);
3692 _resultobj
= Py_None
;
3697 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3698 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3699 PyObject
* _resultobj
;
3700 wxGenericDragImage
* _arg0
;
3701 PyObject
* _argo0
= 0;
3702 char *_kwnames
[] = { "self", NULL
};
3705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3715 wxPy_BEGIN_ALLOW_THREADS
;
3716 delete_wxGenericDragImage(_arg0
);
3718 wxPy_END_ALLOW_THREADS
;
3719 } Py_INCREF(Py_None
);
3720 _resultobj
= Py_None
;
3724 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3725 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3726 PyObject
* _resultobj
;
3727 wxGenericDragImage
* _arg0
;
3729 PyObject
* _argo0
= 0;
3730 PyObject
* _argo1
= 0;
3731 char *_kwnames
[] = { "self","bitmap", NULL
};
3734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3744 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3745 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3751 wxPy_BEGIN_ALLOW_THREADS
;
3752 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3754 wxPy_END_ALLOW_THREADS
;
3755 } Py_INCREF(Py_None
);
3756 _resultobj
= Py_None
;
3760 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3761 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
* _resultobj
;
3764 wxGenericDragImage
* _arg0
;
3767 bool _arg3
= (bool ) FALSE
;
3768 wxRect
* _arg4
= (wxRect
*) NULL
;
3769 PyObject
* _argo0
= 0;
3771 PyObject
* _obj1
= 0;
3772 PyObject
* _argo2
= 0;
3773 int tempbool3
= (int) FALSE
;
3775 PyObject
* _obj4
= 0;
3776 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3790 if (! wxPoint_helper(_obj1
, &_arg1
))
3794 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3795 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3800 _arg3
= (bool ) tempbool3
;
3804 if (! wxRect_helper(_obj4
, &_arg4
))
3808 wxPy_BEGIN_ALLOW_THREADS
;
3809 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3811 wxPy_END_ALLOW_THREADS
;
3812 } _resultobj
= Py_BuildValue("i",_result
);
3816 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3817 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
* _resultobj
;
3820 wxGenericDragImage
* _arg0
;
3824 PyObject
* _argo0
= 0;
3826 PyObject
* _obj1
= 0;
3827 PyObject
* _argo2
= 0;
3828 PyObject
* _argo3
= 0;
3829 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3843 if (! wxPoint_helper(_obj1
, &_arg1
))
3847 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3848 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3854 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3855 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3861 wxPy_BEGIN_ALLOW_THREADS
;
3862 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3864 wxPy_END_ALLOW_THREADS
;
3865 } _resultobj
= Py_BuildValue("i",_result
);
3869 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3870 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
* _resultobj
;
3873 wxGenericDragImage
* _arg0
;
3874 PyObject
* _argo0
= 0;
3875 char *_kwnames
[] = { "self", NULL
};
3878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3888 wxPy_BEGIN_ALLOW_THREADS
;
3889 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3891 wxPy_END_ALLOW_THREADS
;
3892 } _resultobj
= Py_BuildValue("i",_result
);
3896 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3897 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
* _resultobj
;
3900 wxGenericDragImage
* _arg0
;
3902 PyObject
* _argo0
= 0;
3904 PyObject
* _obj1
= 0;
3905 char *_kwnames
[] = { "self","pt", NULL
};
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3919 if (! wxPoint_helper(_obj1
, &_arg1
))
3923 wxPy_BEGIN_ALLOW_THREADS
;
3924 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3926 wxPy_END_ALLOW_THREADS
;
3927 } _resultobj
= Py_BuildValue("i",_result
);
3931 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3932 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3933 PyObject
* _resultobj
;
3935 wxGenericDragImage
* _arg0
;
3936 PyObject
* _argo0
= 0;
3937 char *_kwnames
[] = { "self", NULL
};
3940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3950 wxPy_BEGIN_ALLOW_THREADS
;
3951 _result
= (bool )wxDragImage_Show(_arg0
);
3953 wxPy_END_ALLOW_THREADS
;
3954 } _resultobj
= Py_BuildValue("i",_result
);
3958 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3959 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3960 PyObject
* _resultobj
;
3962 wxGenericDragImage
* _arg0
;
3963 PyObject
* _argo0
= 0;
3964 char *_kwnames
[] = { "self", NULL
};
3967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3977 wxPy_BEGIN_ALLOW_THREADS
;
3978 _result
= (bool )wxDragImage_Hide(_arg0
);
3980 wxPy_END_ALLOW_THREADS
;
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 wxPy_BEGIN_ALLOW_THREADS
;
4014 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4016 wxPy_END_ALLOW_THREADS
;
4017 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4018 _resultobj
= Py_BuildValue("s",_ptemp
);
4022 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4023 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
* _resultobj
;
4026 wxGenericDragImage
* _arg0
;
4031 PyObject
* _argo0
= 0;
4033 PyObject
* _obj1
= 0;
4035 PyObject
* _obj2
= 0;
4038 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4052 if (! wxPoint_helper(_obj1
, &_arg1
))
4057 if (! wxPoint_helper(_obj2
, &_arg2
))
4060 _arg3
= (bool ) tempbool3
;
4061 _arg4
= (bool ) tempbool4
;
4063 wxPy_BEGIN_ALLOW_THREADS
;
4064 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4066 wxPy_END_ALLOW_THREADS
;
4067 } _resultobj
= Py_BuildValue("i",_result
);
4071 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4074 src
= (wxPyTimer
*) ptr
;
4075 dest
= (wxObject
*) src
;
4076 return (void *) dest
;
4079 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4080 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4081 PyObject
* _resultobj
;
4082 wxPyTimer
* _result
;
4084 PyObject
* _obj0
= 0;
4085 char *_kwnames
[] = { "notify", NULL
};
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4095 wxPy_BEGIN_ALLOW_THREADS
;
4096 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4098 wxPy_END_ALLOW_THREADS
;
4100 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4101 _resultobj
= Py_BuildValue("s",_ptemp
);
4104 _resultobj
= Py_None
;
4109 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4110 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
* _resultobj
;
4113 PyObject
* _argo0
= 0;
4114 char *_kwnames
[] = { "self", NULL
};
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4127 wxPy_BEGIN_ALLOW_THREADS
;
4128 delete_wxPyTimer(_arg0
);
4130 wxPy_END_ALLOW_THREADS
;
4131 } Py_INCREF(Py_None
);
4132 _resultobj
= Py_None
;
4136 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4137 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4138 PyObject
* _resultobj
;
4141 PyObject
* _argo0
= 0;
4142 char *_kwnames
[] = { "self", NULL
};
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4155 wxPy_BEGIN_ALLOW_THREADS
;
4156 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4158 wxPy_END_ALLOW_THREADS
;
4159 } _resultobj
= Py_BuildValue("i",_result
);
4163 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4164 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4165 PyObject
* _resultobj
;
4168 PyObject
* _argo0
= 0;
4169 char *_kwnames
[] = { "self", NULL
};
4172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4175 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4176 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4182 wxPy_BEGIN_ALLOW_THREADS
;
4183 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4185 wxPy_END_ALLOW_THREADS
;
4186 } _resultobj
= Py_BuildValue("i",_result
);
4190 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4191 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4192 PyObject
* _resultobj
;
4195 PyObject
* _argo0
= 0;
4196 char *_kwnames
[] = { "self", NULL
};
4199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4209 wxPy_BEGIN_ALLOW_THREADS
;
4210 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4212 wxPy_END_ALLOW_THREADS
;
4213 } _resultobj
= Py_BuildValue("i",_result
);
4217 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4218 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
* _resultobj
;
4221 wxEvtHandler
* _arg1
;
4222 int _arg2
= (int ) -1;
4223 PyObject
* _argo0
= 0;
4224 PyObject
* _argo1
= 0;
4225 char *_kwnames
[] = { "self","owner","id", NULL
};
4228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4231 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4232 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4233 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4238 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4239 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4245 wxPy_BEGIN_ALLOW_THREADS
;
4246 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4248 wxPy_END_ALLOW_THREADS
;
4249 } Py_INCREF(Py_None
);
4250 _resultobj
= Py_None
;
4254 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4255 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4256 PyObject
* _resultobj
;
4258 int _arg1
= (int ) -1;
4259 int _arg2
= (int ) FALSE
;
4260 PyObject
* _argo0
= 0;
4261 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4274 wxPy_BEGIN_ALLOW_THREADS
;
4275 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4277 wxPy_END_ALLOW_THREADS
;
4278 } Py_INCREF(Py_None
);
4279 _resultobj
= Py_None
;
4283 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4284 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
* _resultobj
;
4287 PyObject
* _argo0
= 0;
4288 char *_kwnames
[] = { "self", NULL
};
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4301 wxPy_BEGIN_ALLOW_THREADS
;
4302 wxPyTimer_Stop(_arg0
);
4304 wxPy_END_ALLOW_THREADS
;
4305 } Py_INCREF(Py_None
);
4306 _resultobj
= Py_None
;
4310 #define new_wxLog() (new wxLog())
4311 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
* _resultobj
;
4314 char *_kwnames
[] = { NULL
};
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4321 wxPy_BEGIN_ALLOW_THREADS
;
4322 _result
= (wxLog
*)new_wxLog();
4324 wxPy_END_ALLOW_THREADS
;
4326 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4327 _resultobj
= Py_BuildValue("s",_ptemp
);
4330 _resultobj
= Py_None
;
4335 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
* _resultobj
;
4338 char *_kwnames
[] = { NULL
};
4341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4344 wxPy_BEGIN_ALLOW_THREADS
;
4345 _result
= (bool )wxLog::IsEnabled();
4347 wxPy_END_ALLOW_THREADS
;
4348 } _resultobj
= Py_BuildValue("i",_result
);
4352 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4353 PyObject
* _resultobj
;
4355 bool _arg0
= (bool ) TRUE
;
4356 int tempbool0
= (int) TRUE
;
4357 char *_kwnames
[] = { "doIt", NULL
};
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4362 _arg0
= (bool ) tempbool0
;
4364 wxPy_BEGIN_ALLOW_THREADS
;
4365 _result
= (bool )wxLog::EnableLogging(_arg0
);
4367 wxPy_END_ALLOW_THREADS
;
4368 } _resultobj
= Py_BuildValue("i",_result
);
4372 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
* _resultobj
;
4376 int _arg2
= (int ) 0;
4377 PyObject
* _argo0
= 0;
4378 char *_kwnames
[] = { "level","szString","t", NULL
};
4381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4391 wxPy_BEGIN_ALLOW_THREADS
;
4392 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
4394 wxPy_END_ALLOW_THREADS
;
4395 } Py_INCREF(Py_None
);
4396 _resultobj
= Py_None
;
4400 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4401 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4402 PyObject
* _resultobj
;
4404 PyObject
* _argo0
= 0;
4405 char *_kwnames
[] = { "self", NULL
};
4408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4418 wxPy_BEGIN_ALLOW_THREADS
;
4421 wxPy_END_ALLOW_THREADS
;
4422 } Py_INCREF(Py_None
);
4423 _resultobj
= Py_None
;
4427 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4428 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
* _resultobj
;
4432 PyObject
* _argo0
= 0;
4433 char *_kwnames
[] = { "self", NULL
};
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4446 wxPy_BEGIN_ALLOW_THREADS
;
4447 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4449 wxPy_END_ALLOW_THREADS
;
4450 } _resultobj
= Py_BuildValue("i",_result
);
4454 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
* _resultobj
;
4456 char *_kwnames
[] = { NULL
};
4459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4462 wxPy_BEGIN_ALLOW_THREADS
;
4463 wxLog::FlushActive();
4465 wxPy_END_ALLOW_THREADS
;
4466 } Py_INCREF(Py_None
);
4467 _resultobj
= Py_None
;
4471 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
* _resultobj
;
4474 char *_kwnames
[] = { NULL
};
4478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4481 wxPy_BEGIN_ALLOW_THREADS
;
4482 _result
= (wxLog
*)wxLog::GetActiveTarget();
4484 wxPy_END_ALLOW_THREADS
;
4486 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4487 _resultobj
= Py_BuildValue("s",_ptemp
);
4490 _resultobj
= Py_None
;
4495 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
* _resultobj
;
4499 PyObject
* _argo0
= 0;
4500 char *_kwnames
[] = { "pLogger", NULL
};
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4514 wxPy_BEGIN_ALLOW_THREADS
;
4515 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4517 wxPy_END_ALLOW_THREADS
;
4519 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4520 _resultobj
= Py_BuildValue("s",_ptemp
);
4523 _resultobj
= Py_None
;
4528 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4529 PyObject
* _resultobj
;
4530 char *_kwnames
[] = { NULL
};
4533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4536 wxPy_BEGIN_ALLOW_THREADS
;
4539 wxPy_END_ALLOW_THREADS
;
4540 } Py_INCREF(Py_None
);
4541 _resultobj
= Py_None
;
4545 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4546 PyObject
* _resultobj
;
4547 char *_kwnames
[] = { NULL
};
4550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4553 wxPy_BEGIN_ALLOW_THREADS
;
4556 wxPy_END_ALLOW_THREADS
;
4557 } Py_INCREF(Py_None
);
4558 _resultobj
= Py_None
;
4562 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4563 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4564 PyObject
* _resultobj
;
4566 bool _arg1
= (bool ) TRUE
;
4567 PyObject
* _argo0
= 0;
4568 int tempbool1
= (int) TRUE
;
4569 char *_kwnames
[] = { "self","bVerbose", NULL
};
4572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4581 _arg1
= (bool ) tempbool1
;
4583 wxPy_BEGIN_ALLOW_THREADS
;
4584 wxLog_SetVerbose(_arg0
,_arg1
);
4586 wxPy_END_ALLOW_THREADS
;
4587 } Py_INCREF(Py_None
);
4588 _resultobj
= Py_None
;
4592 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
* _resultobj
;
4594 char *_kwnames
[] = { NULL
};
4597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4600 wxPy_BEGIN_ALLOW_THREADS
;
4601 wxLog::DontCreateOnDemand();
4603 wxPy_END_ALLOW_THREADS
;
4604 } Py_INCREF(Py_None
);
4605 _resultobj
= Py_None
;
4609 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4610 PyObject
* _resultobj
;
4611 wxTraceMask
* _arg0
;
4612 PyObject
* _argo0
= 0;
4613 char *_kwnames
[] = { "ulMask", NULL
};
4616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4626 wxPy_BEGIN_ALLOW_THREADS
;
4627 wxLog::SetTraceMask(*_arg0
);
4629 wxPy_END_ALLOW_THREADS
;
4630 } Py_INCREF(Py_None
);
4631 _resultobj
= Py_None
;
4635 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
* _resultobj
;
4638 PyObject
* _obj0
= 0;
4639 char *_kwnames
[] = { "str", NULL
};
4642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4645 #if PYTHON_API_VERSION >= 1009
4646 char* tmpPtr
; int tmpSize
;
4647 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4648 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4651 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4653 _arg0
= new wxString(tmpPtr
, tmpSize
);
4655 if (!PyString_Check(_obj0
)) {
4656 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4659 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4663 wxPy_BEGIN_ALLOW_THREADS
;
4664 wxLog::AddTraceMask(*_arg0
);
4666 wxPy_END_ALLOW_THREADS
;
4667 } Py_INCREF(Py_None
);
4668 _resultobj
= Py_None
;
4676 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4677 PyObject
* _resultobj
;
4679 PyObject
* _obj0
= 0;
4680 char *_kwnames
[] = { "str", NULL
};
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4686 #if PYTHON_API_VERSION >= 1009
4687 char* tmpPtr
; int tmpSize
;
4688 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4689 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4692 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4694 _arg0
= new wxString(tmpPtr
, tmpSize
);
4696 if (!PyString_Check(_obj0
)) {
4697 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4700 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4704 wxPy_BEGIN_ALLOW_THREADS
;
4705 wxLog::RemoveTraceMask(*_arg0
);
4707 wxPy_END_ALLOW_THREADS
;
4708 } Py_INCREF(Py_None
);
4709 _resultobj
= Py_None
;
4717 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4718 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4719 PyObject
* _resultobj
;
4722 PyObject
* _argo0
= 0;
4723 char *_kwnames
[] = { "self", NULL
};
4726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4736 wxPy_BEGIN_ALLOW_THREADS
;
4737 _result
= (bool )wxLog_GetVerbose(_arg0
);
4739 wxPy_END_ALLOW_THREADS
;
4740 } _resultobj
= Py_BuildValue("i",_result
);
4744 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
* _resultobj
;
4746 wxTraceMask
* _result
;
4747 char *_kwnames
[] = { NULL
};
4751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4754 wxPy_BEGIN_ALLOW_THREADS
;
4755 _result
= new wxTraceMask (wxLog::GetTraceMask());
4757 wxPy_END_ALLOW_THREADS
;
4758 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
4759 _resultobj
= Py_BuildValue("s",_ptemp
);
4763 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4764 PyObject
* _resultobj
;
4767 char *_kwnames
[] = { "mask", NULL
};
4770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
4773 wxPy_BEGIN_ALLOW_THREADS
;
4774 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
4776 wxPy_END_ALLOW_THREADS
;
4777 } _resultobj
= Py_BuildValue("i",_result
);
4781 static void *SwigwxLogStderrTowxLog(void *ptr
) {
4784 src
= (wxLogStderr
*) ptr
;
4785 dest
= (wxLog
*) src
;
4786 return (void *) dest
;
4789 #define new_wxLogStderr() (new wxLogStderr())
4790 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4791 PyObject
* _resultobj
;
4792 wxLogStderr
* _result
;
4793 char *_kwnames
[] = { NULL
};
4797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
4800 wxPy_BEGIN_ALLOW_THREADS
;
4801 _result
= (wxLogStderr
*)new_wxLogStderr();
4803 wxPy_END_ALLOW_THREADS
;
4805 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
4806 _resultobj
= Py_BuildValue("s",_ptemp
);
4809 _resultobj
= Py_None
;
4814 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
4817 src
= (wxLogTextCtrl
*) ptr
;
4818 dest
= (wxLog
*) src
;
4819 return (void *) dest
;
4822 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
4823 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
* _resultobj
;
4825 wxLogTextCtrl
* _result
;
4827 PyObject
* _argo0
= 0;
4828 char *_kwnames
[] = { "pTextCtrl", NULL
};
4832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
4835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
4842 wxPy_BEGIN_ALLOW_THREADS
;
4843 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
4845 wxPy_END_ALLOW_THREADS
;
4847 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
4848 _resultobj
= Py_BuildValue("s",_ptemp
);
4851 _resultobj
= Py_None
;
4856 static void *SwigwxLogGuiTowxLog(void *ptr
) {
4859 src
= (wxLogGui
*) ptr
;
4860 dest
= (wxLog
*) src
;
4861 return (void *) dest
;
4864 #define new_wxLogGui() (new wxLogGui())
4865 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
* _resultobj
;
4868 char *_kwnames
[] = { NULL
};
4872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
4875 wxPy_BEGIN_ALLOW_THREADS
;
4876 _result
= (wxLogGui
*)new_wxLogGui();
4878 wxPy_END_ALLOW_THREADS
;
4880 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
4881 _resultobj
= Py_BuildValue("s",_ptemp
);
4884 _resultobj
= Py_None
;
4889 static void *SwigwxLogWindowTowxLog(void *ptr
) {
4892 src
= (wxLogWindow
*) ptr
;
4893 dest
= (wxLog
*) src
;
4894 return (void *) dest
;
4897 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4898 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4899 PyObject
* _resultobj
;
4900 wxLogWindow
* _result
;
4903 bool _arg2
= (bool ) TRUE
;
4904 bool _arg3
= (bool ) TRUE
;
4905 PyObject
* _argo0
= 0;
4906 int tempbool2
= (int) TRUE
;
4907 int tempbool3
= (int) TRUE
;
4908 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
4915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
4917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
4921 _arg2
= (bool ) tempbool2
;
4922 _arg3
= (bool ) tempbool3
;
4924 wxPy_BEGIN_ALLOW_THREADS
;
4925 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
4927 wxPy_END_ALLOW_THREADS
;
4929 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
4930 _resultobj
= Py_BuildValue("s",_ptemp
);
4933 _resultobj
= Py_None
;
4938 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4939 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
* _resultobj
;
4941 wxLogWindow
* _arg0
;
4942 bool _arg1
= (bool ) TRUE
;
4943 PyObject
* _argo0
= 0;
4944 int tempbool1
= (int) TRUE
;
4945 char *_kwnames
[] = { "self","bShow", NULL
};
4948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
4957 _arg1
= (bool ) tempbool1
;
4959 wxPy_BEGIN_ALLOW_THREADS
;
4960 wxLogWindow_Show(_arg0
,_arg1
);
4962 wxPy_END_ALLOW_THREADS
;
4963 } Py_INCREF(Py_None
);
4964 _resultobj
= Py_None
;
4968 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
4969 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4970 PyObject
* _resultobj
;
4972 wxLogWindow
* _arg0
;
4973 PyObject
* _argo0
= 0;
4974 char *_kwnames
[] = { "self", NULL
};
4977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
4980 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4981 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4982 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
4987 wxPy_BEGIN_ALLOW_THREADS
;
4988 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
4990 wxPy_END_ALLOW_THREADS
;
4991 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4995 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
4996 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
* _resultobj
;
4999 wxLogWindow
* _arg0
;
5000 PyObject
* _argo0
= 0;
5001 char *_kwnames
[] = { "self", NULL
};
5005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5015 wxPy_BEGIN_ALLOW_THREADS
;
5016 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5018 wxPy_END_ALLOW_THREADS
;
5020 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5021 _resultobj
= Py_BuildValue("s",_ptemp
);
5024 _resultobj
= Py_None
;
5029 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5030 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5031 PyObject
* _resultobj
;
5033 wxLogWindow
* _arg0
;
5034 PyObject
* _argo0
= 0;
5035 char *_kwnames
[] = { "self", NULL
};
5038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5048 wxPy_BEGIN_ALLOW_THREADS
;
5049 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5051 wxPy_END_ALLOW_THREADS
;
5052 } _resultobj
= Py_BuildValue("i",_result
);
5056 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5057 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5058 PyObject
* _resultobj
;
5059 wxLogWindow
* _arg0
;
5061 PyObject
* _argo0
= 0;
5063 char *_kwnames
[] = { "self","bDoPass", NULL
};
5066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5075 _arg1
= (bool ) tempbool1
;
5077 wxPy_BEGIN_ALLOW_THREADS
;
5078 wxLogWindow_PassMessages(_arg0
,_arg1
);
5080 wxPy_END_ALLOW_THREADS
;
5081 } Py_INCREF(Py_None
);
5082 _resultobj
= Py_None
;
5086 #define new_wxLogNull() (new wxLogNull())
5087 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
* _resultobj
;
5089 wxLogNull
* _result
;
5090 char *_kwnames
[] = { NULL
};
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5097 wxPy_BEGIN_ALLOW_THREADS
;
5098 _result
= (wxLogNull
*)new_wxLogNull();
5100 wxPy_END_ALLOW_THREADS
;
5102 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5103 _resultobj
= Py_BuildValue("s",_ptemp
);
5106 _resultobj
= Py_None
;
5111 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5112 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5113 PyObject
* _resultobj
;
5115 PyObject
* _argo0
= 0;
5116 char *_kwnames
[] = { "self", NULL
};
5119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5129 wxPy_BEGIN_ALLOW_THREADS
;
5130 delete_wxLogNull(_arg0
);
5132 wxPy_END_ALLOW_THREADS
;
5133 } Py_INCREF(Py_None
);
5134 _resultobj
= Py_None
;
5138 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5139 wxProcessEvent
*src
;
5141 src
= (wxProcessEvent
*) ptr
;
5142 dest
= (wxEvent
*) src
;
5143 return (void *) dest
;
5146 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5147 wxProcessEvent
*src
;
5149 src
= (wxProcessEvent
*) ptr
;
5150 dest
= (wxObject
*) src
;
5151 return (void *) dest
;
5154 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5155 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5156 PyObject
* _resultobj
;
5157 wxProcessEvent
* _result
;
5158 int _arg0
= (int ) 0;
5159 int _arg1
= (int ) 0;
5160 int _arg2
= (int ) 0;
5161 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5168 wxPy_BEGIN_ALLOW_THREADS
;
5169 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5171 wxPy_END_ALLOW_THREADS
;
5173 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5174 _resultobj
= Py_BuildValue("s",_ptemp
);
5177 _resultobj
= Py_None
;
5182 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5183 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5184 PyObject
* _resultobj
;
5186 wxProcessEvent
* _arg0
;
5187 PyObject
* _argo0
= 0;
5188 char *_kwnames
[] = { "self", NULL
};
5191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5201 wxPy_BEGIN_ALLOW_THREADS
;
5202 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5204 wxPy_END_ALLOW_THREADS
;
5205 } _resultobj
= Py_BuildValue("i",_result
);
5209 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5210 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5211 PyObject
* _resultobj
;
5213 wxProcessEvent
* _arg0
;
5214 PyObject
* _argo0
= 0;
5215 char *_kwnames
[] = { "self", NULL
};
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5228 wxPy_BEGIN_ALLOW_THREADS
;
5229 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5231 wxPy_END_ALLOW_THREADS
;
5232 } _resultobj
= Py_BuildValue("i",_result
);
5236 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5237 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
* _resultobj
;
5240 wxProcessEvent
* _arg0
;
5242 PyObject
* _argo0
= 0;
5243 char *_kwnames
[] = { "self","m_pid", NULL
};
5246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5249 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5250 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5251 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5256 wxPy_BEGIN_ALLOW_THREADS
;
5257 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5259 wxPy_END_ALLOW_THREADS
;
5260 } _resultobj
= Py_BuildValue("i",_result
);
5264 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5265 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
* _resultobj
;
5268 wxProcessEvent
* _arg0
;
5269 PyObject
* _argo0
= 0;
5270 char *_kwnames
[] = { "self", NULL
};
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5283 wxPy_BEGIN_ALLOW_THREADS
;
5284 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5286 wxPy_END_ALLOW_THREADS
;
5287 } _resultobj
= Py_BuildValue("i",_result
);
5291 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5292 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5293 PyObject
* _resultobj
;
5295 wxProcessEvent
* _arg0
;
5297 PyObject
* _argo0
= 0;
5298 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5304 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5305 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5311 wxPy_BEGIN_ALLOW_THREADS
;
5312 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5314 wxPy_END_ALLOW_THREADS
;
5315 } _resultobj
= Py_BuildValue("i",_result
);
5319 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5320 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
* _resultobj
;
5323 wxProcessEvent
* _arg0
;
5324 PyObject
* _argo0
= 0;
5325 char *_kwnames
[] = { "self", NULL
};
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5338 wxPy_BEGIN_ALLOW_THREADS
;
5339 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5341 wxPy_END_ALLOW_THREADS
;
5342 } _resultobj
= Py_BuildValue("i",_result
);
5346 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5349 src
= (wxPyProcess
*) ptr
;
5350 dest
= (wxEvtHandler
*) src
;
5351 return (void *) dest
;
5354 static void *SwigwxPyProcessTowxObject(void *ptr
) {
5357 src
= (wxPyProcess
*) ptr
;
5358 dest
= (wxObject
*) src
;
5359 return (void *) dest
;
5362 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5363 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
* _resultobj
;
5365 wxPyProcess
* _result
;
5366 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
5367 int _arg1
= (int ) -1;
5368 PyObject
* _argo0
= 0;
5369 char *_kwnames
[] = { "parent","id", NULL
};
5373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
5376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
5378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
5383 wxPy_BEGIN_ALLOW_THREADS
;
5384 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
5386 wxPy_END_ALLOW_THREADS
;
5388 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
5389 _resultobj
= Py_BuildValue("s",_ptemp
);
5392 _resultobj
= Py_None
;
5397 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
5398 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
* _resultobj
;
5400 wxPyProcess
* _arg0
;
5401 PyObject
* _argo0
= 0;
5402 char *_kwnames
[] = { "self", NULL
};
5405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
5408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
5415 wxPy_BEGIN_ALLOW_THREADS
;
5416 wxPyProcess_Destroy(_arg0
);
5418 wxPy_END_ALLOW_THREADS
;
5419 } Py_INCREF(Py_None
);
5420 _resultobj
= Py_None
;
5424 #define wxProcess__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5425 static PyObject
*_wrap_wxProcess__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
* _resultobj
;
5427 wxPyProcess
* _arg0
;
5430 PyObject
* _argo0
= 0;
5431 PyObject
* _obj1
= 0;
5432 PyObject
* _obj2
= 0;
5433 char *_kwnames
[] = { "self","self","_class", NULL
};
5436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setSelf. Expected _wxPyProcess_p.");
5452 wxPy_BEGIN_ALLOW_THREADS
;
5453 wxProcess__setSelf(_arg0
,_arg1
,_arg2
);
5455 wxPy_END_ALLOW_THREADS
;
5456 } Py_INCREF(Py_None
);
5457 _resultobj
= Py_None
;
5461 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
5462 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
* _resultobj
;
5464 wxPyProcess
* _arg0
;
5467 PyObject
* _argo0
= 0;
5468 char *_kwnames
[] = { "self","pid","status", NULL
};
5471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
5481 wxPy_BEGIN_ALLOW_THREADS
;
5482 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
5484 wxPy_END_ALLOW_THREADS
;
5485 } Py_INCREF(Py_None
);
5486 _resultobj
= Py_None
;
5490 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
5491 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
* _resultobj
;
5493 wxPyProcess
* _arg0
;
5494 PyObject
* _argo0
= 0;
5495 char *_kwnames
[] = { "self", NULL
};
5498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
5501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
5508 wxPy_BEGIN_ALLOW_THREADS
;
5509 wxProcess_Redirect(_arg0
);
5511 wxPy_END_ALLOW_THREADS
;
5512 } Py_INCREF(Py_None
);
5513 _resultobj
= Py_None
;
5517 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
5518 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
* _resultobj
;
5521 wxPyProcess
* _arg0
;
5522 PyObject
* _argo0
= 0;
5523 char *_kwnames
[] = { "self", NULL
};
5526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
5529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
5536 wxPy_BEGIN_ALLOW_THREADS
;
5537 _result
= (bool )wxProcess_IsRedirected(_arg0
);
5539 wxPy_END_ALLOW_THREADS
;
5540 } _resultobj
= Py_BuildValue("i",_result
);
5544 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
5545 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
* _resultobj
;
5547 wxPyProcess
* _arg0
;
5548 PyObject
* _argo0
= 0;
5549 char *_kwnames
[] = { "self", NULL
};
5552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
5555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
5562 wxPy_BEGIN_ALLOW_THREADS
;
5563 wxProcess_Detach(_arg0
);
5565 wxPy_END_ALLOW_THREADS
;
5566 } Py_INCREF(Py_None
);
5567 _resultobj
= Py_None
;
5571 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
5572 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
* _resultobj
;
5574 wxInputStream
* _result
;
5575 wxPyProcess
* _arg0
;
5576 PyObject
* _argo0
= 0;
5577 char *_kwnames
[] = { "self", NULL
};
5580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
5583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
5590 wxPy_BEGIN_ALLOW_THREADS
;
5591 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
5593 wxPy_END_ALLOW_THREADS
;
5595 wxPyInputStream
* _ptr
= NULL
;
5598 _ptr
= new wxPyInputStream(_result
);
5600 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
5605 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
5606 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5607 PyObject
* _resultobj
;
5608 wxInputStream
* _result
;
5609 wxPyProcess
* _arg0
;
5610 PyObject
* _argo0
= 0;
5611 char *_kwnames
[] = { "self", NULL
};
5614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
5617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
5624 wxPy_BEGIN_ALLOW_THREADS
;
5625 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
5627 wxPy_END_ALLOW_THREADS
;
5629 wxPyInputStream
* _ptr
= NULL
;
5632 _ptr
= new wxPyInputStream(_result
);
5634 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
5639 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
5640 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
* _resultobj
;
5642 wxOutputStream
* _result
;
5643 wxPyProcess
* _arg0
;
5644 PyObject
* _argo0
= 0;
5645 char *_kwnames
[] = { "self", NULL
};
5649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
5652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
5659 wxPy_BEGIN_ALLOW_THREADS
;
5660 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
5662 wxPy_END_ALLOW_THREADS
;
5664 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
5665 _resultobj
= Py_BuildValue("s",_ptemp
);
5668 _resultobj
= Py_None
;
5673 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
5674 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5675 PyObject
* _resultobj
;
5676 wxPyProcess
* _arg0
;
5677 PyObject
* _argo0
= 0;
5678 char *_kwnames
[] = { "self", NULL
};
5681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
5684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
5691 wxPy_BEGIN_ALLOW_THREADS
;
5692 wxProcess_CloseOutput(_arg0
);
5694 wxPy_END_ALLOW_THREADS
;
5695 } Py_INCREF(Py_None
);
5696 _resultobj
= Py_None
;
5700 static void *SwigwxJoystickTowxObject(void *ptr
) {
5703 src
= (wxJoystick
*) ptr
;
5704 dest
= (wxObject
*) src
;
5705 return (void *) dest
;
5708 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
5709 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
* _resultobj
;
5711 wxJoystick
* _result
;
5712 int _arg0
= (int ) wxJOYSTICK1
;
5713 char *_kwnames
[] = { "joystick", NULL
};
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
5720 wxPy_BEGIN_ALLOW_THREADS
;
5721 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
5723 wxPy_END_ALLOW_THREADS
;
5725 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
5726 _resultobj
= Py_BuildValue("s",_ptemp
);
5729 _resultobj
= Py_None
;
5734 #define delete_wxJoystick(_swigobj) (delete _swigobj)
5735 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
* _resultobj
;
5738 PyObject
* _argo0
= 0;
5739 char *_kwnames
[] = { "self", NULL
};
5742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
5745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
5752 wxPy_BEGIN_ALLOW_THREADS
;
5753 delete_wxJoystick(_arg0
);
5755 wxPy_END_ALLOW_THREADS
;
5756 } Py_INCREF(Py_None
);
5757 _resultobj
= Py_None
;
5761 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
5762 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5763 PyObject
* _resultobj
;
5766 PyObject
* _argo0
= 0;
5767 char *_kwnames
[] = { "self", NULL
};
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
5774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
5781 wxPy_BEGIN_ALLOW_THREADS
;
5782 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
5784 wxPy_END_ALLOW_THREADS
;
5785 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5786 _resultobj
= Py_BuildValue("s",_ptemp
);
5790 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
5791 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5792 PyObject
* _resultobj
;
5795 PyObject
* _argo0
= 0;
5796 char *_kwnames
[] = { "self", NULL
};
5799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
5802 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5803 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5804 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
5809 wxPy_BEGIN_ALLOW_THREADS
;
5810 _result
= (int )wxJoystick_GetZPosition(_arg0
);
5812 wxPy_END_ALLOW_THREADS
;
5813 } _resultobj
= Py_BuildValue("i",_result
);
5817 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
5818 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
* _resultobj
;
5822 PyObject
* _argo0
= 0;
5823 char *_kwnames
[] = { "self", NULL
};
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
5829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
5836 wxPy_BEGIN_ALLOW_THREADS
;
5837 _result
= (int )wxJoystick_GetButtonState(_arg0
);
5839 wxPy_END_ALLOW_THREADS
;
5840 } _resultobj
= Py_BuildValue("i",_result
);
5844 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
5845 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5846 PyObject
* _resultobj
;
5849 PyObject
* _argo0
= 0;
5850 char *_kwnames
[] = { "self", NULL
};
5853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
5856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
5863 wxPy_BEGIN_ALLOW_THREADS
;
5864 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
5866 wxPy_END_ALLOW_THREADS
;
5867 } _resultobj
= Py_BuildValue("i",_result
);
5871 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
5872 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5873 PyObject
* _resultobj
;
5876 PyObject
* _argo0
= 0;
5877 char *_kwnames
[] = { "self", NULL
};
5880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
5883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
5890 wxPy_BEGIN_ALLOW_THREADS
;
5891 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
5893 wxPy_END_ALLOW_THREADS
;
5894 } _resultobj
= Py_BuildValue("i",_result
);
5898 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
5899 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
* _resultobj
;
5903 PyObject
* _argo0
= 0;
5904 char *_kwnames
[] = { "self", NULL
};
5907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
5910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
5917 wxPy_BEGIN_ALLOW_THREADS
;
5918 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
5920 wxPy_END_ALLOW_THREADS
;
5921 } _resultobj
= Py_BuildValue("i",_result
);
5925 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
5926 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5927 PyObject
* _resultobj
;
5930 PyObject
* _argo0
= 0;
5931 char *_kwnames
[] = { "self", NULL
};
5934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
5937 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5938 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5939 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
5944 wxPy_BEGIN_ALLOW_THREADS
;
5945 _result
= (int )wxJoystick_GetUPosition(_arg0
);
5947 wxPy_END_ALLOW_THREADS
;
5948 } _resultobj
= Py_BuildValue("i",_result
);
5952 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
5953 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
* _resultobj
;
5957 PyObject
* _argo0
= 0;
5958 char *_kwnames
[] = { "self", NULL
};
5961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
5964 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5965 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5966 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
5971 wxPy_BEGIN_ALLOW_THREADS
;
5972 _result
= (int )wxJoystick_GetVPosition(_arg0
);
5974 wxPy_END_ALLOW_THREADS
;
5975 } _resultobj
= Py_BuildValue("i",_result
);
5979 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
5980 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
* _resultobj
;
5984 PyObject
* _argo0
= 0;
5985 char *_kwnames
[] = { "self", NULL
};
5988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
5991 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5992 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5993 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
5998 wxPy_BEGIN_ALLOW_THREADS
;
5999 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6001 wxPy_END_ALLOW_THREADS
;
6002 } _resultobj
= Py_BuildValue("i",_result
);
6006 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6007 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
* _resultobj
;
6011 PyObject
* _argo0
= 0;
6012 char *_kwnames
[] = { "self","threshold", NULL
};
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6025 wxPy_BEGIN_ALLOW_THREADS
;
6026 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6028 wxPy_END_ALLOW_THREADS
;
6029 } Py_INCREF(Py_None
);
6030 _resultobj
= Py_None
;
6034 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6035 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
* _resultobj
;
6039 PyObject
* _argo0
= 0;
6040 char *_kwnames
[] = { "self", NULL
};
6043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6053 wxPy_BEGIN_ALLOW_THREADS
;
6054 _result
= (bool )wxJoystick_IsOk(_arg0
);
6056 wxPy_END_ALLOW_THREADS
;
6057 } _resultobj
= Py_BuildValue("i",_result
);
6061 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6062 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6063 PyObject
* _resultobj
;
6066 PyObject
* _argo0
= 0;
6067 char *_kwnames
[] = { "self", NULL
};
6070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6080 wxPy_BEGIN_ALLOW_THREADS
;
6081 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6083 wxPy_END_ALLOW_THREADS
;
6084 } _resultobj
= Py_BuildValue("i",_result
);
6088 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6089 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6090 PyObject
* _resultobj
;
6093 PyObject
* _argo0
= 0;
6094 char *_kwnames
[] = { "self", NULL
};
6097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6100 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6101 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6102 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6107 wxPy_BEGIN_ALLOW_THREADS
;
6108 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6110 wxPy_END_ALLOW_THREADS
;
6111 } _resultobj
= Py_BuildValue("i",_result
);
6115 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6116 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
* _resultobj
;
6120 PyObject
* _argo0
= 0;
6121 char *_kwnames
[] = { "self", NULL
};
6124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6127 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6128 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6134 wxPy_BEGIN_ALLOW_THREADS
;
6135 _result
= (int )wxJoystick_GetProductId(_arg0
);
6137 wxPy_END_ALLOW_THREADS
;
6138 } _resultobj
= Py_BuildValue("i",_result
);
6142 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6143 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6144 PyObject
* _resultobj
;
6147 PyObject
* _argo0
= 0;
6148 char *_kwnames
[] = { "self", NULL
};
6151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6154 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6155 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6156 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6161 wxPy_BEGIN_ALLOW_THREADS
;
6162 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6164 wxPy_END_ALLOW_THREADS
;
6166 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6174 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6175 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6176 PyObject
* _resultobj
;
6179 PyObject
* _argo0
= 0;
6180 char *_kwnames
[] = { "self", NULL
};
6183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6193 wxPy_BEGIN_ALLOW_THREADS
;
6194 _result
= (int )wxJoystick_GetXMin(_arg0
);
6196 wxPy_END_ALLOW_THREADS
;
6197 } _resultobj
= Py_BuildValue("i",_result
);
6201 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6202 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6203 PyObject
* _resultobj
;
6206 PyObject
* _argo0
= 0;
6207 char *_kwnames
[] = { "self", NULL
};
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6220 wxPy_BEGIN_ALLOW_THREADS
;
6221 _result
= (int )wxJoystick_GetYMin(_arg0
);
6223 wxPy_END_ALLOW_THREADS
;
6224 } _resultobj
= Py_BuildValue("i",_result
);
6228 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6229 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
* _resultobj
;
6233 PyObject
* _argo0
= 0;
6234 char *_kwnames
[] = { "self", NULL
};
6237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6247 wxPy_BEGIN_ALLOW_THREADS
;
6248 _result
= (int )wxJoystick_GetZMin(_arg0
);
6250 wxPy_END_ALLOW_THREADS
;
6251 } _resultobj
= Py_BuildValue("i",_result
);
6255 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6256 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
* _resultobj
;
6260 PyObject
* _argo0
= 0;
6261 char *_kwnames
[] = { "self", NULL
};
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6274 wxPy_BEGIN_ALLOW_THREADS
;
6275 _result
= (int )wxJoystick_GetXMax(_arg0
);
6277 wxPy_END_ALLOW_THREADS
;
6278 } _resultobj
= Py_BuildValue("i",_result
);
6282 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6283 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
* _resultobj
;
6287 PyObject
* _argo0
= 0;
6288 char *_kwnames
[] = { "self", NULL
};
6291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6301 wxPy_BEGIN_ALLOW_THREADS
;
6302 _result
= (int )wxJoystick_GetYMax(_arg0
);
6304 wxPy_END_ALLOW_THREADS
;
6305 } _resultobj
= Py_BuildValue("i",_result
);
6309 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6310 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6311 PyObject
* _resultobj
;
6314 PyObject
* _argo0
= 0;
6315 char *_kwnames
[] = { "self", NULL
};
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
6321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6328 wxPy_BEGIN_ALLOW_THREADS
;
6329 _result
= (int )wxJoystick_GetZMax(_arg0
);
6331 wxPy_END_ALLOW_THREADS
;
6332 } _resultobj
= Py_BuildValue("i",_result
);
6336 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6337 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
* _resultobj
;
6341 PyObject
* _argo0
= 0;
6342 char *_kwnames
[] = { "self", NULL
};
6345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
6348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
6355 wxPy_BEGIN_ALLOW_THREADS
;
6356 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
6358 wxPy_END_ALLOW_THREADS
;
6359 } _resultobj
= Py_BuildValue("i",_result
);
6363 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
6364 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6365 PyObject
* _resultobj
;
6368 PyObject
* _argo0
= 0;
6369 char *_kwnames
[] = { "self", NULL
};
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
6375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
6382 wxPy_BEGIN_ALLOW_THREADS
;
6383 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
6385 wxPy_END_ALLOW_THREADS
;
6386 } _resultobj
= Py_BuildValue("i",_result
);
6390 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
6391 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
* _resultobj
;
6395 PyObject
* _argo0
= 0;
6396 char *_kwnames
[] = { "self", NULL
};
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
6402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
6409 wxPy_BEGIN_ALLOW_THREADS
;
6410 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
6412 wxPy_END_ALLOW_THREADS
;
6413 } _resultobj
= Py_BuildValue("i",_result
);
6417 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
6418 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6419 PyObject
* _resultobj
;
6422 PyObject
* _argo0
= 0;
6423 char *_kwnames
[] = { "self", NULL
};
6426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
6429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
6436 wxPy_BEGIN_ALLOW_THREADS
;
6437 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
6439 wxPy_END_ALLOW_THREADS
;
6440 } _resultobj
= Py_BuildValue("i",_result
);
6444 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
6445 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6446 PyObject
* _resultobj
;
6449 PyObject
* _argo0
= 0;
6450 char *_kwnames
[] = { "self", NULL
};
6453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
6456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
6463 wxPy_BEGIN_ALLOW_THREADS
;
6464 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
6466 wxPy_END_ALLOW_THREADS
;
6467 } _resultobj
= Py_BuildValue("i",_result
);
6471 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
6472 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
* _resultobj
;
6476 PyObject
* _argo0
= 0;
6477 char *_kwnames
[] = { "self", NULL
};
6480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
6483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
6490 wxPy_BEGIN_ALLOW_THREADS
;
6491 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
6493 wxPy_END_ALLOW_THREADS
;
6494 } _resultobj
= Py_BuildValue("i",_result
);
6498 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
6499 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
* _resultobj
;
6503 PyObject
* _argo0
= 0;
6504 char *_kwnames
[] = { "self", NULL
};
6507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
6510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
6517 wxPy_BEGIN_ALLOW_THREADS
;
6518 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
6520 wxPy_END_ALLOW_THREADS
;
6521 } _resultobj
= Py_BuildValue("i",_result
);
6525 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
6526 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6527 PyObject
* _resultobj
;
6530 PyObject
* _argo0
= 0;
6531 char *_kwnames
[] = { "self", NULL
};
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
6537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
6544 wxPy_BEGIN_ALLOW_THREADS
;
6545 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
6547 wxPy_END_ALLOW_THREADS
;
6548 } _resultobj
= Py_BuildValue("i",_result
);
6552 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
6553 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6554 PyObject
* _resultobj
;
6557 PyObject
* _argo0
= 0;
6558 char *_kwnames
[] = { "self", NULL
};
6561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
6564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
6571 wxPy_BEGIN_ALLOW_THREADS
;
6572 _result
= (int )wxJoystick_GetUMin(_arg0
);
6574 wxPy_END_ALLOW_THREADS
;
6575 } _resultobj
= Py_BuildValue("i",_result
);
6579 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
6580 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6581 PyObject
* _resultobj
;
6584 PyObject
* _argo0
= 0;
6585 char *_kwnames
[] = { "self", NULL
};
6588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
6591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
6598 wxPy_BEGIN_ALLOW_THREADS
;
6599 _result
= (int )wxJoystick_GetUMax(_arg0
);
6601 wxPy_END_ALLOW_THREADS
;
6602 } _resultobj
= Py_BuildValue("i",_result
);
6606 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
6607 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6608 PyObject
* _resultobj
;
6611 PyObject
* _argo0
= 0;
6612 char *_kwnames
[] = { "self", NULL
};
6615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
6618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
6625 wxPy_BEGIN_ALLOW_THREADS
;
6626 _result
= (int )wxJoystick_GetVMin(_arg0
);
6628 wxPy_END_ALLOW_THREADS
;
6629 } _resultobj
= Py_BuildValue("i",_result
);
6633 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
6634 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
* _resultobj
;
6638 PyObject
* _argo0
= 0;
6639 char *_kwnames
[] = { "self", NULL
};
6642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
6645 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6646 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6647 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
6652 wxPy_BEGIN_ALLOW_THREADS
;
6653 _result
= (int )wxJoystick_GetVMax(_arg0
);
6655 wxPy_END_ALLOW_THREADS
;
6656 } _resultobj
= Py_BuildValue("i",_result
);
6660 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
6661 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6662 PyObject
* _resultobj
;
6665 PyObject
* _argo0
= 0;
6666 char *_kwnames
[] = { "self", NULL
};
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
6672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
6679 wxPy_BEGIN_ALLOW_THREADS
;
6680 _result
= (bool )wxJoystick_HasRudder(_arg0
);
6682 wxPy_END_ALLOW_THREADS
;
6683 } _resultobj
= Py_BuildValue("i",_result
);
6687 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
6688 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6689 PyObject
* _resultobj
;
6692 PyObject
* _argo0
= 0;
6693 char *_kwnames
[] = { "self", NULL
};
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
6699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
6706 wxPy_BEGIN_ALLOW_THREADS
;
6707 _result
= (bool )wxJoystick_HasZ(_arg0
);
6709 wxPy_END_ALLOW_THREADS
;
6710 } _resultobj
= Py_BuildValue("i",_result
);
6714 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
6715 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6716 PyObject
* _resultobj
;
6719 PyObject
* _argo0
= 0;
6720 char *_kwnames
[] = { "self", NULL
};
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
6726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
6733 wxPy_BEGIN_ALLOW_THREADS
;
6734 _result
= (bool )wxJoystick_HasU(_arg0
);
6736 wxPy_END_ALLOW_THREADS
;
6737 } _resultobj
= Py_BuildValue("i",_result
);
6741 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
6742 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6743 PyObject
* _resultobj
;
6746 PyObject
* _argo0
= 0;
6747 char *_kwnames
[] = { "self", NULL
};
6750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
6753 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6754 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6755 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
6760 wxPy_BEGIN_ALLOW_THREADS
;
6761 _result
= (bool )wxJoystick_HasV(_arg0
);
6763 wxPy_END_ALLOW_THREADS
;
6764 } _resultobj
= Py_BuildValue("i",_result
);
6768 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
6769 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6770 PyObject
* _resultobj
;
6773 PyObject
* _argo0
= 0;
6774 char *_kwnames
[] = { "self", NULL
};
6777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
6780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
6787 wxPy_BEGIN_ALLOW_THREADS
;
6788 _result
= (bool )wxJoystick_HasPOV(_arg0
);
6790 wxPy_END_ALLOW_THREADS
;
6791 } _resultobj
= Py_BuildValue("i",_result
);
6795 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
6796 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6797 PyObject
* _resultobj
;
6800 PyObject
* _argo0
= 0;
6801 char *_kwnames
[] = { "self", NULL
};
6804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
6807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
6814 wxPy_BEGIN_ALLOW_THREADS
;
6815 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
6817 wxPy_END_ALLOW_THREADS
;
6818 } _resultobj
= Py_BuildValue("i",_result
);
6822 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
6823 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
* _resultobj
;
6827 PyObject
* _argo0
= 0;
6828 char *_kwnames
[] = { "self", NULL
};
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
6834 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6835 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6836 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
6841 wxPy_BEGIN_ALLOW_THREADS
;
6842 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
6844 wxPy_END_ALLOW_THREADS
;
6845 } _resultobj
= Py_BuildValue("i",_result
);
6849 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
6850 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6851 PyObject
* _resultobj
;
6855 int _arg2
= (int ) 0;
6856 PyObject
* _argo0
= 0;
6857 PyObject
* _argo1
= 0;
6858 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
6861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
6871 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6872 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
6878 wxPy_BEGIN_ALLOW_THREADS
;
6879 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
6881 wxPy_END_ALLOW_THREADS
;
6882 } _resultobj
= Py_BuildValue("i",_result
);
6886 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
6887 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6888 PyObject
* _resultobj
;
6891 PyObject
* _argo0
= 0;
6892 char *_kwnames
[] = { "self", NULL
};
6895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
6898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
6905 wxPy_BEGIN_ALLOW_THREADS
;
6906 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
6908 wxPy_END_ALLOW_THREADS
;
6909 } _resultobj
= Py_BuildValue("i",_result
);
6913 static void *SwigwxWaveTowxObject(void *ptr
) {
6916 src
= (wxWave
*) ptr
;
6917 dest
= (wxObject
*) src
;
6918 return (void *) dest
;
6921 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
6922 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
* _resultobj
;
6926 bool _arg1
= (bool ) FALSE
;
6927 PyObject
* _obj0
= 0;
6928 int tempbool1
= (int) FALSE
;
6929 char *_kwnames
[] = { "fileName","isResource", NULL
};
6933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
6936 #if PYTHON_API_VERSION >= 1009
6937 char* tmpPtr
; int tmpSize
;
6938 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
6939 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6942 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
6944 _arg0
= new wxString(tmpPtr
, tmpSize
);
6946 if (!PyString_Check(_obj0
)) {
6947 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6950 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
6953 _arg1
= (bool ) tempbool1
;
6955 wxPy_BEGIN_ALLOW_THREADS
;
6956 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
6958 wxPy_END_ALLOW_THREADS
;
6960 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
6961 _resultobj
= Py_BuildValue("s",_ptemp
);
6964 _resultobj
= Py_None
;
6973 #define delete_wxWave(_swigobj) (delete _swigobj)
6974 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
* _resultobj
;
6977 PyObject
* _argo0
= 0;
6978 char *_kwnames
[] = { "self", NULL
};
6981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
6984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
6986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
6991 wxPy_BEGIN_ALLOW_THREADS
;
6992 delete_wxWave(_arg0
);
6994 wxPy_END_ALLOW_THREADS
;
6995 } Py_INCREF(Py_None
);
6996 _resultobj
= Py_None
;
7000 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7001 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7002 PyObject
* _resultobj
;
7005 PyObject
* _argo0
= 0;
7006 char *_kwnames
[] = { "self", NULL
};
7009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7019 wxPy_BEGIN_ALLOW_THREADS
;
7020 _result
= (bool )wxWave_IsOk(_arg0
);
7022 wxPy_END_ALLOW_THREADS
;
7023 } _resultobj
= Py_BuildValue("i",_result
);
7027 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7028 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7029 PyObject
* _resultobj
;
7032 bool _arg1
= (bool ) TRUE
;
7033 bool _arg2
= (bool ) FALSE
;
7034 PyObject
* _argo0
= 0;
7035 int tempbool1
= (int) TRUE
;
7036 int tempbool2
= (int) FALSE
;
7037 char *_kwnames
[] = { "self","async","looped", NULL
};
7040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7049 _arg1
= (bool ) tempbool1
;
7050 _arg2
= (bool ) tempbool2
;
7052 wxPy_BEGIN_ALLOW_THREADS
;
7053 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7055 wxPy_END_ALLOW_THREADS
;
7056 } _resultobj
= Py_BuildValue("i",_result
);
7060 static PyMethodDef misc2cMethods
[] = {
7061 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
7062 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7063 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
7064 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
7065 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
7066 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
7067 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
7068 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
7069 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
7070 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
7071 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
7072 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
7073 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
7074 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
7075 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
7076 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
7077 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
7078 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
7079 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
7080 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
7081 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
7082 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
7083 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
7084 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
7085 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
7086 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
7087 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
7088 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
7089 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
7090 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
7091 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
7092 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
7093 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
7094 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
7095 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
7096 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7097 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
7098 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
7099 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
7100 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
7101 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
7102 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
7103 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
7104 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
7105 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
7106 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7107 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7108 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7109 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
7110 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
7111 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
7112 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
7113 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
7114 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
7115 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
7116 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
7117 { "wxProcess__setSelf", (PyCFunction
) _wrap_wxProcess__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
7118 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7119 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
7120 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
7121 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
7122 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
7123 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
7124 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
7125 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
7126 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
7127 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
7128 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
7129 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
7130 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
7131 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
7132 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
7133 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
7134 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
7135 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
7136 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
7137 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
7138 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7139 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7140 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7141 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7142 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7143 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7144 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
7145 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7146 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
7147 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
7148 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
7149 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
7150 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
7151 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
7152 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
7153 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
7154 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
7155 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7156 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
7157 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
7158 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
7159 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
7160 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
7161 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
7162 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
7163 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
7164 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
7165 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
7166 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
7167 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
7168 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
7169 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
7170 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
7171 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
7172 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
7173 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7174 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
7175 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
7176 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7177 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
7178 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
7179 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7180 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
7181 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
7182 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
7183 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
7184 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7185 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7186 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
7187 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
7188 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
7189 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
7190 { "wxFontEnumerator__setSelf", (PyCFunction
) _wrap_wxFontEnumerator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
7191 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
7192 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
7193 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
7194 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
7195 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
7196 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
7197 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
7198 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
7199 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7200 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
7201 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
7202 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7203 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
7204 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
7205 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7206 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
7207 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
7208 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7209 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
7210 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
7211 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
7212 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
7213 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
7214 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
7215 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
7216 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
7217 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7218 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
7219 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
7220 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
7221 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
7222 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
7223 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
7224 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
7225 { "wxDragListItem", (PyCFunction
) _wrap_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
7226 { "wxDragTreeItem", (PyCFunction
) _wrap_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
7227 { "wxDragString", (PyCFunction
) _wrap_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
7228 { "wxDragIcon", (PyCFunction
) _wrap_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
7229 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7230 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
7231 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
7232 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
7233 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
7234 { "wxWakeUpMainThread", (PyCFunction
) _wrap_wxWakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
7235 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
7236 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
7237 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
7238 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
7239 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
7240 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
7241 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7242 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
7243 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
7244 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
7245 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
7246 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
7247 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
7248 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
7249 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
7250 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
7251 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7252 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
7253 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
7254 { "wxFlushEvents", (PyCFunction
) _wrap_wxFlushEvents
, METH_VARARGS
| METH_KEYWORDS
},
7255 { "wxCheckForInterrupt", (PyCFunction
) _wrap_wxCheckForInterrupt
, METH_VARARGS
| METH_KEYWORDS
},
7256 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
7257 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
7258 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
7259 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7260 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
7261 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
7262 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
7263 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
7264 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
7265 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
7266 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
7267 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
7268 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
7269 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
7270 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
7271 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
7272 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7273 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
7274 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
7275 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
7276 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7277 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7278 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
7285 * This table is used by the pointer type-checker
7287 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7288 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
7289 { "_signed_long","_long",0},
7290 { "_wxPrintQuality","_wxCoord",0},
7291 { "_wxPrintQuality","_int",0},
7292 { "_wxPrintQuality","_signed_int",0},
7293 { "_wxPrintQuality","_unsigned_int",0},
7294 { "_wxPrintQuality","_wxWindowID",0},
7295 { "_wxPrintQuality","_uint",0},
7296 { "_wxPrintQuality","_EBool",0},
7297 { "_wxPrintQuality","_size_t",0},
7298 { "_wxPrintQuality","_time_t",0},
7299 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
7300 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
7301 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7302 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
7303 { "_byte","_unsigned_char",0},
7304 { "_long","_unsigned_long",0},
7305 { "_long","_signed_long",0},
7306 { "_size_t","_wxCoord",0},
7307 { "_size_t","_wxPrintQuality",0},
7308 { "_size_t","_time_t",0},
7309 { "_size_t","_unsigned_int",0},
7310 { "_size_t","_int",0},
7311 { "_size_t","_wxWindowID",0},
7312 { "_size_t","_uint",0},
7313 { "_uint","_wxCoord",0},
7314 { "_uint","_wxPrintQuality",0},
7315 { "_uint","_time_t",0},
7316 { "_uint","_size_t",0},
7317 { "_uint","_unsigned_int",0},
7318 { "_uint","_int",0},
7319 { "_uint","_wxWindowID",0},
7320 { "_wxChar","_char",0},
7321 { "_char","_wxChar",0},
7322 { "_EBool","_wxCoord",0},
7323 { "_EBool","_wxPrintQuality",0},
7324 { "_EBool","_signed_int",0},
7325 { "_EBool","_int",0},
7326 { "_EBool","_wxWindowID",0},
7327 { "_unsigned_long","_long",0},
7328 { "_signed_int","_wxCoord",0},
7329 { "_signed_int","_wxPrintQuality",0},
7330 { "_signed_int","_EBool",0},
7331 { "_signed_int","_wxWindowID",0},
7332 { "_signed_int","_int",0},
7333 { "_WXTYPE","_short",0},
7334 { "_WXTYPE","_signed_short",0},
7335 { "_WXTYPE","_unsigned_short",0},
7336 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7337 { "_unsigned_short","_WXTYPE",0},
7338 { "_unsigned_short","_short",0},
7339 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
7340 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
7341 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
7342 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
7343 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
7344 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
7345 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
7346 { "_signed_short","_WXTYPE",0},
7347 { "_signed_short","_short",0},
7348 { "_unsigned_char","_byte",0},
7349 { "_unsigned_int","_wxCoord",0},
7350 { "_unsigned_int","_wxPrintQuality",0},
7351 { "_unsigned_int","_time_t",0},
7352 { "_unsigned_int","_size_t",0},
7353 { "_unsigned_int","_uint",0},
7354 { "_unsigned_int","_wxWindowID",0},
7355 { "_unsigned_int","_int",0},
7356 { "_short","_WXTYPE",0},
7357 { "_short","_unsigned_short",0},
7358 { "_short","_signed_short",0},
7359 { "_wxWindowID","_wxCoord",0},
7360 { "_wxWindowID","_wxPrintQuality",0},
7361 { "_wxWindowID","_time_t",0},
7362 { "_wxWindowID","_size_t",0},
7363 { "_wxWindowID","_EBool",0},
7364 { "_wxWindowID","_uint",0},
7365 { "_wxWindowID","_int",0},
7366 { "_wxWindowID","_signed_int",0},
7367 { "_wxWindowID","_unsigned_int",0},
7368 { "_int","_wxCoord",0},
7369 { "_int","_wxPrintQuality",0},
7370 { "_int","_time_t",0},
7371 { "_int","_size_t",0},
7372 { "_int","_EBool",0},
7373 { "_int","_uint",0},
7374 { "_int","_wxWindowID",0},
7375 { "_int","_unsigned_int",0},
7376 { "_int","_signed_int",0},
7377 { "_time_t","_wxCoord",0},
7378 { "_time_t","_wxPrintQuality",0},
7379 { "_time_t","_unsigned_int",0},
7380 { "_time_t","_int",0},
7381 { "_time_t","_wxWindowID",0},
7382 { "_time_t","_uint",0},
7383 { "_time_t","_size_t",0},
7384 { "_wxCoord","_int",0},
7385 { "_wxCoord","_signed_int",0},
7386 { "_wxCoord","_unsigned_int",0},
7387 { "_wxCoord","_wxWindowID",0},
7388 { "_wxCoord","_uint",0},
7389 { "_wxCoord","_EBool",0},
7390 { "_wxCoord","_size_t",0},
7391 { "_wxCoord","_time_t",0},
7392 { "_wxCoord","_wxPrintQuality",0},
7393 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7396 static PyObject
*SWIG_globals
;
7400 SWIGEXPORT(void) initmisc2c() {
7402 SWIG_globals
= SWIG_newvarlink();
7403 m
= Py_InitModule("misc2c", misc2cMethods
);
7404 d
= PyModule_GetDict(m
);
7405 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
7406 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
7407 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
7408 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
7409 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
7410 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
7411 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
7412 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
7413 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
7414 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
7415 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
7416 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
7417 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
7418 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
7419 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
7420 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
7421 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
7422 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
7423 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
7424 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
7425 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
7426 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
7427 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
7428 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
7429 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
7430 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
7431 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
7432 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
7433 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
7434 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
7435 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
7436 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
7437 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
7438 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
7439 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
7440 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
7441 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
7442 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
7443 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
7444 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
7445 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
7446 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
7447 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
7448 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
7449 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
7450 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
7451 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
7452 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
7453 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
7454 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
7455 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
7456 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
7457 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
7458 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
7459 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
7460 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
7461 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
7462 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
7463 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
7464 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
7465 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
7466 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
7467 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
7468 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
7469 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
7470 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
7471 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
7472 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
7473 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
7474 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
7475 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
7476 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
7477 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
7478 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
7479 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
7480 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
7481 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
7482 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
7483 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
7484 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
7485 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
7486 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
7487 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
7488 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
7489 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
7490 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
7491 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
7492 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
7493 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
7494 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
7495 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
7496 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
7497 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
7498 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
7499 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
7500 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
7501 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
7503 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
7504 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
7505 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
7508 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7509 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);