2 * FILE : src/gtk/misc2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmisc2c
56 #define SWIG_name "misc2c"
59 #include <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_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1403 PyObject
* _resultobj
;
1407 char *_kwnames
[] = { "name","value", NULL
};
1410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1413 wxPy_BEGIN_ALLOW_THREADS
;
1414 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1416 wxPy_END_ALLOW_THREADS
;
1417 } _resultobj
= Py_BuildValue("i",_result
);
1421 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1422 PyObject
* _resultobj
;
1423 char *_kwnames
[] = { NULL
};
1426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1429 wxPy_BEGIN_ALLOW_THREADS
;
1432 wxPy_END_ALLOW_THREADS
;
1433 } Py_INCREF(Py_None
);
1434 _resultobj
= Py_None
;
1438 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1439 PyObject
* _resultobj
;
1442 char *_kwnames
[] = { "resource", NULL
};
1446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1449 wxPy_BEGIN_ALLOW_THREADS
;
1450 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1452 wxPy_END_ALLOW_THREADS
;
1453 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1454 _resultobj
= Py_BuildValue("s",_ptemp
);
1458 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1459 PyObject
* _resultobj
;
1462 char *_kwnames
[] = { "resource", NULL
};
1466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1469 wxPy_BEGIN_ALLOW_THREADS
;
1470 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1472 wxPy_END_ALLOW_THREADS
;
1473 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1474 _resultobj
= Py_BuildValue("s",_ptemp
);
1478 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
* _resultobj
;
1480 wxMenuBar
* _result
;
1482 char *_kwnames
[] = { "resource", NULL
};
1485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1488 wxPy_BEGIN_ALLOW_THREADS
;
1489 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1491 wxPy_END_ALLOW_THREADS
;
1492 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1496 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1497 PyObject
* _resultobj
;
1500 char *_kwnames
[] = { "name", NULL
};
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1506 wxPy_BEGIN_ALLOW_THREADS
;
1507 _result
= (int )wxResourceGetIdentifier(_arg0
);
1509 wxPy_END_ALLOW_THREADS
;
1510 } _resultobj
= Py_BuildValue("i",_result
);
1514 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1515 PyObject
* _resultobj
;
1518 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1519 PyObject
* _argo1
= 0;
1520 char *_kwnames
[] = { "resource","table", NULL
};
1523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1526 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1527 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1533 wxPy_BEGIN_ALLOW_THREADS
;
1534 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1536 wxPy_END_ALLOW_THREADS
;
1537 } _resultobj
= Py_BuildValue("i",_result
);
1541 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1542 PyObject
* _resultobj
;
1545 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1546 PyObject
* _argo1
= 0;
1547 char *_kwnames
[] = { "filename","table", NULL
};
1550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1553 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1554 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1560 wxPy_BEGIN_ALLOW_THREADS
;
1561 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1563 wxPy_END_ALLOW_THREADS
;
1564 } _resultobj
= Py_BuildValue("i",_result
);
1568 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1569 PyObject
* _resultobj
;
1572 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1573 PyObject
* _argo1
= 0;
1574 char *_kwnames
[] = { "resource","table", NULL
};
1577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1580 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1581 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1587 wxPy_BEGIN_ALLOW_THREADS
;
1588 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1590 wxPy_END_ALLOW_THREADS
;
1591 } _resultobj
= Py_BuildValue("i",_result
);
1595 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1596 PyObject
* _resultobj
;
1599 char *_kwnames
[] = { "index", NULL
};
1603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1606 wxPy_BEGIN_ALLOW_THREADS
;
1607 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1609 wxPy_END_ALLOW_THREADS
;
1610 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1611 _resultobj
= Py_BuildValue("s",_ptemp
);
1615 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1616 PyObject
* _resultobj
;
1619 char *_kwnames
[] = { "index", NULL
};
1623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1626 wxPy_BEGIN_ALLOW_THREADS
;
1627 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1629 wxPy_END_ALLOW_THREADS
;
1630 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1631 _resultobj
= Py_BuildValue("s",_ptemp
);
1635 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1636 PyObject
* _resultobj
;
1639 char *_kwnames
[] = { "index", NULL
};
1642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1645 wxPy_BEGIN_ALLOW_THREADS
;
1646 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1648 wxPy_END_ALLOW_THREADS
;
1649 } _resultobj
= Py_BuildValue("i",_result
);
1653 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1654 PyObject
* _resultobj
;
1657 char *_kwnames
[] = { "flag", NULL
};
1660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
1662 _arg0
= (bool ) tempbool0
;
1664 wxPy_BEGIN_ALLOW_THREADS
;
1665 wxToolTip_Enable(_arg0
);
1667 wxPy_END_ALLOW_THREADS
;
1668 } Py_INCREF(Py_None
);
1669 _resultobj
= Py_None
;
1673 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1674 PyObject
* _resultobj
;
1676 char *_kwnames
[] = { "milliseconds", NULL
};
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
1682 wxPy_BEGIN_ALLOW_THREADS
;
1683 wxToolTip_SetDelay(_arg0
);
1685 wxPy_END_ALLOW_THREADS
;
1686 } Py_INCREF(Py_None
);
1687 _resultobj
= Py_None
;
1691 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1692 PyObject
* _resultobj
;
1694 char *_kwnames
[] = { NULL
};
1697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1700 wxPy_BEGIN_ALLOW_THREADS
;
1701 _result
= (int )wxCaret_GetBlinkTime();
1703 wxPy_END_ALLOW_THREADS
;
1704 } _resultobj
= Py_BuildValue("i",_result
);
1708 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1709 PyObject
* _resultobj
;
1711 char *_kwnames
[] = { "milliseconds", NULL
};
1714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1717 wxPy_BEGIN_ALLOW_THREADS
;
1718 wxCaret_SetBlinkTime(_arg0
);
1720 wxPy_END_ALLOW_THREADS
;
1721 } Py_INCREF(Py_None
);
1722 _resultobj
= Py_None
;
1726 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1727 PyObject
* _resultobj
;
1729 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1730 PyObject
* _argo0
= 0;
1731 char *_kwnames
[] = { "win", NULL
};
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1744 wxPy_BEGIN_ALLOW_THREADS
;
1745 _result
= (bool )wxSafeYield(_arg0
);
1747 wxPy_END_ALLOW_THREADS
;
1748 } _resultobj
= Py_BuildValue("i",_result
);
1752 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1753 PyObject
* _resultobj
;
1754 wxEvtHandler
* _arg0
;
1756 PyObject
* _argo0
= 0;
1757 PyObject
* _argo1
= 0;
1758 char *_kwnames
[] = { "dest","event", NULL
};
1761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1771 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1772 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1778 wxPy_BEGIN_ALLOW_THREADS
;
1779 wxPostEvent(_arg0
,*_arg1
);
1781 wxPy_END_ALLOW_THREADS
;
1782 } Py_INCREF(Py_None
);
1783 _resultobj
= Py_None
;
1787 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1788 PyObject
* _resultobj
;
1789 char *_kwnames
[] = { NULL
};
1792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1795 wxPy_BEGIN_ALLOW_THREADS
;
1798 wxPy_END_ALLOW_THREADS
;
1799 } Py_INCREF(Py_None
);
1800 _resultobj
= Py_None
;
1804 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
* _resultobj
;
1806 char *_kwnames
[] = { NULL
};
1809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1812 wxPy_BEGIN_ALLOW_THREADS
;
1815 wxPy_END_ALLOW_THREADS
;
1816 } Py_INCREF(Py_None
);
1817 _resultobj
= Py_None
;
1821 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1822 PyObject
* _resultobj
;
1823 char *_kwnames
[] = { NULL
};
1826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1829 wxPy_BEGIN_ALLOW_THREADS
;
1832 wxPy_END_ALLOW_THREADS
;
1833 } Py_INCREF(Py_None
);
1834 _resultobj
= Py_None
;
1838 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
* _resultobj
;
1841 char *_kwnames
[] = { NULL
};
1844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1847 wxPy_BEGIN_ALLOW_THREADS
;
1848 _result
= (bool )wxThread_IsMain();
1850 wxPy_END_ALLOW_THREADS
;
1851 } _resultobj
= Py_BuildValue("i",_result
);
1855 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1856 PyObject
* _resultobj
;
1859 wxTipProvider
* _arg1
;
1860 bool _arg2
= (bool ) TRUE
;
1861 PyObject
* _argo0
= 0;
1862 PyObject
* _argo1
= 0;
1863 int tempbool2
= (int) TRUE
;
1864 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1877 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1878 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1883 _arg2
= (bool ) tempbool2
;
1885 wxPy_BEGIN_ALLOW_THREADS
;
1886 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1888 wxPy_END_ALLOW_THREADS
;
1889 } _resultobj
= Py_BuildValue("i",_result
);
1893 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1894 PyObject
* _resultobj
;
1895 wxTipProvider
* _result
;
1898 PyObject
* _obj0
= 0;
1899 char *_kwnames
[] = { "filename","currentTip", NULL
};
1903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1906 #if PYTHON_API_VERSION >= 1009
1907 char* tmpPtr
; int tmpSize
;
1908 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1909 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1912 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1914 _arg0
= new wxString(tmpPtr
, tmpSize
);
1916 if (!PyString_Check(_obj0
)) {
1917 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1920 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1924 wxPy_BEGIN_ALLOW_THREADS
;
1925 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1927 wxPy_END_ALLOW_THREADS
;
1929 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1930 _resultobj
= Py_BuildValue("s",_ptemp
);
1933 _resultobj
= Py_None
;
1942 static PyObject
*_wrap_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1943 PyObject
* _resultobj
;
1944 wxGenericDragImage
* _result
;
1946 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
1947 PyObject
* _argo0
= 0;
1948 PyObject
* _argo1
= 0;
1949 char *_kwnames
[] = { "image","cursor", NULL
};
1953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
1956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragIcon. Expected _wxIcon_p.");
1963 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1964 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
1965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragIcon. Expected _wxCursor_p.");
1970 wxPy_BEGIN_ALLOW_THREADS
;
1971 _result
= (wxGenericDragImage
*)wxDragIcon(*_arg0
,*_arg1
);
1973 wxPy_END_ALLOW_THREADS
;
1975 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1976 _resultobj
= Py_BuildValue("s",_ptemp
);
1979 _resultobj
= Py_None
;
1984 static PyObject
*_wrap_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1985 PyObject
* _resultobj
;
1986 wxGenericDragImage
* _result
;
1988 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
1989 PyObject
* _obj0
= 0;
1990 PyObject
* _argo1
= 0;
1991 char *_kwnames
[] = { "str","cursor", NULL
};
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDragString",_kwnames
,&_obj0
,&_argo1
))
1998 #if PYTHON_API_VERSION >= 1009
1999 char* tmpPtr
; int tmpSize
;
2000 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2001 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2004 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2006 _arg0
= new wxString(tmpPtr
, tmpSize
);
2008 if (!PyString_Check(_obj0
)) {
2009 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2012 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2016 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2017 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
2018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragString. Expected _wxCursor_p.");
2023 wxPy_BEGIN_ALLOW_THREADS
;
2024 _result
= (wxGenericDragImage
*)wxDragString(*_arg0
,*_arg1
);
2026 wxPy_END_ALLOW_THREADS
;
2028 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
2029 _resultobj
= Py_BuildValue("s",_ptemp
);
2032 _resultobj
= Py_None
;
2041 static PyObject
*_wrap_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2042 PyObject
* _resultobj
;
2043 wxGenericDragImage
* _result
;
2045 wxTreeItemId
* _arg1
;
2046 PyObject
* _argo0
= 0;
2047 PyObject
* _argo1
= 0;
2048 char *_kwnames
[] = { "treeCtrl","id", NULL
};
2052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
2055 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2056 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2057 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragTreeItem. Expected _wxTreeCtrl_p.");
2062 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2063 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragTreeItem. Expected _wxTreeItemId_p.");
2069 wxPy_BEGIN_ALLOW_THREADS
;
2070 _result
= (wxGenericDragImage
*)wxDragTreeItem(*_arg0
,*_arg1
);
2072 wxPy_END_ALLOW_THREADS
;
2074 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
2075 _resultobj
= Py_BuildValue("s",_ptemp
);
2078 _resultobj
= Py_None
;
2083 static PyObject
*_wrap_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2084 PyObject
* _resultobj
;
2085 wxGenericDragImage
* _result
;
2088 PyObject
* _argo0
= 0;
2089 char *_kwnames
[] = { "listCtrl","id", NULL
};
2093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
2096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragListItem. Expected _wxListCtrl_p.");
2103 wxPy_BEGIN_ALLOW_THREADS
;
2104 _result
= (wxGenericDragImage
*)wxDragListItem(*_arg0
,_arg1
);
2106 wxPy_END_ALLOW_THREADS
;
2108 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
2109 _resultobj
= Py_BuildValue("s",_ptemp
);
2112 _resultobj
= Py_None
;
2117 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
* _resultobj
;
2119 unsigned long _result
;
2120 char *_kwnames
[] = { NULL
};
2123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
2126 wxPy_BEGIN_ALLOW_THREADS
;
2127 _result
= (unsigned long )wxSysErrorCode();
2129 wxPy_END_ALLOW_THREADS
;
2130 } _resultobj
= Py_BuildValue("l",_result
);
2134 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2135 PyObject
* _resultobj
;
2137 unsigned long _arg0
= (unsigned long ) 0;
2138 char *_kwnames
[] = { "nErrCode", NULL
};
2141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
2144 wxPy_BEGIN_ALLOW_THREADS
;
2145 _result
= (char *)wxSysErrorMsg(_arg0
);
2147 wxPy_END_ALLOW_THREADS
;
2148 } _resultobj
= Py_BuildValue("s", _result
);
2152 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2153 PyObject
* _resultobj
;
2155 char *_kwnames
[] = { "szFormat", NULL
};
2158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
2161 wxPy_BEGIN_ALLOW_THREADS
;
2162 wxLogFatalError(_arg0
);
2164 wxPy_END_ALLOW_THREADS
;
2165 } Py_INCREF(Py_None
);
2166 _resultobj
= Py_None
;
2170 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2171 PyObject
* _resultobj
;
2173 char *_kwnames
[] = { "szFormat", NULL
};
2176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
2179 wxPy_BEGIN_ALLOW_THREADS
;
2182 wxPy_END_ALLOW_THREADS
;
2183 } Py_INCREF(Py_None
);
2184 _resultobj
= Py_None
;
2188 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
* _resultobj
;
2191 char *_kwnames
[] = { "szFormat", NULL
};
2194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
2197 wxPy_BEGIN_ALLOW_THREADS
;
2198 wxLogWarning(_arg0
);
2200 wxPy_END_ALLOW_THREADS
;
2201 } Py_INCREF(Py_None
);
2202 _resultobj
= Py_None
;
2206 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2207 PyObject
* _resultobj
;
2209 char *_kwnames
[] = { "szFormat", NULL
};
2212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
2215 wxPy_BEGIN_ALLOW_THREADS
;
2216 wxLogMessage(_arg0
);
2218 wxPy_END_ALLOW_THREADS
;
2219 } Py_INCREF(Py_None
);
2220 _resultobj
= Py_None
;
2224 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2225 PyObject
* _resultobj
;
2227 char *_kwnames
[] = { "szFormat", NULL
};
2230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
2233 wxPy_BEGIN_ALLOW_THREADS
;
2236 wxPy_END_ALLOW_THREADS
;
2237 } Py_INCREF(Py_None
);
2238 _resultobj
= Py_None
;
2242 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2243 PyObject
* _resultobj
;
2245 char *_kwnames
[] = { "szFormat", NULL
};
2248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
2251 wxPy_BEGIN_ALLOW_THREADS
;
2252 wxLogVerbose(_arg0
);
2254 wxPy_END_ALLOW_THREADS
;
2255 } Py_INCREF(Py_None
);
2256 _resultobj
= Py_None
;
2260 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2261 PyObject
* _resultobj
;
2263 char *_kwnames
[] = { "szFormat", NULL
};
2266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
2269 wxPy_BEGIN_ALLOW_THREADS
;
2272 wxPy_END_ALLOW_THREADS
;
2273 } Py_INCREF(Py_None
);
2274 _resultobj
= Py_None
;
2278 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2279 PyObject
* _resultobj
;
2282 PyObject
* _argo0
= 0;
2283 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
2289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2296 wxPy_BEGIN_ALLOW_THREADS
;
2297 wxLogStatus(_arg0
,_arg1
);
2299 wxPy_END_ALLOW_THREADS
;
2300 } Py_INCREF(Py_None
);
2301 _resultobj
= Py_None
;
2305 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2306 PyObject
* _resultobj
;
2308 char *_kwnames
[] = { "szFormat", NULL
};
2311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2314 wxPy_BEGIN_ALLOW_THREADS
;
2315 wxLogSysError(_arg0
);
2317 wxPy_END_ALLOW_THREADS
;
2318 } Py_INCREF(Py_None
);
2319 _resultobj
= Py_None
;
2323 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2324 PyObject
* _resultobj
;
2327 int _arg1
= (int ) FALSE
;
2328 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2329 PyObject
* _obj0
= 0;
2330 PyObject
* _argo2
= 0;
2331 char *_kwnames
[] = { "command","sync","process", NULL
};
2334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2337 #if PYTHON_API_VERSION >= 1009
2338 char* tmpPtr
; int tmpSize
;
2339 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2340 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2343 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2345 _arg0
= new wxString(tmpPtr
, tmpSize
);
2347 if (!PyString_Check(_obj0
)) {
2348 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2351 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2355 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2356 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2357 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2362 wxPy_BEGIN_ALLOW_THREADS
;
2363 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2365 wxPy_END_ALLOW_THREADS
;
2366 } _resultobj
= Py_BuildValue("l",_result
);
2374 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2375 PyObject
* _resultobj
;
2378 PyObject
* _obj0
= 0;
2379 char *_kwnames
[] = { "data", NULL
};
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2386 #if PYTHON_API_VERSION >= 1009
2387 char* tmpPtr
; int tmpSize
;
2388 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2389 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2392 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2394 _arg0
= new wxString(tmpPtr
, tmpSize
);
2396 if (!PyString_Check(_obj0
)) {
2397 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2400 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2404 wxPy_BEGIN_ALLOW_THREADS
;
2405 _result
= (wxWave
*)wxWaveData(*_arg0
);
2407 wxPy_END_ALLOW_THREADS
;
2409 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2410 _resultobj
= Py_BuildValue("s",_ptemp
);
2413 _resultobj
= Py_None
;
2422 static void *SwigwxToolTipTowxObject(void *ptr
) {
2425 src
= (wxToolTip
*) ptr
;
2426 dest
= (wxObject
*) src
;
2427 return (void *) dest
;
2430 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2431 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2432 PyObject
* _resultobj
;
2433 wxToolTip
* _result
;
2435 PyObject
* _obj0
= 0;
2436 char *_kwnames
[] = { "tip", NULL
};
2440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2443 #if PYTHON_API_VERSION >= 1009
2444 char* tmpPtr
; int tmpSize
;
2445 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2446 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2449 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2451 _arg0
= new wxString(tmpPtr
, tmpSize
);
2453 if (!PyString_Check(_obj0
)) {
2454 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2457 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2461 wxPy_BEGIN_ALLOW_THREADS
;
2462 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2464 wxPy_END_ALLOW_THREADS
;
2466 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2467 _resultobj
= Py_BuildValue("s",_ptemp
);
2470 _resultobj
= Py_None
;
2479 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2480 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2481 PyObject
* _resultobj
;
2484 PyObject
* _argo0
= 0;
2485 PyObject
* _obj1
= 0;
2486 char *_kwnames
[] = { "self","tip", NULL
};
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2499 #if PYTHON_API_VERSION >= 1009
2500 char* tmpPtr
; int tmpSize
;
2501 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2502 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2505 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2507 _arg1
= new wxString(tmpPtr
, tmpSize
);
2509 if (!PyString_Check(_obj1
)) {
2510 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2513 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2517 wxPy_BEGIN_ALLOW_THREADS
;
2518 wxToolTip_SetTip(_arg0
,*_arg1
);
2520 wxPy_END_ALLOW_THREADS
;
2521 } Py_INCREF(Py_None
);
2522 _resultobj
= Py_None
;
2530 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2531 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2532 PyObject
* _resultobj
;
2535 PyObject
* _argo0
= 0;
2536 char *_kwnames
[] = { "self", NULL
};
2539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2542 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2543 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2549 wxPy_BEGIN_ALLOW_THREADS
;
2550 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2552 wxPy_END_ALLOW_THREADS
;
2554 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2562 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2563 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
* _resultobj
;
2567 PyObject
* _argo0
= 0;
2568 char *_kwnames
[] = { "self", NULL
};
2571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2574 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2575 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2576 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2581 wxPy_BEGIN_ALLOW_THREADS
;
2582 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2584 wxPy_END_ALLOW_THREADS
;
2585 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2589 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2590 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
* _resultobj
;
2595 PyObject
* _argo0
= 0;
2597 PyObject
* _obj1
= 0;
2598 char *_kwnames
[] = { "window","size", NULL
};
2602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2613 if (! wxSize_helper(_obj1
, &_arg1
))
2617 wxPy_BEGIN_ALLOW_THREADS
;
2618 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2620 wxPy_END_ALLOW_THREADS
;
2622 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2623 _resultobj
= Py_BuildValue("s",_ptemp
);
2626 _resultobj
= Py_None
;
2631 #define delete_wxCaret(_swigobj) (delete _swigobj)
2632 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2633 PyObject
* _resultobj
;
2635 PyObject
* _argo0
= 0;
2636 char *_kwnames
[] = { "self", NULL
};
2639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2649 wxPy_BEGIN_ALLOW_THREADS
;
2650 delete_wxCaret(_arg0
);
2652 wxPy_END_ALLOW_THREADS
;
2653 } Py_INCREF(Py_None
);
2654 _resultobj
= Py_None
;
2658 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2659 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2660 PyObject
* _resultobj
;
2663 PyObject
* _argo0
= 0;
2664 char *_kwnames
[] = { "self", NULL
};
2667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2677 wxPy_BEGIN_ALLOW_THREADS
;
2678 _result
= (bool )wxCaret_IsOk(_arg0
);
2680 wxPy_END_ALLOW_THREADS
;
2681 } _resultobj
= Py_BuildValue("i",_result
);
2685 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2686 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2687 PyObject
* _resultobj
;
2690 PyObject
* _argo0
= 0;
2691 char *_kwnames
[] = { "self", NULL
};
2694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2704 wxPy_BEGIN_ALLOW_THREADS
;
2705 _result
= (bool )wxCaret_IsVisible(_arg0
);
2707 wxPy_END_ALLOW_THREADS
;
2708 } _resultobj
= Py_BuildValue("i",_result
);
2712 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2713 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2714 PyObject
* _resultobj
;
2720 PyObject
* _argo0
= 0;
2721 char *_kwnames
[] = { "self", NULL
};
2730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2740 wxPy_BEGIN_ALLOW_THREADS
;
2741 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2743 wxPy_END_ALLOW_THREADS
;
2744 } Py_INCREF(Py_None
);
2745 _resultobj
= Py_None
;
2748 o
= PyInt_FromLong((long) (*_arg1
));
2749 _resultobj
= t_output_helper(_resultobj
, o
);
2753 o
= PyInt_FromLong((long) (*_arg2
));
2754 _resultobj
= t_output_helper(_resultobj
, o
);
2759 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2760 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
* _resultobj
;
2764 PyObject
* _argo0
= 0;
2765 char *_kwnames
[] = { "self", NULL
};
2769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2779 wxPy_BEGIN_ALLOW_THREADS
;
2780 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2782 wxPy_END_ALLOW_THREADS
;
2783 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2784 _resultobj
= Py_BuildValue("s",_ptemp
);
2788 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2789 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2790 PyObject
* _resultobj
;
2796 PyObject
* _argo0
= 0;
2797 char *_kwnames
[] = { "self", NULL
};
2806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2816 wxPy_BEGIN_ALLOW_THREADS
;
2817 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2819 wxPy_END_ALLOW_THREADS
;
2820 } Py_INCREF(Py_None
);
2821 _resultobj
= Py_None
;
2824 o
= PyInt_FromLong((long) (*_arg1
));
2825 _resultobj
= t_output_helper(_resultobj
, o
);
2829 o
= PyInt_FromLong((long) (*_arg2
));
2830 _resultobj
= t_output_helper(_resultobj
, o
);
2835 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2836 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2837 PyObject
* _resultobj
;
2840 PyObject
* _argo0
= 0;
2841 char *_kwnames
[] = { "self", NULL
};
2845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2855 wxPy_BEGIN_ALLOW_THREADS
;
2856 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2858 wxPy_END_ALLOW_THREADS
;
2859 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2860 _resultobj
= Py_BuildValue("s",_ptemp
);
2864 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2865 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2866 PyObject
* _resultobj
;
2869 PyObject
* _argo0
= 0;
2870 char *_kwnames
[] = { "self", NULL
};
2873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2883 wxPy_BEGIN_ALLOW_THREADS
;
2884 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2886 wxPy_END_ALLOW_THREADS
;
2887 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2891 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2892 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2893 PyObject
* _resultobj
;
2897 PyObject
* _argo0
= 0;
2898 char *_kwnames
[] = { "self","x","y", NULL
};
2901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2911 wxPy_BEGIN_ALLOW_THREADS
;
2912 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2914 wxPy_END_ALLOW_THREADS
;
2915 } Py_INCREF(Py_None
);
2916 _resultobj
= Py_None
;
2920 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2921 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2922 PyObject
* _resultobj
;
2925 PyObject
* _argo0
= 0;
2927 PyObject
* _obj1
= 0;
2928 char *_kwnames
[] = { "self","pt", NULL
};
2931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2942 if (! wxPoint_helper(_obj1
, &_arg1
))
2946 wxPy_BEGIN_ALLOW_THREADS
;
2947 wxCaret_Move(_arg0
,*_arg1
);
2949 wxPy_END_ALLOW_THREADS
;
2950 } Py_INCREF(Py_None
);
2951 _resultobj
= Py_None
;
2955 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2956 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2957 PyObject
* _resultobj
;
2961 PyObject
* _argo0
= 0;
2962 char *_kwnames
[] = { "self","width","height", NULL
};
2965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2975 wxPy_BEGIN_ALLOW_THREADS
;
2976 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2978 wxPy_END_ALLOW_THREADS
;
2979 } Py_INCREF(Py_None
);
2980 _resultobj
= Py_None
;
2984 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2985 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2986 PyObject
* _resultobj
;
2989 PyObject
* _argo0
= 0;
2991 PyObject
* _obj1
= 0;
2992 char *_kwnames
[] = { "self","size", NULL
};
2995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
3006 if (! wxSize_helper(_obj1
, &_arg1
))
3010 wxPy_BEGIN_ALLOW_THREADS
;
3011 wxCaret_SetSize(_arg0
,*_arg1
);
3013 wxPy_END_ALLOW_THREADS
;
3014 } Py_INCREF(Py_None
);
3015 _resultobj
= Py_None
;
3019 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3020 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3021 PyObject
* _resultobj
;
3023 int _arg1
= (int ) TRUE
;
3024 PyObject
* _argo0
= 0;
3025 char *_kwnames
[] = { "self","show", NULL
};
3028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3038 wxPy_BEGIN_ALLOW_THREADS
;
3039 wxCaret_Show(_arg0
,_arg1
);
3041 wxPy_END_ALLOW_THREADS
;
3042 } Py_INCREF(Py_None
);
3043 _resultobj
= Py_None
;
3047 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3048 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3049 PyObject
* _resultobj
;
3051 PyObject
* _argo0
= 0;
3052 char *_kwnames
[] = { "self", NULL
};
3055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3065 wxPy_BEGIN_ALLOW_THREADS
;
3066 wxCaret_Hide(_arg0
);
3068 wxPy_END_ALLOW_THREADS
;
3069 } Py_INCREF(Py_None
);
3070 _resultobj
= Py_None
;
3074 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
3075 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3076 PyObject
* _resultobj
;
3077 wxPyFontEnumerator
* _result
;
3078 char *_kwnames
[] = { NULL
};
3082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
3085 wxPy_BEGIN_ALLOW_THREADS
;
3086 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
3088 wxPy_END_ALLOW_THREADS
;
3090 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
3091 _resultobj
= Py_BuildValue("s",_ptemp
);
3094 _resultobj
= Py_None
;
3099 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
3100 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
* _resultobj
;
3102 wxPyFontEnumerator
* _arg0
;
3103 PyObject
* _argo0
= 0;
3104 char *_kwnames
[] = { "self", NULL
};
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
3110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
3117 wxPy_BEGIN_ALLOW_THREADS
;
3118 delete_wxPyFontEnumerator(_arg0
);
3120 wxPy_END_ALLOW_THREADS
;
3121 } Py_INCREF(Py_None
);
3122 _resultobj
= Py_None
;
3126 #define wxFontEnumerator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3127 static PyObject
*_wrap_wxFontEnumerator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3128 PyObject
* _resultobj
;
3129 wxPyFontEnumerator
* _arg0
;
3132 PyObject
* _argo0
= 0;
3133 PyObject
* _obj1
= 0;
3134 PyObject
* _obj2
= 0;
3135 char *_kwnames
[] = { "self","self","_class", NULL
};
3138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFontEnumerator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3141 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3142 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3143 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setSelf. Expected _wxPyFontEnumerator_p.");
3154 wxPy_BEGIN_ALLOW_THREADS
;
3155 wxFontEnumerator__setSelf(_arg0
,_arg1
,_arg2
);
3157 wxPy_END_ALLOW_THREADS
;
3158 } Py_INCREF(Py_None
);
3159 _resultobj
= Py_None
;
3163 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
3164 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3165 PyObject
* _resultobj
;
3167 wxPyFontEnumerator
* _arg0
;
3168 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
3169 bool _arg2
= (bool ) FALSE
;
3170 PyObject
* _argo0
= 0;
3171 int tempbool2
= (int) FALSE
;
3172 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3184 _arg2
= (bool ) tempbool2
;
3186 wxPy_BEGIN_ALLOW_THREADS
;
3187 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
3189 wxPy_END_ALLOW_THREADS
;
3190 } _resultobj
= Py_BuildValue("i",_result
);
3194 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3195 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3196 PyObject
* _resultobj
;
3198 wxPyFontEnumerator
* _arg0
;
3199 char * _arg1
= (char *) "";
3200 PyObject
* _argo0
= 0;
3201 char *_kwnames
[] = { "self","facename", NULL
};
3204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
3207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3214 wxPy_BEGIN_ALLOW_THREADS
;
3215 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
3217 wxPy_END_ALLOW_THREADS
;
3218 } _resultobj
= Py_BuildValue("i",_result
);
3222 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3223 wxArrayString
* arr
= self
->GetEncodings();
3224 PyObject
* list
= PyList_New(0);
3225 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3226 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3229 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
* _resultobj
;
3232 wxPyFontEnumerator
* _arg0
;
3233 PyObject
* _argo0
= 0;
3234 char *_kwnames
[] = { "self", NULL
};
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3247 wxPy_BEGIN_ALLOW_THREADS
;
3248 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3250 wxPy_END_ALLOW_THREADS
;
3252 _resultobj
= _result
;
3257 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3258 wxArrayString
* arr
= self
->GetFacenames();
3259 PyObject
* list
= PyList_New(0);
3260 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3261 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3264 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3265 PyObject
* _resultobj
;
3267 wxPyFontEnumerator
* _arg0
;
3268 PyObject
* _argo0
= 0;
3269 char *_kwnames
[] = { "self", NULL
};
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3282 wxPy_BEGIN_ALLOW_THREADS
;
3283 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3285 wxPy_END_ALLOW_THREADS
;
3287 _resultobj
= _result
;
3292 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3293 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3294 PyObject
* _resultobj
;
3295 wxBusyCursor
* _result
;
3296 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3297 PyObject
* _argo0
= 0;
3298 char *_kwnames
[] = { "cursor", NULL
};
3302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3305 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3306 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3307 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3312 wxPy_BEGIN_ALLOW_THREADS
;
3313 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3315 wxPy_END_ALLOW_THREADS
;
3317 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3318 _resultobj
= Py_BuildValue("s",_ptemp
);
3321 _resultobj
= Py_None
;
3326 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3327 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
* _resultobj
;
3329 wxBusyCursor
* _arg0
;
3330 PyObject
* _argo0
= 0;
3331 char *_kwnames
[] = { "self", NULL
};
3334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3344 wxPy_BEGIN_ALLOW_THREADS
;
3345 delete_wxBusyCursor(_arg0
);
3347 wxPy_END_ALLOW_THREADS
;
3348 } Py_INCREF(Py_None
);
3349 _resultobj
= Py_None
;
3353 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3354 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
* _resultobj
;
3356 wxWindowDisabler
* _result
;
3357 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3358 PyObject
* _argo0
= 0;
3359 char *_kwnames
[] = { "winToSkip", NULL
};
3363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3373 wxPy_BEGIN_ALLOW_THREADS
;
3374 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3376 wxPy_END_ALLOW_THREADS
;
3378 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3379 _resultobj
= Py_BuildValue("s",_ptemp
);
3382 _resultobj
= Py_None
;
3387 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3388 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3389 PyObject
* _resultobj
;
3390 wxWindowDisabler
* _arg0
;
3391 PyObject
* _argo0
= 0;
3392 char *_kwnames
[] = { "self", NULL
};
3395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3398 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3399 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3400 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3405 wxPy_BEGIN_ALLOW_THREADS
;
3406 delete_wxWindowDisabler(_arg0
);
3408 wxPy_END_ALLOW_THREADS
;
3409 } Py_INCREF(Py_None
);
3410 _resultobj
= Py_None
;
3414 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3415 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
* _resultobj
;
3417 wxMutexGuiLocker
* _result
;
3418 char *_kwnames
[] = { NULL
};
3422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3425 wxPy_BEGIN_ALLOW_THREADS
;
3426 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3428 wxPy_END_ALLOW_THREADS
;
3430 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3431 _resultobj
= Py_BuildValue("s",_ptemp
);
3434 _resultobj
= Py_None
;
3439 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3440 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3441 PyObject
* _resultobj
;
3442 wxMutexGuiLocker
* _arg0
;
3443 PyObject
* _argo0
= 0;
3444 char *_kwnames
[] = { "self", NULL
};
3447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3457 wxPy_BEGIN_ALLOW_THREADS
;
3458 delete_wxMutexGuiLocker(_arg0
);
3460 wxPy_END_ALLOW_THREADS
;
3461 } Py_INCREF(Py_None
);
3462 _resultobj
= Py_None
;
3466 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3467 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3468 PyObject
* _resultobj
;
3469 wxTipProvider
* _arg0
;
3470 PyObject
* _argo0
= 0;
3471 char *_kwnames
[] = { "self", NULL
};
3474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3484 wxPy_BEGIN_ALLOW_THREADS
;
3485 delete_wxTipProvider(_arg0
);
3487 wxPy_END_ALLOW_THREADS
;
3488 } Py_INCREF(Py_None
);
3489 _resultobj
= Py_None
;
3493 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3494 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3495 PyObject
* _resultobj
;
3497 wxTipProvider
* _arg0
;
3498 PyObject
* _argo0
= 0;
3499 char *_kwnames
[] = { "self", NULL
};
3502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3512 wxPy_BEGIN_ALLOW_THREADS
;
3513 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3515 wxPy_END_ALLOW_THREADS
;
3517 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3525 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3526 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3527 PyObject
* _resultobj
;
3529 wxTipProvider
* _arg0
;
3530 PyObject
* _argo0
= 0;
3531 char *_kwnames
[] = { "self", NULL
};
3534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_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 wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3544 wxPy_BEGIN_ALLOW_THREADS
;
3545 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3547 wxPy_END_ALLOW_THREADS
;
3548 } _resultobj
= Py_BuildValue("i",_result
);
3552 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3553 wxPyTipProvider
*src
;
3554 wxTipProvider
*dest
;
3555 src
= (wxPyTipProvider
*) ptr
;
3556 dest
= (wxTipProvider
*) src
;
3557 return (void *) dest
;
3560 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3561 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3562 PyObject
* _resultobj
;
3563 wxPyTipProvider
* _result
;
3565 char *_kwnames
[] = { "currentTip", NULL
};
3569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3572 wxPy_BEGIN_ALLOW_THREADS
;
3573 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3575 wxPy_END_ALLOW_THREADS
;
3577 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3578 _resultobj
= Py_BuildValue("s",_ptemp
);
3581 _resultobj
= Py_None
;
3586 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3587 wxGenericDragImage
*src
;
3589 src
= (wxGenericDragImage
*) ptr
;
3590 dest
= (wxObject
*) src
;
3591 return (void *) dest
;
3594 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3595 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
* _resultobj
;
3597 wxGenericDragImage
* _result
;
3599 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3600 PyObject
* _argo0
= 0;
3601 PyObject
* _argo1
= 0;
3602 char *_kwnames
[] = { "image","cursor", NULL
};
3606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3616 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3617 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3623 wxPy_BEGIN_ALLOW_THREADS
;
3624 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3626 wxPy_END_ALLOW_THREADS
;
3628 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3629 _resultobj
= Py_BuildValue("s",_ptemp
);
3632 _resultobj
= Py_None
;
3637 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3638 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
* _resultobj
;
3640 wxGenericDragImage
* _arg0
;
3641 PyObject
* _argo0
= 0;
3642 char *_kwnames
[] = { "self", NULL
};
3645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3655 wxPy_BEGIN_ALLOW_THREADS
;
3656 delete_wxGenericDragImage(_arg0
);
3658 wxPy_END_ALLOW_THREADS
;
3659 } Py_INCREF(Py_None
);
3660 _resultobj
= Py_None
;
3664 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3665 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
* _resultobj
;
3667 wxGenericDragImage
* _arg0
;
3669 PyObject
* _argo0
= 0;
3670 PyObject
* _argo1
= 0;
3671 char *_kwnames
[] = { "self","bitmap", NULL
};
3674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3684 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3685 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3691 wxPy_BEGIN_ALLOW_THREADS
;
3692 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3694 wxPy_END_ALLOW_THREADS
;
3695 } Py_INCREF(Py_None
);
3696 _resultobj
= Py_None
;
3700 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3701 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3702 PyObject
* _resultobj
;
3704 wxGenericDragImage
* _arg0
;
3707 bool _arg3
= (bool ) FALSE
;
3708 wxRect
* _arg4
= (wxRect
*) NULL
;
3709 PyObject
* _argo0
= 0;
3711 PyObject
* _obj1
= 0;
3712 PyObject
* _argo2
= 0;
3713 int tempbool3
= (int) FALSE
;
3715 PyObject
* _obj4
= 0;
3716 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3730 if (! wxPoint_helper(_obj1
, &_arg1
))
3734 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3735 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3740 _arg3
= (bool ) tempbool3
;
3744 if (! wxRect_helper(_obj4
, &_arg4
))
3748 wxPy_BEGIN_ALLOW_THREADS
;
3749 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3751 wxPy_END_ALLOW_THREADS
;
3752 } _resultobj
= Py_BuildValue("i",_result
);
3756 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3757 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3758 PyObject
* _resultobj
;
3760 wxGenericDragImage
* _arg0
;
3764 PyObject
* _argo0
= 0;
3766 PyObject
* _obj1
= 0;
3767 PyObject
* _argo2
= 0;
3768 PyObject
* _argo3
= 0;
3769 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3783 if (! wxPoint_helper(_obj1
, &_arg1
))
3787 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3788 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3794 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3795 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3801 wxPy_BEGIN_ALLOW_THREADS
;
3802 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3804 wxPy_END_ALLOW_THREADS
;
3805 } _resultobj
= Py_BuildValue("i",_result
);
3809 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3810 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
* _resultobj
;
3813 wxGenericDragImage
* _arg0
;
3814 PyObject
* _argo0
= 0;
3815 char *_kwnames
[] = { "self", NULL
};
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3828 wxPy_BEGIN_ALLOW_THREADS
;
3829 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3831 wxPy_END_ALLOW_THREADS
;
3832 } _resultobj
= Py_BuildValue("i",_result
);
3836 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3837 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
* _resultobj
;
3840 wxGenericDragImage
* _arg0
;
3842 PyObject
* _argo0
= 0;
3844 PyObject
* _obj1
= 0;
3845 char *_kwnames
[] = { "self","pt", NULL
};
3848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3859 if (! wxPoint_helper(_obj1
, &_arg1
))
3863 wxPy_BEGIN_ALLOW_THREADS
;
3864 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3866 wxPy_END_ALLOW_THREADS
;
3867 } _resultobj
= Py_BuildValue("i",_result
);
3871 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3872 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
* _resultobj
;
3875 wxGenericDragImage
* _arg0
;
3876 PyObject
* _argo0
= 0;
3877 char *_kwnames
[] = { "self", NULL
};
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3890 wxPy_BEGIN_ALLOW_THREADS
;
3891 _result
= (bool )wxDragImage_Show(_arg0
);
3893 wxPy_END_ALLOW_THREADS
;
3894 } _resultobj
= Py_BuildValue("i",_result
);
3898 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3899 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
* _resultobj
;
3902 wxGenericDragImage
* _arg0
;
3903 PyObject
* _argo0
= 0;
3904 char *_kwnames
[] = { "self", NULL
};
3907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3917 wxPy_BEGIN_ALLOW_THREADS
;
3918 _result
= (bool )wxDragImage_Hide(_arg0
);
3920 wxPy_END_ALLOW_THREADS
;
3921 } _resultobj
= Py_BuildValue("i",_result
);
3925 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3926 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
* _resultobj
;
3929 wxGenericDragImage
* _arg0
;
3931 PyObject
* _argo0
= 0;
3933 PyObject
* _obj1
= 0;
3934 char *_kwnames
[] = { "self","pos", NULL
};
3938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
3941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
3949 if (! wxPoint_helper(_obj1
, &_arg1
))
3953 wxPy_BEGIN_ALLOW_THREADS
;
3954 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
3956 wxPy_END_ALLOW_THREADS
;
3957 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3958 _resultobj
= Py_BuildValue("s",_ptemp
);
3962 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3963 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
* _resultobj
;
3966 wxGenericDragImage
* _arg0
;
3971 PyObject
* _argo0
= 0;
3973 PyObject
* _obj1
= 0;
3975 PyObject
* _obj2
= 0;
3978 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
3981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
3984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
3992 if (! wxPoint_helper(_obj1
, &_arg1
))
3997 if (! wxPoint_helper(_obj2
, &_arg2
))
4000 _arg3
= (bool ) tempbool3
;
4001 _arg4
= (bool ) tempbool4
;
4003 wxPy_BEGIN_ALLOW_THREADS
;
4004 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4006 wxPy_END_ALLOW_THREADS
;
4007 } _resultobj
= Py_BuildValue("i",_result
);
4011 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4014 src
= (wxPyTimer
*) ptr
;
4015 dest
= (wxObject
*) src
;
4016 return (void *) dest
;
4019 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4020 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
* _resultobj
;
4022 wxPyTimer
* _result
;
4024 PyObject
* _obj0
= 0;
4025 char *_kwnames
[] = { "notify", NULL
};
4029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4035 wxPy_BEGIN_ALLOW_THREADS
;
4036 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4038 wxPy_END_ALLOW_THREADS
;
4040 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4041 _resultobj
= Py_BuildValue("s",_ptemp
);
4044 _resultobj
= Py_None
;
4049 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4050 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
* _resultobj
;
4053 PyObject
* _argo0
= 0;
4054 char *_kwnames
[] = { "self", NULL
};
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4060 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4061 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4062 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4067 wxPy_BEGIN_ALLOW_THREADS
;
4068 delete_wxPyTimer(_arg0
);
4070 wxPy_END_ALLOW_THREADS
;
4071 } Py_INCREF(Py_None
);
4072 _resultobj
= Py_None
;
4076 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4077 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
* _resultobj
;
4081 PyObject
* _argo0
= 0;
4082 char *_kwnames
[] = { "self", NULL
};
4085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4088 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4089 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4090 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4095 wxPy_BEGIN_ALLOW_THREADS
;
4096 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4098 wxPy_END_ALLOW_THREADS
;
4099 } _resultobj
= Py_BuildValue("i",_result
);
4103 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4104 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4105 PyObject
* _resultobj
;
4108 PyObject
* _argo0
= 0;
4109 char *_kwnames
[] = { "self", NULL
};
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4122 wxPy_BEGIN_ALLOW_THREADS
;
4123 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4125 wxPy_END_ALLOW_THREADS
;
4126 } _resultobj
= Py_BuildValue("i",_result
);
4130 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4131 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
* _resultobj
;
4135 PyObject
* _argo0
= 0;
4136 char *_kwnames
[] = { "self", NULL
};
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4142 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4143 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4144 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4149 wxPy_BEGIN_ALLOW_THREADS
;
4150 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4152 wxPy_END_ALLOW_THREADS
;
4153 } _resultobj
= Py_BuildValue("i",_result
);
4157 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4158 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4159 PyObject
* _resultobj
;
4161 wxEvtHandler
* _arg1
;
4162 int _arg2
= (int ) -1;
4163 PyObject
* _argo0
= 0;
4164 PyObject
* _argo1
= 0;
4165 char *_kwnames
[] = { "self","owner","id", NULL
};
4168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4178 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4179 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4185 wxPy_BEGIN_ALLOW_THREADS
;
4186 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4188 wxPy_END_ALLOW_THREADS
;
4189 } Py_INCREF(Py_None
);
4190 _resultobj
= Py_None
;
4194 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4195 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4196 PyObject
* _resultobj
;
4198 int _arg1
= (int ) -1;
4199 int _arg2
= (int ) FALSE
;
4200 PyObject
* _argo0
= 0;
4201 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4214 wxPy_BEGIN_ALLOW_THREADS
;
4215 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4217 wxPy_END_ALLOW_THREADS
;
4218 } Py_INCREF(Py_None
);
4219 _resultobj
= Py_None
;
4223 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4224 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4225 PyObject
* _resultobj
;
4227 PyObject
* _argo0
= 0;
4228 char *_kwnames
[] = { "self", NULL
};
4231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4241 wxPy_BEGIN_ALLOW_THREADS
;
4242 wxPyTimer_Stop(_arg0
);
4244 wxPy_END_ALLOW_THREADS
;
4245 } Py_INCREF(Py_None
);
4246 _resultobj
= Py_None
;
4250 #define new_wxLog() (new wxLog())
4251 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
* _resultobj
;
4254 char *_kwnames
[] = { NULL
};
4258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4261 wxPy_BEGIN_ALLOW_THREADS
;
4262 _result
= (wxLog
*)new_wxLog();
4264 wxPy_END_ALLOW_THREADS
;
4266 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4267 _resultobj
= Py_BuildValue("s",_ptemp
);
4270 _resultobj
= Py_None
;
4275 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4276 PyObject
* _resultobj
;
4278 char *_kwnames
[] = { NULL
};
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4284 wxPy_BEGIN_ALLOW_THREADS
;
4285 _result
= (bool )wxLog::IsEnabled();
4287 wxPy_END_ALLOW_THREADS
;
4288 } _resultobj
= Py_BuildValue("i",_result
);
4292 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4293 PyObject
* _resultobj
;
4295 bool _arg0
= (bool ) TRUE
;
4296 int tempbool0
= (int) TRUE
;
4297 char *_kwnames
[] = { "doIt", NULL
};
4300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4302 _arg0
= (bool ) tempbool0
;
4304 wxPy_BEGIN_ALLOW_THREADS
;
4305 _result
= (bool )wxLog::EnableLogging(_arg0
);
4307 wxPy_END_ALLOW_THREADS
;
4308 } _resultobj
= Py_BuildValue("i",_result
);
4312 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
* _resultobj
;
4316 int _arg2
= (int ) 0;
4317 PyObject
* _argo0
= 0;
4318 char *_kwnames
[] = { "level","szString","t", NULL
};
4321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4331 wxPy_BEGIN_ALLOW_THREADS
;
4332 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
4334 wxPy_END_ALLOW_THREADS
;
4335 } Py_INCREF(Py_None
);
4336 _resultobj
= Py_None
;
4340 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4341 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
* _resultobj
;
4344 PyObject
* _argo0
= 0;
4345 char *_kwnames
[] = { "self", NULL
};
4348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4358 wxPy_BEGIN_ALLOW_THREADS
;
4361 wxPy_END_ALLOW_THREADS
;
4362 } Py_INCREF(Py_None
);
4363 _resultobj
= Py_None
;
4367 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4368 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
* _resultobj
;
4372 PyObject
* _argo0
= 0;
4373 char *_kwnames
[] = { "self", NULL
};
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4386 wxPy_BEGIN_ALLOW_THREADS
;
4387 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4389 wxPy_END_ALLOW_THREADS
;
4390 } _resultobj
= Py_BuildValue("i",_result
);
4394 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
* _resultobj
;
4396 char *_kwnames
[] = { NULL
};
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4402 wxPy_BEGIN_ALLOW_THREADS
;
4403 wxLog::FlushActive();
4405 wxPy_END_ALLOW_THREADS
;
4406 } Py_INCREF(Py_None
);
4407 _resultobj
= Py_None
;
4411 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4412 PyObject
* _resultobj
;
4414 char *_kwnames
[] = { NULL
};
4418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4421 wxPy_BEGIN_ALLOW_THREADS
;
4422 _result
= (wxLog
*)wxLog::GetActiveTarget();
4424 wxPy_END_ALLOW_THREADS
;
4426 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4427 _resultobj
= Py_BuildValue("s",_ptemp
);
4430 _resultobj
= Py_None
;
4435 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
* _resultobj
;
4439 PyObject
* _argo0
= 0;
4440 char *_kwnames
[] = { "pLogger", NULL
};
4444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4454 wxPy_BEGIN_ALLOW_THREADS
;
4455 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4457 wxPy_END_ALLOW_THREADS
;
4459 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4460 _resultobj
= Py_BuildValue("s",_ptemp
);
4463 _resultobj
= Py_None
;
4468 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
* _resultobj
;
4470 char *_kwnames
[] = { NULL
};
4473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4476 wxPy_BEGIN_ALLOW_THREADS
;
4479 wxPy_END_ALLOW_THREADS
;
4480 } Py_INCREF(Py_None
);
4481 _resultobj
= Py_None
;
4485 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4486 PyObject
* _resultobj
;
4487 char *_kwnames
[] = { NULL
};
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4493 wxPy_BEGIN_ALLOW_THREADS
;
4496 wxPy_END_ALLOW_THREADS
;
4497 } Py_INCREF(Py_None
);
4498 _resultobj
= Py_None
;
4502 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4503 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
* _resultobj
;
4506 bool _arg1
= (bool ) TRUE
;
4507 PyObject
* _argo0
= 0;
4508 int tempbool1
= (int) TRUE
;
4509 char *_kwnames
[] = { "self","bVerbose", NULL
};
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4521 _arg1
= (bool ) tempbool1
;
4523 wxPy_BEGIN_ALLOW_THREADS
;
4524 wxLog_SetVerbose(_arg0
,_arg1
);
4526 wxPy_END_ALLOW_THREADS
;
4527 } Py_INCREF(Py_None
);
4528 _resultobj
= Py_None
;
4532 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4533 PyObject
* _resultobj
;
4534 char *_kwnames
[] = { NULL
};
4537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4540 wxPy_BEGIN_ALLOW_THREADS
;
4541 wxLog::DontCreateOnDemand();
4543 wxPy_END_ALLOW_THREADS
;
4544 } Py_INCREF(Py_None
);
4545 _resultobj
= Py_None
;
4549 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4550 PyObject
* _resultobj
;
4551 wxTraceMask
* _arg0
;
4552 PyObject
* _argo0
= 0;
4553 char *_kwnames
[] = { "ulMask", NULL
};
4556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4566 wxPy_BEGIN_ALLOW_THREADS
;
4567 wxLog::SetTraceMask(*_arg0
);
4569 wxPy_END_ALLOW_THREADS
;
4570 } Py_INCREF(Py_None
);
4571 _resultobj
= Py_None
;
4575 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4576 PyObject
* _resultobj
;
4578 PyObject
* _obj0
= 0;
4579 char *_kwnames
[] = { "str", NULL
};
4582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4585 #if PYTHON_API_VERSION >= 1009
4586 char* tmpPtr
; int tmpSize
;
4587 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4588 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4591 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4593 _arg0
= new wxString(tmpPtr
, tmpSize
);
4595 if (!PyString_Check(_obj0
)) {
4596 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4599 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4603 wxPy_BEGIN_ALLOW_THREADS
;
4604 wxLog::AddTraceMask(*_arg0
);
4606 wxPy_END_ALLOW_THREADS
;
4607 } Py_INCREF(Py_None
);
4608 _resultobj
= Py_None
;
4616 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
* _resultobj
;
4619 PyObject
* _obj0
= 0;
4620 char *_kwnames
[] = { "str", NULL
};
4623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4626 #if PYTHON_API_VERSION >= 1009
4627 char* tmpPtr
; int tmpSize
;
4628 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4629 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4632 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4634 _arg0
= new wxString(tmpPtr
, tmpSize
);
4636 if (!PyString_Check(_obj0
)) {
4637 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4640 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4644 wxPy_BEGIN_ALLOW_THREADS
;
4645 wxLog::RemoveTraceMask(*_arg0
);
4647 wxPy_END_ALLOW_THREADS
;
4648 } Py_INCREF(Py_None
);
4649 _resultobj
= Py_None
;
4657 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4658 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
* _resultobj
;
4662 PyObject
* _argo0
= 0;
4663 char *_kwnames
[] = { "self", NULL
};
4666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4676 wxPy_BEGIN_ALLOW_THREADS
;
4677 _result
= (bool )wxLog_GetVerbose(_arg0
);
4679 wxPy_END_ALLOW_THREADS
;
4680 } _resultobj
= Py_BuildValue("i",_result
);
4684 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4685 PyObject
* _resultobj
;
4686 wxTraceMask
* _result
;
4687 char *_kwnames
[] = { NULL
};
4691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4694 wxPy_BEGIN_ALLOW_THREADS
;
4695 _result
= new wxTraceMask (wxLog::GetTraceMask());
4697 wxPy_END_ALLOW_THREADS
;
4698 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
4699 _resultobj
= Py_BuildValue("s",_ptemp
);
4703 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4704 PyObject
* _resultobj
;
4707 char *_kwnames
[] = { "mask", NULL
};
4710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
4713 wxPy_BEGIN_ALLOW_THREADS
;
4714 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
4716 wxPy_END_ALLOW_THREADS
;
4717 } _resultobj
= Py_BuildValue("i",_result
);
4721 static void *SwigwxLogStderrTowxLog(void *ptr
) {
4724 src
= (wxLogStderr
*) ptr
;
4725 dest
= (wxLog
*) src
;
4726 return (void *) dest
;
4729 #define new_wxLogStderr() (new wxLogStderr())
4730 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
* _resultobj
;
4732 wxLogStderr
* _result
;
4733 char *_kwnames
[] = { NULL
};
4737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
4740 wxPy_BEGIN_ALLOW_THREADS
;
4741 _result
= (wxLogStderr
*)new_wxLogStderr();
4743 wxPy_END_ALLOW_THREADS
;
4745 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
4746 _resultobj
= Py_BuildValue("s",_ptemp
);
4749 _resultobj
= Py_None
;
4754 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
4757 src
= (wxLogTextCtrl
*) ptr
;
4758 dest
= (wxLog
*) src
;
4759 return (void *) dest
;
4762 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
4763 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4764 PyObject
* _resultobj
;
4765 wxLogTextCtrl
* _result
;
4767 PyObject
* _argo0
= 0;
4768 char *_kwnames
[] = { "pTextCtrl", NULL
};
4772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
4775 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4776 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4777 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
4782 wxPy_BEGIN_ALLOW_THREADS
;
4783 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
4785 wxPy_END_ALLOW_THREADS
;
4787 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
4788 _resultobj
= Py_BuildValue("s",_ptemp
);
4791 _resultobj
= Py_None
;
4796 static void *SwigwxLogGuiTowxLog(void *ptr
) {
4799 src
= (wxLogGui
*) ptr
;
4800 dest
= (wxLog
*) src
;
4801 return (void *) dest
;
4804 #define new_wxLogGui() (new wxLogGui())
4805 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4806 PyObject
* _resultobj
;
4808 char *_kwnames
[] = { NULL
};
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
4815 wxPy_BEGIN_ALLOW_THREADS
;
4816 _result
= (wxLogGui
*)new_wxLogGui();
4818 wxPy_END_ALLOW_THREADS
;
4820 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
4821 _resultobj
= Py_BuildValue("s",_ptemp
);
4824 _resultobj
= Py_None
;
4829 static void *SwigwxLogWindowTowxLog(void *ptr
) {
4832 src
= (wxLogWindow
*) ptr
;
4833 dest
= (wxLog
*) src
;
4834 return (void *) dest
;
4837 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4838 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4839 PyObject
* _resultobj
;
4840 wxLogWindow
* _result
;
4843 bool _arg2
= (bool ) TRUE
;
4844 bool _arg3
= (bool ) TRUE
;
4845 PyObject
* _argo0
= 0;
4846 int tempbool2
= (int) TRUE
;
4847 int tempbool3
= (int) TRUE
;
4848 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
4852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
4855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
4857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
4861 _arg2
= (bool ) tempbool2
;
4862 _arg3
= (bool ) tempbool3
;
4864 wxPy_BEGIN_ALLOW_THREADS
;
4865 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
4867 wxPy_END_ALLOW_THREADS
;
4869 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
4870 _resultobj
= Py_BuildValue("s",_ptemp
);
4873 _resultobj
= Py_None
;
4878 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4879 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4880 PyObject
* _resultobj
;
4881 wxLogWindow
* _arg0
;
4882 bool _arg1
= (bool ) TRUE
;
4883 PyObject
* _argo0
= 0;
4884 int tempbool1
= (int) TRUE
;
4885 char *_kwnames
[] = { "self","bShow", NULL
};
4888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
4897 _arg1
= (bool ) tempbool1
;
4899 wxPy_BEGIN_ALLOW_THREADS
;
4900 wxLogWindow_Show(_arg0
,_arg1
);
4902 wxPy_END_ALLOW_THREADS
;
4903 } Py_INCREF(Py_None
);
4904 _resultobj
= Py_None
;
4908 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
4909 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4910 PyObject
* _resultobj
;
4912 wxLogWindow
* _arg0
;
4913 PyObject
* _argo0
= 0;
4914 char *_kwnames
[] = { "self", NULL
};
4917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
4920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
4927 wxPy_BEGIN_ALLOW_THREADS
;
4928 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
4930 wxPy_END_ALLOW_THREADS
;
4931 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4935 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
4936 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4937 PyObject
* _resultobj
;
4939 wxLogWindow
* _arg0
;
4940 PyObject
* _argo0
= 0;
4941 char *_kwnames
[] = { "self", NULL
};
4945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
4948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
4955 wxPy_BEGIN_ALLOW_THREADS
;
4956 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
4958 wxPy_END_ALLOW_THREADS
;
4960 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4961 _resultobj
= Py_BuildValue("s",_ptemp
);
4964 _resultobj
= Py_None
;
4969 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
4970 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
* _resultobj
;
4973 wxLogWindow
* _arg0
;
4974 PyObject
* _argo0
= 0;
4975 char *_kwnames
[] = { "self", NULL
};
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
4981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
4988 wxPy_BEGIN_ALLOW_THREADS
;
4989 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
4991 wxPy_END_ALLOW_THREADS
;
4992 } _resultobj
= Py_BuildValue("i",_result
);
4996 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
4997 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4998 PyObject
* _resultobj
;
4999 wxLogWindow
* _arg0
;
5001 PyObject
* _argo0
= 0;
5003 char *_kwnames
[] = { "self","bDoPass", NULL
};
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5015 _arg1
= (bool ) tempbool1
;
5017 wxPy_BEGIN_ALLOW_THREADS
;
5018 wxLogWindow_PassMessages(_arg0
,_arg1
);
5020 wxPy_END_ALLOW_THREADS
;
5021 } Py_INCREF(Py_None
);
5022 _resultobj
= Py_None
;
5026 #define new_wxLogNull() (new wxLogNull())
5027 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5028 PyObject
* _resultobj
;
5029 wxLogNull
* _result
;
5030 char *_kwnames
[] = { NULL
};
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5037 wxPy_BEGIN_ALLOW_THREADS
;
5038 _result
= (wxLogNull
*)new_wxLogNull();
5040 wxPy_END_ALLOW_THREADS
;
5042 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5043 _resultobj
= Py_BuildValue("s",_ptemp
);
5046 _resultobj
= Py_None
;
5051 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5052 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5053 PyObject
* _resultobj
;
5055 PyObject
* _argo0
= 0;
5056 char *_kwnames
[] = { "self", NULL
};
5059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5062 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5063 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5064 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5069 wxPy_BEGIN_ALLOW_THREADS
;
5070 delete_wxLogNull(_arg0
);
5072 wxPy_END_ALLOW_THREADS
;
5073 } Py_INCREF(Py_None
);
5074 _resultobj
= Py_None
;
5078 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5079 wxProcessEvent
*src
;
5081 src
= (wxProcessEvent
*) ptr
;
5082 dest
= (wxEvent
*) src
;
5083 return (void *) dest
;
5086 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5087 wxProcessEvent
*src
;
5089 src
= (wxProcessEvent
*) ptr
;
5090 dest
= (wxObject
*) src
;
5091 return (void *) dest
;
5094 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5095 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
* _resultobj
;
5097 wxProcessEvent
* _result
;
5098 int _arg0
= (int ) 0;
5099 int _arg1
= (int ) 0;
5100 int _arg2
= (int ) 0;
5101 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5108 wxPy_BEGIN_ALLOW_THREADS
;
5109 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5111 wxPy_END_ALLOW_THREADS
;
5113 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5114 _resultobj
= Py_BuildValue("s",_ptemp
);
5117 _resultobj
= Py_None
;
5122 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5123 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5124 PyObject
* _resultobj
;
5126 wxProcessEvent
* _arg0
;
5127 PyObject
* _argo0
= 0;
5128 char *_kwnames
[] = { "self", NULL
};
5131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5141 wxPy_BEGIN_ALLOW_THREADS
;
5142 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5144 wxPy_END_ALLOW_THREADS
;
5145 } _resultobj
= Py_BuildValue("i",_result
);
5149 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5150 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5151 PyObject
* _resultobj
;
5153 wxProcessEvent
* _arg0
;
5154 PyObject
* _argo0
= 0;
5155 char *_kwnames
[] = { "self", NULL
};
5158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5168 wxPy_BEGIN_ALLOW_THREADS
;
5169 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5171 wxPy_END_ALLOW_THREADS
;
5172 } _resultobj
= Py_BuildValue("i",_result
);
5176 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5177 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5178 PyObject
* _resultobj
;
5180 wxProcessEvent
* _arg0
;
5182 PyObject
* _argo0
= 0;
5183 char *_kwnames
[] = { "self","m_pid", NULL
};
5186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5196 wxPy_BEGIN_ALLOW_THREADS
;
5197 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5199 wxPy_END_ALLOW_THREADS
;
5200 } _resultobj
= Py_BuildValue("i",_result
);
5204 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5205 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5206 PyObject
* _resultobj
;
5208 wxProcessEvent
* _arg0
;
5209 PyObject
* _argo0
= 0;
5210 char *_kwnames
[] = { "self", NULL
};
5213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5223 wxPy_BEGIN_ALLOW_THREADS
;
5224 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5226 wxPy_END_ALLOW_THREADS
;
5227 } _resultobj
= Py_BuildValue("i",_result
);
5231 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5232 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5233 PyObject
* _resultobj
;
5235 wxProcessEvent
* _arg0
;
5237 PyObject
* _argo0
= 0;
5238 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5251 wxPy_BEGIN_ALLOW_THREADS
;
5252 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5254 wxPy_END_ALLOW_THREADS
;
5255 } _resultobj
= Py_BuildValue("i",_result
);
5259 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5260 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
* _resultobj
;
5263 wxProcessEvent
* _arg0
;
5264 PyObject
* _argo0
= 0;
5265 char *_kwnames
[] = { "self", NULL
};
5268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5278 wxPy_BEGIN_ALLOW_THREADS
;
5279 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5281 wxPy_END_ALLOW_THREADS
;
5282 } _resultobj
= Py_BuildValue("i",_result
);
5286 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5289 src
= (wxPyProcess
*) ptr
;
5290 dest
= (wxEvtHandler
*) src
;
5291 return (void *) dest
;
5294 static void *SwigwxPyProcessTowxObject(void *ptr
) {
5297 src
= (wxPyProcess
*) ptr
;
5298 dest
= (wxObject
*) src
;
5299 return (void *) dest
;
5302 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5303 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5304 PyObject
* _resultobj
;
5305 wxPyProcess
* _result
;
5306 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
5307 int _arg1
= (int ) -1;
5308 PyObject
* _argo0
= 0;
5309 char *_kwnames
[] = { "parent","id", NULL
};
5313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
5316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
5318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
5323 wxPy_BEGIN_ALLOW_THREADS
;
5324 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
5326 wxPy_END_ALLOW_THREADS
;
5328 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
5329 _resultobj
= Py_BuildValue("s",_ptemp
);
5332 _resultobj
= Py_None
;
5337 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
5338 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
* _resultobj
;
5340 wxPyProcess
* _arg0
;
5341 PyObject
* _argo0
= 0;
5342 char *_kwnames
[] = { "self", NULL
};
5345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
5348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
5355 wxPy_BEGIN_ALLOW_THREADS
;
5356 wxPyProcess_Destroy(_arg0
);
5358 wxPy_END_ALLOW_THREADS
;
5359 } Py_INCREF(Py_None
);
5360 _resultobj
= Py_None
;
5364 #define wxProcess__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5365 static PyObject
*_wrap_wxProcess__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
* _resultobj
;
5367 wxPyProcess
* _arg0
;
5370 PyObject
* _argo0
= 0;
5371 PyObject
* _obj1
= 0;
5372 PyObject
* _obj2
= 0;
5373 char *_kwnames
[] = { "self","self","_class", NULL
};
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setSelf. Expected _wxPyProcess_p.");
5392 wxPy_BEGIN_ALLOW_THREADS
;
5393 wxProcess__setSelf(_arg0
,_arg1
,_arg2
);
5395 wxPy_END_ALLOW_THREADS
;
5396 } Py_INCREF(Py_None
);
5397 _resultobj
= Py_None
;
5401 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
5402 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
* _resultobj
;
5404 wxPyProcess
* _arg0
;
5407 PyObject
* _argo0
= 0;
5408 char *_kwnames
[] = { "self","pid","status", NULL
};
5411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
5421 wxPy_BEGIN_ALLOW_THREADS
;
5422 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
5424 wxPy_END_ALLOW_THREADS
;
5425 } Py_INCREF(Py_None
);
5426 _resultobj
= Py_None
;
5430 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
5431 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5432 PyObject
* _resultobj
;
5433 wxPyProcess
* _arg0
;
5434 PyObject
* _argo0
= 0;
5435 char *_kwnames
[] = { "self", NULL
};
5438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
5441 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5442 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
5448 wxPy_BEGIN_ALLOW_THREADS
;
5449 wxProcess_Redirect(_arg0
);
5451 wxPy_END_ALLOW_THREADS
;
5452 } Py_INCREF(Py_None
);
5453 _resultobj
= Py_None
;
5457 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
5458 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5459 PyObject
* _resultobj
;
5461 wxPyProcess
* _arg0
;
5462 PyObject
* _argo0
= 0;
5463 char *_kwnames
[] = { "self", NULL
};
5466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
5469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
5476 wxPy_BEGIN_ALLOW_THREADS
;
5477 _result
= (bool )wxProcess_IsRedirected(_arg0
);
5479 wxPy_END_ALLOW_THREADS
;
5480 } _resultobj
= Py_BuildValue("i",_result
);
5484 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
5485 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5486 PyObject
* _resultobj
;
5487 wxPyProcess
* _arg0
;
5488 PyObject
* _argo0
= 0;
5489 char *_kwnames
[] = { "self", NULL
};
5492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
5495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
5502 wxPy_BEGIN_ALLOW_THREADS
;
5503 wxProcess_Detach(_arg0
);
5505 wxPy_END_ALLOW_THREADS
;
5506 } Py_INCREF(Py_None
);
5507 _resultobj
= Py_None
;
5511 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
5512 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5513 PyObject
* _resultobj
;
5514 wxInputStream
* _result
;
5515 wxPyProcess
* _arg0
;
5516 PyObject
* _argo0
= 0;
5517 char *_kwnames
[] = { "self", NULL
};
5520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
5523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
5530 wxPy_BEGIN_ALLOW_THREADS
;
5531 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
5533 wxPy_END_ALLOW_THREADS
;
5535 wxPyInputStream
* _ptr
= NULL
;
5538 _ptr
= new wxPyInputStream(_result
);
5540 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
5545 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
5546 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
* _resultobj
;
5548 wxInputStream
* _result
;
5549 wxPyProcess
* _arg0
;
5550 PyObject
* _argo0
= 0;
5551 char *_kwnames
[] = { "self", NULL
};
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
5557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
5564 wxPy_BEGIN_ALLOW_THREADS
;
5565 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
5567 wxPy_END_ALLOW_THREADS
;
5569 wxPyInputStream
* _ptr
= NULL
;
5572 _ptr
= new wxPyInputStream(_result
);
5574 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
5579 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
5580 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5581 PyObject
* _resultobj
;
5582 wxOutputStream
* _result
;
5583 wxPyProcess
* _arg0
;
5584 PyObject
* _argo0
= 0;
5585 char *_kwnames
[] = { "self", NULL
};
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
5592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
5599 wxPy_BEGIN_ALLOW_THREADS
;
5600 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
5602 wxPy_END_ALLOW_THREADS
;
5604 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
5605 _resultobj
= Py_BuildValue("s",_ptemp
);
5608 _resultobj
= Py_None
;
5613 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
5614 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5615 PyObject
* _resultobj
;
5616 wxPyProcess
* _arg0
;
5617 PyObject
* _argo0
= 0;
5618 char *_kwnames
[] = { "self", NULL
};
5621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
5624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
5631 wxPy_BEGIN_ALLOW_THREADS
;
5632 wxProcess_CloseOutput(_arg0
);
5634 wxPy_END_ALLOW_THREADS
;
5635 } Py_INCREF(Py_None
);
5636 _resultobj
= Py_None
;
5640 static void *SwigwxJoystickTowxObject(void *ptr
) {
5643 src
= (wxJoystick
*) ptr
;
5644 dest
= (wxObject
*) src
;
5645 return (void *) dest
;
5648 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
5649 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5650 PyObject
* _resultobj
;
5651 wxJoystick
* _result
;
5652 int _arg0
= (int ) wxJOYSTICK1
;
5653 char *_kwnames
[] = { "joystick", NULL
};
5657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
5660 wxPy_BEGIN_ALLOW_THREADS
;
5661 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
5663 wxPy_END_ALLOW_THREADS
;
5665 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
5666 _resultobj
= Py_BuildValue("s",_ptemp
);
5669 _resultobj
= Py_None
;
5674 #define delete_wxJoystick(_swigobj) (delete _swigobj)
5675 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5676 PyObject
* _resultobj
;
5678 PyObject
* _argo0
= 0;
5679 char *_kwnames
[] = { "self", NULL
};
5682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
5685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
5692 wxPy_BEGIN_ALLOW_THREADS
;
5693 delete_wxJoystick(_arg0
);
5695 wxPy_END_ALLOW_THREADS
;
5696 } Py_INCREF(Py_None
);
5697 _resultobj
= Py_None
;
5701 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
5702 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5703 PyObject
* _resultobj
;
5706 PyObject
* _argo0
= 0;
5707 char *_kwnames
[] = { "self", NULL
};
5711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
5714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
5721 wxPy_BEGIN_ALLOW_THREADS
;
5722 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
5724 wxPy_END_ALLOW_THREADS
;
5725 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5726 _resultobj
= Py_BuildValue("s",_ptemp
);
5730 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
5731 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5732 PyObject
* _resultobj
;
5735 PyObject
* _argo0
= 0;
5736 char *_kwnames
[] = { "self", NULL
};
5739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
5742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
5749 wxPy_BEGIN_ALLOW_THREADS
;
5750 _result
= (int )wxJoystick_GetZPosition(_arg0
);
5752 wxPy_END_ALLOW_THREADS
;
5753 } _resultobj
= Py_BuildValue("i",_result
);
5757 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
5758 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
* _resultobj
;
5762 PyObject
* _argo0
= 0;
5763 char *_kwnames
[] = { "self", NULL
};
5766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
5769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
5776 wxPy_BEGIN_ALLOW_THREADS
;
5777 _result
= (int )wxJoystick_GetButtonState(_arg0
);
5779 wxPy_END_ALLOW_THREADS
;
5780 } _resultobj
= Py_BuildValue("i",_result
);
5784 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
5785 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5786 PyObject
* _resultobj
;
5789 PyObject
* _argo0
= 0;
5790 char *_kwnames
[] = { "self", NULL
};
5793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
5796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
5803 wxPy_BEGIN_ALLOW_THREADS
;
5804 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
5806 wxPy_END_ALLOW_THREADS
;
5807 } _resultobj
= Py_BuildValue("i",_result
);
5811 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
5812 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
* _resultobj
;
5816 PyObject
* _argo0
= 0;
5817 char *_kwnames
[] = { "self", NULL
};
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
5823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
5830 wxPy_BEGIN_ALLOW_THREADS
;
5831 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
5833 wxPy_END_ALLOW_THREADS
;
5834 } _resultobj
= Py_BuildValue("i",_result
);
5838 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
5839 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5840 PyObject
* _resultobj
;
5843 PyObject
* _argo0
= 0;
5844 char *_kwnames
[] = { "self", NULL
};
5847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
5850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
5857 wxPy_BEGIN_ALLOW_THREADS
;
5858 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
5860 wxPy_END_ALLOW_THREADS
;
5861 } _resultobj
= Py_BuildValue("i",_result
);
5865 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
5866 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5867 PyObject
* _resultobj
;
5870 PyObject
* _argo0
= 0;
5871 char *_kwnames
[] = { "self", NULL
};
5874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
5877 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5878 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5879 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
5884 wxPy_BEGIN_ALLOW_THREADS
;
5885 _result
= (int )wxJoystick_GetUPosition(_arg0
);
5887 wxPy_END_ALLOW_THREADS
;
5888 } _resultobj
= Py_BuildValue("i",_result
);
5892 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
5893 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
* _resultobj
;
5897 PyObject
* _argo0
= 0;
5898 char *_kwnames
[] = { "self", NULL
};
5901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
5904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
5911 wxPy_BEGIN_ALLOW_THREADS
;
5912 _result
= (int )wxJoystick_GetVPosition(_arg0
);
5914 wxPy_END_ALLOW_THREADS
;
5915 } _resultobj
= Py_BuildValue("i",_result
);
5919 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
5920 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
* _resultobj
;
5924 PyObject
* _argo0
= 0;
5925 char *_kwnames
[] = { "self", NULL
};
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
5931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
5938 wxPy_BEGIN_ALLOW_THREADS
;
5939 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
5941 wxPy_END_ALLOW_THREADS
;
5942 } _resultobj
= Py_BuildValue("i",_result
);
5946 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
5947 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5948 PyObject
* _resultobj
;
5951 PyObject
* _argo0
= 0;
5952 char *_kwnames
[] = { "self","threshold", NULL
};
5955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
5958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
5965 wxPy_BEGIN_ALLOW_THREADS
;
5966 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
5968 wxPy_END_ALLOW_THREADS
;
5969 } Py_INCREF(Py_None
);
5970 _resultobj
= Py_None
;
5974 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
5975 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
* _resultobj
;
5979 PyObject
* _argo0
= 0;
5980 char *_kwnames
[] = { "self", NULL
};
5983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
5986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
5993 wxPy_BEGIN_ALLOW_THREADS
;
5994 _result
= (bool )wxJoystick_IsOk(_arg0
);
5996 wxPy_END_ALLOW_THREADS
;
5997 } _resultobj
= Py_BuildValue("i",_result
);
6001 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6002 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6003 PyObject
* _resultobj
;
6006 PyObject
* _argo0
= 0;
6007 char *_kwnames
[] = { "self", NULL
};
6010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6020 wxPy_BEGIN_ALLOW_THREADS
;
6021 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6023 wxPy_END_ALLOW_THREADS
;
6024 } _resultobj
= Py_BuildValue("i",_result
);
6028 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6029 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6030 PyObject
* _resultobj
;
6033 PyObject
* _argo0
= 0;
6034 char *_kwnames
[] = { "self", NULL
};
6037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6040 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6041 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6042 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6047 wxPy_BEGIN_ALLOW_THREADS
;
6048 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6050 wxPy_END_ALLOW_THREADS
;
6051 } _resultobj
= Py_BuildValue("i",_result
);
6055 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6056 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6057 PyObject
* _resultobj
;
6060 PyObject
* _argo0
= 0;
6061 char *_kwnames
[] = { "self", NULL
};
6064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6074 wxPy_BEGIN_ALLOW_THREADS
;
6075 _result
= (int )wxJoystick_GetProductId(_arg0
);
6077 wxPy_END_ALLOW_THREADS
;
6078 } _resultobj
= Py_BuildValue("i",_result
);
6082 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6083 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
* _resultobj
;
6087 PyObject
* _argo0
= 0;
6088 char *_kwnames
[] = { "self", NULL
};
6091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6101 wxPy_BEGIN_ALLOW_THREADS
;
6102 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6104 wxPy_END_ALLOW_THREADS
;
6106 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6114 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6115 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
* _resultobj
;
6119 PyObject
* _argo0
= 0;
6120 char *_kwnames
[] = { "self", NULL
};
6123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6133 wxPy_BEGIN_ALLOW_THREADS
;
6134 _result
= (int )wxJoystick_GetXMin(_arg0
);
6136 wxPy_END_ALLOW_THREADS
;
6137 } _resultobj
= Py_BuildValue("i",_result
);
6141 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6142 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
* _resultobj
;
6146 PyObject
* _argo0
= 0;
6147 char *_kwnames
[] = { "self", NULL
};
6150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6160 wxPy_BEGIN_ALLOW_THREADS
;
6161 _result
= (int )wxJoystick_GetYMin(_arg0
);
6163 wxPy_END_ALLOW_THREADS
;
6164 } _resultobj
= Py_BuildValue("i",_result
);
6168 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6169 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
* _resultobj
;
6173 PyObject
* _argo0
= 0;
6174 char *_kwnames
[] = { "self", NULL
};
6177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6187 wxPy_BEGIN_ALLOW_THREADS
;
6188 _result
= (int )wxJoystick_GetZMin(_arg0
);
6190 wxPy_END_ALLOW_THREADS
;
6191 } _resultobj
= Py_BuildValue("i",_result
);
6195 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6196 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6197 PyObject
* _resultobj
;
6200 PyObject
* _argo0
= 0;
6201 char *_kwnames
[] = { "self", NULL
};
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6214 wxPy_BEGIN_ALLOW_THREADS
;
6215 _result
= (int )wxJoystick_GetXMax(_arg0
);
6217 wxPy_END_ALLOW_THREADS
;
6218 } _resultobj
= Py_BuildValue("i",_result
);
6222 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6223 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6224 PyObject
* _resultobj
;
6227 PyObject
* _argo0
= 0;
6228 char *_kwnames
[] = { "self", NULL
};
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6241 wxPy_BEGIN_ALLOW_THREADS
;
6242 _result
= (int )wxJoystick_GetYMax(_arg0
);
6244 wxPy_END_ALLOW_THREADS
;
6245 } _resultobj
= Py_BuildValue("i",_result
);
6249 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6250 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6251 PyObject
* _resultobj
;
6254 PyObject
* _argo0
= 0;
6255 char *_kwnames
[] = { "self", NULL
};
6258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
6261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6268 wxPy_BEGIN_ALLOW_THREADS
;
6269 _result
= (int )wxJoystick_GetZMax(_arg0
);
6271 wxPy_END_ALLOW_THREADS
;
6272 } _resultobj
= Py_BuildValue("i",_result
);
6276 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6277 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6278 PyObject
* _resultobj
;
6281 PyObject
* _argo0
= 0;
6282 char *_kwnames
[] = { "self", NULL
};
6285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
6288 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6289 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6290 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
6295 wxPy_BEGIN_ALLOW_THREADS
;
6296 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
6298 wxPy_END_ALLOW_THREADS
;
6299 } _resultobj
= Py_BuildValue("i",_result
);
6303 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
6304 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6305 PyObject
* _resultobj
;
6308 PyObject
* _argo0
= 0;
6309 char *_kwnames
[] = { "self", NULL
};
6312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
6315 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6316 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6317 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
6322 wxPy_BEGIN_ALLOW_THREADS
;
6323 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
6325 wxPy_END_ALLOW_THREADS
;
6326 } _resultobj
= Py_BuildValue("i",_result
);
6330 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
6331 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
* _resultobj
;
6335 PyObject
* _argo0
= 0;
6336 char *_kwnames
[] = { "self", NULL
};
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
6342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
6349 wxPy_BEGIN_ALLOW_THREADS
;
6350 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
6352 wxPy_END_ALLOW_THREADS
;
6353 } _resultobj
= Py_BuildValue("i",_result
);
6357 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
6358 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6359 PyObject
* _resultobj
;
6362 PyObject
* _argo0
= 0;
6363 char *_kwnames
[] = { "self", NULL
};
6366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
6369 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6370 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
6376 wxPy_BEGIN_ALLOW_THREADS
;
6377 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
6379 wxPy_END_ALLOW_THREADS
;
6380 } _resultobj
= Py_BuildValue("i",_result
);
6384 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
6385 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6386 PyObject
* _resultobj
;
6389 PyObject
* _argo0
= 0;
6390 char *_kwnames
[] = { "self", NULL
};
6393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
6396 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6397 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
6403 wxPy_BEGIN_ALLOW_THREADS
;
6404 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
6406 wxPy_END_ALLOW_THREADS
;
6407 } _resultobj
= Py_BuildValue("i",_result
);
6411 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
6412 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6413 PyObject
* _resultobj
;
6416 PyObject
* _argo0
= 0;
6417 char *_kwnames
[] = { "self", NULL
};
6420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
6423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
6430 wxPy_BEGIN_ALLOW_THREADS
;
6431 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
6433 wxPy_END_ALLOW_THREADS
;
6434 } _resultobj
= Py_BuildValue("i",_result
);
6438 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
6439 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6440 PyObject
* _resultobj
;
6443 PyObject
* _argo0
= 0;
6444 char *_kwnames
[] = { "self", NULL
};
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
6450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
6457 wxPy_BEGIN_ALLOW_THREADS
;
6458 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
6460 wxPy_END_ALLOW_THREADS
;
6461 } _resultobj
= Py_BuildValue("i",_result
);
6465 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
6466 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6467 PyObject
* _resultobj
;
6470 PyObject
* _argo0
= 0;
6471 char *_kwnames
[] = { "self", NULL
};
6474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
6477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
6484 wxPy_BEGIN_ALLOW_THREADS
;
6485 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
6487 wxPy_END_ALLOW_THREADS
;
6488 } _resultobj
= Py_BuildValue("i",_result
);
6492 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
6493 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6494 PyObject
* _resultobj
;
6497 PyObject
* _argo0
= 0;
6498 char *_kwnames
[] = { "self", NULL
};
6501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
6504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
6511 wxPy_BEGIN_ALLOW_THREADS
;
6512 _result
= (int )wxJoystick_GetUMin(_arg0
);
6514 wxPy_END_ALLOW_THREADS
;
6515 } _resultobj
= Py_BuildValue("i",_result
);
6519 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
6520 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
* _resultobj
;
6524 PyObject
* _argo0
= 0;
6525 char *_kwnames
[] = { "self", NULL
};
6528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
6531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
6538 wxPy_BEGIN_ALLOW_THREADS
;
6539 _result
= (int )wxJoystick_GetUMax(_arg0
);
6541 wxPy_END_ALLOW_THREADS
;
6542 } _resultobj
= Py_BuildValue("i",_result
);
6546 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
6547 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6548 PyObject
* _resultobj
;
6551 PyObject
* _argo0
= 0;
6552 char *_kwnames
[] = { "self", NULL
};
6555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
6558 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6559 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
6565 wxPy_BEGIN_ALLOW_THREADS
;
6566 _result
= (int )wxJoystick_GetVMin(_arg0
);
6568 wxPy_END_ALLOW_THREADS
;
6569 } _resultobj
= Py_BuildValue("i",_result
);
6573 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
6574 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
* _resultobj
;
6578 PyObject
* _argo0
= 0;
6579 char *_kwnames
[] = { "self", NULL
};
6582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
6585 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6586 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6587 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
6592 wxPy_BEGIN_ALLOW_THREADS
;
6593 _result
= (int )wxJoystick_GetVMax(_arg0
);
6595 wxPy_END_ALLOW_THREADS
;
6596 } _resultobj
= Py_BuildValue("i",_result
);
6600 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
6601 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6602 PyObject
* _resultobj
;
6605 PyObject
* _argo0
= 0;
6606 char *_kwnames
[] = { "self", NULL
};
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
6612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
6619 wxPy_BEGIN_ALLOW_THREADS
;
6620 _result
= (bool )wxJoystick_HasRudder(_arg0
);
6622 wxPy_END_ALLOW_THREADS
;
6623 } _resultobj
= Py_BuildValue("i",_result
);
6627 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
6628 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6629 PyObject
* _resultobj
;
6632 PyObject
* _argo0
= 0;
6633 char *_kwnames
[] = { "self", NULL
};
6636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
6639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
6646 wxPy_BEGIN_ALLOW_THREADS
;
6647 _result
= (bool )wxJoystick_HasZ(_arg0
);
6649 wxPy_END_ALLOW_THREADS
;
6650 } _resultobj
= Py_BuildValue("i",_result
);
6654 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
6655 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6656 PyObject
* _resultobj
;
6659 PyObject
* _argo0
= 0;
6660 char *_kwnames
[] = { "self", NULL
};
6663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
6666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
6673 wxPy_BEGIN_ALLOW_THREADS
;
6674 _result
= (bool )wxJoystick_HasU(_arg0
);
6676 wxPy_END_ALLOW_THREADS
;
6677 } _resultobj
= Py_BuildValue("i",_result
);
6681 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
6682 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6683 PyObject
* _resultobj
;
6686 PyObject
* _argo0
= 0;
6687 char *_kwnames
[] = { "self", NULL
};
6690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
6693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
6700 wxPy_BEGIN_ALLOW_THREADS
;
6701 _result
= (bool )wxJoystick_HasV(_arg0
);
6703 wxPy_END_ALLOW_THREADS
;
6704 } _resultobj
= Py_BuildValue("i",_result
);
6708 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
6709 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
* _resultobj
;
6713 PyObject
* _argo0
= 0;
6714 char *_kwnames
[] = { "self", NULL
};
6717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
6720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
6727 wxPy_BEGIN_ALLOW_THREADS
;
6728 _result
= (bool )wxJoystick_HasPOV(_arg0
);
6730 wxPy_END_ALLOW_THREADS
;
6731 } _resultobj
= Py_BuildValue("i",_result
);
6735 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
6736 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6737 PyObject
* _resultobj
;
6740 PyObject
* _argo0
= 0;
6741 char *_kwnames
[] = { "self", NULL
};
6744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
6747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
6754 wxPy_BEGIN_ALLOW_THREADS
;
6755 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
6757 wxPy_END_ALLOW_THREADS
;
6758 } _resultobj
= Py_BuildValue("i",_result
);
6762 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
6763 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6764 PyObject
* _resultobj
;
6767 PyObject
* _argo0
= 0;
6768 char *_kwnames
[] = { "self", NULL
};
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
6774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
6781 wxPy_BEGIN_ALLOW_THREADS
;
6782 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
6784 wxPy_END_ALLOW_THREADS
;
6785 } _resultobj
= Py_BuildValue("i",_result
);
6789 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
6790 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6791 PyObject
* _resultobj
;
6795 int _arg2
= (int ) 0;
6796 PyObject
* _argo0
= 0;
6797 PyObject
* _argo1
= 0;
6798 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
6801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
6811 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6812 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
6818 wxPy_BEGIN_ALLOW_THREADS
;
6819 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
6821 wxPy_END_ALLOW_THREADS
;
6822 } _resultobj
= Py_BuildValue("i",_result
);
6826 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
6827 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
* _resultobj
;
6831 PyObject
* _argo0
= 0;
6832 char *_kwnames
[] = { "self", NULL
};
6835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
6838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
6845 wxPy_BEGIN_ALLOW_THREADS
;
6846 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
6848 wxPy_END_ALLOW_THREADS
;
6849 } _resultobj
= Py_BuildValue("i",_result
);
6853 static void *SwigwxWaveTowxObject(void *ptr
) {
6856 src
= (wxWave
*) ptr
;
6857 dest
= (wxObject
*) src
;
6858 return (void *) dest
;
6861 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
6862 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6863 PyObject
* _resultobj
;
6866 bool _arg1
= (bool ) FALSE
;
6867 PyObject
* _obj0
= 0;
6868 int tempbool1
= (int) FALSE
;
6869 char *_kwnames
[] = { "fileName","isResource", NULL
};
6873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
6876 #if PYTHON_API_VERSION >= 1009
6877 char* tmpPtr
; int tmpSize
;
6878 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
6879 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6882 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
6884 _arg0
= new wxString(tmpPtr
, tmpSize
);
6886 if (!PyString_Check(_obj0
)) {
6887 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6890 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
6893 _arg1
= (bool ) tempbool1
;
6895 wxPy_BEGIN_ALLOW_THREADS
;
6896 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
6898 wxPy_END_ALLOW_THREADS
;
6900 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
6901 _resultobj
= Py_BuildValue("s",_ptemp
);
6904 _resultobj
= Py_None
;
6913 #define delete_wxWave(_swigobj) (delete _swigobj)
6914 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
* _resultobj
;
6917 PyObject
* _argo0
= 0;
6918 char *_kwnames
[] = { "self", NULL
};
6921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
6924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
6926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
6931 wxPy_BEGIN_ALLOW_THREADS
;
6932 delete_wxWave(_arg0
);
6934 wxPy_END_ALLOW_THREADS
;
6935 } Py_INCREF(Py_None
);
6936 _resultobj
= Py_None
;
6940 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
6941 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6942 PyObject
* _resultobj
;
6945 PyObject
* _argo0
= 0;
6946 char *_kwnames
[] = { "self", NULL
};
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
6952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
6954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
6959 wxPy_BEGIN_ALLOW_THREADS
;
6960 _result
= (bool )wxWave_IsOk(_arg0
);
6962 wxPy_END_ALLOW_THREADS
;
6963 } _resultobj
= Py_BuildValue("i",_result
);
6967 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
6968 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6969 PyObject
* _resultobj
;
6972 bool _arg1
= (bool ) TRUE
;
6973 bool _arg2
= (bool ) FALSE
;
6974 PyObject
* _argo0
= 0;
6975 int tempbool1
= (int) TRUE
;
6976 int tempbool2
= (int) FALSE
;
6977 char *_kwnames
[] = { "self","async","looped", NULL
};
6980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
6985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
6989 _arg1
= (bool ) tempbool1
;
6990 _arg2
= (bool ) tempbool2
;
6992 wxPy_BEGIN_ALLOW_THREADS
;
6993 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
6995 wxPy_END_ALLOW_THREADS
;
6996 } _resultobj
= Py_BuildValue("i",_result
);
7000 static PyMethodDef misc2cMethods
[] = {
7001 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
7002 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7003 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
7004 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
7005 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
7006 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
7007 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
7008 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
7009 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
7010 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
7011 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
7012 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
7013 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
7014 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
7015 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
7016 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
7017 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
7018 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
7019 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
7020 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
7021 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
7022 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
7023 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
7024 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
7025 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
7026 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
7027 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
7028 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
7029 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
7030 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
7031 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
7032 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
7033 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
7034 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
7035 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
7036 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7037 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
7038 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
7039 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
7040 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
7041 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
7042 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
7043 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
7044 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
7045 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
7046 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7047 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7048 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7049 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
7050 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
7051 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
7052 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
7053 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
7054 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
7055 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
7056 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
7057 { "wxProcess__setSelf", (PyCFunction
) _wrap_wxProcess__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
7058 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7059 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
7060 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
7061 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
7062 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
7063 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
7064 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
7065 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
7066 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
7067 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
7068 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
7069 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
7070 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
7071 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
7072 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
7073 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
7074 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
7075 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
7076 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
7077 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
7078 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7079 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7080 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7081 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7082 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7083 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7084 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
7085 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7086 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
7087 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
7088 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
7089 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
7090 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
7091 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
7092 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
7093 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
7094 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
7095 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7096 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
7097 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
7098 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
7099 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
7100 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
7101 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
7102 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
7103 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
7104 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
7105 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
7106 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
7107 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
7108 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
7109 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
7110 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
7111 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
7112 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
7113 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7114 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
7115 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
7116 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7117 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
7118 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
7119 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7120 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
7121 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
7122 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
7123 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
7124 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7125 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7126 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
7127 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
7128 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
7129 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
7130 { "wxFontEnumerator__setSelf", (PyCFunction
) _wrap_wxFontEnumerator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
7131 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
7132 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
7133 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
7134 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
7135 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
7136 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
7137 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
7138 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
7139 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7140 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
7141 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
7142 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7143 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
7144 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
7145 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7146 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
7147 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
7148 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7149 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
7150 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
7151 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
7152 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
7153 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
7154 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
7155 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
7156 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
7157 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7158 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
7159 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
7160 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
7161 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
7162 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
7163 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
7164 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
7165 { "wxDragListItem", (PyCFunction
) _wrap_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
7166 { "wxDragTreeItem", (PyCFunction
) _wrap_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
7167 { "wxDragString", (PyCFunction
) _wrap_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
7168 { "wxDragIcon", (PyCFunction
) _wrap_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
7169 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7170 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
7171 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
7172 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
7173 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
7174 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
7175 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
7176 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
7177 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
7178 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
7179 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
7180 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7181 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
7182 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
7183 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
7184 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
7185 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
7186 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
7187 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
7188 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
7189 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
7190 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7191 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
7192 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
7193 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
7194 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
7195 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
7196 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7197 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
7198 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
7199 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
7200 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
7201 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
7202 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
7203 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
7204 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
7205 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
7206 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
7207 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
7208 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
7209 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7210 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
7211 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
7212 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
7213 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7214 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7215 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
7222 * This table is used by the pointer type-checker
7224 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7225 { "_wxEvent","_class_wxProcessEvent",SwigwxProcessEventTowxEvent
},
7226 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
7227 { "_signed_long","_long",0},
7228 { "_wxPrintQuality","_wxCoord",0},
7229 { "_wxPrintQuality","_int",0},
7230 { "_wxPrintQuality","_signed_int",0},
7231 { "_wxPrintQuality","_unsigned_int",0},
7232 { "_wxPrintQuality","_wxWindowID",0},
7233 { "_wxPrintQuality","_uint",0},
7234 { "_wxPrintQuality","_EBool",0},
7235 { "_wxPrintQuality","_size_t",0},
7236 { "_wxPrintQuality","_time_t",0},
7237 { "_class_wxEvtHandler","_class_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7238 { "_class_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7239 { "_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog
},
7240 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
7241 { "_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog
},
7242 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
7243 { "_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7244 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7245 { "_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog
},
7246 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
7247 { "_byte","_unsigned_char",0},
7248 { "_long","_unsigned_long",0},
7249 { "_long","_signed_long",0},
7250 { "_class_wxObject","_class_wxWave",SwigwxWaveTowxObject
},
7251 { "_class_wxObject","_wxWave",SwigwxWaveTowxObject
},
7252 { "_class_wxObject","_class_wxJoystick",SwigwxJoystickTowxObject
},
7253 { "_class_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
7254 { "_class_wxObject","_class_wxPyProcess",SwigwxPyProcessTowxObject
},
7255 { "_class_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
7256 { "_class_wxObject","_class_wxProcessEvent",SwigwxProcessEventTowxObject
},
7257 { "_class_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
7258 { "_class_wxObject","_class_wxPyTimer",SwigwxPyTimerTowxObject
},
7259 { "_class_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
7260 { "_class_wxObject","_class_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
7261 { "_class_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
7262 { "_class_wxObject","_class_wxToolTip",SwigwxToolTipTowxObject
},
7263 { "_class_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
7264 { "_size_t","_wxCoord",0},
7265 { "_size_t","_wxPrintQuality",0},
7266 { "_size_t","_time_t",0},
7267 { "_size_t","_unsigned_int",0},
7268 { "_size_t","_int",0},
7269 { "_size_t","_wxWindowID",0},
7270 { "_size_t","_uint",0},
7271 { "_uint","_wxCoord",0},
7272 { "_uint","_wxPrintQuality",0},
7273 { "_uint","_time_t",0},
7274 { "_uint","_size_t",0},
7275 { "_uint","_unsigned_int",0},
7276 { "_uint","_int",0},
7277 { "_uint","_wxWindowID",0},
7278 { "_wxChar","_char",0},
7279 { "_class_wxEvent","_class_wxProcessEvent",SwigwxProcessEventTowxEvent
},
7280 { "_class_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
7281 { "_char","_wxChar",0},
7282 { "_EBool","_wxCoord",0},
7283 { "_EBool","_wxPrintQuality",0},
7284 { "_EBool","_signed_int",0},
7285 { "_EBool","_int",0},
7286 { "_EBool","_wxWindowID",0},
7287 { "_unsigned_long","_long",0},
7288 { "_signed_int","_wxCoord",0},
7289 { "_signed_int","_wxPrintQuality",0},
7290 { "_signed_int","_EBool",0},
7291 { "_signed_int","_wxWindowID",0},
7292 { "_signed_int","_int",0},
7293 { "_WXTYPE","_short",0},
7294 { "_WXTYPE","_signed_short",0},
7295 { "_WXTYPE","_unsigned_short",0},
7296 { "_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7297 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7298 { "_unsigned_short","_WXTYPE",0},
7299 { "_unsigned_short","_short",0},
7300 { "_wxObject","_class_wxWave",SwigwxWaveTowxObject
},
7301 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
7302 { "_wxObject","_class_wxJoystick",SwigwxJoystickTowxObject
},
7303 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
7304 { "_wxObject","_class_wxPyProcess",SwigwxPyProcessTowxObject
},
7305 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
7306 { "_wxObject","_class_wxProcessEvent",SwigwxProcessEventTowxObject
},
7307 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
7308 { "_wxObject","_class_wxPyTimer",SwigwxPyTimerTowxObject
},
7309 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
7310 { "_wxObject","_class_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
7311 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
7312 { "_wxObject","_class_wxToolTip",SwigwxToolTipTowxObject
},
7313 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
7314 { "_signed_short","_WXTYPE",0},
7315 { "_signed_short","_short",0},
7316 { "_class_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog
},
7317 { "_class_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
7318 { "_class_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog
},
7319 { "_class_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
7320 { "_class_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7321 { "_class_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7322 { "_class_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog
},
7323 { "_class_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
7324 { "_unsigned_char","_byte",0},
7325 { "_unsigned_int","_wxCoord",0},
7326 { "_unsigned_int","_wxPrintQuality",0},
7327 { "_unsigned_int","_time_t",0},
7328 { "_unsigned_int","_size_t",0},
7329 { "_unsigned_int","_uint",0},
7330 { "_unsigned_int","_wxWindowID",0},
7331 { "_unsigned_int","_int",0},
7332 { "_short","_WXTYPE",0},
7333 { "_short","_unsigned_short",0},
7334 { "_short","_signed_short",0},
7335 { "_wxWindowID","_wxCoord",0},
7336 { "_wxWindowID","_wxPrintQuality",0},
7337 { "_wxWindowID","_time_t",0},
7338 { "_wxWindowID","_size_t",0},
7339 { "_wxWindowID","_EBool",0},
7340 { "_wxWindowID","_uint",0},
7341 { "_wxWindowID","_int",0},
7342 { "_wxWindowID","_signed_int",0},
7343 { "_wxWindowID","_unsigned_int",0},
7344 { "_int","_wxCoord",0},
7345 { "_int","_wxPrintQuality",0},
7346 { "_int","_time_t",0},
7347 { "_int","_size_t",0},
7348 { "_int","_EBool",0},
7349 { "_int","_uint",0},
7350 { "_int","_wxWindowID",0},
7351 { "_int","_unsigned_int",0},
7352 { "_int","_signed_int",0},
7353 { "_time_t","_wxCoord",0},
7354 { "_time_t","_wxPrintQuality",0},
7355 { "_time_t","_unsigned_int",0},
7356 { "_time_t","_int",0},
7357 { "_time_t","_wxWindowID",0},
7358 { "_time_t","_uint",0},
7359 { "_time_t","_size_t",0},
7360 { "_wxCoord","_int",0},
7361 { "_wxCoord","_signed_int",0},
7362 { "_wxCoord","_unsigned_int",0},
7363 { "_wxCoord","_wxWindowID",0},
7364 { "_wxCoord","_uint",0},
7365 { "_wxCoord","_EBool",0},
7366 { "_wxCoord","_size_t",0},
7367 { "_wxCoord","_time_t",0},
7368 { "_wxCoord","_wxPrintQuality",0},
7369 { "_class_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7370 { "_class_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7371 { "_wxEvtHandler","_class_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7372 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7375 static PyObject
*SWIG_globals
;
7379 SWIGEXPORT(void) initmisc2c() {
7381 SWIG_globals
= SWIG_newvarlink();
7382 m
= Py_InitModule("misc2c", misc2cMethods
);
7383 d
= PyModule_GetDict(m
);
7384 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
7385 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
7386 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
7387 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
7388 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
7389 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
7390 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
7391 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
7392 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
7393 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
7394 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
7395 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
7396 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
7397 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
7398 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
7399 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
7400 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
7401 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
7402 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
7403 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
7404 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
7405 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
7406 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
7407 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
7408 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
7409 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
7410 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
7411 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
7412 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
7413 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
7414 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
7415 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
7416 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
7417 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
7418 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
7419 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
7420 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
7421 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
7422 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
7423 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
7424 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
7425 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
7426 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
7427 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
7428 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
7429 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
7430 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
7431 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
7432 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
7433 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
7434 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
7435 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
7436 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
7437 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
7438 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
7439 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
7440 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
7441 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
7442 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
7443 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
7444 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
7445 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
7446 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
7447 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
7448 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
7449 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
7450 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
7451 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
7452 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
7453 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
7454 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
7455 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
7456 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
7457 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
7458 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
7459 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
7460 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
7461 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
7462 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
7463 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
7464 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
7465 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
7466 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
7467 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
7468 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
7469 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
7470 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
7471 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
7472 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
7473 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
7474 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
7475 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
7476 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
7477 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
7478 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
7479 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
7480 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
7482 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
7483 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
7484 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
7487 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7488 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);