2 * FILE : src/msw/misc2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmisc2c
56 #define SWIG_name "misc2c"
59 #include <wx/resource.h>
60 #include <wx/tooltip.h>
62 #include <wx/fontenum.h>
63 #include <wx/tipdlg.h>
64 #include <wx/process.h>
66 #if wxUSE_JOYSTICK || defined(__WXMSW__)
67 #include <wx/joystick.h>
70 #if wxUSE_WAVE || defined(__WXMSW__)
75 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
81 } else if (target
== Py_None
) {
85 if (!PyTuple_Check(target
)) {
87 target
= PyTuple_New(1);
88 PyTuple_SetItem(target
, 0, o2
);
91 PyTuple_SetItem(o3
, 0, o
);
94 target
= PySequence_Concat(o2
, o3
);
101 #if PYTHON_API_VERSION >= 1009
102 static char* wxStringErrorMsg
= "String or Unicode type required";
104 static char* wxStringErrorMsg
= "string type is required for parameter";
107 static wxString
wxPyEmptyStr("");
110 wxColour
wxSystemSettings_GetSystemColour(int index
) {
111 return wxSystemSettings::GetSystemColour(index
);
114 wxFont
wxSystemSettings_GetSystemFont(int index
) {
115 return wxSystemSettings::GetSystemFont(index
);
118 int wxSystemSettings_GetSystemMetric(int index
) {
119 return wxSystemSettings::GetSystemMetric(index
);
122 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_wxCheckForInterrupt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1395 PyObject
* _resultobj
;
1398 PyObject
* _argo0
= 0;
1399 char *_kwnames
[] = { "wnd", NULL
};
1402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckForInterrupt",_kwnames
,&_argo0
))
1405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckForInterrupt. Expected _wxWindow_p.");
1412 wxPy_BEGIN_ALLOW_THREADS
;
1413 _result
= (bool )wxCheckForInterrupt(_arg0
);
1415 wxPy_END_ALLOW_THREADS
;
1416 } _resultobj
= Py_BuildValue("i",_result
);
1420 static PyObject
*_wrap_wxFlushEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1421 PyObject
* _resultobj
;
1422 char *_kwnames
[] = { NULL
};
1425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFlushEvents",_kwnames
))
1428 wxPy_BEGIN_ALLOW_THREADS
;
1431 wxPy_END_ALLOW_THREADS
;
1432 } Py_INCREF(Py_None
);
1433 _resultobj
= Py_None
;
1437 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1438 PyObject
* _resultobj
;
1442 char *_kwnames
[] = { "name","value", NULL
};
1445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1448 wxPy_BEGIN_ALLOW_THREADS
;
1449 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1451 wxPy_END_ALLOW_THREADS
;
1452 } _resultobj
= Py_BuildValue("i",_result
);
1456 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1457 PyObject
* _resultobj
;
1458 char *_kwnames
[] = { NULL
};
1461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1464 wxPy_BEGIN_ALLOW_THREADS
;
1467 wxPy_END_ALLOW_THREADS
;
1468 } Py_INCREF(Py_None
);
1469 _resultobj
= Py_None
;
1473 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1474 PyObject
* _resultobj
;
1477 char *_kwnames
[] = { "resource", NULL
};
1481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1484 wxPy_BEGIN_ALLOW_THREADS
;
1485 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1487 wxPy_END_ALLOW_THREADS
;
1488 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1489 _resultobj
= Py_BuildValue("s",_ptemp
);
1493 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1494 PyObject
* _resultobj
;
1497 char *_kwnames
[] = { "resource", NULL
};
1501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1504 wxPy_BEGIN_ALLOW_THREADS
;
1505 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1507 wxPy_END_ALLOW_THREADS
;
1508 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1509 _resultobj
= Py_BuildValue("s",_ptemp
);
1513 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1514 PyObject
* _resultobj
;
1515 wxMenuBar
* _result
;
1517 char *_kwnames
[] = { "resource", NULL
};
1520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1523 wxPy_BEGIN_ALLOW_THREADS
;
1524 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1526 wxPy_END_ALLOW_THREADS
;
1527 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1531 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1532 PyObject
* _resultobj
;
1535 char *_kwnames
[] = { "name", NULL
};
1538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1541 wxPy_BEGIN_ALLOW_THREADS
;
1542 _result
= (int )wxResourceGetIdentifier(_arg0
);
1544 wxPy_END_ALLOW_THREADS
;
1545 } _resultobj
= Py_BuildValue("i",_result
);
1549 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1550 PyObject
* _resultobj
;
1553 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1554 PyObject
* _argo1
= 0;
1555 char *_kwnames
[] = { "resource","table", NULL
};
1558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1561 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1562 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1568 wxPy_BEGIN_ALLOW_THREADS
;
1569 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1571 wxPy_END_ALLOW_THREADS
;
1572 } _resultobj
= Py_BuildValue("i",_result
);
1576 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1577 PyObject
* _resultobj
;
1580 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1581 PyObject
* _argo1
= 0;
1582 char *_kwnames
[] = { "filename","table", NULL
};
1585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1588 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1589 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1595 wxPy_BEGIN_ALLOW_THREADS
;
1596 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1598 wxPy_END_ALLOW_THREADS
;
1599 } _resultobj
= Py_BuildValue("i",_result
);
1603 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1604 PyObject
* _resultobj
;
1607 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1608 PyObject
* _argo1
= 0;
1609 char *_kwnames
[] = { "resource","table", NULL
};
1612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1615 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1616 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1622 wxPy_BEGIN_ALLOW_THREADS
;
1623 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1625 wxPy_END_ALLOW_THREADS
;
1626 } _resultobj
= Py_BuildValue("i",_result
);
1630 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1631 PyObject
* _resultobj
;
1634 char *_kwnames
[] = { "index", NULL
};
1638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1641 wxPy_BEGIN_ALLOW_THREADS
;
1642 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1644 wxPy_END_ALLOW_THREADS
;
1645 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1646 _resultobj
= Py_BuildValue("s",_ptemp
);
1650 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1651 PyObject
* _resultobj
;
1654 char *_kwnames
[] = { "index", NULL
};
1658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1661 wxPy_BEGIN_ALLOW_THREADS
;
1662 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1664 wxPy_END_ALLOW_THREADS
;
1665 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1666 _resultobj
= Py_BuildValue("s",_ptemp
);
1670 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1671 PyObject
* _resultobj
;
1674 char *_kwnames
[] = { "index", NULL
};
1677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1680 wxPy_BEGIN_ALLOW_THREADS
;
1681 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1683 wxPy_END_ALLOW_THREADS
;
1684 } _resultobj
= Py_BuildValue("i",_result
);
1688 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
* _resultobj
;
1691 char *_kwnames
[] = { NULL
};
1694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1697 wxPy_BEGIN_ALLOW_THREADS
;
1698 _result
= (int )wxCaret_GetBlinkTime();
1700 wxPy_END_ALLOW_THREADS
;
1701 } _resultobj
= Py_BuildValue("i",_result
);
1705 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1706 PyObject
* _resultobj
;
1708 char *_kwnames
[] = { "milliseconds", NULL
};
1711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1714 wxPy_BEGIN_ALLOW_THREADS
;
1715 wxCaret_SetBlinkTime(_arg0
);
1717 wxPy_END_ALLOW_THREADS
;
1718 } Py_INCREF(Py_None
);
1719 _resultobj
= Py_None
;
1723 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1724 PyObject
* _resultobj
;
1726 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1727 PyObject
* _argo0
= 0;
1728 char *_kwnames
[] = { "win", NULL
};
1731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1741 wxPy_BEGIN_ALLOW_THREADS
;
1742 _result
= (bool )wxSafeYield(_arg0
);
1744 wxPy_END_ALLOW_THREADS
;
1745 } _resultobj
= Py_BuildValue("i",_result
);
1749 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1750 PyObject
* _resultobj
;
1751 wxEvtHandler
* _arg0
;
1753 PyObject
* _argo0
= 0;
1754 PyObject
* _argo1
= 0;
1755 char *_kwnames
[] = { "dest","event", NULL
};
1758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1768 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1769 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1770 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1775 wxPy_BEGIN_ALLOW_THREADS
;
1776 wxPostEvent(_arg0
,*_arg1
);
1778 wxPy_END_ALLOW_THREADS
;
1779 } Py_INCREF(Py_None
);
1780 _resultobj
= Py_None
;
1784 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1785 PyObject
* _resultobj
;
1786 char *_kwnames
[] = { NULL
};
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1792 wxPy_BEGIN_ALLOW_THREADS
;
1795 wxPy_END_ALLOW_THREADS
;
1796 } Py_INCREF(Py_None
);
1797 _resultobj
= Py_None
;
1801 static PyObject
*_wrap_wxWakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1802 PyObject
* _resultobj
;
1803 char *_kwnames
[] = { NULL
};
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpMainThread",_kwnames
))
1809 wxPy_BEGIN_ALLOW_THREADS
;
1810 wxWakeUpMainThread();
1812 wxPy_END_ALLOW_THREADS
;
1813 } Py_INCREF(Py_None
);
1814 _resultobj
= Py_None
;
1818 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1819 PyObject
* _resultobj
;
1820 char *_kwnames
[] = { NULL
};
1823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1826 wxPy_BEGIN_ALLOW_THREADS
;
1829 wxPy_END_ALLOW_THREADS
;
1830 } Py_INCREF(Py_None
);
1831 _resultobj
= Py_None
;
1835 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
* _resultobj
;
1837 char *_kwnames
[] = { NULL
};
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1843 wxPy_BEGIN_ALLOW_THREADS
;
1846 wxPy_END_ALLOW_THREADS
;
1847 } Py_INCREF(Py_None
);
1848 _resultobj
= Py_None
;
1852 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1853 PyObject
* _resultobj
;
1855 char *_kwnames
[] = { NULL
};
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1861 wxPy_BEGIN_ALLOW_THREADS
;
1862 _result
= (bool )wxThread_IsMain();
1864 wxPy_END_ALLOW_THREADS
;
1865 } _resultobj
= Py_BuildValue("i",_result
);
1869 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
* _resultobj
;
1873 wxTipProvider
* _arg1
;
1874 bool _arg2
= (bool ) TRUE
;
1875 PyObject
* _argo0
= 0;
1876 PyObject
* _argo1
= 0;
1877 int tempbool2
= (int) TRUE
;
1878 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1891 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1892 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1897 _arg2
= (bool ) tempbool2
;
1899 wxPy_BEGIN_ALLOW_THREADS
;
1900 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1902 wxPy_END_ALLOW_THREADS
;
1903 } _resultobj
= Py_BuildValue("i",_result
);
1907 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1908 PyObject
* _resultobj
;
1909 wxTipProvider
* _result
;
1912 PyObject
* _obj0
= 0;
1913 char *_kwnames
[] = { "filename","currentTip", NULL
};
1917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1920 #if PYTHON_API_VERSION >= 1009
1921 char* tmpPtr
; int tmpSize
;
1922 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1923 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1926 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1928 _arg0
= new wxString(tmpPtr
, tmpSize
);
1930 if (!PyString_Check(_obj0
)) {
1931 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1934 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1938 wxPy_BEGIN_ALLOW_THREADS
;
1939 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1941 wxPy_END_ALLOW_THREADS
;
1943 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1944 _resultobj
= Py_BuildValue("s",_ptemp
);
1947 _resultobj
= Py_None
;
1956 static PyObject
*_wrap_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1957 PyObject
* _resultobj
;
1958 wxGenericDragImage
* _result
;
1960 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
1961 PyObject
* _argo0
= 0;
1962 PyObject
* _argo1
= 0;
1963 char *_kwnames
[] = { "image","cursor", NULL
};
1967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
1970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragIcon. Expected _wxIcon_p.");
1977 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1978 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
1979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragIcon. Expected _wxCursor_p.");
1984 wxPy_BEGIN_ALLOW_THREADS
;
1985 _result
= (wxGenericDragImage
*)wxDragIcon(*_arg0
,*_arg1
);
1987 wxPy_END_ALLOW_THREADS
;
1989 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1990 _resultobj
= Py_BuildValue("s",_ptemp
);
1993 _resultobj
= Py_None
;
1998 static PyObject
*_wrap_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1999 PyObject
* _resultobj
;
2000 wxGenericDragImage
* _result
;
2002 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
2003 PyObject
* _obj0
= 0;
2004 PyObject
* _argo1
= 0;
2005 char *_kwnames
[] = { "str","cursor", NULL
};
2009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxDragString",_kwnames
,&_obj0
,&_argo1
))
2012 #if PYTHON_API_VERSION >= 1009
2013 char* tmpPtr
; int tmpSize
;
2014 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2015 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2018 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2020 _arg0
= new wxString(tmpPtr
, tmpSize
);
2022 if (!PyString_Check(_obj0
)) {
2023 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2026 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2030 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2031 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
2032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragString. Expected _wxCursor_p.");
2037 wxPy_BEGIN_ALLOW_THREADS
;
2038 _result
= (wxGenericDragImage
*)wxDragString(*_arg0
,*_arg1
);
2040 wxPy_END_ALLOW_THREADS
;
2042 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
2043 _resultobj
= Py_BuildValue("s",_ptemp
);
2046 _resultobj
= Py_None
;
2055 static PyObject
*_wrap_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
* _resultobj
;
2057 wxGenericDragImage
* _result
;
2059 wxTreeItemId
* _arg1
;
2060 PyObject
* _argo0
= 0;
2061 PyObject
* _argo1
= 0;
2062 char *_kwnames
[] = { "treeCtrl","id", NULL
};
2066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
2069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragTreeItem. Expected _wxTreeCtrl_p.");
2076 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2077 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragTreeItem. Expected _wxTreeItemId_p.");
2083 wxPy_BEGIN_ALLOW_THREADS
;
2084 _result
= (wxGenericDragImage
*)wxDragTreeItem(*_arg0
,*_arg1
);
2086 wxPy_END_ALLOW_THREADS
;
2088 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
2089 _resultobj
= Py_BuildValue("s",_ptemp
);
2092 _resultobj
= Py_None
;
2097 static PyObject
*_wrap_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2098 PyObject
* _resultobj
;
2099 wxGenericDragImage
* _result
;
2102 PyObject
* _argo0
= 0;
2103 char *_kwnames
[] = { "listCtrl","id", NULL
};
2107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
2110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragListItem. Expected _wxListCtrl_p.");
2117 wxPy_BEGIN_ALLOW_THREADS
;
2118 _result
= (wxGenericDragImage
*)wxDragListItem(*_arg0
,_arg1
);
2120 wxPy_END_ALLOW_THREADS
;
2122 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
2123 _resultobj
= Py_BuildValue("s",_ptemp
);
2126 _resultobj
= Py_None
;
2131 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2132 PyObject
* _resultobj
;
2133 unsigned long _result
;
2134 char *_kwnames
[] = { NULL
};
2137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
2140 wxPy_BEGIN_ALLOW_THREADS
;
2141 _result
= (unsigned long )wxSysErrorCode();
2143 wxPy_END_ALLOW_THREADS
;
2144 } _resultobj
= Py_BuildValue("l",_result
);
2148 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2149 PyObject
* _resultobj
;
2151 unsigned long _arg0
= (unsigned long ) 0;
2152 char *_kwnames
[] = { "nErrCode", NULL
};
2155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
2158 wxPy_BEGIN_ALLOW_THREADS
;
2159 _result
= (char *)wxSysErrorMsg(_arg0
);
2161 wxPy_END_ALLOW_THREADS
;
2162 } _resultobj
= Py_BuildValue("s", _result
);
2166 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
* _resultobj
;
2169 char *_kwnames
[] = { "szFormat", NULL
};
2172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
2175 wxPy_BEGIN_ALLOW_THREADS
;
2176 wxLogFatalError(_arg0
);
2178 wxPy_END_ALLOW_THREADS
;
2179 } Py_INCREF(Py_None
);
2180 _resultobj
= Py_None
;
2184 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2185 PyObject
* _resultobj
;
2187 char *_kwnames
[] = { "szFormat", NULL
};
2190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
2193 wxPy_BEGIN_ALLOW_THREADS
;
2196 wxPy_END_ALLOW_THREADS
;
2197 } Py_INCREF(Py_None
);
2198 _resultobj
= Py_None
;
2202 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
* _resultobj
;
2205 char *_kwnames
[] = { "szFormat", NULL
};
2208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
2211 wxPy_BEGIN_ALLOW_THREADS
;
2212 wxLogWarning(_arg0
);
2214 wxPy_END_ALLOW_THREADS
;
2215 } Py_INCREF(Py_None
);
2216 _resultobj
= Py_None
;
2220 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2221 PyObject
* _resultobj
;
2223 char *_kwnames
[] = { "szFormat", NULL
};
2226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
2229 wxPy_BEGIN_ALLOW_THREADS
;
2230 wxLogMessage(_arg0
);
2232 wxPy_END_ALLOW_THREADS
;
2233 } Py_INCREF(Py_None
);
2234 _resultobj
= Py_None
;
2238 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2239 PyObject
* _resultobj
;
2241 char *_kwnames
[] = { "szFormat", NULL
};
2244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
2247 wxPy_BEGIN_ALLOW_THREADS
;
2250 wxPy_END_ALLOW_THREADS
;
2251 } Py_INCREF(Py_None
);
2252 _resultobj
= Py_None
;
2256 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2257 PyObject
* _resultobj
;
2259 char *_kwnames
[] = { "szFormat", NULL
};
2262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
2265 wxPy_BEGIN_ALLOW_THREADS
;
2266 wxLogVerbose(_arg0
);
2268 wxPy_END_ALLOW_THREADS
;
2269 } Py_INCREF(Py_None
);
2270 _resultobj
= Py_None
;
2274 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2275 PyObject
* _resultobj
;
2277 char *_kwnames
[] = { "szFormat", NULL
};
2280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
2283 wxPy_BEGIN_ALLOW_THREADS
;
2286 wxPy_END_ALLOW_THREADS
;
2287 } Py_INCREF(Py_None
);
2288 _resultobj
= Py_None
;
2292 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2293 PyObject
* _resultobj
;
2296 PyObject
* _argo0
= 0;
2297 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
2303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2310 wxPy_BEGIN_ALLOW_THREADS
;
2311 wxLogStatus(_arg0
,_arg1
);
2313 wxPy_END_ALLOW_THREADS
;
2314 } Py_INCREF(Py_None
);
2315 _resultobj
= Py_None
;
2319 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2320 PyObject
* _resultobj
;
2322 char *_kwnames
[] = { "szFormat", NULL
};
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2328 wxPy_BEGIN_ALLOW_THREADS
;
2329 wxLogSysError(_arg0
);
2331 wxPy_END_ALLOW_THREADS
;
2332 } Py_INCREF(Py_None
);
2333 _resultobj
= Py_None
;
2337 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2338 PyObject
* _resultobj
;
2341 int _arg1
= (int ) FALSE
;
2342 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2343 PyObject
* _obj0
= 0;
2344 PyObject
* _argo2
= 0;
2345 char *_kwnames
[] = { "command","sync","process", NULL
};
2348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2351 #if PYTHON_API_VERSION >= 1009
2352 char* tmpPtr
; int tmpSize
;
2353 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2354 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2357 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2359 _arg0
= new wxString(tmpPtr
, tmpSize
);
2361 if (!PyString_Check(_obj0
)) {
2362 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2365 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2369 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2370 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2371 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2376 wxPy_BEGIN_ALLOW_THREADS
;
2377 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2379 wxPy_END_ALLOW_THREADS
;
2380 } _resultobj
= Py_BuildValue("l",_result
);
2388 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2389 PyObject
* _resultobj
;
2392 PyObject
* _obj0
= 0;
2393 char *_kwnames
[] = { "data", NULL
};
2397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2400 #if PYTHON_API_VERSION >= 1009
2401 char* tmpPtr
; int tmpSize
;
2402 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2403 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2406 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2408 _arg0
= new wxString(tmpPtr
, tmpSize
);
2410 if (!PyString_Check(_obj0
)) {
2411 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2414 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2418 wxPy_BEGIN_ALLOW_THREADS
;
2419 _result
= (wxWave
*)wxWaveData(*_arg0
);
2421 wxPy_END_ALLOW_THREADS
;
2423 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2424 _resultobj
= Py_BuildValue("s",_ptemp
);
2427 _resultobj
= Py_None
;
2436 static void *SwigwxToolTipTowxObject(void *ptr
) {
2439 src
= (wxToolTip
*) ptr
;
2440 dest
= (wxObject
*) src
;
2441 return (void *) dest
;
2444 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2445 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2446 PyObject
* _resultobj
;
2447 wxToolTip
* _result
;
2449 PyObject
* _obj0
= 0;
2450 char *_kwnames
[] = { "tip", NULL
};
2454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2457 #if PYTHON_API_VERSION >= 1009
2458 char* tmpPtr
; int tmpSize
;
2459 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2460 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2463 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2465 _arg0
= new wxString(tmpPtr
, tmpSize
);
2467 if (!PyString_Check(_obj0
)) {
2468 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2471 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2475 wxPy_BEGIN_ALLOW_THREADS
;
2476 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2478 wxPy_END_ALLOW_THREADS
;
2480 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2481 _resultobj
= Py_BuildValue("s",_ptemp
);
2484 _resultobj
= Py_None
;
2493 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2494 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2495 PyObject
* _resultobj
;
2498 PyObject
* _argo0
= 0;
2499 PyObject
* _obj1
= 0;
2500 char *_kwnames
[] = { "self","tip", NULL
};
2503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2513 #if PYTHON_API_VERSION >= 1009
2514 char* tmpPtr
; int tmpSize
;
2515 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2516 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2519 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2521 _arg1
= new wxString(tmpPtr
, tmpSize
);
2523 if (!PyString_Check(_obj1
)) {
2524 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2527 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2531 wxPy_BEGIN_ALLOW_THREADS
;
2532 wxToolTip_SetTip(_arg0
,*_arg1
);
2534 wxPy_END_ALLOW_THREADS
;
2535 } Py_INCREF(Py_None
);
2536 _resultobj
= Py_None
;
2544 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2545 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
* _resultobj
;
2549 PyObject
* _argo0
= 0;
2550 char *_kwnames
[] = { "self", NULL
};
2553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2563 wxPy_BEGIN_ALLOW_THREADS
;
2564 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2566 wxPy_END_ALLOW_THREADS
;
2568 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2576 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2577 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2578 PyObject
* _resultobj
;
2581 PyObject
* _argo0
= 0;
2582 char *_kwnames
[] = { "self", NULL
};
2585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2588 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2589 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2590 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2595 wxPy_BEGIN_ALLOW_THREADS
;
2596 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2598 wxPy_END_ALLOW_THREADS
;
2599 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2603 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2604 PyObject
* _resultobj
;
2607 char *_kwnames
[] = { "flag", NULL
};
2610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2612 _arg0
= (bool ) tempbool0
;
2614 wxPy_BEGIN_ALLOW_THREADS
;
2615 wxToolTip::Enable(_arg0
);
2617 wxPy_END_ALLOW_THREADS
;
2618 } Py_INCREF(Py_None
);
2619 _resultobj
= Py_None
;
2623 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
* _resultobj
;
2626 char *_kwnames
[] = { "milliseconds", NULL
};
2629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2632 wxPy_BEGIN_ALLOW_THREADS
;
2633 wxToolTip::SetDelay(_arg0
);
2635 wxPy_END_ALLOW_THREADS
;
2636 } Py_INCREF(Py_None
);
2637 _resultobj
= Py_None
;
2641 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2642 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2643 PyObject
* _resultobj
;
2647 PyObject
* _argo0
= 0;
2649 PyObject
* _obj1
= 0;
2650 char *_kwnames
[] = { "window","size", NULL
};
2654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2657 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2658 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2659 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2665 if (! wxSize_helper(_obj1
, &_arg1
))
2669 wxPy_BEGIN_ALLOW_THREADS
;
2670 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2672 wxPy_END_ALLOW_THREADS
;
2674 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2675 _resultobj
= Py_BuildValue("s",_ptemp
);
2678 _resultobj
= Py_None
;
2683 #define delete_wxCaret(_swigobj) (delete _swigobj)
2684 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2685 PyObject
* _resultobj
;
2687 PyObject
* _argo0
= 0;
2688 char *_kwnames
[] = { "self", NULL
};
2691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2694 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2695 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2701 wxPy_BEGIN_ALLOW_THREADS
;
2702 delete_wxCaret(_arg0
);
2704 wxPy_END_ALLOW_THREADS
;
2705 } Py_INCREF(Py_None
);
2706 _resultobj
= Py_None
;
2710 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2711 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2712 PyObject
* _resultobj
;
2715 PyObject
* _argo0
= 0;
2716 char *_kwnames
[] = { "self", NULL
};
2719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2729 wxPy_BEGIN_ALLOW_THREADS
;
2730 _result
= (bool )wxCaret_IsOk(_arg0
);
2732 wxPy_END_ALLOW_THREADS
;
2733 } _resultobj
= Py_BuildValue("i",_result
);
2737 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2738 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
* _resultobj
;
2742 PyObject
* _argo0
= 0;
2743 char *_kwnames
[] = { "self", NULL
};
2746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2749 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2750 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2756 wxPy_BEGIN_ALLOW_THREADS
;
2757 _result
= (bool )wxCaret_IsVisible(_arg0
);
2759 wxPy_END_ALLOW_THREADS
;
2760 } _resultobj
= Py_BuildValue("i",_result
);
2764 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2765 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2766 PyObject
* _resultobj
;
2772 PyObject
* _argo0
= 0;
2773 char *_kwnames
[] = { "self", NULL
};
2782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2792 wxPy_BEGIN_ALLOW_THREADS
;
2793 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2795 wxPy_END_ALLOW_THREADS
;
2796 } Py_INCREF(Py_None
);
2797 _resultobj
= Py_None
;
2800 o
= PyInt_FromLong((long) (*_arg1
));
2801 _resultobj
= t_output_helper(_resultobj
, o
);
2805 o
= PyInt_FromLong((long) (*_arg2
));
2806 _resultobj
= t_output_helper(_resultobj
, o
);
2811 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2812 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2813 PyObject
* _resultobj
;
2816 PyObject
* _argo0
= 0;
2817 char *_kwnames
[] = { "self", NULL
};
2821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2831 wxPy_BEGIN_ALLOW_THREADS
;
2832 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2834 wxPy_END_ALLOW_THREADS
;
2835 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2836 _resultobj
= Py_BuildValue("s",_ptemp
);
2840 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2841 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
* _resultobj
;
2848 PyObject
* _argo0
= 0;
2849 char *_kwnames
[] = { "self", NULL
};
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2868 wxPy_BEGIN_ALLOW_THREADS
;
2869 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2871 wxPy_END_ALLOW_THREADS
;
2872 } Py_INCREF(Py_None
);
2873 _resultobj
= Py_None
;
2876 o
= PyInt_FromLong((long) (*_arg1
));
2877 _resultobj
= t_output_helper(_resultobj
, o
);
2881 o
= PyInt_FromLong((long) (*_arg2
));
2882 _resultobj
= t_output_helper(_resultobj
, o
);
2887 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2888 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2889 PyObject
* _resultobj
;
2892 PyObject
* _argo0
= 0;
2893 char *_kwnames
[] = { "self", NULL
};
2897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2907 wxPy_BEGIN_ALLOW_THREADS
;
2908 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2910 wxPy_END_ALLOW_THREADS
;
2911 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2912 _resultobj
= Py_BuildValue("s",_ptemp
);
2916 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2917 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2918 PyObject
* _resultobj
;
2921 PyObject
* _argo0
= 0;
2922 char *_kwnames
[] = { "self", NULL
};
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2935 wxPy_BEGIN_ALLOW_THREADS
;
2936 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2938 wxPy_END_ALLOW_THREADS
;
2939 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2943 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2944 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
* _resultobj
;
2949 PyObject
* _argo0
= 0;
2950 char *_kwnames
[] = { "self","x","y", NULL
};
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2963 wxPy_BEGIN_ALLOW_THREADS
;
2964 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2966 wxPy_END_ALLOW_THREADS
;
2967 } Py_INCREF(Py_None
);
2968 _resultobj
= Py_None
;
2972 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2973 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2974 PyObject
* _resultobj
;
2977 PyObject
* _argo0
= 0;
2979 PyObject
* _obj1
= 0;
2980 char *_kwnames
[] = { "self","pt", NULL
};
2983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2994 if (! wxPoint_helper(_obj1
, &_arg1
))
2998 wxPy_BEGIN_ALLOW_THREADS
;
2999 wxCaret_Move(_arg0
,*_arg1
);
3001 wxPy_END_ALLOW_THREADS
;
3002 } Py_INCREF(Py_None
);
3003 _resultobj
= Py_None
;
3007 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
3008 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3009 PyObject
* _resultobj
;
3013 PyObject
* _argo0
= 0;
3014 char *_kwnames
[] = { "self","width","height", NULL
};
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
3027 wxPy_BEGIN_ALLOW_THREADS
;
3028 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
3030 wxPy_END_ALLOW_THREADS
;
3031 } Py_INCREF(Py_None
);
3032 _resultobj
= Py_None
;
3036 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
3037 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
* _resultobj
;
3041 PyObject
* _argo0
= 0;
3043 PyObject
* _obj1
= 0;
3044 char *_kwnames
[] = { "self","size", NULL
};
3047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
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_SetSize. Expected _wxCaret_p.");
3058 if (! wxSize_helper(_obj1
, &_arg1
))
3062 wxPy_BEGIN_ALLOW_THREADS
;
3063 wxCaret_SetSize(_arg0
,*_arg1
);
3065 wxPy_END_ALLOW_THREADS
;
3066 } Py_INCREF(Py_None
);
3067 _resultobj
= Py_None
;
3071 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
3072 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3073 PyObject
* _resultobj
;
3075 int _arg1
= (int ) TRUE
;
3076 PyObject
* _argo0
= 0;
3077 char *_kwnames
[] = { "self","show", NULL
};
3080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
3083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
3090 wxPy_BEGIN_ALLOW_THREADS
;
3091 wxCaret_Show(_arg0
,_arg1
);
3093 wxPy_END_ALLOW_THREADS
;
3094 } Py_INCREF(Py_None
);
3095 _resultobj
= Py_None
;
3099 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
3100 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3101 PyObject
* _resultobj
;
3103 PyObject
* _argo0
= 0;
3104 char *_kwnames
[] = { "self", NULL
};
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
3110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
3112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
3117 wxPy_BEGIN_ALLOW_THREADS
;
3118 wxCaret_Hide(_arg0
);
3120 wxPy_END_ALLOW_THREADS
;
3121 } Py_INCREF(Py_None
);
3122 _resultobj
= Py_None
;
3126 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
3127 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3128 PyObject
* _resultobj
;
3129 wxPyFontEnumerator
* _result
;
3130 char *_kwnames
[] = { NULL
};
3134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
3137 wxPy_BEGIN_ALLOW_THREADS
;
3138 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
3140 wxPy_END_ALLOW_THREADS
;
3142 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
3143 _resultobj
= Py_BuildValue("s",_ptemp
);
3146 _resultobj
= Py_None
;
3151 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
3152 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
* _resultobj
;
3154 wxPyFontEnumerator
* _arg0
;
3155 PyObject
* _argo0
= 0;
3156 char *_kwnames
[] = { "self", NULL
};
3159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
3162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
3169 wxPy_BEGIN_ALLOW_THREADS
;
3170 delete_wxPyFontEnumerator(_arg0
);
3172 wxPy_END_ALLOW_THREADS
;
3173 } Py_INCREF(Py_None
);
3174 _resultobj
= Py_None
;
3178 #define wxFontEnumerator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3179 static PyObject
*_wrap_wxFontEnumerator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3180 PyObject
* _resultobj
;
3181 wxPyFontEnumerator
* _arg0
;
3184 PyObject
* _argo0
= 0;
3185 PyObject
* _obj1
= 0;
3186 PyObject
* _obj2
= 0;
3187 char *_kwnames
[] = { "self","self","_class", NULL
};
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFontEnumerator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setSelf. Expected _wxPyFontEnumerator_p.");
3206 wxPy_BEGIN_ALLOW_THREADS
;
3207 wxFontEnumerator__setSelf(_arg0
,_arg1
,_arg2
);
3209 wxPy_END_ALLOW_THREADS
;
3210 } Py_INCREF(Py_None
);
3211 _resultobj
= Py_None
;
3215 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
3216 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3217 PyObject
* _resultobj
;
3219 wxPyFontEnumerator
* _arg0
;
3220 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
3221 bool _arg2
= (bool ) FALSE
;
3222 PyObject
* _argo0
= 0;
3223 int tempbool2
= (int) FALSE
;
3224 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
3227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3236 _arg2
= (bool ) tempbool2
;
3238 wxPy_BEGIN_ALLOW_THREADS
;
3239 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
3241 wxPy_END_ALLOW_THREADS
;
3242 } _resultobj
= Py_BuildValue("i",_result
);
3246 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3247 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
* _resultobj
;
3250 wxPyFontEnumerator
* _arg0
;
3251 char * _arg1
= (char *) "";
3252 PyObject
* _argo0
= 0;
3253 char *_kwnames
[] = { "self","facename", NULL
};
3256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
3259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3266 wxPy_BEGIN_ALLOW_THREADS
;
3267 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
3269 wxPy_END_ALLOW_THREADS
;
3270 } _resultobj
= Py_BuildValue("i",_result
);
3274 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3275 wxArrayString
* arr
= self
->GetEncodings();
3276 PyObject
* list
= PyList_New(0);
3277 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3278 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3281 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
* _resultobj
;
3284 wxPyFontEnumerator
* _arg0
;
3285 PyObject
* _argo0
= 0;
3286 char *_kwnames
[] = { "self", NULL
};
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3299 wxPy_BEGIN_ALLOW_THREADS
;
3300 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3302 wxPy_END_ALLOW_THREADS
;
3304 _resultobj
= _result
;
3309 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3310 wxArrayString
* arr
= self
->GetFacenames();
3311 PyObject
* list
= PyList_New(0);
3312 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3313 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3316 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
* _resultobj
;
3319 wxPyFontEnumerator
* _arg0
;
3320 PyObject
* _argo0
= 0;
3321 char *_kwnames
[] = { "self", NULL
};
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3327 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3328 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3329 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3334 wxPy_BEGIN_ALLOW_THREADS
;
3335 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3337 wxPy_END_ALLOW_THREADS
;
3339 _resultobj
= _result
;
3344 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3345 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
* _resultobj
;
3347 wxBusyCursor
* _result
;
3348 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3349 PyObject
* _argo0
= 0;
3350 char *_kwnames
[] = { "cursor", NULL
};
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3364 wxPy_BEGIN_ALLOW_THREADS
;
3365 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3367 wxPy_END_ALLOW_THREADS
;
3369 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3370 _resultobj
= Py_BuildValue("s",_ptemp
);
3373 _resultobj
= Py_None
;
3378 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3379 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
* _resultobj
;
3381 wxBusyCursor
* _arg0
;
3382 PyObject
* _argo0
= 0;
3383 char *_kwnames
[] = { "self", NULL
};
3386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3396 wxPy_BEGIN_ALLOW_THREADS
;
3397 delete_wxBusyCursor(_arg0
);
3399 wxPy_END_ALLOW_THREADS
;
3400 } Py_INCREF(Py_None
);
3401 _resultobj
= Py_None
;
3405 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3406 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
* _resultobj
;
3408 wxWindowDisabler
* _result
;
3409 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3410 PyObject
* _argo0
= 0;
3411 char *_kwnames
[] = { "winToSkip", NULL
};
3415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3425 wxPy_BEGIN_ALLOW_THREADS
;
3426 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3428 wxPy_END_ALLOW_THREADS
;
3430 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3431 _resultobj
= Py_BuildValue("s",_ptemp
);
3434 _resultobj
= Py_None
;
3439 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3440 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3441 PyObject
* _resultobj
;
3442 wxWindowDisabler
* _arg0
;
3443 PyObject
* _argo0
= 0;
3444 char *_kwnames
[] = { "self", NULL
};
3447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3457 wxPy_BEGIN_ALLOW_THREADS
;
3458 delete_wxWindowDisabler(_arg0
);
3460 wxPy_END_ALLOW_THREADS
;
3461 } Py_INCREF(Py_None
);
3462 _resultobj
= Py_None
;
3466 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3467 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3468 PyObject
* _resultobj
;
3469 wxMutexGuiLocker
* _result
;
3470 char *_kwnames
[] = { NULL
};
3474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3477 wxPy_BEGIN_ALLOW_THREADS
;
3478 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3480 wxPy_END_ALLOW_THREADS
;
3482 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3483 _resultobj
= Py_BuildValue("s",_ptemp
);
3486 _resultobj
= Py_None
;
3491 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3492 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3493 PyObject
* _resultobj
;
3494 wxMutexGuiLocker
* _arg0
;
3495 PyObject
* _argo0
= 0;
3496 char *_kwnames
[] = { "self", NULL
};
3499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3509 wxPy_BEGIN_ALLOW_THREADS
;
3510 delete_wxMutexGuiLocker(_arg0
);
3512 wxPy_END_ALLOW_THREADS
;
3513 } Py_INCREF(Py_None
);
3514 _resultobj
= Py_None
;
3518 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3519 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
* _resultobj
;
3521 wxTipProvider
* _arg0
;
3522 PyObject
* _argo0
= 0;
3523 char *_kwnames
[] = { "self", NULL
};
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_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 delete_wxTipProvider. Expected _wxTipProvider_p.");
3536 wxPy_BEGIN_ALLOW_THREADS
;
3537 delete_wxTipProvider(_arg0
);
3539 wxPy_END_ALLOW_THREADS
;
3540 } Py_INCREF(Py_None
);
3541 _resultobj
= Py_None
;
3545 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3546 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3547 PyObject
* _resultobj
;
3549 wxTipProvider
* _arg0
;
3550 PyObject
* _argo0
= 0;
3551 char *_kwnames
[] = { "self", NULL
};
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3564 wxPy_BEGIN_ALLOW_THREADS
;
3565 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3567 wxPy_END_ALLOW_THREADS
;
3569 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3577 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3578 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3579 PyObject
* _resultobj
;
3581 wxTipProvider
* _arg0
;
3582 PyObject
* _argo0
= 0;
3583 char *_kwnames
[] = { "self", NULL
};
3586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3596 wxPy_BEGIN_ALLOW_THREADS
;
3597 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3599 wxPy_END_ALLOW_THREADS
;
3600 } _resultobj
= Py_BuildValue("i",_result
);
3604 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3605 wxPyTipProvider
*src
;
3606 wxTipProvider
*dest
;
3607 src
= (wxPyTipProvider
*) ptr
;
3608 dest
= (wxTipProvider
*) src
;
3609 return (void *) dest
;
3612 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3613 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
* _resultobj
;
3615 wxPyTipProvider
* _result
;
3617 char *_kwnames
[] = { "currentTip", NULL
};
3621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3624 wxPy_BEGIN_ALLOW_THREADS
;
3625 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3627 wxPy_END_ALLOW_THREADS
;
3629 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3630 _resultobj
= Py_BuildValue("s",_ptemp
);
3633 _resultobj
= Py_None
;
3638 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3639 wxGenericDragImage
*src
;
3641 src
= (wxGenericDragImage
*) ptr
;
3642 dest
= (wxObject
*) src
;
3643 return (void *) dest
;
3646 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3647 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3648 PyObject
* _resultobj
;
3649 wxGenericDragImage
* _result
;
3651 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3652 PyObject
* _argo0
= 0;
3653 PyObject
* _argo1
= 0;
3654 char *_kwnames
[] = { "image","cursor", NULL
};
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3668 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3669 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3675 wxPy_BEGIN_ALLOW_THREADS
;
3676 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3678 wxPy_END_ALLOW_THREADS
;
3680 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3681 _resultobj
= Py_BuildValue("s",_ptemp
);
3684 _resultobj
= Py_None
;
3689 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3690 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3691 PyObject
* _resultobj
;
3692 wxGenericDragImage
* _arg0
;
3693 PyObject
* _argo0
= 0;
3694 char *_kwnames
[] = { "self", NULL
};
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3707 wxPy_BEGIN_ALLOW_THREADS
;
3708 delete_wxGenericDragImage(_arg0
);
3710 wxPy_END_ALLOW_THREADS
;
3711 } Py_INCREF(Py_None
);
3712 _resultobj
= Py_None
;
3716 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3717 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
* _resultobj
;
3719 wxGenericDragImage
* _arg0
;
3721 PyObject
* _argo0
= 0;
3722 PyObject
* _argo1
= 0;
3723 char *_kwnames
[] = { "self","bitmap", NULL
};
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3736 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3737 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3738 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3743 wxPy_BEGIN_ALLOW_THREADS
;
3744 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3746 wxPy_END_ALLOW_THREADS
;
3747 } Py_INCREF(Py_None
);
3748 _resultobj
= Py_None
;
3752 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3753 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3754 PyObject
* _resultobj
;
3756 wxGenericDragImage
* _arg0
;
3759 bool _arg3
= (bool ) FALSE
;
3760 wxRect
* _arg4
= (wxRect
*) NULL
;
3761 PyObject
* _argo0
= 0;
3763 PyObject
* _obj1
= 0;
3764 PyObject
* _argo2
= 0;
3765 int tempbool3
= (int) FALSE
;
3767 PyObject
* _obj4
= 0;
3768 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3774 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3775 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3776 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3782 if (! wxPoint_helper(_obj1
, &_arg1
))
3786 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3787 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3792 _arg3
= (bool ) tempbool3
;
3796 if (! wxRect_helper(_obj4
, &_arg4
))
3800 wxPy_BEGIN_ALLOW_THREADS
;
3801 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3803 wxPy_END_ALLOW_THREADS
;
3804 } _resultobj
= Py_BuildValue("i",_result
);
3808 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3809 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3810 PyObject
* _resultobj
;
3812 wxGenericDragImage
* _arg0
;
3816 PyObject
* _argo0
= 0;
3818 PyObject
* _obj1
= 0;
3819 PyObject
* _argo2
= 0;
3820 PyObject
* _argo3
= 0;
3821 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3835 if (! wxPoint_helper(_obj1
, &_arg1
))
3839 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3840 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3841 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3846 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3847 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3853 wxPy_BEGIN_ALLOW_THREADS
;
3854 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3856 wxPy_END_ALLOW_THREADS
;
3857 } _resultobj
= Py_BuildValue("i",_result
);
3861 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3862 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
* _resultobj
;
3865 wxGenericDragImage
* _arg0
;
3866 PyObject
* _argo0
= 0;
3867 char *_kwnames
[] = { "self", NULL
};
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3880 wxPy_BEGIN_ALLOW_THREADS
;
3881 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3883 wxPy_END_ALLOW_THREADS
;
3884 } _resultobj
= Py_BuildValue("i",_result
);
3888 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3889 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3890 PyObject
* _resultobj
;
3892 wxGenericDragImage
* _arg0
;
3894 PyObject
* _argo0
= 0;
3896 PyObject
* _obj1
= 0;
3897 char *_kwnames
[] = { "self","pt", NULL
};
3900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3903 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3904 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3905 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3911 if (! wxPoint_helper(_obj1
, &_arg1
))
3915 wxPy_BEGIN_ALLOW_THREADS
;
3916 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3918 wxPy_END_ALLOW_THREADS
;
3919 } _resultobj
= Py_BuildValue("i",_result
);
3923 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3924 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3925 PyObject
* _resultobj
;
3927 wxGenericDragImage
* _arg0
;
3928 PyObject
* _argo0
= 0;
3929 char *_kwnames
[] = { "self", NULL
};
3932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3942 wxPy_BEGIN_ALLOW_THREADS
;
3943 _result
= (bool )wxDragImage_Show(_arg0
);
3945 wxPy_END_ALLOW_THREADS
;
3946 } _resultobj
= Py_BuildValue("i",_result
);
3950 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3951 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3952 PyObject
* _resultobj
;
3954 wxGenericDragImage
* _arg0
;
3955 PyObject
* _argo0
= 0;
3956 char *_kwnames
[] = { "self", NULL
};
3959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3969 wxPy_BEGIN_ALLOW_THREADS
;
3970 _result
= (bool )wxDragImage_Hide(_arg0
);
3972 wxPy_END_ALLOW_THREADS
;
3973 } _resultobj
= Py_BuildValue("i",_result
);
3977 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3978 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
* _resultobj
;
3981 wxGenericDragImage
* _arg0
;
3983 PyObject
* _argo0
= 0;
3985 PyObject
* _obj1
= 0;
3986 char *_kwnames
[] = { "self","pos", NULL
};
3990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
3993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4001 if (! wxPoint_helper(_obj1
, &_arg1
))
4005 wxPy_BEGIN_ALLOW_THREADS
;
4006 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4008 wxPy_END_ALLOW_THREADS
;
4009 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4010 _resultobj
= Py_BuildValue("s",_ptemp
);
4014 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4015 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4016 PyObject
* _resultobj
;
4018 wxGenericDragImage
* _arg0
;
4023 PyObject
* _argo0
= 0;
4025 PyObject
* _obj1
= 0;
4027 PyObject
* _obj2
= 0;
4030 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4044 if (! wxPoint_helper(_obj1
, &_arg1
))
4049 if (! wxPoint_helper(_obj2
, &_arg2
))
4052 _arg3
= (bool ) tempbool3
;
4053 _arg4
= (bool ) tempbool4
;
4055 wxPy_BEGIN_ALLOW_THREADS
;
4056 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4058 wxPy_END_ALLOW_THREADS
;
4059 } _resultobj
= Py_BuildValue("i",_result
);
4063 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4066 src
= (wxPyTimer
*) ptr
;
4067 dest
= (wxObject
*) src
;
4068 return (void *) dest
;
4071 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4072 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
* _resultobj
;
4074 wxPyTimer
* _result
;
4076 PyObject
* _obj0
= 0;
4077 char *_kwnames
[] = { "notify", NULL
};
4081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4087 wxPy_BEGIN_ALLOW_THREADS
;
4088 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4090 wxPy_END_ALLOW_THREADS
;
4092 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4093 _resultobj
= Py_BuildValue("s",_ptemp
);
4096 _resultobj
= Py_None
;
4101 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4102 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4103 PyObject
* _resultobj
;
4105 PyObject
* _argo0
= 0;
4106 char *_kwnames
[] = { "self", NULL
};
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4119 wxPy_BEGIN_ALLOW_THREADS
;
4120 delete_wxPyTimer(_arg0
);
4122 wxPy_END_ALLOW_THREADS
;
4123 } Py_INCREF(Py_None
);
4124 _resultobj
= Py_None
;
4128 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4129 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
* _resultobj
;
4133 PyObject
* _argo0
= 0;
4134 char *_kwnames
[] = { "self", NULL
};
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4147 wxPy_BEGIN_ALLOW_THREADS
;
4148 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4150 wxPy_END_ALLOW_THREADS
;
4151 } _resultobj
= Py_BuildValue("i",_result
);
4155 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4156 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4157 PyObject
* _resultobj
;
4160 PyObject
* _argo0
= 0;
4161 char *_kwnames
[] = { "self", NULL
};
4164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4174 wxPy_BEGIN_ALLOW_THREADS
;
4175 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4177 wxPy_END_ALLOW_THREADS
;
4178 } _resultobj
= Py_BuildValue("i",_result
);
4182 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4183 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
* _resultobj
;
4187 PyObject
* _argo0
= 0;
4188 char *_kwnames
[] = { "self", NULL
};
4191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4201 wxPy_BEGIN_ALLOW_THREADS
;
4202 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4204 wxPy_END_ALLOW_THREADS
;
4205 } _resultobj
= Py_BuildValue("i",_result
);
4209 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4210 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
* _resultobj
;
4213 wxEvtHandler
* _arg1
;
4214 int _arg2
= (int ) -1;
4215 PyObject
* _argo0
= 0;
4216 PyObject
* _argo1
= 0;
4217 char *_kwnames
[] = { "self","owner","id", NULL
};
4220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4230 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4231 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4237 wxPy_BEGIN_ALLOW_THREADS
;
4238 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4240 wxPy_END_ALLOW_THREADS
;
4241 } Py_INCREF(Py_None
);
4242 _resultobj
= Py_None
;
4246 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4247 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
* _resultobj
;
4250 int _arg1
= (int ) -1;
4251 int _arg2
= (int ) FALSE
;
4252 PyObject
* _argo0
= 0;
4253 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4266 wxPy_BEGIN_ALLOW_THREADS
;
4267 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4269 wxPy_END_ALLOW_THREADS
;
4270 } Py_INCREF(Py_None
);
4271 _resultobj
= Py_None
;
4275 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4276 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
* _resultobj
;
4279 PyObject
* _argo0
= 0;
4280 char *_kwnames
[] = { "self", NULL
};
4283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4293 wxPy_BEGIN_ALLOW_THREADS
;
4294 wxPyTimer_Stop(_arg0
);
4296 wxPy_END_ALLOW_THREADS
;
4297 } Py_INCREF(Py_None
);
4298 _resultobj
= Py_None
;
4302 #define new_wxLog() (new wxLog())
4303 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
* _resultobj
;
4306 char *_kwnames
[] = { NULL
};
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4313 wxPy_BEGIN_ALLOW_THREADS
;
4314 _result
= (wxLog
*)new_wxLog();
4316 wxPy_END_ALLOW_THREADS
;
4318 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4319 _resultobj
= Py_BuildValue("s",_ptemp
);
4322 _resultobj
= Py_None
;
4327 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
* _resultobj
;
4330 char *_kwnames
[] = { NULL
};
4333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4336 wxPy_BEGIN_ALLOW_THREADS
;
4337 _result
= (bool )wxLog::IsEnabled();
4339 wxPy_END_ALLOW_THREADS
;
4340 } _resultobj
= Py_BuildValue("i",_result
);
4344 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
* _resultobj
;
4347 bool _arg0
= (bool ) TRUE
;
4348 int tempbool0
= (int) TRUE
;
4349 char *_kwnames
[] = { "doIt", NULL
};
4352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4354 _arg0
= (bool ) tempbool0
;
4356 wxPy_BEGIN_ALLOW_THREADS
;
4357 _result
= (bool )wxLog::EnableLogging(_arg0
);
4359 wxPy_END_ALLOW_THREADS
;
4360 } _resultobj
= Py_BuildValue("i",_result
);
4364 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4365 PyObject
* _resultobj
;
4368 int _arg2
= (int ) 0;
4369 PyObject
* _argo0
= 0;
4370 char *_kwnames
[] = { "level","szString","t", NULL
};
4373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4376 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4377 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4378 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4383 wxPy_BEGIN_ALLOW_THREADS
;
4384 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
4386 wxPy_END_ALLOW_THREADS
;
4387 } Py_INCREF(Py_None
);
4388 _resultobj
= Py_None
;
4392 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4393 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
* _resultobj
;
4396 PyObject
* _argo0
= 0;
4397 char *_kwnames
[] = { "self", NULL
};
4400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4410 wxPy_BEGIN_ALLOW_THREADS
;
4413 wxPy_END_ALLOW_THREADS
;
4414 } Py_INCREF(Py_None
);
4415 _resultobj
= Py_None
;
4419 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4420 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4421 PyObject
* _resultobj
;
4424 PyObject
* _argo0
= 0;
4425 char *_kwnames
[] = { "self", NULL
};
4428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4438 wxPy_BEGIN_ALLOW_THREADS
;
4439 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4441 wxPy_END_ALLOW_THREADS
;
4442 } _resultobj
= Py_BuildValue("i",_result
);
4446 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4447 PyObject
* _resultobj
;
4448 char *_kwnames
[] = { NULL
};
4451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4454 wxPy_BEGIN_ALLOW_THREADS
;
4455 wxLog::FlushActive();
4457 wxPy_END_ALLOW_THREADS
;
4458 } Py_INCREF(Py_None
);
4459 _resultobj
= Py_None
;
4463 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
* _resultobj
;
4466 char *_kwnames
[] = { NULL
};
4470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4473 wxPy_BEGIN_ALLOW_THREADS
;
4474 _result
= (wxLog
*)wxLog::GetActiveTarget();
4476 wxPy_END_ALLOW_THREADS
;
4478 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4479 _resultobj
= Py_BuildValue("s",_ptemp
);
4482 _resultobj
= Py_None
;
4487 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
* _resultobj
;
4491 PyObject
* _argo0
= 0;
4492 char *_kwnames
[] = { "pLogger", NULL
};
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4506 wxPy_BEGIN_ALLOW_THREADS
;
4507 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4509 wxPy_END_ALLOW_THREADS
;
4511 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4512 _resultobj
= Py_BuildValue("s",_ptemp
);
4515 _resultobj
= Py_None
;
4520 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4521 PyObject
* _resultobj
;
4522 char *_kwnames
[] = { NULL
};
4525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4528 wxPy_BEGIN_ALLOW_THREADS
;
4531 wxPy_END_ALLOW_THREADS
;
4532 } Py_INCREF(Py_None
);
4533 _resultobj
= Py_None
;
4537 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
* _resultobj
;
4539 char *_kwnames
[] = { NULL
};
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4545 wxPy_BEGIN_ALLOW_THREADS
;
4548 wxPy_END_ALLOW_THREADS
;
4549 } Py_INCREF(Py_None
);
4550 _resultobj
= Py_None
;
4554 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4555 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
* _resultobj
;
4558 bool _arg1
= (bool ) TRUE
;
4559 PyObject
* _argo0
= 0;
4560 int tempbool1
= (int) TRUE
;
4561 char *_kwnames
[] = { "self","bVerbose", NULL
};
4564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4573 _arg1
= (bool ) tempbool1
;
4575 wxPy_BEGIN_ALLOW_THREADS
;
4576 wxLog_SetVerbose(_arg0
,_arg1
);
4578 wxPy_END_ALLOW_THREADS
;
4579 } Py_INCREF(Py_None
);
4580 _resultobj
= Py_None
;
4584 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4585 PyObject
* _resultobj
;
4586 char *_kwnames
[] = { NULL
};
4589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4592 wxPy_BEGIN_ALLOW_THREADS
;
4593 wxLog::DontCreateOnDemand();
4595 wxPy_END_ALLOW_THREADS
;
4596 } Py_INCREF(Py_None
);
4597 _resultobj
= Py_None
;
4601 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
* _resultobj
;
4603 wxTraceMask
* _arg0
;
4604 PyObject
* _argo0
= 0;
4605 char *_kwnames
[] = { "ulMask", NULL
};
4608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4618 wxPy_BEGIN_ALLOW_THREADS
;
4619 wxLog::SetTraceMask(*_arg0
);
4621 wxPy_END_ALLOW_THREADS
;
4622 } Py_INCREF(Py_None
);
4623 _resultobj
= Py_None
;
4627 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4628 PyObject
* _resultobj
;
4630 PyObject
* _obj0
= 0;
4631 char *_kwnames
[] = { "str", NULL
};
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4637 #if PYTHON_API_VERSION >= 1009
4638 char* tmpPtr
; int tmpSize
;
4639 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4640 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4643 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4645 _arg0
= new wxString(tmpPtr
, tmpSize
);
4647 if (!PyString_Check(_obj0
)) {
4648 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4651 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4655 wxPy_BEGIN_ALLOW_THREADS
;
4656 wxLog::AddTraceMask(*_arg0
);
4658 wxPy_END_ALLOW_THREADS
;
4659 } Py_INCREF(Py_None
);
4660 _resultobj
= Py_None
;
4668 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
* _resultobj
;
4671 PyObject
* _obj0
= 0;
4672 char *_kwnames
[] = { "str", NULL
};
4675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4678 #if PYTHON_API_VERSION >= 1009
4679 char* tmpPtr
; int tmpSize
;
4680 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4681 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4684 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4686 _arg0
= new wxString(tmpPtr
, tmpSize
);
4688 if (!PyString_Check(_obj0
)) {
4689 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4692 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4696 wxPy_BEGIN_ALLOW_THREADS
;
4697 wxLog::RemoveTraceMask(*_arg0
);
4699 wxPy_END_ALLOW_THREADS
;
4700 } Py_INCREF(Py_None
);
4701 _resultobj
= Py_None
;
4709 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4710 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4711 PyObject
* _resultobj
;
4714 PyObject
* _argo0
= 0;
4715 char *_kwnames
[] = { "self", NULL
};
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4728 wxPy_BEGIN_ALLOW_THREADS
;
4729 _result
= (bool )wxLog_GetVerbose(_arg0
);
4731 wxPy_END_ALLOW_THREADS
;
4732 } _resultobj
= Py_BuildValue("i",_result
);
4736 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4737 PyObject
* _resultobj
;
4738 wxTraceMask
* _result
;
4739 char *_kwnames
[] = { NULL
};
4743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4746 wxPy_BEGIN_ALLOW_THREADS
;
4747 _result
= new wxTraceMask (wxLog::GetTraceMask());
4749 wxPy_END_ALLOW_THREADS
;
4750 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
4751 _resultobj
= Py_BuildValue("s",_ptemp
);
4755 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4756 PyObject
* _resultobj
;
4759 char *_kwnames
[] = { "mask", NULL
};
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
4765 wxPy_BEGIN_ALLOW_THREADS
;
4766 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
4768 wxPy_END_ALLOW_THREADS
;
4769 } _resultobj
= Py_BuildValue("i",_result
);
4773 static void *SwigwxLogStderrTowxLog(void *ptr
) {
4776 src
= (wxLogStderr
*) ptr
;
4777 dest
= (wxLog
*) src
;
4778 return (void *) dest
;
4781 #define new_wxLogStderr() (new wxLogStderr())
4782 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
* _resultobj
;
4784 wxLogStderr
* _result
;
4785 char *_kwnames
[] = { NULL
};
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
4792 wxPy_BEGIN_ALLOW_THREADS
;
4793 _result
= (wxLogStderr
*)new_wxLogStderr();
4795 wxPy_END_ALLOW_THREADS
;
4797 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
4798 _resultobj
= Py_BuildValue("s",_ptemp
);
4801 _resultobj
= Py_None
;
4806 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
4809 src
= (wxLogTextCtrl
*) ptr
;
4810 dest
= (wxLog
*) src
;
4811 return (void *) dest
;
4814 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
4815 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4816 PyObject
* _resultobj
;
4817 wxLogTextCtrl
* _result
;
4819 PyObject
* _argo0
= 0;
4820 char *_kwnames
[] = { "pTextCtrl", NULL
};
4824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
4827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
4834 wxPy_BEGIN_ALLOW_THREADS
;
4835 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
4837 wxPy_END_ALLOW_THREADS
;
4839 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
4840 _resultobj
= Py_BuildValue("s",_ptemp
);
4843 _resultobj
= Py_None
;
4848 static void *SwigwxLogGuiTowxLog(void *ptr
) {
4851 src
= (wxLogGui
*) ptr
;
4852 dest
= (wxLog
*) src
;
4853 return (void *) dest
;
4856 #define new_wxLogGui() (new wxLogGui())
4857 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
* _resultobj
;
4860 char *_kwnames
[] = { NULL
};
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
4867 wxPy_BEGIN_ALLOW_THREADS
;
4868 _result
= (wxLogGui
*)new_wxLogGui();
4870 wxPy_END_ALLOW_THREADS
;
4872 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
4873 _resultobj
= Py_BuildValue("s",_ptemp
);
4876 _resultobj
= Py_None
;
4881 static void *SwigwxLogWindowTowxLog(void *ptr
) {
4884 src
= (wxLogWindow
*) ptr
;
4885 dest
= (wxLog
*) src
;
4886 return (void *) dest
;
4889 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4890 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4891 PyObject
* _resultobj
;
4892 wxLogWindow
* _result
;
4895 bool _arg2
= (bool ) TRUE
;
4896 bool _arg3
= (bool ) TRUE
;
4897 PyObject
* _argo0
= 0;
4898 int tempbool2
= (int) TRUE
;
4899 int tempbool3
= (int) TRUE
;
4900 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
4904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
4907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
4909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
4913 _arg2
= (bool ) tempbool2
;
4914 _arg3
= (bool ) tempbool3
;
4916 wxPy_BEGIN_ALLOW_THREADS
;
4917 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
4919 wxPy_END_ALLOW_THREADS
;
4921 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
4922 _resultobj
= Py_BuildValue("s",_ptemp
);
4925 _resultobj
= Py_None
;
4930 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4931 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4932 PyObject
* _resultobj
;
4933 wxLogWindow
* _arg0
;
4934 bool _arg1
= (bool ) TRUE
;
4935 PyObject
* _argo0
= 0;
4936 int tempbool1
= (int) TRUE
;
4937 char *_kwnames
[] = { "self","bShow", NULL
};
4940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
4949 _arg1
= (bool ) tempbool1
;
4951 wxPy_BEGIN_ALLOW_THREADS
;
4952 wxLogWindow_Show(_arg0
,_arg1
);
4954 wxPy_END_ALLOW_THREADS
;
4955 } Py_INCREF(Py_None
);
4956 _resultobj
= Py_None
;
4960 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
4961 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4962 PyObject
* _resultobj
;
4964 wxLogWindow
* _arg0
;
4965 PyObject
* _argo0
= 0;
4966 char *_kwnames
[] = { "self", NULL
};
4969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
4972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
4979 wxPy_BEGIN_ALLOW_THREADS
;
4980 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
4982 wxPy_END_ALLOW_THREADS
;
4983 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4987 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
4988 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
* _resultobj
;
4991 wxLogWindow
* _arg0
;
4992 PyObject
* _argo0
= 0;
4993 char *_kwnames
[] = { "self", NULL
};
4997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5007 wxPy_BEGIN_ALLOW_THREADS
;
5008 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5010 wxPy_END_ALLOW_THREADS
;
5012 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5013 _resultobj
= Py_BuildValue("s",_ptemp
);
5016 _resultobj
= Py_None
;
5021 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5022 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
* _resultobj
;
5025 wxLogWindow
* _arg0
;
5026 PyObject
* _argo0
= 0;
5027 char *_kwnames
[] = { "self", NULL
};
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5040 wxPy_BEGIN_ALLOW_THREADS
;
5041 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5043 wxPy_END_ALLOW_THREADS
;
5044 } _resultobj
= Py_BuildValue("i",_result
);
5048 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5049 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5050 PyObject
* _resultobj
;
5051 wxLogWindow
* _arg0
;
5053 PyObject
* _argo0
= 0;
5055 char *_kwnames
[] = { "self","bDoPass", NULL
};
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5067 _arg1
= (bool ) tempbool1
;
5069 wxPy_BEGIN_ALLOW_THREADS
;
5070 wxLogWindow_PassMessages(_arg0
,_arg1
);
5072 wxPy_END_ALLOW_THREADS
;
5073 } Py_INCREF(Py_None
);
5074 _resultobj
= Py_None
;
5078 #define new_wxLogNull() (new wxLogNull())
5079 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
* _resultobj
;
5081 wxLogNull
* _result
;
5082 char *_kwnames
[] = { NULL
};
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5089 wxPy_BEGIN_ALLOW_THREADS
;
5090 _result
= (wxLogNull
*)new_wxLogNull();
5092 wxPy_END_ALLOW_THREADS
;
5094 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5095 _resultobj
= Py_BuildValue("s",_ptemp
);
5098 _resultobj
= Py_None
;
5103 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5104 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5105 PyObject
* _resultobj
;
5107 PyObject
* _argo0
= 0;
5108 char *_kwnames
[] = { "self", NULL
};
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5121 wxPy_BEGIN_ALLOW_THREADS
;
5122 delete_wxLogNull(_arg0
);
5124 wxPy_END_ALLOW_THREADS
;
5125 } Py_INCREF(Py_None
);
5126 _resultobj
= Py_None
;
5130 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5131 wxProcessEvent
*src
;
5133 src
= (wxProcessEvent
*) ptr
;
5134 dest
= (wxEvent
*) src
;
5135 return (void *) dest
;
5138 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5139 wxProcessEvent
*src
;
5141 src
= (wxProcessEvent
*) ptr
;
5142 dest
= (wxObject
*) src
;
5143 return (void *) dest
;
5146 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5147 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5148 PyObject
* _resultobj
;
5149 wxProcessEvent
* _result
;
5150 int _arg0
= (int ) 0;
5151 int _arg1
= (int ) 0;
5152 int _arg2
= (int ) 0;
5153 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5160 wxPy_BEGIN_ALLOW_THREADS
;
5161 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5163 wxPy_END_ALLOW_THREADS
;
5165 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5166 _resultobj
= Py_BuildValue("s",_ptemp
);
5169 _resultobj
= Py_None
;
5174 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5175 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5176 PyObject
* _resultobj
;
5178 wxProcessEvent
* _arg0
;
5179 PyObject
* _argo0
= 0;
5180 char *_kwnames
[] = { "self", NULL
};
5183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5193 wxPy_BEGIN_ALLOW_THREADS
;
5194 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5196 wxPy_END_ALLOW_THREADS
;
5197 } _resultobj
= Py_BuildValue("i",_result
);
5201 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5202 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5203 PyObject
* _resultobj
;
5205 wxProcessEvent
* _arg0
;
5206 PyObject
* _argo0
= 0;
5207 char *_kwnames
[] = { "self", NULL
};
5210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5220 wxPy_BEGIN_ALLOW_THREADS
;
5221 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5223 wxPy_END_ALLOW_THREADS
;
5224 } _resultobj
= Py_BuildValue("i",_result
);
5228 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5229 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5230 PyObject
* _resultobj
;
5232 wxProcessEvent
* _arg0
;
5234 PyObject
* _argo0
= 0;
5235 char *_kwnames
[] = { "self","m_pid", NULL
};
5238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5248 wxPy_BEGIN_ALLOW_THREADS
;
5249 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5251 wxPy_END_ALLOW_THREADS
;
5252 } _resultobj
= Py_BuildValue("i",_result
);
5256 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5257 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
* _resultobj
;
5260 wxProcessEvent
* _arg0
;
5261 PyObject
* _argo0
= 0;
5262 char *_kwnames
[] = { "self", NULL
};
5265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5268 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5269 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5270 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5275 wxPy_BEGIN_ALLOW_THREADS
;
5276 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5278 wxPy_END_ALLOW_THREADS
;
5279 } _resultobj
= Py_BuildValue("i",_result
);
5283 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5284 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5285 PyObject
* _resultobj
;
5287 wxProcessEvent
* _arg0
;
5289 PyObject
* _argo0
= 0;
5290 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5303 wxPy_BEGIN_ALLOW_THREADS
;
5304 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5306 wxPy_END_ALLOW_THREADS
;
5307 } _resultobj
= Py_BuildValue("i",_result
);
5311 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5312 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5313 PyObject
* _resultobj
;
5315 wxProcessEvent
* _arg0
;
5316 PyObject
* _argo0
= 0;
5317 char *_kwnames
[] = { "self", NULL
};
5320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5330 wxPy_BEGIN_ALLOW_THREADS
;
5331 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5333 wxPy_END_ALLOW_THREADS
;
5334 } _resultobj
= Py_BuildValue("i",_result
);
5338 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5341 src
= (wxPyProcess
*) ptr
;
5342 dest
= (wxEvtHandler
*) src
;
5343 return (void *) dest
;
5346 static void *SwigwxPyProcessTowxObject(void *ptr
) {
5349 src
= (wxPyProcess
*) ptr
;
5350 dest
= (wxObject
*) src
;
5351 return (void *) dest
;
5354 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5355 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5356 PyObject
* _resultobj
;
5357 wxPyProcess
* _result
;
5358 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
5359 int _arg1
= (int ) -1;
5360 PyObject
* _argo0
= 0;
5361 char *_kwnames
[] = { "parent","id", NULL
};
5365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
5368 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5369 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
5370 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
5375 wxPy_BEGIN_ALLOW_THREADS
;
5376 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
5378 wxPy_END_ALLOW_THREADS
;
5380 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
5381 _resultobj
= Py_BuildValue("s",_ptemp
);
5384 _resultobj
= Py_None
;
5389 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
5390 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5391 PyObject
* _resultobj
;
5392 wxPyProcess
* _arg0
;
5393 PyObject
* _argo0
= 0;
5394 char *_kwnames
[] = { "self", NULL
};
5397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
5400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
5407 wxPy_BEGIN_ALLOW_THREADS
;
5408 wxPyProcess_Destroy(_arg0
);
5410 wxPy_END_ALLOW_THREADS
;
5411 } Py_INCREF(Py_None
);
5412 _resultobj
= Py_None
;
5416 #define wxProcess__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5417 static PyObject
*_wrap_wxProcess__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
* _resultobj
;
5419 wxPyProcess
* _arg0
;
5422 PyObject
* _argo0
= 0;
5423 PyObject
* _obj1
= 0;
5424 PyObject
* _obj2
= 0;
5425 char *_kwnames
[] = { "self","self","_class", NULL
};
5428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setSelf. Expected _wxPyProcess_p.");
5444 wxPy_BEGIN_ALLOW_THREADS
;
5445 wxProcess__setSelf(_arg0
,_arg1
,_arg2
);
5447 wxPy_END_ALLOW_THREADS
;
5448 } Py_INCREF(Py_None
);
5449 _resultobj
= Py_None
;
5453 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
5454 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5455 PyObject
* _resultobj
;
5456 wxPyProcess
* _arg0
;
5459 PyObject
* _argo0
= 0;
5460 char *_kwnames
[] = { "self","pid","status", NULL
};
5463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
5473 wxPy_BEGIN_ALLOW_THREADS
;
5474 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
5476 wxPy_END_ALLOW_THREADS
;
5477 } Py_INCREF(Py_None
);
5478 _resultobj
= Py_None
;
5482 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
5483 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
* _resultobj
;
5485 wxPyProcess
* _arg0
;
5486 PyObject
* _argo0
= 0;
5487 char *_kwnames
[] = { "self", NULL
};
5490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
5493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
5500 wxPy_BEGIN_ALLOW_THREADS
;
5501 wxProcess_Redirect(_arg0
);
5503 wxPy_END_ALLOW_THREADS
;
5504 } Py_INCREF(Py_None
);
5505 _resultobj
= Py_None
;
5509 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
5510 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5511 PyObject
* _resultobj
;
5513 wxPyProcess
* _arg0
;
5514 PyObject
* _argo0
= 0;
5515 char *_kwnames
[] = { "self", NULL
};
5518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
5521 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5522 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5523 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
5528 wxPy_BEGIN_ALLOW_THREADS
;
5529 _result
= (bool )wxProcess_IsRedirected(_arg0
);
5531 wxPy_END_ALLOW_THREADS
;
5532 } _resultobj
= Py_BuildValue("i",_result
);
5536 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
5537 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5538 PyObject
* _resultobj
;
5539 wxPyProcess
* _arg0
;
5540 PyObject
* _argo0
= 0;
5541 char *_kwnames
[] = { "self", NULL
};
5544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
5547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
5554 wxPy_BEGIN_ALLOW_THREADS
;
5555 wxProcess_Detach(_arg0
);
5557 wxPy_END_ALLOW_THREADS
;
5558 } Py_INCREF(Py_None
);
5559 _resultobj
= Py_None
;
5563 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
5564 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
* _resultobj
;
5566 wxInputStream
* _result
;
5567 wxPyProcess
* _arg0
;
5568 PyObject
* _argo0
= 0;
5569 char *_kwnames
[] = { "self", NULL
};
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
5575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
5582 wxPy_BEGIN_ALLOW_THREADS
;
5583 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
5585 wxPy_END_ALLOW_THREADS
;
5587 wxPyInputStream
* _ptr
= NULL
;
5590 _ptr
= new wxPyInputStream(_result
);
5592 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
5597 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
5598 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
* _resultobj
;
5600 wxInputStream
* _result
;
5601 wxPyProcess
* _arg0
;
5602 PyObject
* _argo0
= 0;
5603 char *_kwnames
[] = { "self", NULL
};
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
5609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
5616 wxPy_BEGIN_ALLOW_THREADS
;
5617 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
5619 wxPy_END_ALLOW_THREADS
;
5621 wxPyInputStream
* _ptr
= NULL
;
5624 _ptr
= new wxPyInputStream(_result
);
5626 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
5631 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
5632 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5633 PyObject
* _resultobj
;
5634 wxOutputStream
* _result
;
5635 wxPyProcess
* _arg0
;
5636 PyObject
* _argo0
= 0;
5637 char *_kwnames
[] = { "self", NULL
};
5641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
5644 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5645 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5646 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
5651 wxPy_BEGIN_ALLOW_THREADS
;
5652 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
5654 wxPy_END_ALLOW_THREADS
;
5656 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
5657 _resultobj
= Py_BuildValue("s",_ptemp
);
5660 _resultobj
= Py_None
;
5665 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
5666 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
* _resultobj
;
5668 wxPyProcess
* _arg0
;
5669 PyObject
* _argo0
= 0;
5670 char *_kwnames
[] = { "self", NULL
};
5673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
5676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
5683 wxPy_BEGIN_ALLOW_THREADS
;
5684 wxProcess_CloseOutput(_arg0
);
5686 wxPy_END_ALLOW_THREADS
;
5687 } Py_INCREF(Py_None
);
5688 _resultobj
= Py_None
;
5692 static void *SwigwxJoystickTowxObject(void *ptr
) {
5695 src
= (wxJoystick
*) ptr
;
5696 dest
= (wxObject
*) src
;
5697 return (void *) dest
;
5700 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
5701 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5702 PyObject
* _resultobj
;
5703 wxJoystick
* _result
;
5704 int _arg0
= (int ) wxJOYSTICK1
;
5705 char *_kwnames
[] = { "joystick", NULL
};
5709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
5712 wxPy_BEGIN_ALLOW_THREADS
;
5713 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
5715 wxPy_END_ALLOW_THREADS
;
5717 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
5718 _resultobj
= Py_BuildValue("s",_ptemp
);
5721 _resultobj
= Py_None
;
5726 #define delete_wxJoystick(_swigobj) (delete _swigobj)
5727 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5728 PyObject
* _resultobj
;
5730 PyObject
* _argo0
= 0;
5731 char *_kwnames
[] = { "self", NULL
};
5734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
5737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
5744 wxPy_BEGIN_ALLOW_THREADS
;
5745 delete_wxJoystick(_arg0
);
5747 wxPy_END_ALLOW_THREADS
;
5748 } Py_INCREF(Py_None
);
5749 _resultobj
= Py_None
;
5753 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
5754 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5755 PyObject
* _resultobj
;
5758 PyObject
* _argo0
= 0;
5759 char *_kwnames
[] = { "self", NULL
};
5763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
5766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
5773 wxPy_BEGIN_ALLOW_THREADS
;
5774 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
5776 wxPy_END_ALLOW_THREADS
;
5777 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5778 _resultobj
= Py_BuildValue("s",_ptemp
);
5782 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
5783 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5784 PyObject
* _resultobj
;
5787 PyObject
* _argo0
= 0;
5788 char *_kwnames
[] = { "self", NULL
};
5791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
5794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
5801 wxPy_BEGIN_ALLOW_THREADS
;
5802 _result
= (int )wxJoystick_GetZPosition(_arg0
);
5804 wxPy_END_ALLOW_THREADS
;
5805 } _resultobj
= Py_BuildValue("i",_result
);
5809 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
5810 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5811 PyObject
* _resultobj
;
5814 PyObject
* _argo0
= 0;
5815 char *_kwnames
[] = { "self", NULL
};
5818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
5821 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5822 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5823 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
5828 wxPy_BEGIN_ALLOW_THREADS
;
5829 _result
= (int )wxJoystick_GetButtonState(_arg0
);
5831 wxPy_END_ALLOW_THREADS
;
5832 } _resultobj
= Py_BuildValue("i",_result
);
5836 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
5837 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5838 PyObject
* _resultobj
;
5841 PyObject
* _argo0
= 0;
5842 char *_kwnames
[] = { "self", NULL
};
5845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
5848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
5855 wxPy_BEGIN_ALLOW_THREADS
;
5856 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
5858 wxPy_END_ALLOW_THREADS
;
5859 } _resultobj
= Py_BuildValue("i",_result
);
5863 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
5864 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
* _resultobj
;
5868 PyObject
* _argo0
= 0;
5869 char *_kwnames
[] = { "self", NULL
};
5872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
5875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
5882 wxPy_BEGIN_ALLOW_THREADS
;
5883 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
5885 wxPy_END_ALLOW_THREADS
;
5886 } _resultobj
= Py_BuildValue("i",_result
);
5890 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
5891 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5892 PyObject
* _resultobj
;
5895 PyObject
* _argo0
= 0;
5896 char *_kwnames
[] = { "self", NULL
};
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
5902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
5909 wxPy_BEGIN_ALLOW_THREADS
;
5910 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
5912 wxPy_END_ALLOW_THREADS
;
5913 } _resultobj
= Py_BuildValue("i",_result
);
5917 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
5918 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
* _resultobj
;
5922 PyObject
* _argo0
= 0;
5923 char *_kwnames
[] = { "self", NULL
};
5926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
5929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
5936 wxPy_BEGIN_ALLOW_THREADS
;
5937 _result
= (int )wxJoystick_GetUPosition(_arg0
);
5939 wxPy_END_ALLOW_THREADS
;
5940 } _resultobj
= Py_BuildValue("i",_result
);
5944 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
5945 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5946 PyObject
* _resultobj
;
5949 PyObject
* _argo0
= 0;
5950 char *_kwnames
[] = { "self", NULL
};
5953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
5956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
5963 wxPy_BEGIN_ALLOW_THREADS
;
5964 _result
= (int )wxJoystick_GetVPosition(_arg0
);
5966 wxPy_END_ALLOW_THREADS
;
5967 } _resultobj
= Py_BuildValue("i",_result
);
5971 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
5972 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
* _resultobj
;
5976 PyObject
* _argo0
= 0;
5977 char *_kwnames
[] = { "self", NULL
};
5980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
5983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
5990 wxPy_BEGIN_ALLOW_THREADS
;
5991 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
5993 wxPy_END_ALLOW_THREADS
;
5994 } _resultobj
= Py_BuildValue("i",_result
);
5998 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
5999 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6000 PyObject
* _resultobj
;
6003 PyObject
* _argo0
= 0;
6004 char *_kwnames
[] = { "self","threshold", NULL
};
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6017 wxPy_BEGIN_ALLOW_THREADS
;
6018 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6020 wxPy_END_ALLOW_THREADS
;
6021 } Py_INCREF(Py_None
);
6022 _resultobj
= Py_None
;
6026 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6027 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6028 PyObject
* _resultobj
;
6031 PyObject
* _argo0
= 0;
6032 char *_kwnames
[] = { "self", NULL
};
6035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6045 wxPy_BEGIN_ALLOW_THREADS
;
6046 _result
= (bool )wxJoystick_IsOk(_arg0
);
6048 wxPy_END_ALLOW_THREADS
;
6049 } _resultobj
= Py_BuildValue("i",_result
);
6053 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6054 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6055 PyObject
* _resultobj
;
6058 PyObject
* _argo0
= 0;
6059 char *_kwnames
[] = { "self", NULL
};
6062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6072 wxPy_BEGIN_ALLOW_THREADS
;
6073 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6075 wxPy_END_ALLOW_THREADS
;
6076 } _resultobj
= Py_BuildValue("i",_result
);
6080 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6081 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6082 PyObject
* _resultobj
;
6085 PyObject
* _argo0
= 0;
6086 char *_kwnames
[] = { "self", NULL
};
6089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6099 wxPy_BEGIN_ALLOW_THREADS
;
6100 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6102 wxPy_END_ALLOW_THREADS
;
6103 } _resultobj
= Py_BuildValue("i",_result
);
6107 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6108 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6109 PyObject
* _resultobj
;
6112 PyObject
* _argo0
= 0;
6113 char *_kwnames
[] = { "self", NULL
};
6116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6126 wxPy_BEGIN_ALLOW_THREADS
;
6127 _result
= (int )wxJoystick_GetProductId(_arg0
);
6129 wxPy_END_ALLOW_THREADS
;
6130 } _resultobj
= Py_BuildValue("i",_result
);
6134 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6135 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6136 PyObject
* _resultobj
;
6139 PyObject
* _argo0
= 0;
6140 char *_kwnames
[] = { "self", NULL
};
6143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6153 wxPy_BEGIN_ALLOW_THREADS
;
6154 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6156 wxPy_END_ALLOW_THREADS
;
6158 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6166 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6167 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6168 PyObject
* _resultobj
;
6171 PyObject
* _argo0
= 0;
6172 char *_kwnames
[] = { "self", NULL
};
6175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6185 wxPy_BEGIN_ALLOW_THREADS
;
6186 _result
= (int )wxJoystick_GetXMin(_arg0
);
6188 wxPy_END_ALLOW_THREADS
;
6189 } _resultobj
= Py_BuildValue("i",_result
);
6193 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6194 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
* _resultobj
;
6198 PyObject
* _argo0
= 0;
6199 char *_kwnames
[] = { "self", NULL
};
6202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6212 wxPy_BEGIN_ALLOW_THREADS
;
6213 _result
= (int )wxJoystick_GetYMin(_arg0
);
6215 wxPy_END_ALLOW_THREADS
;
6216 } _resultobj
= Py_BuildValue("i",_result
);
6220 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6221 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
* _resultobj
;
6225 PyObject
* _argo0
= 0;
6226 char *_kwnames
[] = { "self", NULL
};
6229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6232 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6233 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6234 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6239 wxPy_BEGIN_ALLOW_THREADS
;
6240 _result
= (int )wxJoystick_GetZMin(_arg0
);
6242 wxPy_END_ALLOW_THREADS
;
6243 } _resultobj
= Py_BuildValue("i",_result
);
6247 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6248 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6249 PyObject
* _resultobj
;
6252 PyObject
* _argo0
= 0;
6253 char *_kwnames
[] = { "self", NULL
};
6256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6259 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6260 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6261 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6266 wxPy_BEGIN_ALLOW_THREADS
;
6267 _result
= (int )wxJoystick_GetXMax(_arg0
);
6269 wxPy_END_ALLOW_THREADS
;
6270 } _resultobj
= Py_BuildValue("i",_result
);
6274 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6275 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6276 PyObject
* _resultobj
;
6279 PyObject
* _argo0
= 0;
6280 char *_kwnames
[] = { "self", NULL
};
6283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6293 wxPy_BEGIN_ALLOW_THREADS
;
6294 _result
= (int )wxJoystick_GetYMax(_arg0
);
6296 wxPy_END_ALLOW_THREADS
;
6297 } _resultobj
= Py_BuildValue("i",_result
);
6301 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6302 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6303 PyObject
* _resultobj
;
6306 PyObject
* _argo0
= 0;
6307 char *_kwnames
[] = { "self", NULL
};
6310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
6313 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6314 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6320 wxPy_BEGIN_ALLOW_THREADS
;
6321 _result
= (int )wxJoystick_GetZMax(_arg0
);
6323 wxPy_END_ALLOW_THREADS
;
6324 } _resultobj
= Py_BuildValue("i",_result
);
6328 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6329 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6330 PyObject
* _resultobj
;
6333 PyObject
* _argo0
= 0;
6334 char *_kwnames
[] = { "self", NULL
};
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
6340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
6347 wxPy_BEGIN_ALLOW_THREADS
;
6348 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
6350 wxPy_END_ALLOW_THREADS
;
6351 } _resultobj
= Py_BuildValue("i",_result
);
6355 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
6356 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6357 PyObject
* _resultobj
;
6360 PyObject
* _argo0
= 0;
6361 char *_kwnames
[] = { "self", NULL
};
6364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
6367 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6368 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6369 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
6374 wxPy_BEGIN_ALLOW_THREADS
;
6375 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
6377 wxPy_END_ALLOW_THREADS
;
6378 } _resultobj
= Py_BuildValue("i",_result
);
6382 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
6383 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6384 PyObject
* _resultobj
;
6387 PyObject
* _argo0
= 0;
6388 char *_kwnames
[] = { "self", NULL
};
6391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
6394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
6401 wxPy_BEGIN_ALLOW_THREADS
;
6402 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
6404 wxPy_END_ALLOW_THREADS
;
6405 } _resultobj
= Py_BuildValue("i",_result
);
6409 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
6410 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6411 PyObject
* _resultobj
;
6414 PyObject
* _argo0
= 0;
6415 char *_kwnames
[] = { "self", NULL
};
6418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
6421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
6428 wxPy_BEGIN_ALLOW_THREADS
;
6429 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
6431 wxPy_END_ALLOW_THREADS
;
6432 } _resultobj
= Py_BuildValue("i",_result
);
6436 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
6437 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
* _resultobj
;
6441 PyObject
* _argo0
= 0;
6442 char *_kwnames
[] = { "self", NULL
};
6445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
6448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
6455 wxPy_BEGIN_ALLOW_THREADS
;
6456 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
6458 wxPy_END_ALLOW_THREADS
;
6459 } _resultobj
= Py_BuildValue("i",_result
);
6463 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
6464 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
* _resultobj
;
6468 PyObject
* _argo0
= 0;
6469 char *_kwnames
[] = { "self", NULL
};
6472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
6475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
6482 wxPy_BEGIN_ALLOW_THREADS
;
6483 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
6485 wxPy_END_ALLOW_THREADS
;
6486 } _resultobj
= Py_BuildValue("i",_result
);
6490 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
6491 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6492 PyObject
* _resultobj
;
6495 PyObject
* _argo0
= 0;
6496 char *_kwnames
[] = { "self", NULL
};
6499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
6502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
6509 wxPy_BEGIN_ALLOW_THREADS
;
6510 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
6512 wxPy_END_ALLOW_THREADS
;
6513 } _resultobj
= Py_BuildValue("i",_result
);
6517 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
6518 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6519 PyObject
* _resultobj
;
6522 PyObject
* _argo0
= 0;
6523 char *_kwnames
[] = { "self", NULL
};
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
6529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
6536 wxPy_BEGIN_ALLOW_THREADS
;
6537 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
6539 wxPy_END_ALLOW_THREADS
;
6540 } _resultobj
= Py_BuildValue("i",_result
);
6544 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
6545 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
* _resultobj
;
6549 PyObject
* _argo0
= 0;
6550 char *_kwnames
[] = { "self", NULL
};
6553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
6556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
6563 wxPy_BEGIN_ALLOW_THREADS
;
6564 _result
= (int )wxJoystick_GetUMin(_arg0
);
6566 wxPy_END_ALLOW_THREADS
;
6567 } _resultobj
= Py_BuildValue("i",_result
);
6571 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
6572 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6573 PyObject
* _resultobj
;
6576 PyObject
* _argo0
= 0;
6577 char *_kwnames
[] = { "self", NULL
};
6580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
6583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
6590 wxPy_BEGIN_ALLOW_THREADS
;
6591 _result
= (int )wxJoystick_GetUMax(_arg0
);
6593 wxPy_END_ALLOW_THREADS
;
6594 } _resultobj
= Py_BuildValue("i",_result
);
6598 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
6599 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
* _resultobj
;
6603 PyObject
* _argo0
= 0;
6604 char *_kwnames
[] = { "self", NULL
};
6607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
6610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
6617 wxPy_BEGIN_ALLOW_THREADS
;
6618 _result
= (int )wxJoystick_GetVMin(_arg0
);
6620 wxPy_END_ALLOW_THREADS
;
6621 } _resultobj
= Py_BuildValue("i",_result
);
6625 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
6626 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6627 PyObject
* _resultobj
;
6630 PyObject
* _argo0
= 0;
6631 char *_kwnames
[] = { "self", NULL
};
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
6637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
6644 wxPy_BEGIN_ALLOW_THREADS
;
6645 _result
= (int )wxJoystick_GetVMax(_arg0
);
6647 wxPy_END_ALLOW_THREADS
;
6648 } _resultobj
= Py_BuildValue("i",_result
);
6652 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
6653 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6654 PyObject
* _resultobj
;
6657 PyObject
* _argo0
= 0;
6658 char *_kwnames
[] = { "self", NULL
};
6661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
6664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
6671 wxPy_BEGIN_ALLOW_THREADS
;
6672 _result
= (bool )wxJoystick_HasRudder(_arg0
);
6674 wxPy_END_ALLOW_THREADS
;
6675 } _resultobj
= Py_BuildValue("i",_result
);
6679 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
6680 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6681 PyObject
* _resultobj
;
6684 PyObject
* _argo0
= 0;
6685 char *_kwnames
[] = { "self", NULL
};
6688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
6691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
6698 wxPy_BEGIN_ALLOW_THREADS
;
6699 _result
= (bool )wxJoystick_HasZ(_arg0
);
6701 wxPy_END_ALLOW_THREADS
;
6702 } _resultobj
= Py_BuildValue("i",_result
);
6706 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
6707 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
* _resultobj
;
6711 PyObject
* _argo0
= 0;
6712 char *_kwnames
[] = { "self", NULL
};
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
6718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
6725 wxPy_BEGIN_ALLOW_THREADS
;
6726 _result
= (bool )wxJoystick_HasU(_arg0
);
6728 wxPy_END_ALLOW_THREADS
;
6729 } _resultobj
= Py_BuildValue("i",_result
);
6733 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
6734 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
* _resultobj
;
6738 PyObject
* _argo0
= 0;
6739 char *_kwnames
[] = { "self", NULL
};
6742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
6745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
6752 wxPy_BEGIN_ALLOW_THREADS
;
6753 _result
= (bool )wxJoystick_HasV(_arg0
);
6755 wxPy_END_ALLOW_THREADS
;
6756 } _resultobj
= Py_BuildValue("i",_result
);
6760 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
6761 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6762 PyObject
* _resultobj
;
6765 PyObject
* _argo0
= 0;
6766 char *_kwnames
[] = { "self", NULL
};
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
6772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
6779 wxPy_BEGIN_ALLOW_THREADS
;
6780 _result
= (bool )wxJoystick_HasPOV(_arg0
);
6782 wxPy_END_ALLOW_THREADS
;
6783 } _resultobj
= Py_BuildValue("i",_result
);
6787 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
6788 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
* _resultobj
;
6792 PyObject
* _argo0
= 0;
6793 char *_kwnames
[] = { "self", NULL
};
6796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
6799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
6806 wxPy_BEGIN_ALLOW_THREADS
;
6807 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
6809 wxPy_END_ALLOW_THREADS
;
6810 } _resultobj
= Py_BuildValue("i",_result
);
6814 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
6815 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6816 PyObject
* _resultobj
;
6819 PyObject
* _argo0
= 0;
6820 char *_kwnames
[] = { "self", NULL
};
6823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
6826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
6833 wxPy_BEGIN_ALLOW_THREADS
;
6834 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
6836 wxPy_END_ALLOW_THREADS
;
6837 } _resultobj
= Py_BuildValue("i",_result
);
6841 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
6842 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
* _resultobj
;
6847 int _arg2
= (int ) 0;
6848 PyObject
* _argo0
= 0;
6849 PyObject
* _argo1
= 0;
6850 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
6853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
6863 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6864 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
6870 wxPy_BEGIN_ALLOW_THREADS
;
6871 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
6873 wxPy_END_ALLOW_THREADS
;
6874 } _resultobj
= Py_BuildValue("i",_result
);
6878 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
6879 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
* _resultobj
;
6883 PyObject
* _argo0
= 0;
6884 char *_kwnames
[] = { "self", NULL
};
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
6890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
6897 wxPy_BEGIN_ALLOW_THREADS
;
6898 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
6900 wxPy_END_ALLOW_THREADS
;
6901 } _resultobj
= Py_BuildValue("i",_result
);
6905 static void *SwigwxWaveTowxObject(void *ptr
) {
6908 src
= (wxWave
*) ptr
;
6909 dest
= (wxObject
*) src
;
6910 return (void *) dest
;
6913 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
6914 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
* _resultobj
;
6918 bool _arg1
= (bool ) FALSE
;
6919 PyObject
* _obj0
= 0;
6920 int tempbool1
= (int) FALSE
;
6921 char *_kwnames
[] = { "fileName","isResource", NULL
};
6925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
6928 #if PYTHON_API_VERSION >= 1009
6929 char* tmpPtr
; int tmpSize
;
6930 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
6931 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6934 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
6936 _arg0
= new wxString(tmpPtr
, tmpSize
);
6938 if (!PyString_Check(_obj0
)) {
6939 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6942 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
6945 _arg1
= (bool ) tempbool1
;
6947 wxPy_BEGIN_ALLOW_THREADS
;
6948 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
6950 wxPy_END_ALLOW_THREADS
;
6952 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
6953 _resultobj
= Py_BuildValue("s",_ptemp
);
6956 _resultobj
= Py_None
;
6965 #define delete_wxWave(_swigobj) (delete _swigobj)
6966 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
* _resultobj
;
6969 PyObject
* _argo0
= 0;
6970 char *_kwnames
[] = { "self", NULL
};
6973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
6976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
6978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
6983 wxPy_BEGIN_ALLOW_THREADS
;
6984 delete_wxWave(_arg0
);
6986 wxPy_END_ALLOW_THREADS
;
6987 } Py_INCREF(Py_None
);
6988 _resultobj
= Py_None
;
6992 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
6993 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
* _resultobj
;
6997 PyObject
* _argo0
= 0;
6998 char *_kwnames
[] = { "self", NULL
};
7001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7011 wxPy_BEGIN_ALLOW_THREADS
;
7012 _result
= (bool )wxWave_IsOk(_arg0
);
7014 wxPy_END_ALLOW_THREADS
;
7015 } _resultobj
= Py_BuildValue("i",_result
);
7019 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7020 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
* _resultobj
;
7024 bool _arg1
= (bool ) TRUE
;
7025 bool _arg2
= (bool ) FALSE
;
7026 PyObject
* _argo0
= 0;
7027 int tempbool1
= (int) TRUE
;
7028 int tempbool2
= (int) FALSE
;
7029 char *_kwnames
[] = { "self","async","looped", NULL
};
7032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7041 _arg1
= (bool ) tempbool1
;
7042 _arg2
= (bool ) tempbool2
;
7044 wxPy_BEGIN_ALLOW_THREADS
;
7045 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7047 wxPy_END_ALLOW_THREADS
;
7048 } _resultobj
= Py_BuildValue("i",_result
);
7052 static PyMethodDef misc2cMethods
[] = {
7053 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
7054 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7055 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
7056 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
7057 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
7058 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
7059 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
7060 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
7061 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
7062 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
7063 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
7064 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
7065 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
7066 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
7067 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
7068 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
7069 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
7070 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
7071 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
7072 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
7073 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
7074 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
7075 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
7076 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
7077 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
7078 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
7079 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
7080 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
7081 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
7082 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
7083 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
7084 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
7085 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
7086 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
7087 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
7088 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7089 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
7090 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
7091 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
7092 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
7093 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
7094 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
7095 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
7096 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
7097 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
7098 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7099 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7100 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7101 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
7102 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
7103 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
7104 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
7105 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
7106 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
7107 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
7108 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
7109 { "wxProcess__setSelf", (PyCFunction
) _wrap_wxProcess__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
7110 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7111 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
7112 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
7113 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
7114 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
7115 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
7116 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
7117 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
7118 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
7119 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
7120 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
7121 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
7122 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
7123 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
7124 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
7125 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
7126 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
7127 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
7128 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
7129 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
7130 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7131 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7132 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7133 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7134 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7135 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7136 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
7137 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7138 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
7139 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
7140 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
7141 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
7142 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
7143 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
7144 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
7145 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
7146 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
7147 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7148 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
7149 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
7150 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
7151 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
7152 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
7153 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
7154 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
7155 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
7156 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
7157 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
7158 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
7159 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
7160 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
7161 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
7162 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
7163 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
7164 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
7165 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7166 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
7167 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
7168 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7169 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
7170 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
7171 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7172 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
7173 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
7174 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
7175 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
7176 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7177 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7178 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
7179 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
7180 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
7181 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
7182 { "wxFontEnumerator__setSelf", (PyCFunction
) _wrap_wxFontEnumerator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
7183 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
7184 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
7185 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
7186 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
7187 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
7188 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
7189 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
7190 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
7191 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7192 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
7193 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
7194 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7195 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
7196 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
7197 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7198 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
7199 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
7200 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
7201 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7202 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7203 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
7204 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
7205 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
7206 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
7207 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
7208 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
7209 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
7210 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
7211 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7212 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
7213 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
7214 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
7215 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
7216 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
7217 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
7218 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
7219 { "wxDragListItem", (PyCFunction
) _wrap_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
7220 { "wxDragTreeItem", (PyCFunction
) _wrap_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
7221 { "wxDragString", (PyCFunction
) _wrap_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
7222 { "wxDragIcon", (PyCFunction
) _wrap_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
7223 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7224 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
7225 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
7226 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
7227 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
7228 { "wxWakeUpMainThread", (PyCFunction
) _wrap_wxWakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
7229 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
7230 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
7231 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
7232 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
7233 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
7234 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
7235 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
7236 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
7237 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
7238 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
7239 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
7240 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
7241 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
7242 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
7243 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7244 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
7245 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
7246 { "wxFlushEvents", (PyCFunction
) _wrap_wxFlushEvents
, METH_VARARGS
| METH_KEYWORDS
},
7247 { "wxCheckForInterrupt", (PyCFunction
) _wrap_wxCheckForInterrupt
, METH_VARARGS
| METH_KEYWORDS
},
7248 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
7249 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
7250 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
7251 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7252 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
7253 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
7254 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
7255 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
7256 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
7257 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
7258 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
7259 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
7260 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
7261 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
7262 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
7263 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
7264 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7265 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
7266 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
7267 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
7268 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7269 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7270 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
7277 * This table is used by the pointer type-checker
7279 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7280 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
7281 { "_signed_long","_long",0},
7282 { "_wxPrintQuality","_wxCoord",0},
7283 { "_wxPrintQuality","_int",0},
7284 { "_wxPrintQuality","_signed_int",0},
7285 { "_wxPrintQuality","_unsigned_int",0},
7286 { "_wxPrintQuality","_wxWindowID",0},
7287 { "_wxPrintQuality","_uint",0},
7288 { "_wxPrintQuality","_EBool",0},
7289 { "_wxPrintQuality","_size_t",0},
7290 { "_wxPrintQuality","_time_t",0},
7291 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
7292 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
7293 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7294 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
7295 { "_byte","_unsigned_char",0},
7296 { "_long","_unsigned_long",0},
7297 { "_long","_signed_long",0},
7298 { "_size_t","_wxCoord",0},
7299 { "_size_t","_wxPrintQuality",0},
7300 { "_size_t","_time_t",0},
7301 { "_size_t","_unsigned_int",0},
7302 { "_size_t","_int",0},
7303 { "_size_t","_wxWindowID",0},
7304 { "_size_t","_uint",0},
7305 { "_uint","_wxCoord",0},
7306 { "_uint","_wxPrintQuality",0},
7307 { "_uint","_time_t",0},
7308 { "_uint","_size_t",0},
7309 { "_uint","_unsigned_int",0},
7310 { "_uint","_int",0},
7311 { "_uint","_wxWindowID",0},
7312 { "_wxChar","_char",0},
7313 { "_char","_wxChar",0},
7314 { "_EBool","_wxCoord",0},
7315 { "_EBool","_wxPrintQuality",0},
7316 { "_EBool","_signed_int",0},
7317 { "_EBool","_int",0},
7318 { "_EBool","_wxWindowID",0},
7319 { "_unsigned_long","_long",0},
7320 { "_signed_int","_wxCoord",0},
7321 { "_signed_int","_wxPrintQuality",0},
7322 { "_signed_int","_EBool",0},
7323 { "_signed_int","_wxWindowID",0},
7324 { "_signed_int","_int",0},
7325 { "_WXTYPE","_short",0},
7326 { "_WXTYPE","_signed_short",0},
7327 { "_WXTYPE","_unsigned_short",0},
7328 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7329 { "_unsigned_short","_WXTYPE",0},
7330 { "_unsigned_short","_short",0},
7331 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
7332 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
7333 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
7334 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
7335 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
7336 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
7337 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
7338 { "_signed_short","_WXTYPE",0},
7339 { "_signed_short","_short",0},
7340 { "_unsigned_char","_byte",0},
7341 { "_unsigned_int","_wxCoord",0},
7342 { "_unsigned_int","_wxPrintQuality",0},
7343 { "_unsigned_int","_time_t",0},
7344 { "_unsigned_int","_size_t",0},
7345 { "_unsigned_int","_uint",0},
7346 { "_unsigned_int","_wxWindowID",0},
7347 { "_unsigned_int","_int",0},
7348 { "_short","_WXTYPE",0},
7349 { "_short","_unsigned_short",0},
7350 { "_short","_signed_short",0},
7351 { "_wxWindowID","_wxCoord",0},
7352 { "_wxWindowID","_wxPrintQuality",0},
7353 { "_wxWindowID","_time_t",0},
7354 { "_wxWindowID","_size_t",0},
7355 { "_wxWindowID","_EBool",0},
7356 { "_wxWindowID","_uint",0},
7357 { "_wxWindowID","_int",0},
7358 { "_wxWindowID","_signed_int",0},
7359 { "_wxWindowID","_unsigned_int",0},
7360 { "_int","_wxCoord",0},
7361 { "_int","_wxPrintQuality",0},
7362 { "_int","_time_t",0},
7363 { "_int","_size_t",0},
7364 { "_int","_EBool",0},
7365 { "_int","_uint",0},
7366 { "_int","_wxWindowID",0},
7367 { "_int","_unsigned_int",0},
7368 { "_int","_signed_int",0},
7369 { "_time_t","_wxCoord",0},
7370 { "_time_t","_wxPrintQuality",0},
7371 { "_time_t","_unsigned_int",0},
7372 { "_time_t","_int",0},
7373 { "_time_t","_wxWindowID",0},
7374 { "_time_t","_uint",0},
7375 { "_time_t","_size_t",0},
7376 { "_wxCoord","_int",0},
7377 { "_wxCoord","_signed_int",0},
7378 { "_wxCoord","_unsigned_int",0},
7379 { "_wxCoord","_wxWindowID",0},
7380 { "_wxCoord","_uint",0},
7381 { "_wxCoord","_EBool",0},
7382 { "_wxCoord","_size_t",0},
7383 { "_wxCoord","_time_t",0},
7384 { "_wxCoord","_wxPrintQuality",0},
7385 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7388 static PyObject
*SWIG_globals
;
7392 SWIGEXPORT(void) initmisc2c() {
7394 SWIG_globals
= SWIG_newvarlink();
7395 m
= Py_InitModule("misc2c", misc2cMethods
);
7396 d
= PyModule_GetDict(m
);
7397 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
7398 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
7399 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
7400 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
7401 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
7402 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
7403 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
7404 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
7405 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
7406 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
7407 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
7408 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
7409 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
7410 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
7411 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
7412 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
7413 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
7414 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
7415 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
7416 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
7417 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
7418 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
7419 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
7420 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
7421 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
7422 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
7423 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
7424 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
7425 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
7426 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
7427 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
7428 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
7429 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
7430 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
7431 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
7432 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
7433 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
7434 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
7435 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
7436 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
7437 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
7438 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
7439 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
7440 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
7441 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
7442 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
7443 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
7444 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
7445 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
7446 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
7447 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
7448 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
7449 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
7450 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
7451 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
7452 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
7453 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
7454 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
7455 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
7456 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
7457 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
7458 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
7459 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
7460 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
7461 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
7462 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
7463 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
7464 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
7465 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
7466 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
7467 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
7468 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
7469 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
7470 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
7471 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
7472 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
7473 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
7474 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
7475 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
7476 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
7477 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
7478 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
7479 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
7480 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
7481 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
7482 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
7483 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
7484 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
7485 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
7486 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
7487 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
7488 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
7489 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
7490 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
7491 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
7492 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
7493 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
7495 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
7496 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
7497 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
7500 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7501 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);