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 int wxCaret_GetBlinkTime() {
123 return wxCaret::GetBlinkTime();
126 void wxCaret_SetBlinkTime(int milliseconds
) {
127 wxCaret::SetBlinkTime(milliseconds
);
130 class wxPyFontEnumerator
: public wxFontEnumerator
{
132 wxPyFontEnumerator() {}
133 ~wxPyFontEnumerator() {}
135 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
136 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
141 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
142 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
145 bool wxThread_IsMain() {
146 return wxThread::IsMain();
149 class wxPyTipProvider
: public wxTipProvider
{
151 wxPyTipProvider(size_t currentTip
)
152 : wxTipProvider(currentTip
) {}
154 DEC_PYCALLBACK_STRING__pure(GetTip
);
159 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
162 #include <wx/generic/dragimgg.h>
165 wxGenericDragImage
* wxDragIcon(const wxIcon
& image
,
166 const wxCursor
& cursor
) {
167 return new wxGenericDragImage(image
, cursor
);
170 wxGenericDragImage
* wxDragString(const wxString
& str
,
171 const wxCursor
& cursor
) {
172 return new wxGenericDragImage(str
, cursor
);
175 wxGenericDragImage
* wxDragTreeItem(const wxTreeCtrl
& treeCtrl
, wxTreeItemId
& id
) {
176 return new wxGenericDragImage(treeCtrl
, id
);
179 wxGenericDragImage
* wxDragListItem(const wxListCtrl
& listCtrl
, long id
) {
180 return new wxGenericDragImage(listCtrl
, id
);
183 // C++ version of wxProcess derived class
185 class wxPyProcess
: public wxProcess
{
187 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
188 : wxProcess(parent
, id
)
191 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
196 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
198 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
199 // A C++ stub class for wxJoystick for platforms that don't have it.
200 class wxJoystick
: public wxObject
{
202 wxJoystick(int joystick
= wxJOYSTICK1
) {
203 bool doSave
= wxPyRestoreThread();
204 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
205 wxPySaveThread(doSave
);
207 wxPoint
GetPosition() { return wxPoint(-1,-1); }
208 int GetZPosition() { return -1; }
209 int GetButtonState() { return -1; }
210 int GetPOVPosition() { return -1; }
211 int GetPOVCTSPosition() { return -1; }
212 int GetRudderPosition() { return -1; }
213 int GetUPosition() { return -1; }
214 int GetVPosition() { return -1; }
215 int GetMovementThreshold() { return -1; }
216 void SetMovementThreshold(int threshold
) {}
218 bool IsOk(void) { return FALSE
; }
219 int GetNumberJoysticks() { return -1; }
220 int GetManufacturerId() { return -1; }
221 int GetProductId() { return -1; }
222 wxString
GetProductName() { return ""; }
223 int GetXMin() { return -1; }
224 int GetYMin() { return -1; }
225 int GetZMin() { return -1; }
226 int GetXMax() { return -1; }
227 int GetYMax() { return -1; }
228 int GetZMax() { return -1; }
229 int GetNumberButtons() { return -1; }
230 int GetNumberAxes() { return -1; }
231 int GetMaxButtons() { return -1; }
232 int GetMaxAxes() { return -1; }
233 int GetPollingMin() { return -1; }
234 int GetPollingMax() { return -1; }
235 int GetRudderMin() { return -1; }
236 int GetRudderMax() { return -1; }
237 int GetUMin() { return -1; }
238 int GetUMax() { return -1; }
239 int GetVMin() { return -1; }
240 int GetVMax() { return -1; }
242 bool HasRudder() { return FALSE
; }
243 bool HasZ() { return FALSE
; }
244 bool HasU() { return FALSE
; }
245 bool HasV() { return FALSE
; }
246 bool HasPOV() { return FALSE
; }
247 bool HasPOV4Dir() { return FALSE
; }
248 bool HasPOVCTS() { return FALSE
; }
250 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
251 bool ReleaseCapture() { return FALSE
; }
256 // A C++ stub class for wxWave for platforms that don't have it.
257 class wxWave
: public wxObject
260 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
261 bool doSave
= wxPyRestoreThread();
262 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
263 wxPySaveThread(doSave
);
265 wxWave(int size
, const wxByte
* data
) {
266 bool doSave
= wxPyRestoreThread();
267 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
268 wxPySaveThread(doSave
);
273 bool IsOk() const { return FALSE
; }
274 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
278 // Implementations of some alternate "constructors"
279 wxWave
* wxWaveData(const wxString
& data
) {
280 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
285 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
286 PyObject
* _resultobj
;
289 char * _arg1
= (char *) NULL
;
290 char * _arg2
= (char *) NULL
;
291 char * _arg3
= (char *) NULL
;
292 char * _arg4
= (char *) "*.*";
293 int _arg5
= (int ) 0;
294 wxWindow
* _arg6
= (wxWindow
*) NULL
;
295 int _arg7
= (int ) -1;
296 int _arg8
= (int ) -1;
297 PyObject
* _argo6
= 0;
298 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|ssssiOii:wxFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
304 if (_argo6
== Py_None
) { _arg6
= NULL
; }
305 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
306 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
311 wxPy_BEGIN_ALLOW_THREADS
;
312 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
314 wxPy_END_ALLOW_THREADS
;
316 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
324 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
325 PyObject
* _resultobj
;
328 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
329 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
330 wxWindow
* _arg3
= (wxWindow
*) NULL
;
331 int _arg4
= (int ) -1;
332 int _arg5
= (int ) -1;
333 bool _arg6
= (bool ) TRUE
;
334 PyObject
* _obj0
= 0;
335 PyObject
* _obj1
= 0;
336 PyObject
* _obj2
= 0;
337 PyObject
* _argo3
= 0;
338 int tempbool6
= (int) TRUE
;
339 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
345 #if PYTHON_API_VERSION >= 1009
346 char* tmpPtr
; int tmpSize
;
347 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
348 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
351 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
353 _arg0
= new wxString(tmpPtr
, tmpSize
);
355 if (!PyString_Check(_obj0
)) {
356 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
359 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
364 #if PYTHON_API_VERSION >= 1009
365 char* tmpPtr
; int tmpSize
;
366 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
367 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
370 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
372 _arg1
= new wxString(tmpPtr
, tmpSize
);
374 if (!PyString_Check(_obj1
)) {
375 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
378 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
383 #if PYTHON_API_VERSION >= 1009
384 char* tmpPtr
; int tmpSize
;
385 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
386 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
389 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
391 _arg2
= new wxString(tmpPtr
, tmpSize
);
393 if (!PyString_Check(_obj2
)) {
394 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
397 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
401 if (_argo3
== Py_None
) { _arg3
= NULL
; }
402 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
407 _arg6
= (bool ) tempbool6
;
409 wxPy_BEGIN_ALLOW_THREADS
;
410 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
412 wxPy_END_ALLOW_THREADS
;
414 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
434 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
435 PyObject
* _resultobj
;
438 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
439 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
440 wxWindow
* _arg3
= (wxWindow
*) NULL
;
441 PyObject
* _obj0
= 0;
442 PyObject
* _obj1
= 0;
443 PyObject
* _obj2
= 0;
444 PyObject
* _argo3
= 0;
445 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
451 #if PYTHON_API_VERSION >= 1009
452 char* tmpPtr
; int tmpSize
;
453 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
454 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
457 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
459 _arg0
= new wxString(tmpPtr
, tmpSize
);
461 if (!PyString_Check(_obj0
)) {
462 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
465 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
470 #if PYTHON_API_VERSION >= 1009
471 char* tmpPtr
; int tmpSize
;
472 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
473 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
476 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
478 _arg1
= new wxString(tmpPtr
, tmpSize
);
480 if (!PyString_Check(_obj1
)) {
481 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
484 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
489 #if PYTHON_API_VERSION >= 1009
490 char* tmpPtr
; int tmpSize
;
491 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
492 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
495 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
497 _arg2
= new wxString(tmpPtr
, tmpSize
);
499 if (!PyString_Check(_obj2
)) {
500 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
503 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
507 if (_argo3
== Py_None
) { _arg3
= NULL
; }
508 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
514 wxPy_BEGIN_ALLOW_THREADS
;
515 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
517 wxPy_END_ALLOW_THREADS
;
519 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
539 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
540 PyObject
* _resultobj
;
546 wxWindow
* _arg4
= (wxWindow
*) NULL
;
547 int _arg5
= (int ) -1;
548 int _arg6
= (int ) -1;
549 bool _arg7
= (bool ) TRUE
;
550 int _arg8
= (int ) 150;
551 int _arg9
= (int ) 200;
552 PyObject
* _obj0
= 0;
553 PyObject
* _obj1
= 0;
554 PyObject
* _obj3
= 0;
555 PyObject
* _argo4
= 0;
556 int tempbool7
= (int) TRUE
;
557 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
563 #if PYTHON_API_VERSION >= 1009
564 char* tmpPtr
; int tmpSize
;
565 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
566 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
569 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
571 _arg0
= new wxString(tmpPtr
, tmpSize
);
573 if (!PyString_Check(_obj0
)) {
574 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
577 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
581 #if PYTHON_API_VERSION >= 1009
582 char* tmpPtr
; int tmpSize
;
583 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
584 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
587 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
589 _arg1
= new wxString(tmpPtr
, tmpSize
);
591 if (!PyString_Check(_obj1
)) {
592 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
595 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
600 _arg3
= wxString_LIST_helper(_obj3
);
606 if (_argo4
== Py_None
) { _arg4
= NULL
; }
607 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
608 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
612 _arg7
= (bool ) tempbool7
;
615 _arg2
= PyList_Size(_obj3
);
622 wxPy_BEGIN_ALLOW_THREADS
;
623 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
625 wxPy_END_ALLOW_THREADS
;
627 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
646 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
647 PyObject
* _resultobj
;
653 wxWindow
* _arg4
= (wxWindow
*) NULL
;
654 int _arg5
= (int ) -1;
655 int _arg6
= (int ) -1;
656 bool _arg7
= (bool ) TRUE
;
657 int _arg8
= (int ) 150;
658 int _arg9
= (int ) 200;
659 PyObject
* _obj0
= 0;
660 PyObject
* _obj1
= 0;
661 PyObject
* _obj3
= 0;
662 PyObject
* _argo4
= 0;
663 int tempbool7
= (int) TRUE
;
664 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
670 #if PYTHON_API_VERSION >= 1009
671 char* tmpPtr
; int tmpSize
;
672 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
673 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
676 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
678 _arg0
= new wxString(tmpPtr
, tmpSize
);
680 if (!PyString_Check(_obj0
)) {
681 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
684 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
688 #if PYTHON_API_VERSION >= 1009
689 char* tmpPtr
; int tmpSize
;
690 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
691 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
694 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
696 _arg1
= new wxString(tmpPtr
, tmpSize
);
698 if (!PyString_Check(_obj1
)) {
699 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
702 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
707 _arg3
= wxString_LIST_helper(_obj3
);
713 if (_argo4
== Py_None
) { _arg4
= NULL
; }
714 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
719 _arg7
= (bool ) tempbool7
;
722 _arg2
= PyList_Size(_obj3
);
729 wxPy_BEGIN_ALLOW_THREADS
;
730 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
732 wxPy_END_ALLOW_THREADS
;
733 } _resultobj
= Py_BuildValue("i",_result
);
748 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
749 PyObject
* _resultobj
;
752 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
753 int _arg2
= (int ) wxOK
|wxCENTRE
;
754 wxWindow
* _arg3
= (wxWindow
*) NULL
;
755 int _arg4
= (int ) -1;
756 int _arg5
= (int ) -1;
757 PyObject
* _obj0
= 0;
758 PyObject
* _obj1
= 0;
759 PyObject
* _argo3
= 0;
760 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
766 #if PYTHON_API_VERSION >= 1009
767 char* tmpPtr
; int tmpSize
;
768 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
769 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
772 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
774 _arg0
= new wxString(tmpPtr
, tmpSize
);
776 if (!PyString_Check(_obj0
)) {
777 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
780 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
785 #if PYTHON_API_VERSION >= 1009
786 char* tmpPtr
; int tmpSize
;
787 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
788 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
791 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
793 _arg1
= new wxString(tmpPtr
, tmpSize
);
795 if (!PyString_Check(_obj1
)) {
796 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
799 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
803 if (_argo3
== Py_None
) { _arg3
= NULL
; }
804 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
810 wxPy_BEGIN_ALLOW_THREADS
;
811 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
813 wxPy_END_ALLOW_THREADS
;
814 } _resultobj
= Py_BuildValue("i",_result
);
826 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
827 PyObject
* _resultobj
;
833 long _arg4
= (long ) 0;
834 long _arg5
= (long ) 100;
835 wxWindow
* _arg6
= (wxWindow
*) NULL
;
836 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
837 PyObject
* _obj0
= 0;
838 PyObject
* _obj1
= 0;
839 PyObject
* _obj2
= 0;
840 PyObject
* _argo6
= 0;
842 PyObject
* _obj7
= 0;
843 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
849 #if PYTHON_API_VERSION >= 1009
850 char* tmpPtr
; int tmpSize
;
851 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
852 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
855 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
857 _arg0
= new wxString(tmpPtr
, tmpSize
);
859 if (!PyString_Check(_obj0
)) {
860 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
863 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
867 #if PYTHON_API_VERSION >= 1009
868 char* tmpPtr
; int tmpSize
;
869 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
870 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
873 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
875 _arg1
= new wxString(tmpPtr
, tmpSize
);
877 if (!PyString_Check(_obj1
)) {
878 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
881 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
885 #if PYTHON_API_VERSION >= 1009
886 char* tmpPtr
; int tmpSize
;
887 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
888 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
891 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
893 _arg2
= new wxString(tmpPtr
, tmpSize
);
895 if (!PyString_Check(_obj2
)) {
896 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
899 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
903 if (_argo6
== Py_None
) { _arg6
= NULL
; }
904 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
912 if (! wxPoint_helper(_obj7
, &_arg7
))
916 wxPy_BEGIN_ALLOW_THREADS
;
917 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
919 wxPy_END_ALLOW_THREADS
;
920 } _resultobj
= Py_BuildValue("l",_result
);
936 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
937 PyObject
* _resultobj
;
939 char *_kwnames
[] = { NULL
};
942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
945 wxPy_BEGIN_ALLOW_THREADS
;
946 _result
= (bool )wxColourDisplay();
948 wxPy_END_ALLOW_THREADS
;
949 } _resultobj
= Py_BuildValue("i",_result
);
953 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
954 PyObject
* _resultobj
;
956 char *_kwnames
[] = { NULL
};
959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
962 wxPy_BEGIN_ALLOW_THREADS
;
963 _result
= (int )wxDisplayDepth();
965 wxPy_END_ALLOW_THREADS
;
966 } _resultobj
= Py_BuildValue("i",_result
);
970 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
971 PyObject
* _resultobj
;
973 char *_kwnames
[] = { NULL
};
976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
979 wxPy_BEGIN_ALLOW_THREADS
;
980 _result
= (int )wxGetDisplayDepth();
982 wxPy_END_ALLOW_THREADS
;
983 } _resultobj
= Py_BuildValue("i",_result
);
987 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
988 PyObject
* _resultobj
;
993 char *_kwnames
[] = { NULL
};
1002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1005 wxPy_BEGIN_ALLOW_THREADS
;
1006 wxDisplaySize(_arg0
,_arg1
);
1008 wxPy_END_ALLOW_THREADS
;
1009 } Py_INCREF(Py_None
);
1010 _resultobj
= Py_None
;
1013 o
= PyInt_FromLong((long) (*_arg0
));
1014 _resultobj
= t_output_helper(_resultobj
, o
);
1018 o
= PyInt_FromLong((long) (*_arg1
));
1019 _resultobj
= t_output_helper(_resultobj
, o
);
1024 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1025 PyObject
* _resultobj
;
1027 char *_kwnames
[] = { NULL
};
1031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1034 wxPy_BEGIN_ALLOW_THREADS
;
1035 _result
= new wxSize (wxGetDisplaySize());
1037 wxPy_END_ALLOW_THREADS
;
1038 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1039 _resultobj
= Py_BuildValue("s",_ptemp
);
1043 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1044 PyObject
* _resultobj
;
1049 char *_kwnames
[] = { NULL
};
1058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1061 wxPy_BEGIN_ALLOW_THREADS
;
1062 wxDisplaySizeMM(_arg0
,_arg1
);
1064 wxPy_END_ALLOW_THREADS
;
1065 } Py_INCREF(Py_None
);
1066 _resultobj
= Py_None
;
1069 o
= PyInt_FromLong((long) (*_arg0
));
1070 _resultobj
= t_output_helper(_resultobj
, o
);
1074 o
= PyInt_FromLong((long) (*_arg1
));
1075 _resultobj
= t_output_helper(_resultobj
, o
);
1080 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1081 PyObject
* _resultobj
;
1083 char *_kwnames
[] = { NULL
};
1087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1090 wxPy_BEGIN_ALLOW_THREADS
;
1091 _result
= new wxSize (wxGetDisplaySizeMM());
1093 wxPy_END_ALLOW_THREADS
;
1094 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1095 _resultobj
= Py_BuildValue("s",_ptemp
);
1099 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1100 PyObject
* _resultobj
;
1109 char *_kwnames
[] = { NULL
};
1124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1127 wxPy_BEGIN_ALLOW_THREADS
;
1128 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1130 wxPy_END_ALLOW_THREADS
;
1131 } Py_INCREF(Py_None
);
1132 _resultobj
= Py_None
;
1135 o
= PyInt_FromLong((long) (*_arg0
));
1136 _resultobj
= t_output_helper(_resultobj
, o
);
1140 o
= PyInt_FromLong((long) (*_arg1
));
1141 _resultobj
= t_output_helper(_resultobj
, o
);
1145 o
= PyInt_FromLong((long) (*_arg2
));
1146 _resultobj
= t_output_helper(_resultobj
, o
);
1150 o
= PyInt_FromLong((long) (*_arg3
));
1151 _resultobj
= t_output_helper(_resultobj
, o
);
1156 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
* _resultobj
;
1159 char *_kwnames
[] = { NULL
};
1163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1166 wxPy_BEGIN_ALLOW_THREADS
;
1167 _result
= new wxRect (wxGetClientDisplayRect());
1169 wxPy_END_ALLOW_THREADS
;
1170 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1171 _resultobj
= Py_BuildValue("s",_ptemp
);
1175 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1176 PyObject
* _resultobj
;
1178 PyObject
* _argo0
= 0;
1179 char *_kwnames
[] = { "cursor", NULL
};
1182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1185 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1186 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1187 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1192 wxPy_BEGIN_ALLOW_THREADS
;
1193 wxSetCursor(*_arg0
);
1195 wxPy_END_ALLOW_THREADS
;
1196 } Py_INCREF(Py_None
);
1197 _resultobj
= Py_None
;
1201 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1202 PyObject
* _resultobj
;
1205 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1206 PyObject
* _obj0
= 0;
1207 PyObject
* _argo1
= 0;
1208 char *_kwnames
[] = { "label","parent", NULL
};
1211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
1214 #if PYTHON_API_VERSION >= 1009
1215 char* tmpPtr
; int tmpSize
;
1216 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1217 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1220 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1222 _arg0
= new wxString(tmpPtr
, tmpSize
);
1224 if (!PyString_Check(_obj0
)) {
1225 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1228 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1232 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1233 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1239 wxPy_BEGIN_ALLOW_THREADS
;
1240 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
1242 wxPy_END_ALLOW_THREADS
;
1243 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1251 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1252 PyObject
* _resultobj
;
1255 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1256 PyObject
* _obj0
= 0;
1257 PyObject
* _argo1
= 0;
1258 char *_kwnames
[] = { "name","parent", NULL
};
1261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1264 #if PYTHON_API_VERSION >= 1009
1265 char* tmpPtr
; int tmpSize
;
1266 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1267 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1270 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1272 _arg0
= new wxString(tmpPtr
, tmpSize
);
1274 if (!PyString_Check(_obj0
)) {
1275 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1278 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1282 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1283 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1284 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1289 wxPy_BEGIN_ALLOW_THREADS
;
1290 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1292 wxPy_END_ALLOW_THREADS
;
1293 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1301 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1302 PyObject
* _resultobj
;
1303 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1304 PyObject
* _argo0
= 0;
1305 char *_kwnames
[] = { "cursor", NULL
};
1308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1318 wxPy_BEGIN_ALLOW_THREADS
;
1319 wxBeginBusyCursor(_arg0
);
1321 wxPy_END_ALLOW_THREADS
;
1322 } Py_INCREF(Py_None
);
1323 _resultobj
= Py_None
;
1327 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1328 PyObject
* _resultobj
;
1330 char *_kwnames
[] = { NULL
};
1333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1336 wxPy_BEGIN_ALLOW_THREADS
;
1337 _result
= (wxWindow
*)wxGetActiveWindow();
1339 wxPy_END_ALLOW_THREADS
;
1340 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1344 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1345 PyObject
* _resultobj
;
1349 PyObject
* _obj0
= 0;
1350 char *_kwnames
[] = { "pt", NULL
};
1353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1357 if (! wxPoint_helper(_obj0
, &_arg0
))
1361 wxPy_BEGIN_ALLOW_THREADS
;
1362 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1364 wxPy_END_ALLOW_THREADS
;
1365 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1369 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1370 PyObject
* _resultobj
;
1374 PyObject
* _obj0
= 0;
1375 char *_kwnames
[] = { "pt", NULL
};
1378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1382 if (! wxPoint_helper(_obj0
, &_arg0
))
1386 wxPy_BEGIN_ALLOW_THREADS
;
1387 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1389 wxPy_END_ALLOW_THREADS
;
1390 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1394 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1395 PyObject
* _resultobj
;
1399 char *_kwnames
[] = { "name","value", NULL
};
1402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1405 wxPy_BEGIN_ALLOW_THREADS
;
1406 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1408 wxPy_END_ALLOW_THREADS
;
1409 } _resultobj
= Py_BuildValue("i",_result
);
1413 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1414 PyObject
* _resultobj
;
1415 char *_kwnames
[] = { NULL
};
1418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1421 wxPy_BEGIN_ALLOW_THREADS
;
1424 wxPy_END_ALLOW_THREADS
;
1425 } Py_INCREF(Py_None
);
1426 _resultobj
= Py_None
;
1430 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1431 PyObject
* _resultobj
;
1434 char *_kwnames
[] = { "resource", NULL
};
1438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1441 wxPy_BEGIN_ALLOW_THREADS
;
1442 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1444 wxPy_END_ALLOW_THREADS
;
1445 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1446 _resultobj
= Py_BuildValue("s",_ptemp
);
1450 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1451 PyObject
* _resultobj
;
1454 char *_kwnames
[] = { "resource", NULL
};
1458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1461 wxPy_BEGIN_ALLOW_THREADS
;
1462 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1464 wxPy_END_ALLOW_THREADS
;
1465 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1466 _resultobj
= Py_BuildValue("s",_ptemp
);
1470 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
* _resultobj
;
1472 wxMenuBar
* _result
;
1474 char *_kwnames
[] = { "resource", NULL
};
1477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1480 wxPy_BEGIN_ALLOW_THREADS
;
1481 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1483 wxPy_END_ALLOW_THREADS
;
1484 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1488 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1489 PyObject
* _resultobj
;
1492 char *_kwnames
[] = { "name", NULL
};
1495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1498 wxPy_BEGIN_ALLOW_THREADS
;
1499 _result
= (int )wxResourceGetIdentifier(_arg0
);
1501 wxPy_END_ALLOW_THREADS
;
1502 } _resultobj
= Py_BuildValue("i",_result
);
1506 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1507 PyObject
* _resultobj
;
1510 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1511 PyObject
* _argo1
= 0;
1512 char *_kwnames
[] = { "resource","table", NULL
};
1515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1518 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1519 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1525 wxPy_BEGIN_ALLOW_THREADS
;
1526 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1528 wxPy_END_ALLOW_THREADS
;
1529 } _resultobj
= Py_BuildValue("i",_result
);
1533 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1534 PyObject
* _resultobj
;
1537 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1538 PyObject
* _argo1
= 0;
1539 char *_kwnames
[] = { "filename","table", NULL
};
1542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1545 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1546 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1552 wxPy_BEGIN_ALLOW_THREADS
;
1553 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1555 wxPy_END_ALLOW_THREADS
;
1556 } _resultobj
= Py_BuildValue("i",_result
);
1560 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1561 PyObject
* _resultobj
;
1564 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1565 PyObject
* _argo1
= 0;
1566 char *_kwnames
[] = { "resource","table", NULL
};
1569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1572 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1573 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1579 wxPy_BEGIN_ALLOW_THREADS
;
1580 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1582 wxPy_END_ALLOW_THREADS
;
1583 } _resultobj
= Py_BuildValue("i",_result
);
1587 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1588 PyObject
* _resultobj
;
1591 char *_kwnames
[] = { "index", NULL
};
1595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1598 wxPy_BEGIN_ALLOW_THREADS
;
1599 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1601 wxPy_END_ALLOW_THREADS
;
1602 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1603 _resultobj
= Py_BuildValue("s",_ptemp
);
1607 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
* _resultobj
;
1611 char *_kwnames
[] = { "index", NULL
};
1615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1618 wxPy_BEGIN_ALLOW_THREADS
;
1619 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1621 wxPy_END_ALLOW_THREADS
;
1622 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1623 _resultobj
= Py_BuildValue("s",_ptemp
);
1627 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1628 PyObject
* _resultobj
;
1631 char *_kwnames
[] = { "index", NULL
};
1634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1637 wxPy_BEGIN_ALLOW_THREADS
;
1638 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1640 wxPy_END_ALLOW_THREADS
;
1641 } _resultobj
= Py_BuildValue("i",_result
);
1645 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1646 PyObject
* _resultobj
;
1648 char *_kwnames
[] = { NULL
};
1651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1654 wxPy_BEGIN_ALLOW_THREADS
;
1655 _result
= (int )wxCaret_GetBlinkTime();
1657 wxPy_END_ALLOW_THREADS
;
1658 } _resultobj
= Py_BuildValue("i",_result
);
1662 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1663 PyObject
* _resultobj
;
1665 char *_kwnames
[] = { "milliseconds", NULL
};
1668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1671 wxPy_BEGIN_ALLOW_THREADS
;
1672 wxCaret_SetBlinkTime(_arg0
);
1674 wxPy_END_ALLOW_THREADS
;
1675 } Py_INCREF(Py_None
);
1676 _resultobj
= Py_None
;
1680 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1681 PyObject
* _resultobj
;
1683 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1684 PyObject
* _argo0
= 0;
1685 char *_kwnames
[] = { "win", NULL
};
1688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1698 wxPy_BEGIN_ALLOW_THREADS
;
1699 _result
= (bool )wxSafeYield(_arg0
);
1701 wxPy_END_ALLOW_THREADS
;
1702 } _resultobj
= Py_BuildValue("i",_result
);
1706 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1707 PyObject
* _resultobj
;
1708 wxEvtHandler
* _arg0
;
1710 PyObject
* _argo0
= 0;
1711 PyObject
* _argo1
= 0;
1712 char *_kwnames
[] = { "dest","event", NULL
};
1715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1725 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1726 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1732 wxPy_BEGIN_ALLOW_THREADS
;
1733 wxPostEvent(_arg0
,*_arg1
);
1735 wxPy_END_ALLOW_THREADS
;
1736 } Py_INCREF(Py_None
);
1737 _resultobj
= Py_None
;
1741 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
* _resultobj
;
1743 char *_kwnames
[] = { NULL
};
1746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1749 wxPy_BEGIN_ALLOW_THREADS
;
1752 wxPy_END_ALLOW_THREADS
;
1753 } Py_INCREF(Py_None
);
1754 _resultobj
= Py_None
;
1758 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1759 PyObject
* _resultobj
;
1760 char *_kwnames
[] = { NULL
};
1763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1766 wxPy_BEGIN_ALLOW_THREADS
;
1769 wxPy_END_ALLOW_THREADS
;
1770 } Py_INCREF(Py_None
);
1771 _resultobj
= Py_None
;
1775 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1776 PyObject
* _resultobj
;
1777 char *_kwnames
[] = { NULL
};
1780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1783 wxPy_BEGIN_ALLOW_THREADS
;
1786 wxPy_END_ALLOW_THREADS
;
1787 } Py_INCREF(Py_None
);
1788 _resultobj
= Py_None
;
1792 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
* _resultobj
;
1795 char *_kwnames
[] = { NULL
};
1798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1801 wxPy_BEGIN_ALLOW_THREADS
;
1802 _result
= (bool )wxThread_IsMain();
1804 wxPy_END_ALLOW_THREADS
;
1805 } _resultobj
= Py_BuildValue("i",_result
);
1809 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1810 PyObject
* _resultobj
;
1813 wxTipProvider
* _arg1
;
1814 bool _arg2
= (bool ) TRUE
;
1815 PyObject
* _argo0
= 0;
1816 PyObject
* _argo1
= 0;
1817 int tempbool2
= (int) TRUE
;
1818 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1831 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1832 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1837 _arg2
= (bool ) tempbool2
;
1839 wxPy_BEGIN_ALLOW_THREADS
;
1840 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1842 wxPy_END_ALLOW_THREADS
;
1843 } _resultobj
= Py_BuildValue("i",_result
);
1847 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1848 PyObject
* _resultobj
;
1849 wxTipProvider
* _result
;
1852 PyObject
* _obj0
= 0;
1853 char *_kwnames
[] = { "filename","currentTip", NULL
};
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1860 #if PYTHON_API_VERSION >= 1009
1861 char* tmpPtr
; int tmpSize
;
1862 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1863 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1866 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1868 _arg0
= new wxString(tmpPtr
, tmpSize
);
1870 if (!PyString_Check(_obj0
)) {
1871 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1874 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1878 wxPy_BEGIN_ALLOW_THREADS
;
1879 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1881 wxPy_END_ALLOW_THREADS
;
1883 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1884 _resultobj
= Py_BuildValue("s",_ptemp
);
1887 _resultobj
= Py_None
;
1896 static PyObject
*_wrap_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1897 PyObject
* _resultobj
;
1898 wxGenericDragImage
* _result
;
1900 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
1901 PyObject
* _argo0
= 0;
1902 PyObject
* _argo1
= 0;
1903 char *_kwnames
[] = { "image","cursor", NULL
};
1907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
1910 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1911 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1912 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragIcon. Expected _wxIcon_p.");
1917 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1918 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
1919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragIcon. Expected _wxCursor_p.");
1924 wxPy_BEGIN_ALLOW_THREADS
;
1925 _result
= (wxGenericDragImage
*)wxDragIcon(*_arg0
,*_arg1
);
1927 wxPy_END_ALLOW_THREADS
;
1929 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1930 _resultobj
= Py_BuildValue("s",_ptemp
);
1933 _resultobj
= Py_None
;
1938 static PyObject
*_wrap_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1939 PyObject
* _resultobj
;
1940 wxGenericDragImage
* _result
;
1942 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
1943 PyObject
* _obj0
= 0;
1944 PyObject
* _argo1
= 0;
1945 char *_kwnames
[] = { "str","cursor", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDragString",_kwnames
,&_obj0
,&_argo1
))
1952 #if PYTHON_API_VERSION >= 1009
1953 char* tmpPtr
; int tmpSize
;
1954 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1955 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1958 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1960 _arg0
= new wxString(tmpPtr
, tmpSize
);
1962 if (!PyString_Check(_obj0
)) {
1963 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1966 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1970 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1971 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
1972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragString. Expected _wxCursor_p.");
1977 wxPy_BEGIN_ALLOW_THREADS
;
1978 _result
= (wxGenericDragImage
*)wxDragString(*_arg0
,*_arg1
);
1980 wxPy_END_ALLOW_THREADS
;
1982 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1983 _resultobj
= Py_BuildValue("s",_ptemp
);
1986 _resultobj
= Py_None
;
1995 static PyObject
*_wrap_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1996 PyObject
* _resultobj
;
1997 wxGenericDragImage
* _result
;
1999 wxTreeItemId
* _arg1
;
2000 PyObject
* _argo0
= 0;
2001 PyObject
* _argo1
= 0;
2002 char *_kwnames
[] = { "treeCtrl","id", NULL
};
2006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
2009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragTreeItem. Expected _wxTreeCtrl_p.");
2016 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2017 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2018 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragTreeItem. Expected _wxTreeItemId_p.");
2023 wxPy_BEGIN_ALLOW_THREADS
;
2024 _result
= (wxGenericDragImage
*)wxDragTreeItem(*_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
;
2037 static PyObject
*_wrap_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2038 PyObject
* _resultobj
;
2039 wxGenericDragImage
* _result
;
2042 PyObject
* _argo0
= 0;
2043 char *_kwnames
[] = { "listCtrl","id", NULL
};
2047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
2050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragListItem. Expected _wxListCtrl_p.");
2057 wxPy_BEGIN_ALLOW_THREADS
;
2058 _result
= (wxGenericDragImage
*)wxDragListItem(*_arg0
,_arg1
);
2060 wxPy_END_ALLOW_THREADS
;
2062 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
2063 _resultobj
= Py_BuildValue("s",_ptemp
);
2066 _resultobj
= Py_None
;
2071 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2072 PyObject
* _resultobj
;
2073 unsigned long _result
;
2074 char *_kwnames
[] = { NULL
};
2077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
2080 wxPy_BEGIN_ALLOW_THREADS
;
2081 _result
= (unsigned long )wxSysErrorCode();
2083 wxPy_END_ALLOW_THREADS
;
2084 } _resultobj
= Py_BuildValue("l",_result
);
2088 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2089 PyObject
* _resultobj
;
2091 unsigned long _arg0
= (unsigned long ) 0;
2092 char *_kwnames
[] = { "nErrCode", NULL
};
2095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
2098 wxPy_BEGIN_ALLOW_THREADS
;
2099 _result
= (char *)wxSysErrorMsg(_arg0
);
2101 wxPy_END_ALLOW_THREADS
;
2102 } _resultobj
= Py_BuildValue("s", _result
);
2106 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2107 PyObject
* _resultobj
;
2109 char *_kwnames
[] = { "szFormat", NULL
};
2112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
2115 wxPy_BEGIN_ALLOW_THREADS
;
2116 wxLogFatalError(_arg0
);
2118 wxPy_END_ALLOW_THREADS
;
2119 } Py_INCREF(Py_None
);
2120 _resultobj
= Py_None
;
2124 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2125 PyObject
* _resultobj
;
2127 char *_kwnames
[] = { "szFormat", NULL
};
2130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
2133 wxPy_BEGIN_ALLOW_THREADS
;
2136 wxPy_END_ALLOW_THREADS
;
2137 } Py_INCREF(Py_None
);
2138 _resultobj
= Py_None
;
2142 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2143 PyObject
* _resultobj
;
2145 char *_kwnames
[] = { "szFormat", NULL
};
2148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
2151 wxPy_BEGIN_ALLOW_THREADS
;
2152 wxLogWarning(_arg0
);
2154 wxPy_END_ALLOW_THREADS
;
2155 } Py_INCREF(Py_None
);
2156 _resultobj
= Py_None
;
2160 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2161 PyObject
* _resultobj
;
2163 char *_kwnames
[] = { "szFormat", NULL
};
2166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
2169 wxPy_BEGIN_ALLOW_THREADS
;
2170 wxLogMessage(_arg0
);
2172 wxPy_END_ALLOW_THREADS
;
2173 } Py_INCREF(Py_None
);
2174 _resultobj
= Py_None
;
2178 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2179 PyObject
* _resultobj
;
2181 char *_kwnames
[] = { "szFormat", NULL
};
2184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
2187 wxPy_BEGIN_ALLOW_THREADS
;
2190 wxPy_END_ALLOW_THREADS
;
2191 } Py_INCREF(Py_None
);
2192 _resultobj
= Py_None
;
2196 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2197 PyObject
* _resultobj
;
2199 char *_kwnames
[] = { "szFormat", NULL
};
2202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
2205 wxPy_BEGIN_ALLOW_THREADS
;
2206 wxLogVerbose(_arg0
);
2208 wxPy_END_ALLOW_THREADS
;
2209 } Py_INCREF(Py_None
);
2210 _resultobj
= Py_None
;
2214 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
* _resultobj
;
2217 char *_kwnames
[] = { "szFormat", NULL
};
2220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
2223 wxPy_BEGIN_ALLOW_THREADS
;
2226 wxPy_END_ALLOW_THREADS
;
2227 } Py_INCREF(Py_None
);
2228 _resultobj
= Py_None
;
2232 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2233 PyObject
* _resultobj
;
2236 PyObject
* _argo0
= 0;
2237 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
2243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2250 wxPy_BEGIN_ALLOW_THREADS
;
2251 wxLogStatus(_arg0
,_arg1
);
2253 wxPy_END_ALLOW_THREADS
;
2254 } Py_INCREF(Py_None
);
2255 _resultobj
= Py_None
;
2259 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
* _resultobj
;
2262 char *_kwnames
[] = { "szFormat", NULL
};
2265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2268 wxPy_BEGIN_ALLOW_THREADS
;
2269 wxLogSysError(_arg0
);
2271 wxPy_END_ALLOW_THREADS
;
2272 } Py_INCREF(Py_None
);
2273 _resultobj
= Py_None
;
2277 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2278 PyObject
* _resultobj
;
2281 int _arg1
= (int ) FALSE
;
2282 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2283 PyObject
* _obj0
= 0;
2284 PyObject
* _argo2
= 0;
2285 char *_kwnames
[] = { "command","sync","process", NULL
};
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2291 #if PYTHON_API_VERSION >= 1009
2292 char* tmpPtr
; int tmpSize
;
2293 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2294 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2297 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2299 _arg0
= new wxString(tmpPtr
, tmpSize
);
2301 if (!PyString_Check(_obj0
)) {
2302 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2305 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2309 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2310 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2311 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2316 wxPy_BEGIN_ALLOW_THREADS
;
2317 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2319 wxPy_END_ALLOW_THREADS
;
2320 } _resultobj
= Py_BuildValue("l",_result
);
2328 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2329 PyObject
* _resultobj
;
2332 PyObject
* _obj0
= 0;
2333 char *_kwnames
[] = { "data", NULL
};
2337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2340 #if PYTHON_API_VERSION >= 1009
2341 char* tmpPtr
; int tmpSize
;
2342 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2343 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2346 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2348 _arg0
= new wxString(tmpPtr
, tmpSize
);
2350 if (!PyString_Check(_obj0
)) {
2351 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2354 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2358 wxPy_BEGIN_ALLOW_THREADS
;
2359 _result
= (wxWave
*)wxWaveData(*_arg0
);
2361 wxPy_END_ALLOW_THREADS
;
2363 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2364 _resultobj
= Py_BuildValue("s",_ptemp
);
2367 _resultobj
= Py_None
;
2376 static void *SwigwxToolTipTowxObject(void *ptr
) {
2379 src
= (wxToolTip
*) ptr
;
2380 dest
= (wxObject
*) src
;
2381 return (void *) dest
;
2384 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2385 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2386 PyObject
* _resultobj
;
2387 wxToolTip
* _result
;
2389 PyObject
* _obj0
= 0;
2390 char *_kwnames
[] = { "tip", NULL
};
2394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2397 #if PYTHON_API_VERSION >= 1009
2398 char* tmpPtr
; int tmpSize
;
2399 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2400 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2403 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2405 _arg0
= new wxString(tmpPtr
, tmpSize
);
2407 if (!PyString_Check(_obj0
)) {
2408 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2411 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2415 wxPy_BEGIN_ALLOW_THREADS
;
2416 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2418 wxPy_END_ALLOW_THREADS
;
2420 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2421 _resultobj
= Py_BuildValue("s",_ptemp
);
2424 _resultobj
= Py_None
;
2433 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2434 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2435 PyObject
* _resultobj
;
2438 PyObject
* _argo0
= 0;
2439 PyObject
* _obj1
= 0;
2440 char *_kwnames
[] = { "self","tip", NULL
};
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2453 #if PYTHON_API_VERSION >= 1009
2454 char* tmpPtr
; int tmpSize
;
2455 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2456 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2459 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2461 _arg1
= new wxString(tmpPtr
, tmpSize
);
2463 if (!PyString_Check(_obj1
)) {
2464 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2467 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2471 wxPy_BEGIN_ALLOW_THREADS
;
2472 wxToolTip_SetTip(_arg0
,*_arg1
);
2474 wxPy_END_ALLOW_THREADS
;
2475 } Py_INCREF(Py_None
);
2476 _resultobj
= Py_None
;
2484 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2485 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2486 PyObject
* _resultobj
;
2489 PyObject
* _argo0
= 0;
2490 char *_kwnames
[] = { "self", NULL
};
2493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2503 wxPy_BEGIN_ALLOW_THREADS
;
2504 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2506 wxPy_END_ALLOW_THREADS
;
2508 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2516 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2517 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2518 PyObject
* _resultobj
;
2521 PyObject
* _argo0
= 0;
2522 char *_kwnames
[] = { "self", NULL
};
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2535 wxPy_BEGIN_ALLOW_THREADS
;
2536 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2538 wxPy_END_ALLOW_THREADS
;
2539 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2543 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2544 PyObject
* _resultobj
;
2547 char *_kwnames
[] = { "flag", NULL
};
2550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2552 _arg0
= (bool ) tempbool0
;
2554 wxPy_BEGIN_ALLOW_THREADS
;
2555 wxToolTip::Enable(_arg0
);
2557 wxPy_END_ALLOW_THREADS
;
2558 } Py_INCREF(Py_None
);
2559 _resultobj
= Py_None
;
2563 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
* _resultobj
;
2566 char *_kwnames
[] = { "milliseconds", NULL
};
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2572 wxPy_BEGIN_ALLOW_THREADS
;
2573 wxToolTip::SetDelay(_arg0
);
2575 wxPy_END_ALLOW_THREADS
;
2576 } Py_INCREF(Py_None
);
2577 _resultobj
= Py_None
;
2581 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2582 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
* _resultobj
;
2587 PyObject
* _argo0
= 0;
2589 PyObject
* _obj1
= 0;
2590 char *_kwnames
[] = { "window","size", NULL
};
2594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2597 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2598 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2605 if (! wxSize_helper(_obj1
, &_arg1
))
2609 wxPy_BEGIN_ALLOW_THREADS
;
2610 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2612 wxPy_END_ALLOW_THREADS
;
2614 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2615 _resultobj
= Py_BuildValue("s",_ptemp
);
2618 _resultobj
= Py_None
;
2623 #define delete_wxCaret(_swigobj) (delete _swigobj)
2624 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2625 PyObject
* _resultobj
;
2627 PyObject
* _argo0
= 0;
2628 char *_kwnames
[] = { "self", NULL
};
2631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2634 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2635 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2641 wxPy_BEGIN_ALLOW_THREADS
;
2642 delete_wxCaret(_arg0
);
2644 wxPy_END_ALLOW_THREADS
;
2645 } Py_INCREF(Py_None
);
2646 _resultobj
= Py_None
;
2650 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2651 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2652 PyObject
* _resultobj
;
2655 PyObject
* _argo0
= 0;
2656 char *_kwnames
[] = { "self", NULL
};
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2669 wxPy_BEGIN_ALLOW_THREADS
;
2670 _result
= (bool )wxCaret_IsOk(_arg0
);
2672 wxPy_END_ALLOW_THREADS
;
2673 } _resultobj
= Py_BuildValue("i",_result
);
2677 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2678 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2679 PyObject
* _resultobj
;
2682 PyObject
* _argo0
= 0;
2683 char *_kwnames
[] = { "self", NULL
};
2686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2696 wxPy_BEGIN_ALLOW_THREADS
;
2697 _result
= (bool )wxCaret_IsVisible(_arg0
);
2699 wxPy_END_ALLOW_THREADS
;
2700 } _resultobj
= Py_BuildValue("i",_result
);
2704 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2705 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2706 PyObject
* _resultobj
;
2712 PyObject
* _argo0
= 0;
2713 char *_kwnames
[] = { "self", NULL
};
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2732 wxPy_BEGIN_ALLOW_THREADS
;
2733 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2735 wxPy_END_ALLOW_THREADS
;
2736 } Py_INCREF(Py_None
);
2737 _resultobj
= Py_None
;
2740 o
= PyInt_FromLong((long) (*_arg1
));
2741 _resultobj
= t_output_helper(_resultobj
, o
);
2745 o
= PyInt_FromLong((long) (*_arg2
));
2746 _resultobj
= t_output_helper(_resultobj
, o
);
2751 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2752 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2753 PyObject
* _resultobj
;
2756 PyObject
* _argo0
= 0;
2757 char *_kwnames
[] = { "self", NULL
};
2761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2771 wxPy_BEGIN_ALLOW_THREADS
;
2772 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2774 wxPy_END_ALLOW_THREADS
;
2775 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2776 _resultobj
= Py_BuildValue("s",_ptemp
);
2780 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2781 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
* _resultobj
;
2788 PyObject
* _argo0
= 0;
2789 char *_kwnames
[] = { "self", NULL
};
2798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2808 wxPy_BEGIN_ALLOW_THREADS
;
2809 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2811 wxPy_END_ALLOW_THREADS
;
2812 } Py_INCREF(Py_None
);
2813 _resultobj
= Py_None
;
2816 o
= PyInt_FromLong((long) (*_arg1
));
2817 _resultobj
= t_output_helper(_resultobj
, o
);
2821 o
= PyInt_FromLong((long) (*_arg2
));
2822 _resultobj
= t_output_helper(_resultobj
, o
);
2827 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2828 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
* _resultobj
;
2832 PyObject
* _argo0
= 0;
2833 char *_kwnames
[] = { "self", NULL
};
2837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2847 wxPy_BEGIN_ALLOW_THREADS
;
2848 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2850 wxPy_END_ALLOW_THREADS
;
2851 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2852 _resultobj
= Py_BuildValue("s",_ptemp
);
2856 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2857 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2858 PyObject
* _resultobj
;
2861 PyObject
* _argo0
= 0;
2862 char *_kwnames
[] = { "self", NULL
};
2865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2875 wxPy_BEGIN_ALLOW_THREADS
;
2876 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2878 wxPy_END_ALLOW_THREADS
;
2879 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2883 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2884 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2885 PyObject
* _resultobj
;
2889 PyObject
* _argo0
= 0;
2890 char *_kwnames
[] = { "self","x","y", NULL
};
2893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2903 wxPy_BEGIN_ALLOW_THREADS
;
2904 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2906 wxPy_END_ALLOW_THREADS
;
2907 } Py_INCREF(Py_None
);
2908 _resultobj
= Py_None
;
2912 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2913 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2914 PyObject
* _resultobj
;
2917 PyObject
* _argo0
= 0;
2919 PyObject
* _obj1
= 0;
2920 char *_kwnames
[] = { "self","pt", NULL
};
2923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2926 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2927 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2928 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2934 if (! wxPoint_helper(_obj1
, &_arg1
))
2938 wxPy_BEGIN_ALLOW_THREADS
;
2939 wxCaret_Move(_arg0
,*_arg1
);
2941 wxPy_END_ALLOW_THREADS
;
2942 } Py_INCREF(Py_None
);
2943 _resultobj
= Py_None
;
2947 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2948 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2949 PyObject
* _resultobj
;
2953 PyObject
* _argo0
= 0;
2954 char *_kwnames
[] = { "self","width","height", NULL
};
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2967 wxPy_BEGIN_ALLOW_THREADS
;
2968 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2970 wxPy_END_ALLOW_THREADS
;
2971 } Py_INCREF(Py_None
);
2972 _resultobj
= Py_None
;
2976 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2977 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2978 PyObject
* _resultobj
;
2981 PyObject
* _argo0
= 0;
2983 PyObject
* _obj1
= 0;
2984 char *_kwnames
[] = { "self","size", NULL
};
2987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2998 if (! wxSize_helper(_obj1
, &_arg1
))
3002 wxPy_BEGIN_ALLOW_THREADS
;
3003 wxCaret_SetSize(_arg0
,*_arg1
);
3005 wxPy_END_ALLOW_THREADS
;
3006 } Py_INCREF(Py_None
);
3007 _resultobj
= Py_None
;
3011 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3012 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3013 PyObject
* _resultobj
;
3015 int _arg1
= (int ) TRUE
;
3016 PyObject
* _argo0
= 0;
3017 char *_kwnames
[] = { "self","show", NULL
};
3020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3030 wxPy_BEGIN_ALLOW_THREADS
;
3031 wxCaret_Show(_arg0
,_arg1
);
3033 wxPy_END_ALLOW_THREADS
;
3034 } Py_INCREF(Py_None
);
3035 _resultobj
= Py_None
;
3039 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3040 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3041 PyObject
* _resultobj
;
3043 PyObject
* _argo0
= 0;
3044 char *_kwnames
[] = { "self", NULL
};
3047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3057 wxPy_BEGIN_ALLOW_THREADS
;
3058 wxCaret_Hide(_arg0
);
3060 wxPy_END_ALLOW_THREADS
;
3061 } Py_INCREF(Py_None
);
3062 _resultobj
= Py_None
;
3066 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
3067 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3068 PyObject
* _resultobj
;
3069 wxPyFontEnumerator
* _result
;
3070 char *_kwnames
[] = { NULL
};
3074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
3077 wxPy_BEGIN_ALLOW_THREADS
;
3078 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
3080 wxPy_END_ALLOW_THREADS
;
3082 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
3083 _resultobj
= Py_BuildValue("s",_ptemp
);
3086 _resultobj
= Py_None
;
3091 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
3092 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3093 PyObject
* _resultobj
;
3094 wxPyFontEnumerator
* _arg0
;
3095 PyObject
* _argo0
= 0;
3096 char *_kwnames
[] = { "self", NULL
};
3099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
3102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
3109 wxPy_BEGIN_ALLOW_THREADS
;
3110 delete_wxPyFontEnumerator(_arg0
);
3112 wxPy_END_ALLOW_THREADS
;
3113 } Py_INCREF(Py_None
);
3114 _resultobj
= Py_None
;
3118 #define wxFontEnumerator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3119 static PyObject
*_wrap_wxFontEnumerator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3120 PyObject
* _resultobj
;
3121 wxPyFontEnumerator
* _arg0
;
3124 PyObject
* _argo0
= 0;
3125 PyObject
* _obj1
= 0;
3126 PyObject
* _obj2
= 0;
3127 char *_kwnames
[] = { "self","self","_class", NULL
};
3130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFontEnumerator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setSelf. Expected _wxPyFontEnumerator_p.");
3146 wxPy_BEGIN_ALLOW_THREADS
;
3147 wxFontEnumerator__setSelf(_arg0
,_arg1
,_arg2
);
3149 wxPy_END_ALLOW_THREADS
;
3150 } Py_INCREF(Py_None
);
3151 _resultobj
= Py_None
;
3155 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
3156 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3157 PyObject
* _resultobj
;
3159 wxPyFontEnumerator
* _arg0
;
3160 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
3161 bool _arg2
= (bool ) FALSE
;
3162 PyObject
* _argo0
= 0;
3163 int tempbool2
= (int) FALSE
;
3164 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
3167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3176 _arg2
= (bool ) tempbool2
;
3178 wxPy_BEGIN_ALLOW_THREADS
;
3179 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
3181 wxPy_END_ALLOW_THREADS
;
3182 } _resultobj
= Py_BuildValue("i",_result
);
3186 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3187 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3188 PyObject
* _resultobj
;
3190 wxPyFontEnumerator
* _arg0
;
3191 char * _arg1
= (char *) "";
3192 PyObject
* _argo0
= 0;
3193 char *_kwnames
[] = { "self","facename", NULL
};
3196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
3199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3206 wxPy_BEGIN_ALLOW_THREADS
;
3207 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
3209 wxPy_END_ALLOW_THREADS
;
3210 } _resultobj
= Py_BuildValue("i",_result
);
3214 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3215 wxArrayString
* arr
= self
->GetEncodings();
3216 PyObject
* list
= PyList_New(0);
3217 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3218 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3221 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
* _resultobj
;
3224 wxPyFontEnumerator
* _arg0
;
3225 PyObject
* _argo0
= 0;
3226 char *_kwnames
[] = { "self", NULL
};
3229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3239 wxPy_BEGIN_ALLOW_THREADS
;
3240 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3242 wxPy_END_ALLOW_THREADS
;
3244 _resultobj
= _result
;
3249 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3250 wxArrayString
* arr
= self
->GetFacenames();
3251 PyObject
* list
= PyList_New(0);
3252 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3253 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3256 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3257 PyObject
* _resultobj
;
3259 wxPyFontEnumerator
* _arg0
;
3260 PyObject
* _argo0
= 0;
3261 char *_kwnames
[] = { "self", NULL
};
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3274 wxPy_BEGIN_ALLOW_THREADS
;
3275 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3277 wxPy_END_ALLOW_THREADS
;
3279 _resultobj
= _result
;
3284 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3285 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3286 PyObject
* _resultobj
;
3287 wxBusyCursor
* _result
;
3288 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3289 PyObject
* _argo0
= 0;
3290 char *_kwnames
[] = { "cursor", NULL
};
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3304 wxPy_BEGIN_ALLOW_THREADS
;
3305 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3307 wxPy_END_ALLOW_THREADS
;
3309 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3310 _resultobj
= Py_BuildValue("s",_ptemp
);
3313 _resultobj
= Py_None
;
3318 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3319 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3320 PyObject
* _resultobj
;
3321 wxBusyCursor
* _arg0
;
3322 PyObject
* _argo0
= 0;
3323 char *_kwnames
[] = { "self", NULL
};
3326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3336 wxPy_BEGIN_ALLOW_THREADS
;
3337 delete_wxBusyCursor(_arg0
);
3339 wxPy_END_ALLOW_THREADS
;
3340 } Py_INCREF(Py_None
);
3341 _resultobj
= Py_None
;
3345 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3346 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3347 PyObject
* _resultobj
;
3348 wxWindowDisabler
* _result
;
3349 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3350 PyObject
* _argo0
= 0;
3351 char *_kwnames
[] = { "winToSkip", NULL
};
3355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3365 wxPy_BEGIN_ALLOW_THREADS
;
3366 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3368 wxPy_END_ALLOW_THREADS
;
3370 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3371 _resultobj
= Py_BuildValue("s",_ptemp
);
3374 _resultobj
= Py_None
;
3379 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3380 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
* _resultobj
;
3382 wxWindowDisabler
* _arg0
;
3383 PyObject
* _argo0
= 0;
3384 char *_kwnames
[] = { "self", NULL
};
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3397 wxPy_BEGIN_ALLOW_THREADS
;
3398 delete_wxWindowDisabler(_arg0
);
3400 wxPy_END_ALLOW_THREADS
;
3401 } Py_INCREF(Py_None
);
3402 _resultobj
= Py_None
;
3406 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3407 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3408 PyObject
* _resultobj
;
3409 wxMutexGuiLocker
* _result
;
3410 char *_kwnames
[] = { NULL
};
3414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3417 wxPy_BEGIN_ALLOW_THREADS
;
3418 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3420 wxPy_END_ALLOW_THREADS
;
3422 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3423 _resultobj
= Py_BuildValue("s",_ptemp
);
3426 _resultobj
= Py_None
;
3431 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3432 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
* _resultobj
;
3434 wxMutexGuiLocker
* _arg0
;
3435 PyObject
* _argo0
= 0;
3436 char *_kwnames
[] = { "self", NULL
};
3439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3449 wxPy_BEGIN_ALLOW_THREADS
;
3450 delete_wxMutexGuiLocker(_arg0
);
3452 wxPy_END_ALLOW_THREADS
;
3453 } Py_INCREF(Py_None
);
3454 _resultobj
= Py_None
;
3458 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3459 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
* _resultobj
;
3461 wxTipProvider
* _arg0
;
3462 PyObject
* _argo0
= 0;
3463 char *_kwnames
[] = { "self", NULL
};
3466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3476 wxPy_BEGIN_ALLOW_THREADS
;
3477 delete_wxTipProvider(_arg0
);
3479 wxPy_END_ALLOW_THREADS
;
3480 } Py_INCREF(Py_None
);
3481 _resultobj
= Py_None
;
3485 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3486 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3487 PyObject
* _resultobj
;
3489 wxTipProvider
* _arg0
;
3490 PyObject
* _argo0
= 0;
3491 char *_kwnames
[] = { "self", NULL
};
3494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3504 wxPy_BEGIN_ALLOW_THREADS
;
3505 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3507 wxPy_END_ALLOW_THREADS
;
3509 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3517 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3518 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3519 PyObject
* _resultobj
;
3521 wxTipProvider
* _arg0
;
3522 PyObject
* _argo0
= 0;
3523 char *_kwnames
[] = { "self", NULL
};
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3536 wxPy_BEGIN_ALLOW_THREADS
;
3537 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3539 wxPy_END_ALLOW_THREADS
;
3540 } _resultobj
= Py_BuildValue("i",_result
);
3544 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3545 wxPyTipProvider
*src
;
3546 wxTipProvider
*dest
;
3547 src
= (wxPyTipProvider
*) ptr
;
3548 dest
= (wxTipProvider
*) src
;
3549 return (void *) dest
;
3552 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3553 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3554 PyObject
* _resultobj
;
3555 wxPyTipProvider
* _result
;
3557 char *_kwnames
[] = { "currentTip", NULL
};
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3564 wxPy_BEGIN_ALLOW_THREADS
;
3565 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3567 wxPy_END_ALLOW_THREADS
;
3569 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3570 _resultobj
= Py_BuildValue("s",_ptemp
);
3573 _resultobj
= Py_None
;
3578 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3579 wxGenericDragImage
*src
;
3581 src
= (wxGenericDragImage
*) ptr
;
3582 dest
= (wxObject
*) src
;
3583 return (void *) dest
;
3586 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3587 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
* _resultobj
;
3589 wxGenericDragImage
* _result
;
3591 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3592 PyObject
* _argo0
= 0;
3593 PyObject
* _argo1
= 0;
3594 char *_kwnames
[] = { "image","cursor", NULL
};
3598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3608 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3609 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3615 wxPy_BEGIN_ALLOW_THREADS
;
3616 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3618 wxPy_END_ALLOW_THREADS
;
3620 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3621 _resultobj
= Py_BuildValue("s",_ptemp
);
3624 _resultobj
= Py_None
;
3629 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3630 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3631 PyObject
* _resultobj
;
3632 wxGenericDragImage
* _arg0
;
3633 PyObject
* _argo0
= 0;
3634 char *_kwnames
[] = { "self", NULL
};
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3640 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3641 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3642 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3647 wxPy_BEGIN_ALLOW_THREADS
;
3648 delete_wxGenericDragImage(_arg0
);
3650 wxPy_END_ALLOW_THREADS
;
3651 } Py_INCREF(Py_None
);
3652 _resultobj
= Py_None
;
3656 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3657 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
* _resultobj
;
3659 wxGenericDragImage
* _arg0
;
3661 PyObject
* _argo0
= 0;
3662 PyObject
* _argo1
= 0;
3663 char *_kwnames
[] = { "self","bitmap", NULL
};
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3676 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3677 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3683 wxPy_BEGIN_ALLOW_THREADS
;
3684 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3686 wxPy_END_ALLOW_THREADS
;
3687 } Py_INCREF(Py_None
);
3688 _resultobj
= Py_None
;
3692 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3693 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
* _resultobj
;
3696 wxGenericDragImage
* _arg0
;
3699 bool _arg3
= (bool ) FALSE
;
3700 wxRect
* _arg4
= (wxRect
*) NULL
;
3701 PyObject
* _argo0
= 0;
3703 PyObject
* _obj1
= 0;
3704 PyObject
* _argo2
= 0;
3705 int tempbool3
= (int) FALSE
;
3707 PyObject
* _obj4
= 0;
3708 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3722 if (! wxPoint_helper(_obj1
, &_arg1
))
3726 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3727 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3732 _arg3
= (bool ) tempbool3
;
3736 if (! wxRect_helper(_obj4
, &_arg4
))
3740 wxPy_BEGIN_ALLOW_THREADS
;
3741 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3743 wxPy_END_ALLOW_THREADS
;
3744 } _resultobj
= Py_BuildValue("i",_result
);
3748 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3749 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
* _resultobj
;
3752 wxGenericDragImage
* _arg0
;
3756 PyObject
* _argo0
= 0;
3758 PyObject
* _obj1
= 0;
3759 PyObject
* _argo2
= 0;
3760 PyObject
* _argo3
= 0;
3761 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3775 if (! wxPoint_helper(_obj1
, &_arg1
))
3779 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3780 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3786 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3787 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3793 wxPy_BEGIN_ALLOW_THREADS
;
3794 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3796 wxPy_END_ALLOW_THREADS
;
3797 } _resultobj
= Py_BuildValue("i",_result
);
3801 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3802 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3803 PyObject
* _resultobj
;
3805 wxGenericDragImage
* _arg0
;
3806 PyObject
* _argo0
= 0;
3807 char *_kwnames
[] = { "self", NULL
};
3810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3813 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3814 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3815 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3820 wxPy_BEGIN_ALLOW_THREADS
;
3821 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3823 wxPy_END_ALLOW_THREADS
;
3824 } _resultobj
= Py_BuildValue("i",_result
);
3828 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3829 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3830 PyObject
* _resultobj
;
3832 wxGenericDragImage
* _arg0
;
3834 PyObject
* _argo0
= 0;
3836 PyObject
* _obj1
= 0;
3837 char *_kwnames
[] = { "self","pt", NULL
};
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3851 if (! wxPoint_helper(_obj1
, &_arg1
))
3855 wxPy_BEGIN_ALLOW_THREADS
;
3856 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3858 wxPy_END_ALLOW_THREADS
;
3859 } _resultobj
= Py_BuildValue("i",_result
);
3863 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3864 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
* _resultobj
;
3867 wxGenericDragImage
* _arg0
;
3868 PyObject
* _argo0
= 0;
3869 char *_kwnames
[] = { "self", NULL
};
3872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3882 wxPy_BEGIN_ALLOW_THREADS
;
3883 _result
= (bool )wxDragImage_Show(_arg0
);
3885 wxPy_END_ALLOW_THREADS
;
3886 } _resultobj
= Py_BuildValue("i",_result
);
3890 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3891 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
* _resultobj
;
3894 wxGenericDragImage
* _arg0
;
3895 PyObject
* _argo0
= 0;
3896 char *_kwnames
[] = { "self", NULL
};
3899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3909 wxPy_BEGIN_ALLOW_THREADS
;
3910 _result
= (bool )wxDragImage_Hide(_arg0
);
3912 wxPy_END_ALLOW_THREADS
;
3913 } _resultobj
= Py_BuildValue("i",_result
);
3917 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3918 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
* _resultobj
;
3921 wxGenericDragImage
* _arg0
;
3923 PyObject
* _argo0
= 0;
3925 PyObject
* _obj1
= 0;
3926 char *_kwnames
[] = { "self","pos", NULL
};
3930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
3933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
3941 if (! wxPoint_helper(_obj1
, &_arg1
))
3945 wxPy_BEGIN_ALLOW_THREADS
;
3946 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
3948 wxPy_END_ALLOW_THREADS
;
3949 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3950 _resultobj
= Py_BuildValue("s",_ptemp
);
3954 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3955 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
* _resultobj
;
3958 wxGenericDragImage
* _arg0
;
3963 PyObject
* _argo0
= 0;
3965 PyObject
* _obj1
= 0;
3967 PyObject
* _obj2
= 0;
3970 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
3976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
3984 if (! wxPoint_helper(_obj1
, &_arg1
))
3989 if (! wxPoint_helper(_obj2
, &_arg2
))
3992 _arg3
= (bool ) tempbool3
;
3993 _arg4
= (bool ) tempbool4
;
3995 wxPy_BEGIN_ALLOW_THREADS
;
3996 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
3998 wxPy_END_ALLOW_THREADS
;
3999 } _resultobj
= Py_BuildValue("i",_result
);
4003 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4006 src
= (wxPyTimer
*) ptr
;
4007 dest
= (wxObject
*) src
;
4008 return (void *) dest
;
4011 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4012 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4013 PyObject
* _resultobj
;
4014 wxPyTimer
* _result
;
4016 PyObject
* _obj0
= 0;
4017 char *_kwnames
[] = { "notify", NULL
};
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4027 wxPy_BEGIN_ALLOW_THREADS
;
4028 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4030 wxPy_END_ALLOW_THREADS
;
4032 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4033 _resultobj
= Py_BuildValue("s",_ptemp
);
4036 _resultobj
= Py_None
;
4041 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4042 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4043 PyObject
* _resultobj
;
4045 PyObject
* _argo0
= 0;
4046 char *_kwnames
[] = { "self", NULL
};
4049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4059 wxPy_BEGIN_ALLOW_THREADS
;
4060 delete_wxPyTimer(_arg0
);
4062 wxPy_END_ALLOW_THREADS
;
4063 } Py_INCREF(Py_None
);
4064 _resultobj
= Py_None
;
4068 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4069 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4070 PyObject
* _resultobj
;
4073 PyObject
* _argo0
= 0;
4074 char *_kwnames
[] = { "self", NULL
};
4077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4087 wxPy_BEGIN_ALLOW_THREADS
;
4088 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4090 wxPy_END_ALLOW_THREADS
;
4091 } _resultobj
= Py_BuildValue("i",_result
);
4095 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4096 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4097 PyObject
* _resultobj
;
4100 PyObject
* _argo0
= 0;
4101 char *_kwnames
[] = { "self", NULL
};
4104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4107 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4108 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4109 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4114 wxPy_BEGIN_ALLOW_THREADS
;
4115 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4117 wxPy_END_ALLOW_THREADS
;
4118 } _resultobj
= Py_BuildValue("i",_result
);
4122 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4123 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4124 PyObject
* _resultobj
;
4127 PyObject
* _argo0
= 0;
4128 char *_kwnames
[] = { "self", NULL
};
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4141 wxPy_BEGIN_ALLOW_THREADS
;
4142 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4144 wxPy_END_ALLOW_THREADS
;
4145 } _resultobj
= Py_BuildValue("i",_result
);
4149 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4150 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4151 PyObject
* _resultobj
;
4153 wxEvtHandler
* _arg1
;
4154 int _arg2
= (int ) -1;
4155 PyObject
* _argo0
= 0;
4156 PyObject
* _argo1
= 0;
4157 char *_kwnames
[] = { "self","owner","id", NULL
};
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4170 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4171 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4177 wxPy_BEGIN_ALLOW_THREADS
;
4178 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4180 wxPy_END_ALLOW_THREADS
;
4181 } Py_INCREF(Py_None
);
4182 _resultobj
= Py_None
;
4186 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4187 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
* _resultobj
;
4190 int _arg1
= (int ) -1;
4191 int _arg2
= (int ) FALSE
;
4192 PyObject
* _argo0
= 0;
4193 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4206 wxPy_BEGIN_ALLOW_THREADS
;
4207 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4209 wxPy_END_ALLOW_THREADS
;
4210 } Py_INCREF(Py_None
);
4211 _resultobj
= Py_None
;
4215 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4216 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
* _resultobj
;
4219 PyObject
* _argo0
= 0;
4220 char *_kwnames
[] = { "self", NULL
};
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4233 wxPy_BEGIN_ALLOW_THREADS
;
4234 wxPyTimer_Stop(_arg0
);
4236 wxPy_END_ALLOW_THREADS
;
4237 } Py_INCREF(Py_None
);
4238 _resultobj
= Py_None
;
4242 #define new_wxLog() (new wxLog())
4243 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
* _resultobj
;
4246 char *_kwnames
[] = { NULL
};
4250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4253 wxPy_BEGIN_ALLOW_THREADS
;
4254 _result
= (wxLog
*)new_wxLog();
4256 wxPy_END_ALLOW_THREADS
;
4258 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4259 _resultobj
= Py_BuildValue("s",_ptemp
);
4262 _resultobj
= Py_None
;
4267 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4268 PyObject
* _resultobj
;
4270 char *_kwnames
[] = { NULL
};
4273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4276 wxPy_BEGIN_ALLOW_THREADS
;
4277 _result
= (bool )wxLog::IsEnabled();
4279 wxPy_END_ALLOW_THREADS
;
4280 } _resultobj
= Py_BuildValue("i",_result
);
4284 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
* _resultobj
;
4287 bool _arg0
= (bool ) TRUE
;
4288 int tempbool0
= (int) TRUE
;
4289 char *_kwnames
[] = { "doIt", NULL
};
4292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4294 _arg0
= (bool ) tempbool0
;
4296 wxPy_BEGIN_ALLOW_THREADS
;
4297 _result
= (bool )wxLog::EnableLogging(_arg0
);
4299 wxPy_END_ALLOW_THREADS
;
4300 } _resultobj
= Py_BuildValue("i",_result
);
4304 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
* _resultobj
;
4308 int _arg2
= (int ) 0;
4309 PyObject
* _argo0
= 0;
4310 char *_kwnames
[] = { "level","szString","t", NULL
};
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4323 wxPy_BEGIN_ALLOW_THREADS
;
4324 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
4326 wxPy_END_ALLOW_THREADS
;
4327 } Py_INCREF(Py_None
);
4328 _resultobj
= Py_None
;
4332 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4333 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
* _resultobj
;
4336 PyObject
* _argo0
= 0;
4337 char *_kwnames
[] = { "self", NULL
};
4340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4350 wxPy_BEGIN_ALLOW_THREADS
;
4353 wxPy_END_ALLOW_THREADS
;
4354 } Py_INCREF(Py_None
);
4355 _resultobj
= Py_None
;
4359 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4360 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
* _resultobj
;
4364 PyObject
* _argo0
= 0;
4365 char *_kwnames
[] = { "self", NULL
};
4368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4378 wxPy_BEGIN_ALLOW_THREADS
;
4379 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4381 wxPy_END_ALLOW_THREADS
;
4382 } _resultobj
= Py_BuildValue("i",_result
);
4386 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
* _resultobj
;
4388 char *_kwnames
[] = { NULL
};
4391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4394 wxPy_BEGIN_ALLOW_THREADS
;
4395 wxLog::FlushActive();
4397 wxPy_END_ALLOW_THREADS
;
4398 } Py_INCREF(Py_None
);
4399 _resultobj
= Py_None
;
4403 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
* _resultobj
;
4406 char *_kwnames
[] = { NULL
};
4410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4413 wxPy_BEGIN_ALLOW_THREADS
;
4414 _result
= (wxLog
*)wxLog::GetActiveTarget();
4416 wxPy_END_ALLOW_THREADS
;
4418 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4419 _resultobj
= Py_BuildValue("s",_ptemp
);
4422 _resultobj
= Py_None
;
4427 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
* _resultobj
;
4431 PyObject
* _argo0
= 0;
4432 char *_kwnames
[] = { "pLogger", NULL
};
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4446 wxPy_BEGIN_ALLOW_THREADS
;
4447 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4449 wxPy_END_ALLOW_THREADS
;
4451 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4452 _resultobj
= Py_BuildValue("s",_ptemp
);
4455 _resultobj
= Py_None
;
4460 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4461 PyObject
* _resultobj
;
4462 char *_kwnames
[] = { NULL
};
4465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4468 wxPy_BEGIN_ALLOW_THREADS
;
4471 wxPy_END_ALLOW_THREADS
;
4472 } Py_INCREF(Py_None
);
4473 _resultobj
= Py_None
;
4477 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4478 PyObject
* _resultobj
;
4479 char *_kwnames
[] = { NULL
};
4482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4485 wxPy_BEGIN_ALLOW_THREADS
;
4488 wxPy_END_ALLOW_THREADS
;
4489 } Py_INCREF(Py_None
);
4490 _resultobj
= Py_None
;
4494 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4495 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4496 PyObject
* _resultobj
;
4498 bool _arg1
= (bool ) TRUE
;
4499 PyObject
* _argo0
= 0;
4500 int tempbool1
= (int) TRUE
;
4501 char *_kwnames
[] = { "self","bVerbose", NULL
};
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4513 _arg1
= (bool ) tempbool1
;
4515 wxPy_BEGIN_ALLOW_THREADS
;
4516 wxLog_SetVerbose(_arg0
,_arg1
);
4518 wxPy_END_ALLOW_THREADS
;
4519 } Py_INCREF(Py_None
);
4520 _resultobj
= Py_None
;
4524 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
* _resultobj
;
4526 char *_kwnames
[] = { NULL
};
4529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4532 wxPy_BEGIN_ALLOW_THREADS
;
4533 wxLog::DontCreateOnDemand();
4535 wxPy_END_ALLOW_THREADS
;
4536 } Py_INCREF(Py_None
);
4537 _resultobj
= Py_None
;
4541 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4542 PyObject
* _resultobj
;
4543 wxTraceMask
* _arg0
;
4544 PyObject
* _argo0
= 0;
4545 char *_kwnames
[] = { "ulMask", NULL
};
4548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4558 wxPy_BEGIN_ALLOW_THREADS
;
4559 wxLog::SetTraceMask(*_arg0
);
4561 wxPy_END_ALLOW_THREADS
;
4562 } Py_INCREF(Py_None
);
4563 _resultobj
= Py_None
;
4567 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4568 PyObject
* _resultobj
;
4570 PyObject
* _obj0
= 0;
4571 char *_kwnames
[] = { "str", NULL
};
4574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4577 #if PYTHON_API_VERSION >= 1009
4578 char* tmpPtr
; int tmpSize
;
4579 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4580 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4583 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4585 _arg0
= new wxString(tmpPtr
, tmpSize
);
4587 if (!PyString_Check(_obj0
)) {
4588 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4591 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4595 wxPy_BEGIN_ALLOW_THREADS
;
4596 wxLog::AddTraceMask(*_arg0
);
4598 wxPy_END_ALLOW_THREADS
;
4599 } Py_INCREF(Py_None
);
4600 _resultobj
= Py_None
;
4608 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
* _resultobj
;
4611 PyObject
* _obj0
= 0;
4612 char *_kwnames
[] = { "str", NULL
};
4615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4618 #if PYTHON_API_VERSION >= 1009
4619 char* tmpPtr
; int tmpSize
;
4620 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4621 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4624 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4626 _arg0
= new wxString(tmpPtr
, tmpSize
);
4628 if (!PyString_Check(_obj0
)) {
4629 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4632 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4636 wxPy_BEGIN_ALLOW_THREADS
;
4637 wxLog::RemoveTraceMask(*_arg0
);
4639 wxPy_END_ALLOW_THREADS
;
4640 } Py_INCREF(Py_None
);
4641 _resultobj
= Py_None
;
4649 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4650 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4651 PyObject
* _resultobj
;
4654 PyObject
* _argo0
= 0;
4655 char *_kwnames
[] = { "self", NULL
};
4658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4668 wxPy_BEGIN_ALLOW_THREADS
;
4669 _result
= (bool )wxLog_GetVerbose(_arg0
);
4671 wxPy_END_ALLOW_THREADS
;
4672 } _resultobj
= Py_BuildValue("i",_result
);
4676 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4677 PyObject
* _resultobj
;
4678 wxTraceMask
* _result
;
4679 char *_kwnames
[] = { NULL
};
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4686 wxPy_BEGIN_ALLOW_THREADS
;
4687 _result
= new wxTraceMask (wxLog::GetTraceMask());
4689 wxPy_END_ALLOW_THREADS
;
4690 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
4691 _resultobj
= Py_BuildValue("s",_ptemp
);
4695 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4696 PyObject
* _resultobj
;
4699 char *_kwnames
[] = { "mask", NULL
};
4702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
4705 wxPy_BEGIN_ALLOW_THREADS
;
4706 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
4708 wxPy_END_ALLOW_THREADS
;
4709 } _resultobj
= Py_BuildValue("i",_result
);
4713 static void *SwigwxLogStderrTowxLog(void *ptr
) {
4716 src
= (wxLogStderr
*) ptr
;
4717 dest
= (wxLog
*) src
;
4718 return (void *) dest
;
4721 #define new_wxLogStderr() (new wxLogStderr())
4722 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4723 PyObject
* _resultobj
;
4724 wxLogStderr
* _result
;
4725 char *_kwnames
[] = { NULL
};
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
4732 wxPy_BEGIN_ALLOW_THREADS
;
4733 _result
= (wxLogStderr
*)new_wxLogStderr();
4735 wxPy_END_ALLOW_THREADS
;
4737 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
4738 _resultobj
= Py_BuildValue("s",_ptemp
);
4741 _resultobj
= Py_None
;
4746 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
4749 src
= (wxLogTextCtrl
*) ptr
;
4750 dest
= (wxLog
*) src
;
4751 return (void *) dest
;
4754 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
4755 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4756 PyObject
* _resultobj
;
4757 wxLogTextCtrl
* _result
;
4759 PyObject
* _argo0
= 0;
4760 char *_kwnames
[] = { "pTextCtrl", NULL
};
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
4767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
4774 wxPy_BEGIN_ALLOW_THREADS
;
4775 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
4777 wxPy_END_ALLOW_THREADS
;
4779 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
4780 _resultobj
= Py_BuildValue("s",_ptemp
);
4783 _resultobj
= Py_None
;
4788 static void *SwigwxLogGuiTowxLog(void *ptr
) {
4791 src
= (wxLogGui
*) ptr
;
4792 dest
= (wxLog
*) src
;
4793 return (void *) dest
;
4796 #define new_wxLogGui() (new wxLogGui())
4797 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
* _resultobj
;
4800 char *_kwnames
[] = { NULL
};
4804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
4807 wxPy_BEGIN_ALLOW_THREADS
;
4808 _result
= (wxLogGui
*)new_wxLogGui();
4810 wxPy_END_ALLOW_THREADS
;
4812 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
4813 _resultobj
= Py_BuildValue("s",_ptemp
);
4816 _resultobj
= Py_None
;
4821 static void *SwigwxLogWindowTowxLog(void *ptr
) {
4824 src
= (wxLogWindow
*) ptr
;
4825 dest
= (wxLog
*) src
;
4826 return (void *) dest
;
4829 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4830 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
* _resultobj
;
4832 wxLogWindow
* _result
;
4835 bool _arg2
= (bool ) TRUE
;
4836 bool _arg3
= (bool ) TRUE
;
4837 PyObject
* _argo0
= 0;
4838 int tempbool2
= (int) TRUE
;
4839 int tempbool3
= (int) TRUE
;
4840 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
4847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
4849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
4853 _arg2
= (bool ) tempbool2
;
4854 _arg3
= (bool ) tempbool3
;
4856 wxPy_BEGIN_ALLOW_THREADS
;
4857 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
4859 wxPy_END_ALLOW_THREADS
;
4861 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
4862 _resultobj
= Py_BuildValue("s",_ptemp
);
4865 _resultobj
= Py_None
;
4870 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4871 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4872 PyObject
* _resultobj
;
4873 wxLogWindow
* _arg0
;
4874 bool _arg1
= (bool ) TRUE
;
4875 PyObject
* _argo0
= 0;
4876 int tempbool1
= (int) TRUE
;
4877 char *_kwnames
[] = { "self","bShow", NULL
};
4880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4883 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4884 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
4889 _arg1
= (bool ) tempbool1
;
4891 wxPy_BEGIN_ALLOW_THREADS
;
4892 wxLogWindow_Show(_arg0
,_arg1
);
4894 wxPy_END_ALLOW_THREADS
;
4895 } Py_INCREF(Py_None
);
4896 _resultobj
= Py_None
;
4900 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
4901 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4902 PyObject
* _resultobj
;
4904 wxLogWindow
* _arg0
;
4905 PyObject
* _argo0
= 0;
4906 char *_kwnames
[] = { "self", NULL
};
4909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
4912 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4913 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
4919 wxPy_BEGIN_ALLOW_THREADS
;
4920 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
4922 wxPy_END_ALLOW_THREADS
;
4923 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4927 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
4928 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
* _resultobj
;
4931 wxLogWindow
* _arg0
;
4932 PyObject
* _argo0
= 0;
4933 char *_kwnames
[] = { "self", NULL
};
4937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
4940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
4947 wxPy_BEGIN_ALLOW_THREADS
;
4948 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
4950 wxPy_END_ALLOW_THREADS
;
4952 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4953 _resultobj
= Py_BuildValue("s",_ptemp
);
4956 _resultobj
= Py_None
;
4961 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
4962 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4963 PyObject
* _resultobj
;
4965 wxLogWindow
* _arg0
;
4966 PyObject
* _argo0
= 0;
4967 char *_kwnames
[] = { "self", NULL
};
4970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
4973 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4974 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4975 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
4980 wxPy_BEGIN_ALLOW_THREADS
;
4981 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
4983 wxPy_END_ALLOW_THREADS
;
4984 } _resultobj
= Py_BuildValue("i",_result
);
4988 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
4989 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
* _resultobj
;
4991 wxLogWindow
* _arg0
;
4993 PyObject
* _argo0
= 0;
4995 char *_kwnames
[] = { "self","bDoPass", NULL
};
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5007 _arg1
= (bool ) tempbool1
;
5009 wxPy_BEGIN_ALLOW_THREADS
;
5010 wxLogWindow_PassMessages(_arg0
,_arg1
);
5012 wxPy_END_ALLOW_THREADS
;
5013 } Py_INCREF(Py_None
);
5014 _resultobj
= Py_None
;
5018 #define new_wxLogNull() (new wxLogNull())
5019 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
* _resultobj
;
5021 wxLogNull
* _result
;
5022 char *_kwnames
[] = { NULL
};
5026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5029 wxPy_BEGIN_ALLOW_THREADS
;
5030 _result
= (wxLogNull
*)new_wxLogNull();
5032 wxPy_END_ALLOW_THREADS
;
5034 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5035 _resultobj
= Py_BuildValue("s",_ptemp
);
5038 _resultobj
= Py_None
;
5043 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5044 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
* _resultobj
;
5047 PyObject
* _argo0
= 0;
5048 char *_kwnames
[] = { "self", NULL
};
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5061 wxPy_BEGIN_ALLOW_THREADS
;
5062 delete_wxLogNull(_arg0
);
5064 wxPy_END_ALLOW_THREADS
;
5065 } Py_INCREF(Py_None
);
5066 _resultobj
= Py_None
;
5070 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5071 wxProcessEvent
*src
;
5073 src
= (wxProcessEvent
*) ptr
;
5074 dest
= (wxEvent
*) src
;
5075 return (void *) dest
;
5078 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5079 wxProcessEvent
*src
;
5081 src
= (wxProcessEvent
*) ptr
;
5082 dest
= (wxObject
*) src
;
5083 return (void *) dest
;
5086 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5087 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5088 PyObject
* _resultobj
;
5089 wxProcessEvent
* _result
;
5090 int _arg0
= (int ) 0;
5091 int _arg1
= (int ) 0;
5092 int _arg2
= (int ) 0;
5093 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5100 wxPy_BEGIN_ALLOW_THREADS
;
5101 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5103 wxPy_END_ALLOW_THREADS
;
5105 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5106 _resultobj
= Py_BuildValue("s",_ptemp
);
5109 _resultobj
= Py_None
;
5114 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5115 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5116 PyObject
* _resultobj
;
5118 wxProcessEvent
* _arg0
;
5119 PyObject
* _argo0
= 0;
5120 char *_kwnames
[] = { "self", NULL
};
5123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5133 wxPy_BEGIN_ALLOW_THREADS
;
5134 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5136 wxPy_END_ALLOW_THREADS
;
5137 } _resultobj
= Py_BuildValue("i",_result
);
5141 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5142 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
* _resultobj
;
5145 wxProcessEvent
* _arg0
;
5146 PyObject
* _argo0
= 0;
5147 char *_kwnames
[] = { "self", NULL
};
5150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5160 wxPy_BEGIN_ALLOW_THREADS
;
5161 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5163 wxPy_END_ALLOW_THREADS
;
5164 } _resultobj
= Py_BuildValue("i",_result
);
5168 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5169 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5170 PyObject
* _resultobj
;
5172 wxProcessEvent
* _arg0
;
5174 PyObject
* _argo0
= 0;
5175 char *_kwnames
[] = { "self","m_pid", NULL
};
5178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5181 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5182 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5183 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5188 wxPy_BEGIN_ALLOW_THREADS
;
5189 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5191 wxPy_END_ALLOW_THREADS
;
5192 } _resultobj
= Py_BuildValue("i",_result
);
5196 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5197 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
* _resultobj
;
5200 wxProcessEvent
* _arg0
;
5201 PyObject
* _argo0
= 0;
5202 char *_kwnames
[] = { "self", NULL
};
5205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5215 wxPy_BEGIN_ALLOW_THREADS
;
5216 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5218 wxPy_END_ALLOW_THREADS
;
5219 } _resultobj
= Py_BuildValue("i",_result
);
5223 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5224 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
* _resultobj
;
5227 wxProcessEvent
* _arg0
;
5229 PyObject
* _argo0
= 0;
5230 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5243 wxPy_BEGIN_ALLOW_THREADS
;
5244 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5246 wxPy_END_ALLOW_THREADS
;
5247 } _resultobj
= Py_BuildValue("i",_result
);
5251 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5252 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
* _resultobj
;
5255 wxProcessEvent
* _arg0
;
5256 PyObject
* _argo0
= 0;
5257 char *_kwnames
[] = { "self", NULL
};
5260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5270 wxPy_BEGIN_ALLOW_THREADS
;
5271 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5273 wxPy_END_ALLOW_THREADS
;
5274 } _resultobj
= Py_BuildValue("i",_result
);
5278 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5281 src
= (wxPyProcess
*) ptr
;
5282 dest
= (wxEvtHandler
*) src
;
5283 return (void *) dest
;
5286 static void *SwigwxPyProcessTowxObject(void *ptr
) {
5289 src
= (wxPyProcess
*) ptr
;
5290 dest
= (wxObject
*) src
;
5291 return (void *) dest
;
5294 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5295 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5296 PyObject
* _resultobj
;
5297 wxPyProcess
* _result
;
5298 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
5299 int _arg1
= (int ) -1;
5300 PyObject
* _argo0
= 0;
5301 char *_kwnames
[] = { "parent","id", NULL
};
5305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
5308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
5310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
5315 wxPy_BEGIN_ALLOW_THREADS
;
5316 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
5318 wxPy_END_ALLOW_THREADS
;
5320 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
5321 _resultobj
= Py_BuildValue("s",_ptemp
);
5324 _resultobj
= Py_None
;
5329 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
5330 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5331 PyObject
* _resultobj
;
5332 wxPyProcess
* _arg0
;
5333 PyObject
* _argo0
= 0;
5334 char *_kwnames
[] = { "self", NULL
};
5337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
5340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
5347 wxPy_BEGIN_ALLOW_THREADS
;
5348 wxPyProcess_Destroy(_arg0
);
5350 wxPy_END_ALLOW_THREADS
;
5351 } Py_INCREF(Py_None
);
5352 _resultobj
= Py_None
;
5356 #define wxProcess__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5357 static PyObject
*_wrap_wxProcess__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5358 PyObject
* _resultobj
;
5359 wxPyProcess
* _arg0
;
5362 PyObject
* _argo0
= 0;
5363 PyObject
* _obj1
= 0;
5364 PyObject
* _obj2
= 0;
5365 char *_kwnames
[] = { "self","self","_class", NULL
};
5368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setSelf. Expected _wxPyProcess_p.");
5384 wxPy_BEGIN_ALLOW_THREADS
;
5385 wxProcess__setSelf(_arg0
,_arg1
,_arg2
);
5387 wxPy_END_ALLOW_THREADS
;
5388 } Py_INCREF(Py_None
);
5389 _resultobj
= Py_None
;
5393 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
5394 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5395 PyObject
* _resultobj
;
5396 wxPyProcess
* _arg0
;
5399 PyObject
* _argo0
= 0;
5400 char *_kwnames
[] = { "self","pid","status", NULL
};
5403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
5413 wxPy_BEGIN_ALLOW_THREADS
;
5414 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
5416 wxPy_END_ALLOW_THREADS
;
5417 } Py_INCREF(Py_None
);
5418 _resultobj
= Py_None
;
5422 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
5423 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5424 PyObject
* _resultobj
;
5425 wxPyProcess
* _arg0
;
5426 PyObject
* _argo0
= 0;
5427 char *_kwnames
[] = { "self", NULL
};
5430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
5433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
5440 wxPy_BEGIN_ALLOW_THREADS
;
5441 wxProcess_Redirect(_arg0
);
5443 wxPy_END_ALLOW_THREADS
;
5444 } Py_INCREF(Py_None
);
5445 _resultobj
= Py_None
;
5449 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
5450 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
* _resultobj
;
5453 wxPyProcess
* _arg0
;
5454 PyObject
* _argo0
= 0;
5455 char *_kwnames
[] = { "self", NULL
};
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
5461 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5462 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5463 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
5468 wxPy_BEGIN_ALLOW_THREADS
;
5469 _result
= (bool )wxProcess_IsRedirected(_arg0
);
5471 wxPy_END_ALLOW_THREADS
;
5472 } _resultobj
= Py_BuildValue("i",_result
);
5476 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
5477 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5478 PyObject
* _resultobj
;
5479 wxPyProcess
* _arg0
;
5480 PyObject
* _argo0
= 0;
5481 char *_kwnames
[] = { "self", NULL
};
5484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
5487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
5494 wxPy_BEGIN_ALLOW_THREADS
;
5495 wxProcess_Detach(_arg0
);
5497 wxPy_END_ALLOW_THREADS
;
5498 } Py_INCREF(Py_None
);
5499 _resultobj
= Py_None
;
5503 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
5504 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
* _resultobj
;
5506 wxInputStream
* _result
;
5507 wxPyProcess
* _arg0
;
5508 PyObject
* _argo0
= 0;
5509 char *_kwnames
[] = { "self", NULL
};
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
5515 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5516 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5517 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
5522 wxPy_BEGIN_ALLOW_THREADS
;
5523 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
5525 wxPy_END_ALLOW_THREADS
;
5527 wxPyInputStream
* _ptr
= NULL
;
5530 _ptr
= new wxPyInputStream(_result
);
5532 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
5537 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
5538 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
* _resultobj
;
5540 wxInputStream
* _result
;
5541 wxPyProcess
* _arg0
;
5542 PyObject
* _argo0
= 0;
5543 char *_kwnames
[] = { "self", NULL
};
5546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
5549 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5550 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5551 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
5556 wxPy_BEGIN_ALLOW_THREADS
;
5557 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
5559 wxPy_END_ALLOW_THREADS
;
5561 wxPyInputStream
* _ptr
= NULL
;
5564 _ptr
= new wxPyInputStream(_result
);
5566 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
5571 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
5572 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
* _resultobj
;
5574 wxOutputStream
* _result
;
5575 wxPyProcess
* _arg0
;
5576 PyObject
* _argo0
= 0;
5577 char *_kwnames
[] = { "self", NULL
};
5581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
5584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
5591 wxPy_BEGIN_ALLOW_THREADS
;
5592 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
5594 wxPy_END_ALLOW_THREADS
;
5596 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
5597 _resultobj
= Py_BuildValue("s",_ptemp
);
5600 _resultobj
= Py_None
;
5605 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
5606 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5607 PyObject
* _resultobj
;
5608 wxPyProcess
* _arg0
;
5609 PyObject
* _argo0
= 0;
5610 char *_kwnames
[] = { "self", NULL
};
5613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
5616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
5623 wxPy_BEGIN_ALLOW_THREADS
;
5624 wxProcess_CloseOutput(_arg0
);
5626 wxPy_END_ALLOW_THREADS
;
5627 } Py_INCREF(Py_None
);
5628 _resultobj
= Py_None
;
5632 static void *SwigwxJoystickTowxObject(void *ptr
) {
5635 src
= (wxJoystick
*) ptr
;
5636 dest
= (wxObject
*) src
;
5637 return (void *) dest
;
5640 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
5641 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
* _resultobj
;
5643 wxJoystick
* _result
;
5644 int _arg0
= (int ) wxJOYSTICK1
;
5645 char *_kwnames
[] = { "joystick", NULL
};
5649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
5652 wxPy_BEGIN_ALLOW_THREADS
;
5653 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
5655 wxPy_END_ALLOW_THREADS
;
5657 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
5658 _resultobj
= Py_BuildValue("s",_ptemp
);
5661 _resultobj
= Py_None
;
5666 #define delete_wxJoystick(_swigobj) (delete _swigobj)
5667 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
* _resultobj
;
5670 PyObject
* _argo0
= 0;
5671 char *_kwnames
[] = { "self", NULL
};
5674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
5677 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5678 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5679 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
5684 wxPy_BEGIN_ALLOW_THREADS
;
5685 delete_wxJoystick(_arg0
);
5687 wxPy_END_ALLOW_THREADS
;
5688 } Py_INCREF(Py_None
);
5689 _resultobj
= Py_None
;
5693 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
5694 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5695 PyObject
* _resultobj
;
5698 PyObject
* _argo0
= 0;
5699 char *_kwnames
[] = { "self", NULL
};
5703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
5706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
5713 wxPy_BEGIN_ALLOW_THREADS
;
5714 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
5716 wxPy_END_ALLOW_THREADS
;
5717 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5718 _resultobj
= Py_BuildValue("s",_ptemp
);
5722 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
5723 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
* _resultobj
;
5727 PyObject
* _argo0
= 0;
5728 char *_kwnames
[] = { "self", NULL
};
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
5734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
5741 wxPy_BEGIN_ALLOW_THREADS
;
5742 _result
= (int )wxJoystick_GetZPosition(_arg0
);
5744 wxPy_END_ALLOW_THREADS
;
5745 } _resultobj
= Py_BuildValue("i",_result
);
5749 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
5750 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
* _resultobj
;
5754 PyObject
* _argo0
= 0;
5755 char *_kwnames
[] = { "self", NULL
};
5758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
5761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
5768 wxPy_BEGIN_ALLOW_THREADS
;
5769 _result
= (int )wxJoystick_GetButtonState(_arg0
);
5771 wxPy_END_ALLOW_THREADS
;
5772 } _resultobj
= Py_BuildValue("i",_result
);
5776 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
5777 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
* _resultobj
;
5781 PyObject
* _argo0
= 0;
5782 char *_kwnames
[] = { "self", NULL
};
5785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
5788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
5795 wxPy_BEGIN_ALLOW_THREADS
;
5796 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
5798 wxPy_END_ALLOW_THREADS
;
5799 } _resultobj
= Py_BuildValue("i",_result
);
5803 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
5804 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5805 PyObject
* _resultobj
;
5808 PyObject
* _argo0
= 0;
5809 char *_kwnames
[] = { "self", NULL
};
5812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
5815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
5822 wxPy_BEGIN_ALLOW_THREADS
;
5823 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
5825 wxPy_END_ALLOW_THREADS
;
5826 } _resultobj
= Py_BuildValue("i",_result
);
5830 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
5831 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5832 PyObject
* _resultobj
;
5835 PyObject
* _argo0
= 0;
5836 char *_kwnames
[] = { "self", NULL
};
5839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
5842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
5849 wxPy_BEGIN_ALLOW_THREADS
;
5850 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
5852 wxPy_END_ALLOW_THREADS
;
5853 } _resultobj
= Py_BuildValue("i",_result
);
5857 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
5858 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
* _resultobj
;
5862 PyObject
* _argo0
= 0;
5863 char *_kwnames
[] = { "self", NULL
};
5866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
5869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
5876 wxPy_BEGIN_ALLOW_THREADS
;
5877 _result
= (int )wxJoystick_GetUPosition(_arg0
);
5879 wxPy_END_ALLOW_THREADS
;
5880 } _resultobj
= Py_BuildValue("i",_result
);
5884 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
5885 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5886 PyObject
* _resultobj
;
5889 PyObject
* _argo0
= 0;
5890 char *_kwnames
[] = { "self", NULL
};
5893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
5896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
5903 wxPy_BEGIN_ALLOW_THREADS
;
5904 _result
= (int )wxJoystick_GetVPosition(_arg0
);
5906 wxPy_END_ALLOW_THREADS
;
5907 } _resultobj
= Py_BuildValue("i",_result
);
5911 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
5912 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5913 PyObject
* _resultobj
;
5916 PyObject
* _argo0
= 0;
5917 char *_kwnames
[] = { "self", NULL
};
5920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
5923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
5930 wxPy_BEGIN_ALLOW_THREADS
;
5931 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
5933 wxPy_END_ALLOW_THREADS
;
5934 } _resultobj
= Py_BuildValue("i",_result
);
5938 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
5939 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
* _resultobj
;
5943 PyObject
* _argo0
= 0;
5944 char *_kwnames
[] = { "self","threshold", NULL
};
5947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
5950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
5957 wxPy_BEGIN_ALLOW_THREADS
;
5958 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
5960 wxPy_END_ALLOW_THREADS
;
5961 } Py_INCREF(Py_None
);
5962 _resultobj
= Py_None
;
5966 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
5967 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5968 PyObject
* _resultobj
;
5971 PyObject
* _argo0
= 0;
5972 char *_kwnames
[] = { "self", NULL
};
5975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
5978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
5985 wxPy_BEGIN_ALLOW_THREADS
;
5986 _result
= (bool )wxJoystick_IsOk(_arg0
);
5988 wxPy_END_ALLOW_THREADS
;
5989 } _resultobj
= Py_BuildValue("i",_result
);
5993 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
5994 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
* _resultobj
;
5998 PyObject
* _argo0
= 0;
5999 char *_kwnames
[] = { "self", NULL
};
6002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6012 wxPy_BEGIN_ALLOW_THREADS
;
6013 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6015 wxPy_END_ALLOW_THREADS
;
6016 } _resultobj
= Py_BuildValue("i",_result
);
6020 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6021 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6022 PyObject
* _resultobj
;
6025 PyObject
* _argo0
= 0;
6026 char *_kwnames
[] = { "self", NULL
};
6029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6032 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6033 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6034 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6039 wxPy_BEGIN_ALLOW_THREADS
;
6040 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6042 wxPy_END_ALLOW_THREADS
;
6043 } _resultobj
= Py_BuildValue("i",_result
);
6047 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6048 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
* _resultobj
;
6052 PyObject
* _argo0
= 0;
6053 char *_kwnames
[] = { "self", NULL
};
6056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6066 wxPy_BEGIN_ALLOW_THREADS
;
6067 _result
= (int )wxJoystick_GetProductId(_arg0
);
6069 wxPy_END_ALLOW_THREADS
;
6070 } _resultobj
= Py_BuildValue("i",_result
);
6074 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6075 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
* _resultobj
;
6079 PyObject
* _argo0
= 0;
6080 char *_kwnames
[] = { "self", NULL
};
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6093 wxPy_BEGIN_ALLOW_THREADS
;
6094 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6096 wxPy_END_ALLOW_THREADS
;
6098 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6106 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6107 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6108 PyObject
* _resultobj
;
6111 PyObject
* _argo0
= 0;
6112 char *_kwnames
[] = { "self", NULL
};
6115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6125 wxPy_BEGIN_ALLOW_THREADS
;
6126 _result
= (int )wxJoystick_GetXMin(_arg0
);
6128 wxPy_END_ALLOW_THREADS
;
6129 } _resultobj
= Py_BuildValue("i",_result
);
6133 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6134 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
* _resultobj
;
6138 PyObject
* _argo0
= 0;
6139 char *_kwnames
[] = { "self", NULL
};
6142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6152 wxPy_BEGIN_ALLOW_THREADS
;
6153 _result
= (int )wxJoystick_GetYMin(_arg0
);
6155 wxPy_END_ALLOW_THREADS
;
6156 } _resultobj
= Py_BuildValue("i",_result
);
6160 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6161 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
* _resultobj
;
6165 PyObject
* _argo0
= 0;
6166 char *_kwnames
[] = { "self", NULL
};
6169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6179 wxPy_BEGIN_ALLOW_THREADS
;
6180 _result
= (int )wxJoystick_GetZMin(_arg0
);
6182 wxPy_END_ALLOW_THREADS
;
6183 } _resultobj
= Py_BuildValue("i",_result
);
6187 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6188 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6189 PyObject
* _resultobj
;
6192 PyObject
* _argo0
= 0;
6193 char *_kwnames
[] = { "self", NULL
};
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6206 wxPy_BEGIN_ALLOW_THREADS
;
6207 _result
= (int )wxJoystick_GetXMax(_arg0
);
6209 wxPy_END_ALLOW_THREADS
;
6210 } _resultobj
= Py_BuildValue("i",_result
);
6214 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6215 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6216 PyObject
* _resultobj
;
6219 PyObject
* _argo0
= 0;
6220 char *_kwnames
[] = { "self", NULL
};
6223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6233 wxPy_BEGIN_ALLOW_THREADS
;
6234 _result
= (int )wxJoystick_GetYMax(_arg0
);
6236 wxPy_END_ALLOW_THREADS
;
6237 } _resultobj
= Py_BuildValue("i",_result
);
6241 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6242 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6243 PyObject
* _resultobj
;
6246 PyObject
* _argo0
= 0;
6247 char *_kwnames
[] = { "self", NULL
};
6250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
6253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6260 wxPy_BEGIN_ALLOW_THREADS
;
6261 _result
= (int )wxJoystick_GetZMax(_arg0
);
6263 wxPy_END_ALLOW_THREADS
;
6264 } _resultobj
= Py_BuildValue("i",_result
);
6268 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6269 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
* _resultobj
;
6273 PyObject
* _argo0
= 0;
6274 char *_kwnames
[] = { "self", NULL
};
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
6280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
6287 wxPy_BEGIN_ALLOW_THREADS
;
6288 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
6290 wxPy_END_ALLOW_THREADS
;
6291 } _resultobj
= Py_BuildValue("i",_result
);
6295 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
6296 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6297 PyObject
* _resultobj
;
6300 PyObject
* _argo0
= 0;
6301 char *_kwnames
[] = { "self", NULL
};
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
6307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
6314 wxPy_BEGIN_ALLOW_THREADS
;
6315 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
6317 wxPy_END_ALLOW_THREADS
;
6318 } _resultobj
= Py_BuildValue("i",_result
);
6322 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
6323 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
* _resultobj
;
6327 PyObject
* _argo0
= 0;
6328 char *_kwnames
[] = { "self", NULL
};
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
6334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
6341 wxPy_BEGIN_ALLOW_THREADS
;
6342 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
6344 wxPy_END_ALLOW_THREADS
;
6345 } _resultobj
= Py_BuildValue("i",_result
);
6349 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
6350 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6351 PyObject
* _resultobj
;
6354 PyObject
* _argo0
= 0;
6355 char *_kwnames
[] = { "self", NULL
};
6358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
6361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
6368 wxPy_BEGIN_ALLOW_THREADS
;
6369 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
6371 wxPy_END_ALLOW_THREADS
;
6372 } _resultobj
= Py_BuildValue("i",_result
);
6376 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
6377 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
* _resultobj
;
6381 PyObject
* _argo0
= 0;
6382 char *_kwnames
[] = { "self", NULL
};
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
6388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
6395 wxPy_BEGIN_ALLOW_THREADS
;
6396 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
6398 wxPy_END_ALLOW_THREADS
;
6399 } _resultobj
= Py_BuildValue("i",_result
);
6403 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
6404 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
* _resultobj
;
6408 PyObject
* _argo0
= 0;
6409 char *_kwnames
[] = { "self", NULL
};
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
6415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
6422 wxPy_BEGIN_ALLOW_THREADS
;
6423 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
6425 wxPy_END_ALLOW_THREADS
;
6426 } _resultobj
= Py_BuildValue("i",_result
);
6430 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
6431 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
* _resultobj
;
6435 PyObject
* _argo0
= 0;
6436 char *_kwnames
[] = { "self", NULL
};
6439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
6442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
6449 wxPy_BEGIN_ALLOW_THREADS
;
6450 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
6452 wxPy_END_ALLOW_THREADS
;
6453 } _resultobj
= Py_BuildValue("i",_result
);
6457 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
6458 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
* _resultobj
;
6462 PyObject
* _argo0
= 0;
6463 char *_kwnames
[] = { "self", NULL
};
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
6469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
6476 wxPy_BEGIN_ALLOW_THREADS
;
6477 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
6479 wxPy_END_ALLOW_THREADS
;
6480 } _resultobj
= Py_BuildValue("i",_result
);
6484 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
6485 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6486 PyObject
* _resultobj
;
6489 PyObject
* _argo0
= 0;
6490 char *_kwnames
[] = { "self", NULL
};
6493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
6496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
6503 wxPy_BEGIN_ALLOW_THREADS
;
6504 _result
= (int )wxJoystick_GetUMin(_arg0
);
6506 wxPy_END_ALLOW_THREADS
;
6507 } _resultobj
= Py_BuildValue("i",_result
);
6511 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
6512 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6513 PyObject
* _resultobj
;
6516 PyObject
* _argo0
= 0;
6517 char *_kwnames
[] = { "self", NULL
};
6520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
6523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
6530 wxPy_BEGIN_ALLOW_THREADS
;
6531 _result
= (int )wxJoystick_GetUMax(_arg0
);
6533 wxPy_END_ALLOW_THREADS
;
6534 } _resultobj
= Py_BuildValue("i",_result
);
6538 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
6539 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
* _resultobj
;
6543 PyObject
* _argo0
= 0;
6544 char *_kwnames
[] = { "self", NULL
};
6547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
6550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
6557 wxPy_BEGIN_ALLOW_THREADS
;
6558 _result
= (int )wxJoystick_GetVMin(_arg0
);
6560 wxPy_END_ALLOW_THREADS
;
6561 } _resultobj
= Py_BuildValue("i",_result
);
6565 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
6566 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
* _resultobj
;
6570 PyObject
* _argo0
= 0;
6571 char *_kwnames
[] = { "self", NULL
};
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
6577 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6578 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6579 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
6584 wxPy_BEGIN_ALLOW_THREADS
;
6585 _result
= (int )wxJoystick_GetVMax(_arg0
);
6587 wxPy_END_ALLOW_THREADS
;
6588 } _resultobj
= Py_BuildValue("i",_result
);
6592 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
6593 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
* _resultobj
;
6597 PyObject
* _argo0
= 0;
6598 char *_kwnames
[] = { "self", NULL
};
6601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
6604 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6605 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6606 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
6611 wxPy_BEGIN_ALLOW_THREADS
;
6612 _result
= (bool )wxJoystick_HasRudder(_arg0
);
6614 wxPy_END_ALLOW_THREADS
;
6615 } _resultobj
= Py_BuildValue("i",_result
);
6619 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
6620 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
* _resultobj
;
6624 PyObject
* _argo0
= 0;
6625 char *_kwnames
[] = { "self", NULL
};
6628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
6631 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6632 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6633 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
6638 wxPy_BEGIN_ALLOW_THREADS
;
6639 _result
= (bool )wxJoystick_HasZ(_arg0
);
6641 wxPy_END_ALLOW_THREADS
;
6642 } _resultobj
= Py_BuildValue("i",_result
);
6646 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
6647 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
* _resultobj
;
6651 PyObject
* _argo0
= 0;
6652 char *_kwnames
[] = { "self", NULL
};
6655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
6658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
6665 wxPy_BEGIN_ALLOW_THREADS
;
6666 _result
= (bool )wxJoystick_HasU(_arg0
);
6668 wxPy_END_ALLOW_THREADS
;
6669 } _resultobj
= Py_BuildValue("i",_result
);
6673 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
6674 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
* _resultobj
;
6678 PyObject
* _argo0
= 0;
6679 char *_kwnames
[] = { "self", NULL
};
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
6685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
6692 wxPy_BEGIN_ALLOW_THREADS
;
6693 _result
= (bool )wxJoystick_HasV(_arg0
);
6695 wxPy_END_ALLOW_THREADS
;
6696 } _resultobj
= Py_BuildValue("i",_result
);
6700 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
6701 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
* _resultobj
;
6705 PyObject
* _argo0
= 0;
6706 char *_kwnames
[] = { "self", NULL
};
6709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
6712 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6713 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6714 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
6719 wxPy_BEGIN_ALLOW_THREADS
;
6720 _result
= (bool )wxJoystick_HasPOV(_arg0
);
6722 wxPy_END_ALLOW_THREADS
;
6723 } _resultobj
= Py_BuildValue("i",_result
);
6727 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
6728 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6729 PyObject
* _resultobj
;
6732 PyObject
* _argo0
= 0;
6733 char *_kwnames
[] = { "self", NULL
};
6736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
6739 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6740 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
6746 wxPy_BEGIN_ALLOW_THREADS
;
6747 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
6749 wxPy_END_ALLOW_THREADS
;
6750 } _resultobj
= Py_BuildValue("i",_result
);
6754 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
6755 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6756 PyObject
* _resultobj
;
6759 PyObject
* _argo0
= 0;
6760 char *_kwnames
[] = { "self", NULL
};
6763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
6766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
6773 wxPy_BEGIN_ALLOW_THREADS
;
6774 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
6776 wxPy_END_ALLOW_THREADS
;
6777 } _resultobj
= Py_BuildValue("i",_result
);
6781 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
6782 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
* _resultobj
;
6787 int _arg2
= (int ) 0;
6788 PyObject
* _argo0
= 0;
6789 PyObject
* _argo1
= 0;
6790 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
6793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
6803 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6804 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
6810 wxPy_BEGIN_ALLOW_THREADS
;
6811 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
6813 wxPy_END_ALLOW_THREADS
;
6814 } _resultobj
= Py_BuildValue("i",_result
);
6818 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
6819 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6820 PyObject
* _resultobj
;
6823 PyObject
* _argo0
= 0;
6824 char *_kwnames
[] = { "self", NULL
};
6827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
6830 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6831 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
6837 wxPy_BEGIN_ALLOW_THREADS
;
6838 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
6840 wxPy_END_ALLOW_THREADS
;
6841 } _resultobj
= Py_BuildValue("i",_result
);
6845 static void *SwigwxWaveTowxObject(void *ptr
) {
6848 src
= (wxWave
*) ptr
;
6849 dest
= (wxObject
*) src
;
6850 return (void *) dest
;
6853 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
6854 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
* _resultobj
;
6858 bool _arg1
= (bool ) FALSE
;
6859 PyObject
* _obj0
= 0;
6860 int tempbool1
= (int) FALSE
;
6861 char *_kwnames
[] = { "fileName","isResource", NULL
};
6865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
6868 #if PYTHON_API_VERSION >= 1009
6869 char* tmpPtr
; int tmpSize
;
6870 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
6871 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6874 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
6876 _arg0
= new wxString(tmpPtr
, tmpSize
);
6878 if (!PyString_Check(_obj0
)) {
6879 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6882 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
6885 _arg1
= (bool ) tempbool1
;
6887 wxPy_BEGIN_ALLOW_THREADS
;
6888 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
6890 wxPy_END_ALLOW_THREADS
;
6892 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
6893 _resultobj
= Py_BuildValue("s",_ptemp
);
6896 _resultobj
= Py_None
;
6905 #define delete_wxWave(_swigobj) (delete _swigobj)
6906 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
* _resultobj
;
6909 PyObject
* _argo0
= 0;
6910 char *_kwnames
[] = { "self", NULL
};
6913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
6916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
6918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
6923 wxPy_BEGIN_ALLOW_THREADS
;
6924 delete_wxWave(_arg0
);
6926 wxPy_END_ALLOW_THREADS
;
6927 } Py_INCREF(Py_None
);
6928 _resultobj
= Py_None
;
6932 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
6933 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6934 PyObject
* _resultobj
;
6937 PyObject
* _argo0
= 0;
6938 char *_kwnames
[] = { "self", NULL
};
6941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
6944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
6946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
6951 wxPy_BEGIN_ALLOW_THREADS
;
6952 _result
= (bool )wxWave_IsOk(_arg0
);
6954 wxPy_END_ALLOW_THREADS
;
6955 } _resultobj
= Py_BuildValue("i",_result
);
6959 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
6960 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
* _resultobj
;
6964 bool _arg1
= (bool ) TRUE
;
6965 bool _arg2
= (bool ) FALSE
;
6966 PyObject
* _argo0
= 0;
6967 int tempbool1
= (int) TRUE
;
6968 int tempbool2
= (int) FALSE
;
6969 char *_kwnames
[] = { "self","async","looped", NULL
};
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
6977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
6981 _arg1
= (bool ) tempbool1
;
6982 _arg2
= (bool ) tempbool2
;
6984 wxPy_BEGIN_ALLOW_THREADS
;
6985 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
6987 wxPy_END_ALLOW_THREADS
;
6988 } _resultobj
= Py_BuildValue("i",_result
);
6992 static PyMethodDef misc2cMethods
[] = {
6993 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
6994 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
6995 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
6996 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
6997 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
6998 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
6999 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
7000 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
7001 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
7002 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
7003 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
7004 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
7005 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
7006 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
7007 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
7008 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
7009 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
7010 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
7011 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
7012 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
7013 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
7014 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
7015 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
7016 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
7017 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
7018 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
7019 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
7020 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
7021 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
7022 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
7023 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
7024 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
7025 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
7026 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
7027 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
7028 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7029 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
7030 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
7031 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
7032 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
7033 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
7034 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
7035 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
7036 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
7037 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
7038 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7039 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7040 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7041 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
7042 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
7043 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
7044 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
7045 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
7046 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
7047 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
7048 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
7049 { "wxProcess__setSelf", (PyCFunction
) _wrap_wxProcess__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
7050 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7051 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
7052 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
7053 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
7054 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
7055 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
7056 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
7057 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
7058 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
7059 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
7060 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
7061 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
7062 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
7063 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
7064 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
7065 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
7066 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
7067 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
7068 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
7069 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
7070 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7071 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7072 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7073 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7074 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7075 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7076 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
7077 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7078 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
7079 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
7080 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
7081 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
7082 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
7083 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
7084 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
7085 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
7086 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
7087 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7088 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
7089 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
7090 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
7091 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
7092 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
7093 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
7094 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
7095 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
7096 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
7097 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
7098 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
7099 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
7100 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
7101 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
7102 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
7103 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
7104 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
7105 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7106 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
7107 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
7108 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7109 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
7110 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
7111 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7112 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
7113 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
7114 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
7115 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
7116 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7117 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7118 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
7119 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
7120 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
7121 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
7122 { "wxFontEnumerator__setSelf", (PyCFunction
) _wrap_wxFontEnumerator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
7123 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
7124 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
7125 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
7126 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
7127 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
7128 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
7129 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
7130 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
7131 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7132 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
7133 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
7134 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7135 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
7136 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
7137 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7138 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
7139 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
7140 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
7141 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7142 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7143 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
7144 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
7145 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
7146 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
7147 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
7148 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
7149 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
7150 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
7151 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7152 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
7153 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
7154 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
7155 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
7156 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
7157 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
7158 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
7159 { "wxDragListItem", (PyCFunction
) _wrap_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
7160 { "wxDragTreeItem", (PyCFunction
) _wrap_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
7161 { "wxDragString", (PyCFunction
) _wrap_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
7162 { "wxDragIcon", (PyCFunction
) _wrap_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
7163 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7164 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
7165 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
7166 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
7167 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
7168 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
7169 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
7170 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
7171 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
7172 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
7173 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
7174 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
7175 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
7176 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
7177 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
7178 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
7179 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
7180 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
7181 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
7182 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7183 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
7184 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
7185 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
7186 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
7187 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
7188 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7189 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
7190 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
7191 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
7192 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
7193 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
7194 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
7195 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
7196 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
7197 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
7198 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
7199 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
7200 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
7201 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7202 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
7203 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
7204 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
7205 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7206 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7207 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
7214 * This table is used by the pointer type-checker
7216 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7217 { "_wxEvent","_class_wxProcessEvent",SwigwxProcessEventTowxEvent
},
7218 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
7219 { "_signed_long","_long",0},
7220 { "_wxPrintQuality","_wxCoord",0},
7221 { "_wxPrintQuality","_int",0},
7222 { "_wxPrintQuality","_signed_int",0},
7223 { "_wxPrintQuality","_unsigned_int",0},
7224 { "_wxPrintQuality","_wxWindowID",0},
7225 { "_wxPrintQuality","_uint",0},
7226 { "_wxPrintQuality","_EBool",0},
7227 { "_wxPrintQuality","_size_t",0},
7228 { "_wxPrintQuality","_time_t",0},
7229 { "_class_wxEvtHandler","_class_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7230 { "_class_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7231 { "_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog
},
7232 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
7233 { "_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog
},
7234 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
7235 { "_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7236 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7237 { "_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog
},
7238 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
7239 { "_byte","_unsigned_char",0},
7240 { "_long","_unsigned_long",0},
7241 { "_long","_signed_long",0},
7242 { "_class_wxObject","_class_wxWave",SwigwxWaveTowxObject
},
7243 { "_class_wxObject","_wxWave",SwigwxWaveTowxObject
},
7244 { "_class_wxObject","_class_wxJoystick",SwigwxJoystickTowxObject
},
7245 { "_class_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
7246 { "_class_wxObject","_class_wxPyProcess",SwigwxPyProcessTowxObject
},
7247 { "_class_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
7248 { "_class_wxObject","_class_wxProcessEvent",SwigwxProcessEventTowxObject
},
7249 { "_class_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
7250 { "_class_wxObject","_class_wxPyTimer",SwigwxPyTimerTowxObject
},
7251 { "_class_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
7252 { "_class_wxObject","_class_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
7253 { "_class_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
7254 { "_class_wxObject","_class_wxToolTip",SwigwxToolTipTowxObject
},
7255 { "_class_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
7256 { "_size_t","_wxCoord",0},
7257 { "_size_t","_wxPrintQuality",0},
7258 { "_size_t","_time_t",0},
7259 { "_size_t","_unsigned_int",0},
7260 { "_size_t","_int",0},
7261 { "_size_t","_wxWindowID",0},
7262 { "_size_t","_uint",0},
7263 { "_uint","_wxCoord",0},
7264 { "_uint","_wxPrintQuality",0},
7265 { "_uint","_time_t",0},
7266 { "_uint","_size_t",0},
7267 { "_uint","_unsigned_int",0},
7268 { "_uint","_int",0},
7269 { "_uint","_wxWindowID",0},
7270 { "_wxChar","_char",0},
7271 { "_class_wxEvent","_class_wxProcessEvent",SwigwxProcessEventTowxEvent
},
7272 { "_class_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
7273 { "_char","_wxChar",0},
7274 { "_EBool","_wxCoord",0},
7275 { "_EBool","_wxPrintQuality",0},
7276 { "_EBool","_signed_int",0},
7277 { "_EBool","_int",0},
7278 { "_EBool","_wxWindowID",0},
7279 { "_unsigned_long","_long",0},
7280 { "_signed_int","_wxCoord",0},
7281 { "_signed_int","_wxPrintQuality",0},
7282 { "_signed_int","_EBool",0},
7283 { "_signed_int","_wxWindowID",0},
7284 { "_signed_int","_int",0},
7285 { "_WXTYPE","_short",0},
7286 { "_WXTYPE","_signed_short",0},
7287 { "_WXTYPE","_unsigned_short",0},
7288 { "_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7289 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7290 { "_unsigned_short","_WXTYPE",0},
7291 { "_unsigned_short","_short",0},
7292 { "_wxObject","_class_wxWave",SwigwxWaveTowxObject
},
7293 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
7294 { "_wxObject","_class_wxJoystick",SwigwxJoystickTowxObject
},
7295 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
7296 { "_wxObject","_class_wxPyProcess",SwigwxPyProcessTowxObject
},
7297 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
7298 { "_wxObject","_class_wxProcessEvent",SwigwxProcessEventTowxObject
},
7299 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
7300 { "_wxObject","_class_wxPyTimer",SwigwxPyTimerTowxObject
},
7301 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
7302 { "_wxObject","_class_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
7303 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
7304 { "_wxObject","_class_wxToolTip",SwigwxToolTipTowxObject
},
7305 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
7306 { "_signed_short","_WXTYPE",0},
7307 { "_signed_short","_short",0},
7308 { "_class_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog
},
7309 { "_class_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
7310 { "_class_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog
},
7311 { "_class_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
7312 { "_class_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7313 { "_class_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7314 { "_class_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog
},
7315 { "_class_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
7316 { "_unsigned_char","_byte",0},
7317 { "_unsigned_int","_wxCoord",0},
7318 { "_unsigned_int","_wxPrintQuality",0},
7319 { "_unsigned_int","_time_t",0},
7320 { "_unsigned_int","_size_t",0},
7321 { "_unsigned_int","_uint",0},
7322 { "_unsigned_int","_wxWindowID",0},
7323 { "_unsigned_int","_int",0},
7324 { "_short","_WXTYPE",0},
7325 { "_short","_unsigned_short",0},
7326 { "_short","_signed_short",0},
7327 { "_wxWindowID","_wxCoord",0},
7328 { "_wxWindowID","_wxPrintQuality",0},
7329 { "_wxWindowID","_time_t",0},
7330 { "_wxWindowID","_size_t",0},
7331 { "_wxWindowID","_EBool",0},
7332 { "_wxWindowID","_uint",0},
7333 { "_wxWindowID","_int",0},
7334 { "_wxWindowID","_signed_int",0},
7335 { "_wxWindowID","_unsigned_int",0},
7336 { "_int","_wxCoord",0},
7337 { "_int","_wxPrintQuality",0},
7338 { "_int","_time_t",0},
7339 { "_int","_size_t",0},
7340 { "_int","_EBool",0},
7341 { "_int","_uint",0},
7342 { "_int","_wxWindowID",0},
7343 { "_int","_unsigned_int",0},
7344 { "_int","_signed_int",0},
7345 { "_time_t","_wxCoord",0},
7346 { "_time_t","_wxPrintQuality",0},
7347 { "_time_t","_unsigned_int",0},
7348 { "_time_t","_int",0},
7349 { "_time_t","_wxWindowID",0},
7350 { "_time_t","_uint",0},
7351 { "_time_t","_size_t",0},
7352 { "_wxCoord","_int",0},
7353 { "_wxCoord","_signed_int",0},
7354 { "_wxCoord","_unsigned_int",0},
7355 { "_wxCoord","_wxWindowID",0},
7356 { "_wxCoord","_uint",0},
7357 { "_wxCoord","_EBool",0},
7358 { "_wxCoord","_size_t",0},
7359 { "_wxCoord","_time_t",0},
7360 { "_wxCoord","_wxPrintQuality",0},
7361 { "_class_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7362 { "_class_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7363 { "_wxEvtHandler","_class_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7364 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7367 static PyObject
*SWIG_globals
;
7371 SWIGEXPORT(void) initmisc2c() {
7373 SWIG_globals
= SWIG_newvarlink();
7374 m
= Py_InitModule("misc2c", misc2cMethods
);
7375 d
= PyModule_GetDict(m
);
7376 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
7377 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
7378 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
7379 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
7380 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
7381 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
7382 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
7383 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
7384 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
7385 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
7386 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
7387 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
7388 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
7389 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
7390 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
7391 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
7392 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
7393 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
7394 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
7395 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
7396 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
7397 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
7398 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
7399 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
7400 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
7401 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
7402 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
7403 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
7404 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
7405 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
7406 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
7407 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
7408 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
7409 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
7410 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
7411 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
7412 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
7413 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
7414 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
7415 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
7416 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
7417 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
7418 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
7419 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
7420 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
7421 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
7422 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
7423 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
7424 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
7425 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
7426 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
7427 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
7428 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
7429 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
7430 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
7431 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
7432 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
7433 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
7434 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
7435 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
7436 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
7437 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
7438 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
7439 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
7440 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
7441 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
7442 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
7443 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
7444 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
7445 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
7446 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
7447 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
7448 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
7449 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
7450 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
7451 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
7452 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
7453 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
7454 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
7455 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
7456 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
7457 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
7458 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
7459 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
7460 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
7461 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
7462 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
7463 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
7464 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
7465 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
7466 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
7467 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
7468 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
7469 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
7470 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
7471 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
7472 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
7474 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
7475 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
7476 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
7479 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7480 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);