2 * FILE : src/gtk/misc2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmisc2c
56 #define SWIG_name "misc2c"
59 #include <wx/resource.h>
60 #include <wx/tooltip.h>
62 #include <wx/fontenum.h>
63 #include <wx/tipdlg.h>
64 #include <wx/process.h>
66 #if wxUSE_JOYSTICK || defined(__WXMSW__)
67 #include <wx/joystick.h>
70 #if wxUSE_WAVE || defined(__WXMSW__)
75 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
81 } else if (target
== Py_None
) {
85 if (!PyTuple_Check(target
)) {
87 target
= PyTuple_New(1);
88 PyTuple_SetItem(target
, 0, o2
);
91 PyTuple_SetItem(o3
, 0, o
);
94 target
= PySequence_Concat(o2
, o3
);
101 #if PYTHON_API_VERSION >= 1009
102 static char* wxStringErrorMsg
= "String or Unicode type required";
104 static char* wxStringErrorMsg
= "string type is required for parameter";
107 static wxString
wxPyEmptyStr("");
110 wxColour
wxSystemSettings_GetSystemColour(int index
) {
111 return wxSystemSettings::GetSystemColour(index
);
114 wxFont
wxSystemSettings_GetSystemFont(int index
) {
115 return wxSystemSettings::GetSystemFont(index
);
118 int wxSystemSettings_GetSystemMetric(int index
) {
119 return wxSystemSettings::GetSystemMetric(index
);
122 int wxCaret_GetBlinkTime() {
123 return wxCaret::GetBlinkTime();
126 void wxCaret_SetBlinkTime(int milliseconds
) {
127 wxCaret::SetBlinkTime(milliseconds
);
130 class wxPyFontEnumerator
: public wxFontEnumerator
{
132 wxPyFontEnumerator() {}
133 ~wxPyFontEnumerator() {}
135 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
136 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
141 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
142 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
145 bool wxThread_IsMain() {
146 return wxThread::IsMain();
149 class wxPyTipProvider
: public wxTipProvider
{
151 wxPyTipProvider(size_t currentTip
)
152 : wxTipProvider(currentTip
) {}
154 DEC_PYCALLBACK_STRING__pure(GetTip
);
159 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
162 #include <wx/generic/dragimgg.h>
163 // C++ version of wxProcess derived class
165 class wxPyProcess
: public wxProcess
{
167 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
168 : wxProcess(parent
, id
)
171 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
176 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
179 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
180 // A C++ stub class for wxJoystick for platforms that don't have it.
181 class wxJoystick
: public wxObject
{
183 wxJoystick(int joystick
= wxJOYSTICK1
) {
184 bool doSave
= wxPyRestoreThread();
185 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
186 wxPySaveThread(doSave
);
188 wxPoint
GetPosition() { return wxPoint(-1,-1); }
189 int GetZPosition() { return -1; }
190 int GetButtonState() { return -1; }
191 int GetPOVPosition() { return -1; }
192 int GetPOVCTSPosition() { return -1; }
193 int GetRudderPosition() { return -1; }
194 int GetUPosition() { return -1; }
195 int GetVPosition() { return -1; }
196 int GetMovementThreshold() { return -1; }
197 void SetMovementThreshold(int threshold
) {}
199 bool IsOk(void) { return FALSE
; }
200 int GetNumberJoysticks() { return -1; }
201 int GetManufacturerId() { return -1; }
202 int GetProductId() { return -1; }
203 wxString
GetProductName() { return ""; }
204 int GetXMin() { return -1; }
205 int GetYMin() { return -1; }
206 int GetZMin() { return -1; }
207 int GetXMax() { return -1; }
208 int GetYMax() { return -1; }
209 int GetZMax() { return -1; }
210 int GetNumberButtons() { return -1; }
211 int GetNumberAxes() { return -1; }
212 int GetMaxButtons() { return -1; }
213 int GetMaxAxes() { return -1; }
214 int GetPollingMin() { return -1; }
215 int GetPollingMax() { return -1; }
216 int GetRudderMin() { return -1; }
217 int GetRudderMax() { return -1; }
218 int GetUMin() { return -1; }
219 int GetUMax() { return -1; }
220 int GetVMin() { return -1; }
221 int GetVMax() { return -1; }
223 bool HasRudder() { return FALSE
; }
224 bool HasZ() { return FALSE
; }
225 bool HasU() { return FALSE
; }
226 bool HasV() { return FALSE
; }
227 bool HasPOV() { return FALSE
; }
228 bool HasPOV4Dir() { return FALSE
; }
229 bool HasPOVCTS() { return FALSE
; }
231 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
232 bool ReleaseCapture() { return FALSE
; }
237 // A C++ stub class for wxWave for platforms that don't have it.
238 class wxWave
: public wxObject
241 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
242 wxPyTState
* state
= wxPyBeginBlockThreads();
243 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
244 wxPyEndBlockThreads(state
);
246 wxWave(int size
, const wxByte
* data
) {
247 wxPyTState
* state
= wxPyBeginBlockThreads();
248 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
249 wxPyEndBlockThreads(state
);
254 bool IsOk() const { return FALSE
; }
255 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
259 // Implementations of some alternate "constructors"
260 wxWave
* wxWaveData(const wxString
& data
) {
261 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
266 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
267 PyObject
* _resultobj
;
270 char * _arg1
= (char *) NULL
;
271 char * _arg2
= (char *) NULL
;
272 char * _arg3
= (char *) NULL
;
273 char * _arg4
= (char *) "*.*";
274 int _arg5
= (int ) 0;
275 wxWindow
* _arg6
= (wxWindow
*) NULL
;
276 int _arg7
= (int ) -1;
277 int _arg8
= (int ) -1;
278 PyObject
* _argo6
= 0;
279 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|ssssiOii:wxFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
285 if (_argo6
== Py_None
) { _arg6
= NULL
; }
286 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
287 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
292 wxPy_BEGIN_ALLOW_THREADS
;
293 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
295 wxPy_END_ALLOW_THREADS
;
297 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
305 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
306 PyObject
* _resultobj
;
309 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
310 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
311 wxWindow
* _arg3
= (wxWindow
*) NULL
;
312 int _arg4
= (int ) -1;
313 int _arg5
= (int ) -1;
314 bool _arg6
= (bool ) TRUE
;
315 PyObject
* _obj0
= 0;
316 PyObject
* _obj1
= 0;
317 PyObject
* _obj2
= 0;
318 PyObject
* _argo3
= 0;
319 int tempbool6
= (int) TRUE
;
320 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
326 #if PYTHON_API_VERSION >= 1009
327 char* tmpPtr
; int tmpSize
;
328 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
329 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
332 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
334 _arg0
= new wxString(tmpPtr
, tmpSize
);
336 if (!PyString_Check(_obj0
)) {
337 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
340 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
345 #if PYTHON_API_VERSION >= 1009
346 char* tmpPtr
; int tmpSize
;
347 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
348 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
351 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
353 _arg1
= new wxString(tmpPtr
, tmpSize
);
355 if (!PyString_Check(_obj1
)) {
356 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
359 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
364 #if PYTHON_API_VERSION >= 1009
365 char* tmpPtr
; int tmpSize
;
366 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
367 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
370 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
372 _arg2
= new wxString(tmpPtr
, tmpSize
);
374 if (!PyString_Check(_obj2
)) {
375 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
378 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
382 if (_argo3
== Py_None
) { _arg3
= NULL
; }
383 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
388 _arg6
= (bool ) tempbool6
;
390 wxPy_BEGIN_ALLOW_THREADS
;
391 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
393 wxPy_END_ALLOW_THREADS
;
395 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
415 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
416 PyObject
* _resultobj
;
419 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
420 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
421 wxWindow
* _arg3
= (wxWindow
*) NULL
;
422 PyObject
* _obj0
= 0;
423 PyObject
* _obj1
= 0;
424 PyObject
* _obj2
= 0;
425 PyObject
* _argo3
= 0;
426 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
432 #if PYTHON_API_VERSION >= 1009
433 char* tmpPtr
; int tmpSize
;
434 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
435 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
438 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
440 _arg0
= new wxString(tmpPtr
, tmpSize
);
442 if (!PyString_Check(_obj0
)) {
443 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
446 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
451 #if PYTHON_API_VERSION >= 1009
452 char* tmpPtr
; int tmpSize
;
453 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
454 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
457 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
459 _arg1
= new wxString(tmpPtr
, tmpSize
);
461 if (!PyString_Check(_obj1
)) {
462 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
465 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
470 #if PYTHON_API_VERSION >= 1009
471 char* tmpPtr
; int tmpSize
;
472 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
473 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
476 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
478 _arg2
= new wxString(tmpPtr
, tmpSize
);
480 if (!PyString_Check(_obj2
)) {
481 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
484 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
488 if (_argo3
== Py_None
) { _arg3
= NULL
; }
489 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
495 wxPy_BEGIN_ALLOW_THREADS
;
496 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
498 wxPy_END_ALLOW_THREADS
;
500 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
520 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
521 PyObject
* _resultobj
;
527 wxWindow
* _arg4
= (wxWindow
*) NULL
;
528 int _arg5
= (int ) -1;
529 int _arg6
= (int ) -1;
530 bool _arg7
= (bool ) TRUE
;
531 int _arg8
= (int ) 150;
532 int _arg9
= (int ) 200;
533 PyObject
* _obj0
= 0;
534 PyObject
* _obj1
= 0;
535 PyObject
* _obj3
= 0;
536 PyObject
* _argo4
= 0;
537 int tempbool7
= (int) TRUE
;
538 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
544 #if PYTHON_API_VERSION >= 1009
545 char* tmpPtr
; int tmpSize
;
546 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
547 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
550 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
552 _arg0
= new wxString(tmpPtr
, tmpSize
);
554 if (!PyString_Check(_obj0
)) {
555 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
558 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
562 #if PYTHON_API_VERSION >= 1009
563 char* tmpPtr
; int tmpSize
;
564 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
565 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
568 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
570 _arg1
= new wxString(tmpPtr
, tmpSize
);
572 if (!PyString_Check(_obj1
)) {
573 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
576 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
581 _arg3
= wxString_LIST_helper(_obj3
);
587 if (_argo4
== Py_None
) { _arg4
= NULL
; }
588 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
593 _arg7
= (bool ) tempbool7
;
596 _arg2
= PyList_Size(_obj3
);
603 wxPy_BEGIN_ALLOW_THREADS
;
604 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
606 wxPy_END_ALLOW_THREADS
;
608 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
627 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
628 PyObject
* _resultobj
;
634 wxWindow
* _arg4
= (wxWindow
*) NULL
;
635 int _arg5
= (int ) -1;
636 int _arg6
= (int ) -1;
637 bool _arg7
= (bool ) TRUE
;
638 int _arg8
= (int ) 150;
639 int _arg9
= (int ) 200;
640 PyObject
* _obj0
= 0;
641 PyObject
* _obj1
= 0;
642 PyObject
* _obj3
= 0;
643 PyObject
* _argo4
= 0;
644 int tempbool7
= (int) TRUE
;
645 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
651 #if PYTHON_API_VERSION >= 1009
652 char* tmpPtr
; int tmpSize
;
653 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
654 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
657 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
659 _arg0
= new wxString(tmpPtr
, tmpSize
);
661 if (!PyString_Check(_obj0
)) {
662 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
665 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
669 #if PYTHON_API_VERSION >= 1009
670 char* tmpPtr
; int tmpSize
;
671 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
672 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
675 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
677 _arg1
= new wxString(tmpPtr
, tmpSize
);
679 if (!PyString_Check(_obj1
)) {
680 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
683 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
688 _arg3
= wxString_LIST_helper(_obj3
);
694 if (_argo4
== Py_None
) { _arg4
= NULL
; }
695 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
696 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
700 _arg7
= (bool ) tempbool7
;
703 _arg2
= PyList_Size(_obj3
);
710 wxPy_BEGIN_ALLOW_THREADS
;
711 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
713 wxPy_END_ALLOW_THREADS
;
714 } _resultobj
= Py_BuildValue("i",_result
);
729 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
730 PyObject
* _resultobj
;
733 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
734 int _arg2
= (int ) wxOK
|wxCENTRE
;
735 wxWindow
* _arg3
= (wxWindow
*) NULL
;
736 int _arg4
= (int ) -1;
737 int _arg5
= (int ) -1;
738 PyObject
* _obj0
= 0;
739 PyObject
* _obj1
= 0;
740 PyObject
* _argo3
= 0;
741 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
747 #if PYTHON_API_VERSION >= 1009
748 char* tmpPtr
; int tmpSize
;
749 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
750 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
753 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
755 _arg0
= new wxString(tmpPtr
, tmpSize
);
757 if (!PyString_Check(_obj0
)) {
758 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
761 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
766 #if PYTHON_API_VERSION >= 1009
767 char* tmpPtr
; int tmpSize
;
768 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
769 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
772 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
774 _arg1
= new wxString(tmpPtr
, tmpSize
);
776 if (!PyString_Check(_obj1
)) {
777 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
780 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
784 if (_argo3
== Py_None
) { _arg3
= NULL
; }
785 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
791 wxPy_BEGIN_ALLOW_THREADS
;
792 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
794 wxPy_END_ALLOW_THREADS
;
795 } _resultobj
= Py_BuildValue("i",_result
);
807 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
808 PyObject
* _resultobj
;
814 long _arg4
= (long ) 0;
815 long _arg5
= (long ) 100;
816 wxWindow
* _arg6
= (wxWindow
*) NULL
;
817 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
818 PyObject
* _obj0
= 0;
819 PyObject
* _obj1
= 0;
820 PyObject
* _obj2
= 0;
821 PyObject
* _argo6
= 0;
823 PyObject
* _obj7
= 0;
824 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
830 #if PYTHON_API_VERSION >= 1009
831 char* tmpPtr
; int tmpSize
;
832 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
833 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
836 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
838 _arg0
= new wxString(tmpPtr
, tmpSize
);
840 if (!PyString_Check(_obj0
)) {
841 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
844 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
848 #if PYTHON_API_VERSION >= 1009
849 char* tmpPtr
; int tmpSize
;
850 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
851 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
854 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
856 _arg1
= new wxString(tmpPtr
, tmpSize
);
858 if (!PyString_Check(_obj1
)) {
859 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
862 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
866 #if PYTHON_API_VERSION >= 1009
867 char* tmpPtr
; int tmpSize
;
868 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
869 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
872 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
874 _arg2
= new wxString(tmpPtr
, tmpSize
);
876 if (!PyString_Check(_obj2
)) {
877 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
880 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
884 if (_argo6
== Py_None
) { _arg6
= NULL
; }
885 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
893 if (! wxPoint_helper(_obj7
, &_arg7
))
897 wxPy_BEGIN_ALLOW_THREADS
;
898 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
900 wxPy_END_ALLOW_THREADS
;
901 } _resultobj
= Py_BuildValue("l",_result
);
917 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
918 PyObject
* _resultobj
;
920 char *_kwnames
[] = { NULL
};
923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
926 wxPy_BEGIN_ALLOW_THREADS
;
927 _result
= (bool )wxColourDisplay();
929 wxPy_END_ALLOW_THREADS
;
930 } _resultobj
= Py_BuildValue("i",_result
);
934 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
935 PyObject
* _resultobj
;
937 char *_kwnames
[] = { NULL
};
940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
943 wxPy_BEGIN_ALLOW_THREADS
;
944 _result
= (int )wxDisplayDepth();
946 wxPy_END_ALLOW_THREADS
;
947 } _resultobj
= Py_BuildValue("i",_result
);
951 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
952 PyObject
* _resultobj
;
954 char *_kwnames
[] = { NULL
};
957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
960 wxPy_BEGIN_ALLOW_THREADS
;
961 _result
= (int )wxGetDisplayDepth();
963 wxPy_END_ALLOW_THREADS
;
964 } _resultobj
= Py_BuildValue("i",_result
);
968 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
969 PyObject
* _resultobj
;
974 char *_kwnames
[] = { NULL
};
983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
986 wxPy_BEGIN_ALLOW_THREADS
;
987 wxDisplaySize(_arg0
,_arg1
);
989 wxPy_END_ALLOW_THREADS
;
990 } Py_INCREF(Py_None
);
991 _resultobj
= Py_None
;
994 o
= PyInt_FromLong((long) (*_arg0
));
995 _resultobj
= t_output_helper(_resultobj
, o
);
999 o
= PyInt_FromLong((long) (*_arg1
));
1000 _resultobj
= t_output_helper(_resultobj
, o
);
1005 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1006 PyObject
* _resultobj
;
1008 char *_kwnames
[] = { NULL
};
1012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1015 wxPy_BEGIN_ALLOW_THREADS
;
1016 _result
= new wxSize (wxGetDisplaySize());
1018 wxPy_END_ALLOW_THREADS
;
1019 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1020 _resultobj
= Py_BuildValue("s",_ptemp
);
1024 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1025 PyObject
* _resultobj
;
1030 char *_kwnames
[] = { NULL
};
1039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1042 wxPy_BEGIN_ALLOW_THREADS
;
1043 wxDisplaySizeMM(_arg0
,_arg1
);
1045 wxPy_END_ALLOW_THREADS
;
1046 } Py_INCREF(Py_None
);
1047 _resultobj
= Py_None
;
1050 o
= PyInt_FromLong((long) (*_arg0
));
1051 _resultobj
= t_output_helper(_resultobj
, o
);
1055 o
= PyInt_FromLong((long) (*_arg1
));
1056 _resultobj
= t_output_helper(_resultobj
, o
);
1061 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1062 PyObject
* _resultobj
;
1064 char *_kwnames
[] = { NULL
};
1068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1071 wxPy_BEGIN_ALLOW_THREADS
;
1072 _result
= new wxSize (wxGetDisplaySizeMM());
1074 wxPy_END_ALLOW_THREADS
;
1075 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1076 _resultobj
= Py_BuildValue("s",_ptemp
);
1080 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1081 PyObject
* _resultobj
;
1090 char *_kwnames
[] = { NULL
};
1105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1108 wxPy_BEGIN_ALLOW_THREADS
;
1109 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1111 wxPy_END_ALLOW_THREADS
;
1112 } Py_INCREF(Py_None
);
1113 _resultobj
= Py_None
;
1116 o
= PyInt_FromLong((long) (*_arg0
));
1117 _resultobj
= t_output_helper(_resultobj
, o
);
1121 o
= PyInt_FromLong((long) (*_arg1
));
1122 _resultobj
= t_output_helper(_resultobj
, o
);
1126 o
= PyInt_FromLong((long) (*_arg2
));
1127 _resultobj
= t_output_helper(_resultobj
, o
);
1131 o
= PyInt_FromLong((long) (*_arg3
));
1132 _resultobj
= t_output_helper(_resultobj
, o
);
1137 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1138 PyObject
* _resultobj
;
1140 char *_kwnames
[] = { NULL
};
1144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1147 wxPy_BEGIN_ALLOW_THREADS
;
1148 _result
= new wxRect (wxGetClientDisplayRect());
1150 wxPy_END_ALLOW_THREADS
;
1151 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1152 _resultobj
= Py_BuildValue("s",_ptemp
);
1156 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1157 PyObject
* _resultobj
;
1159 PyObject
* _argo0
= 0;
1160 char *_kwnames
[] = { "cursor", NULL
};
1163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1173 wxPy_BEGIN_ALLOW_THREADS
;
1174 wxSetCursor(*_arg0
);
1176 wxPy_END_ALLOW_THREADS
;
1177 } Py_INCREF(Py_None
);
1178 _resultobj
= Py_None
;
1182 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1183 PyObject
* _resultobj
;
1186 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1187 PyObject
* _obj0
= 0;
1188 PyObject
* _argo1
= 0;
1189 char *_kwnames
[] = { "label","parent", NULL
};
1192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
1195 #if PYTHON_API_VERSION >= 1009
1196 char* tmpPtr
; int tmpSize
;
1197 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1198 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1201 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1203 _arg0
= new wxString(tmpPtr
, tmpSize
);
1205 if (!PyString_Check(_obj0
)) {
1206 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1209 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1213 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1214 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1220 wxPy_BEGIN_ALLOW_THREADS
;
1221 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
1223 wxPy_END_ALLOW_THREADS
;
1224 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1232 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1233 PyObject
* _resultobj
;
1236 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1237 PyObject
* _obj0
= 0;
1238 PyObject
* _argo1
= 0;
1239 char *_kwnames
[] = { "name","parent", NULL
};
1242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1245 #if PYTHON_API_VERSION >= 1009
1246 char* tmpPtr
; int tmpSize
;
1247 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1248 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1251 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1253 _arg0
= new wxString(tmpPtr
, tmpSize
);
1255 if (!PyString_Check(_obj0
)) {
1256 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1259 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1263 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1264 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1270 wxPy_BEGIN_ALLOW_THREADS
;
1271 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1273 wxPy_END_ALLOW_THREADS
;
1274 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1282 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1283 PyObject
* _resultobj
;
1284 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1285 PyObject
* _argo0
= 0;
1286 char *_kwnames
[] = { "cursor", NULL
};
1289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1299 wxPy_BEGIN_ALLOW_THREADS
;
1300 wxBeginBusyCursor(_arg0
);
1302 wxPy_END_ALLOW_THREADS
;
1303 } Py_INCREF(Py_None
);
1304 _resultobj
= Py_None
;
1308 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1309 PyObject
* _resultobj
;
1311 char *_kwnames
[] = { NULL
};
1314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1317 wxPy_BEGIN_ALLOW_THREADS
;
1318 _result
= (wxWindow
*)wxGetActiveWindow();
1320 wxPy_END_ALLOW_THREADS
;
1321 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1325 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1326 PyObject
* _resultobj
;
1330 PyObject
* _obj0
= 0;
1331 char *_kwnames
[] = { "pt", NULL
};
1334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1338 if (! wxPoint_helper(_obj0
, &_arg0
))
1342 wxPy_BEGIN_ALLOW_THREADS
;
1343 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1345 wxPy_END_ALLOW_THREADS
;
1346 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1350 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1351 PyObject
* _resultobj
;
1355 PyObject
* _obj0
= 0;
1356 char *_kwnames
[] = { "pt", NULL
};
1359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1363 if (! wxPoint_helper(_obj0
, &_arg0
))
1367 wxPy_BEGIN_ALLOW_THREADS
;
1368 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1370 wxPy_END_ALLOW_THREADS
;
1371 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1375 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1376 PyObject
* _resultobj
;
1380 char *_kwnames
[] = { "name","value", NULL
};
1383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1386 wxPy_BEGIN_ALLOW_THREADS
;
1387 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1389 wxPy_END_ALLOW_THREADS
;
1390 } _resultobj
= Py_BuildValue("i",_result
);
1394 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1395 PyObject
* _resultobj
;
1396 char *_kwnames
[] = { NULL
};
1399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1402 wxPy_BEGIN_ALLOW_THREADS
;
1405 wxPy_END_ALLOW_THREADS
;
1406 } Py_INCREF(Py_None
);
1407 _resultobj
= Py_None
;
1411 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1412 PyObject
* _resultobj
;
1415 char *_kwnames
[] = { "resource", NULL
};
1419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1422 wxPy_BEGIN_ALLOW_THREADS
;
1423 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1425 wxPy_END_ALLOW_THREADS
;
1426 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1427 _resultobj
= Py_BuildValue("s",_ptemp
);
1431 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1432 PyObject
* _resultobj
;
1435 char *_kwnames
[] = { "resource", NULL
};
1439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1442 wxPy_BEGIN_ALLOW_THREADS
;
1443 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1445 wxPy_END_ALLOW_THREADS
;
1446 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1447 _resultobj
= Py_BuildValue("s",_ptemp
);
1451 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1452 PyObject
* _resultobj
;
1453 wxMenuBar
* _result
;
1455 char *_kwnames
[] = { "resource", NULL
};
1458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1461 wxPy_BEGIN_ALLOW_THREADS
;
1462 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1464 wxPy_END_ALLOW_THREADS
;
1465 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1469 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1470 PyObject
* _resultobj
;
1473 char *_kwnames
[] = { "name", NULL
};
1476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1479 wxPy_BEGIN_ALLOW_THREADS
;
1480 _result
= (int )wxResourceGetIdentifier(_arg0
);
1482 wxPy_END_ALLOW_THREADS
;
1483 } _resultobj
= Py_BuildValue("i",_result
);
1487 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1488 PyObject
* _resultobj
;
1491 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1492 PyObject
* _argo1
= 0;
1493 char *_kwnames
[] = { "resource","table", NULL
};
1496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1499 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1500 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1506 wxPy_BEGIN_ALLOW_THREADS
;
1507 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1509 wxPy_END_ALLOW_THREADS
;
1510 } _resultobj
= Py_BuildValue("i",_result
);
1514 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1515 PyObject
* _resultobj
;
1518 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1519 PyObject
* _argo1
= 0;
1520 char *_kwnames
[] = { "filename","table", NULL
};
1523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1526 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1527 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1533 wxPy_BEGIN_ALLOW_THREADS
;
1534 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1536 wxPy_END_ALLOW_THREADS
;
1537 } _resultobj
= Py_BuildValue("i",_result
);
1541 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1542 PyObject
* _resultobj
;
1545 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1546 PyObject
* _argo1
= 0;
1547 char *_kwnames
[] = { "resource","table", NULL
};
1550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1553 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1554 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1560 wxPy_BEGIN_ALLOW_THREADS
;
1561 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1563 wxPy_END_ALLOW_THREADS
;
1564 } _resultobj
= Py_BuildValue("i",_result
);
1568 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1569 PyObject
* _resultobj
;
1572 char *_kwnames
[] = { "index", NULL
};
1576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1579 wxPy_BEGIN_ALLOW_THREADS
;
1580 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1582 wxPy_END_ALLOW_THREADS
;
1583 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1584 _resultobj
= Py_BuildValue("s",_ptemp
);
1588 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1589 PyObject
* _resultobj
;
1592 char *_kwnames
[] = { "index", NULL
};
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1599 wxPy_BEGIN_ALLOW_THREADS
;
1600 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1602 wxPy_END_ALLOW_THREADS
;
1603 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1604 _resultobj
= Py_BuildValue("s",_ptemp
);
1608 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1609 PyObject
* _resultobj
;
1612 char *_kwnames
[] = { "index", NULL
};
1615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1618 wxPy_BEGIN_ALLOW_THREADS
;
1619 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1621 wxPy_END_ALLOW_THREADS
;
1622 } _resultobj
= Py_BuildValue("i",_result
);
1626 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1627 PyObject
* _resultobj
;
1629 char *_kwnames
[] = { NULL
};
1632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1635 wxPy_BEGIN_ALLOW_THREADS
;
1636 _result
= (int )wxCaret_GetBlinkTime();
1638 wxPy_END_ALLOW_THREADS
;
1639 } _resultobj
= Py_BuildValue("i",_result
);
1643 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1644 PyObject
* _resultobj
;
1646 char *_kwnames
[] = { "milliseconds", NULL
};
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1652 wxPy_BEGIN_ALLOW_THREADS
;
1653 wxCaret_SetBlinkTime(_arg0
);
1655 wxPy_END_ALLOW_THREADS
;
1656 } Py_INCREF(Py_None
);
1657 _resultobj
= Py_None
;
1661 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1662 PyObject
* _resultobj
;
1664 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1665 PyObject
* _argo0
= 0;
1666 char *_kwnames
[] = { "win", NULL
};
1669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1672 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1673 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1674 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1679 wxPy_BEGIN_ALLOW_THREADS
;
1680 _result
= (bool )wxSafeYield(_arg0
);
1682 wxPy_END_ALLOW_THREADS
;
1683 } _resultobj
= Py_BuildValue("i",_result
);
1687 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1688 PyObject
* _resultobj
;
1689 wxEvtHandler
* _arg0
;
1691 PyObject
* _argo0
= 0;
1692 PyObject
* _argo1
= 0;
1693 char *_kwnames
[] = { "dest","event", NULL
};
1696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1706 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1707 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1713 wxPy_BEGIN_ALLOW_THREADS
;
1714 wxPostEvent(_arg0
,*_arg1
);
1716 wxPy_END_ALLOW_THREADS
;
1717 } Py_INCREF(Py_None
);
1718 _resultobj
= Py_None
;
1722 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1723 PyObject
* _resultobj
;
1724 char *_kwnames
[] = { NULL
};
1727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1730 wxPy_BEGIN_ALLOW_THREADS
;
1733 wxPy_END_ALLOW_THREADS
;
1734 } Py_INCREF(Py_None
);
1735 _resultobj
= Py_None
;
1739 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1740 PyObject
* _resultobj
;
1741 char *_kwnames
[] = { NULL
};
1744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1747 wxPy_BEGIN_ALLOW_THREADS
;
1750 wxPy_END_ALLOW_THREADS
;
1751 } Py_INCREF(Py_None
);
1752 _resultobj
= Py_None
;
1756 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1757 PyObject
* _resultobj
;
1758 char *_kwnames
[] = { NULL
};
1761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1764 wxPy_BEGIN_ALLOW_THREADS
;
1767 wxPy_END_ALLOW_THREADS
;
1768 } Py_INCREF(Py_None
);
1769 _resultobj
= Py_None
;
1773 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1774 PyObject
* _resultobj
;
1776 char *_kwnames
[] = { NULL
};
1779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1782 wxPy_BEGIN_ALLOW_THREADS
;
1783 _result
= (bool )wxThread_IsMain();
1785 wxPy_END_ALLOW_THREADS
;
1786 } _resultobj
= Py_BuildValue("i",_result
);
1790 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1791 PyObject
* _resultobj
;
1794 wxTipProvider
* _arg1
;
1795 bool _arg2
= (bool ) TRUE
;
1796 PyObject
* _argo0
= 0;
1797 PyObject
* _argo1
= 0;
1798 int tempbool2
= (int) TRUE
;
1799 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1812 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1813 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1818 _arg2
= (bool ) tempbool2
;
1820 wxPy_BEGIN_ALLOW_THREADS
;
1821 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1823 wxPy_END_ALLOW_THREADS
;
1824 } _resultobj
= Py_BuildValue("i",_result
);
1828 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1829 PyObject
* _resultobj
;
1830 wxTipProvider
* _result
;
1833 PyObject
* _obj0
= 0;
1834 char *_kwnames
[] = { "filename","currentTip", NULL
};
1838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1841 #if PYTHON_API_VERSION >= 1009
1842 char* tmpPtr
; int tmpSize
;
1843 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1844 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1847 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1849 _arg0
= new wxString(tmpPtr
, tmpSize
);
1851 if (!PyString_Check(_obj0
)) {
1852 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1855 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1859 wxPy_BEGIN_ALLOW_THREADS
;
1860 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1862 wxPy_END_ALLOW_THREADS
;
1864 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1865 _resultobj
= Py_BuildValue("s",_ptemp
);
1868 _resultobj
= Py_None
;
1877 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1878 PyObject
* _resultobj
;
1879 unsigned long _result
;
1880 char *_kwnames
[] = { NULL
};
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1886 wxPy_BEGIN_ALLOW_THREADS
;
1887 _result
= (unsigned long )wxSysErrorCode();
1889 wxPy_END_ALLOW_THREADS
;
1890 } _resultobj
= Py_BuildValue("l",_result
);
1894 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1895 PyObject
* _resultobj
;
1897 unsigned long _arg0
= (unsigned long ) 0;
1898 char *_kwnames
[] = { "nErrCode", NULL
};
1901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1904 wxPy_BEGIN_ALLOW_THREADS
;
1905 _result
= (char *)wxSysErrorMsg(_arg0
);
1907 wxPy_END_ALLOW_THREADS
;
1908 } _resultobj
= Py_BuildValue("s", _result
);
1912 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
* _resultobj
;
1915 char *_kwnames
[] = { "szFormat", NULL
};
1918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
1921 wxPy_BEGIN_ALLOW_THREADS
;
1922 wxLogFatalError(_arg0
);
1924 wxPy_END_ALLOW_THREADS
;
1925 } Py_INCREF(Py_None
);
1926 _resultobj
= Py_None
;
1930 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1931 PyObject
* _resultobj
;
1933 char *_kwnames
[] = { "szFormat", NULL
};
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
1939 wxPy_BEGIN_ALLOW_THREADS
;
1942 wxPy_END_ALLOW_THREADS
;
1943 } Py_INCREF(Py_None
);
1944 _resultobj
= Py_None
;
1948 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1949 PyObject
* _resultobj
;
1951 char *_kwnames
[] = { "szFormat", NULL
};
1954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
1957 wxPy_BEGIN_ALLOW_THREADS
;
1958 wxLogWarning(_arg0
);
1960 wxPy_END_ALLOW_THREADS
;
1961 } Py_INCREF(Py_None
);
1962 _resultobj
= Py_None
;
1966 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1967 PyObject
* _resultobj
;
1969 char *_kwnames
[] = { "szFormat", NULL
};
1972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
1975 wxPy_BEGIN_ALLOW_THREADS
;
1976 wxLogMessage(_arg0
);
1978 wxPy_END_ALLOW_THREADS
;
1979 } Py_INCREF(Py_None
);
1980 _resultobj
= Py_None
;
1984 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1985 PyObject
* _resultobj
;
1987 char *_kwnames
[] = { "szFormat", NULL
};
1990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
1993 wxPy_BEGIN_ALLOW_THREADS
;
1996 wxPy_END_ALLOW_THREADS
;
1997 } Py_INCREF(Py_None
);
1998 _resultobj
= Py_None
;
2002 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
* _resultobj
;
2005 char *_kwnames
[] = { "szFormat", NULL
};
2008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
2011 wxPy_BEGIN_ALLOW_THREADS
;
2012 wxLogVerbose(_arg0
);
2014 wxPy_END_ALLOW_THREADS
;
2015 } Py_INCREF(Py_None
);
2016 _resultobj
= Py_None
;
2020 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2021 PyObject
* _resultobj
;
2023 char *_kwnames
[] = { "szFormat", NULL
};
2026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
2029 wxPy_BEGIN_ALLOW_THREADS
;
2032 wxPy_END_ALLOW_THREADS
;
2033 } Py_INCREF(Py_None
);
2034 _resultobj
= Py_None
;
2038 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2039 PyObject
* _resultobj
;
2042 PyObject
* _argo0
= 0;
2043 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
2049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2056 wxPy_BEGIN_ALLOW_THREADS
;
2057 wxLogStatus(_arg0
,_arg1
);
2059 wxPy_END_ALLOW_THREADS
;
2060 } Py_INCREF(Py_None
);
2061 _resultobj
= Py_None
;
2065 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2066 PyObject
* _resultobj
;
2068 char *_kwnames
[] = { "szFormat", NULL
};
2071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2074 wxPy_BEGIN_ALLOW_THREADS
;
2075 wxLogSysError(_arg0
);
2077 wxPy_END_ALLOW_THREADS
;
2078 } Py_INCREF(Py_None
);
2079 _resultobj
= Py_None
;
2083 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2084 PyObject
* _resultobj
;
2087 int _arg1
= (int ) FALSE
;
2088 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2089 PyObject
* _obj0
= 0;
2090 PyObject
* _argo2
= 0;
2091 char *_kwnames
[] = { "command","sync","process", NULL
};
2094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2097 #if PYTHON_API_VERSION >= 1009
2098 char* tmpPtr
; int tmpSize
;
2099 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2100 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2103 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2105 _arg0
= new wxString(tmpPtr
, tmpSize
);
2107 if (!PyString_Check(_obj0
)) {
2108 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2111 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2115 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2116 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2122 wxPy_BEGIN_ALLOW_THREADS
;
2123 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2125 wxPy_END_ALLOW_THREADS
;
2126 } _resultobj
= Py_BuildValue("l",_result
);
2134 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2135 PyObject
* _resultobj
;
2138 PyObject
* _obj0
= 0;
2139 char *_kwnames
[] = { "data", NULL
};
2143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2146 #if PYTHON_API_VERSION >= 1009
2147 char* tmpPtr
; int tmpSize
;
2148 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2149 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2152 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2154 _arg0
= new wxString(tmpPtr
, tmpSize
);
2156 if (!PyString_Check(_obj0
)) {
2157 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2160 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2164 wxPy_BEGIN_ALLOW_THREADS
;
2165 _result
= (wxWave
*)wxWaveData(*_arg0
);
2167 wxPy_END_ALLOW_THREADS
;
2169 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2170 _resultobj
= Py_BuildValue("s",_ptemp
);
2173 _resultobj
= Py_None
;
2182 static void *SwigwxToolTipTowxObject(void *ptr
) {
2185 src
= (wxToolTip
*) ptr
;
2186 dest
= (wxObject
*) src
;
2187 return (void *) dest
;
2190 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2191 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2192 PyObject
* _resultobj
;
2193 wxToolTip
* _result
;
2195 PyObject
* _obj0
= 0;
2196 char *_kwnames
[] = { "tip", NULL
};
2200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2203 #if PYTHON_API_VERSION >= 1009
2204 char* tmpPtr
; int tmpSize
;
2205 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2206 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2209 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2211 _arg0
= new wxString(tmpPtr
, tmpSize
);
2213 if (!PyString_Check(_obj0
)) {
2214 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2217 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2221 wxPy_BEGIN_ALLOW_THREADS
;
2222 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2224 wxPy_END_ALLOW_THREADS
;
2226 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2227 _resultobj
= Py_BuildValue("s",_ptemp
);
2230 _resultobj
= Py_None
;
2239 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2240 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2241 PyObject
* _resultobj
;
2244 PyObject
* _argo0
= 0;
2245 PyObject
* _obj1
= 0;
2246 char *_kwnames
[] = { "self","tip", NULL
};
2249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2259 #if PYTHON_API_VERSION >= 1009
2260 char* tmpPtr
; int tmpSize
;
2261 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2262 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2265 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2267 _arg1
= new wxString(tmpPtr
, tmpSize
);
2269 if (!PyString_Check(_obj1
)) {
2270 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2273 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2277 wxPy_BEGIN_ALLOW_THREADS
;
2278 wxToolTip_SetTip(_arg0
,*_arg1
);
2280 wxPy_END_ALLOW_THREADS
;
2281 } Py_INCREF(Py_None
);
2282 _resultobj
= Py_None
;
2290 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2291 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2292 PyObject
* _resultobj
;
2295 PyObject
* _argo0
= 0;
2296 char *_kwnames
[] = { "self", NULL
};
2299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2302 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2303 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2304 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2309 wxPy_BEGIN_ALLOW_THREADS
;
2310 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2312 wxPy_END_ALLOW_THREADS
;
2314 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2322 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2323 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2324 PyObject
* _resultobj
;
2327 PyObject
* _argo0
= 0;
2328 char *_kwnames
[] = { "self", NULL
};
2331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2341 wxPy_BEGIN_ALLOW_THREADS
;
2342 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2344 wxPy_END_ALLOW_THREADS
;
2345 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2349 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
* _resultobj
;
2353 char *_kwnames
[] = { "flag", NULL
};
2356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2358 _arg0
= (bool ) tempbool0
;
2360 wxPy_BEGIN_ALLOW_THREADS
;
2361 wxToolTip::Enable(_arg0
);
2363 wxPy_END_ALLOW_THREADS
;
2364 } Py_INCREF(Py_None
);
2365 _resultobj
= Py_None
;
2369 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
* _resultobj
;
2372 char *_kwnames
[] = { "milliseconds", NULL
};
2375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2378 wxPy_BEGIN_ALLOW_THREADS
;
2379 wxToolTip::SetDelay(_arg0
);
2381 wxPy_END_ALLOW_THREADS
;
2382 } Py_INCREF(Py_None
);
2383 _resultobj
= Py_None
;
2387 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2388 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2389 PyObject
* _resultobj
;
2393 PyObject
* _argo0
= 0;
2395 PyObject
* _obj1
= 0;
2396 char *_kwnames
[] = { "window","size", NULL
};
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2411 if (! wxSize_helper(_obj1
, &_arg1
))
2415 wxPy_BEGIN_ALLOW_THREADS
;
2416 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2418 wxPy_END_ALLOW_THREADS
;
2420 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2421 _resultobj
= Py_BuildValue("s",_ptemp
);
2424 _resultobj
= Py_None
;
2429 #define delete_wxCaret(_swigobj) (delete _swigobj)
2430 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2431 PyObject
* _resultobj
;
2433 PyObject
* _argo0
= 0;
2434 char *_kwnames
[] = { "self", NULL
};
2437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2447 wxPy_BEGIN_ALLOW_THREADS
;
2448 delete_wxCaret(_arg0
);
2450 wxPy_END_ALLOW_THREADS
;
2451 } Py_INCREF(Py_None
);
2452 _resultobj
= Py_None
;
2456 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2457 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2458 PyObject
* _resultobj
;
2461 PyObject
* _argo0
= 0;
2462 char *_kwnames
[] = { "self", NULL
};
2465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2475 wxPy_BEGIN_ALLOW_THREADS
;
2476 _result
= (bool )wxCaret_IsOk(_arg0
);
2478 wxPy_END_ALLOW_THREADS
;
2479 } _resultobj
= Py_BuildValue("i",_result
);
2483 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2484 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2485 PyObject
* _resultobj
;
2488 PyObject
* _argo0
= 0;
2489 char *_kwnames
[] = { "self", NULL
};
2492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2502 wxPy_BEGIN_ALLOW_THREADS
;
2503 _result
= (bool )wxCaret_IsVisible(_arg0
);
2505 wxPy_END_ALLOW_THREADS
;
2506 } _resultobj
= Py_BuildValue("i",_result
);
2510 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2511 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2512 PyObject
* _resultobj
;
2518 PyObject
* _argo0
= 0;
2519 char *_kwnames
[] = { "self", NULL
};
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2538 wxPy_BEGIN_ALLOW_THREADS
;
2539 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2541 wxPy_END_ALLOW_THREADS
;
2542 } Py_INCREF(Py_None
);
2543 _resultobj
= Py_None
;
2546 o
= PyInt_FromLong((long) (*_arg1
));
2547 _resultobj
= t_output_helper(_resultobj
, o
);
2551 o
= PyInt_FromLong((long) (*_arg2
));
2552 _resultobj
= t_output_helper(_resultobj
, o
);
2557 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2558 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2559 PyObject
* _resultobj
;
2562 PyObject
* _argo0
= 0;
2563 char *_kwnames
[] = { "self", NULL
};
2567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2570 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2571 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2577 wxPy_BEGIN_ALLOW_THREADS
;
2578 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2580 wxPy_END_ALLOW_THREADS
;
2581 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2582 _resultobj
= Py_BuildValue("s",_ptemp
);
2586 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2587 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2588 PyObject
* _resultobj
;
2594 PyObject
* _argo0
= 0;
2595 char *_kwnames
[] = { "self", NULL
};
2604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2614 wxPy_BEGIN_ALLOW_THREADS
;
2615 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2617 wxPy_END_ALLOW_THREADS
;
2618 } Py_INCREF(Py_None
);
2619 _resultobj
= Py_None
;
2622 o
= PyInt_FromLong((long) (*_arg1
));
2623 _resultobj
= t_output_helper(_resultobj
, o
);
2627 o
= PyInt_FromLong((long) (*_arg2
));
2628 _resultobj
= t_output_helper(_resultobj
, o
);
2633 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2634 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2635 PyObject
* _resultobj
;
2638 PyObject
* _argo0
= 0;
2639 char *_kwnames
[] = { "self", NULL
};
2643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2653 wxPy_BEGIN_ALLOW_THREADS
;
2654 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2656 wxPy_END_ALLOW_THREADS
;
2657 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2658 _resultobj
= Py_BuildValue("s",_ptemp
);
2662 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2663 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2664 PyObject
* _resultobj
;
2667 PyObject
* _argo0
= 0;
2668 char *_kwnames
[] = { "self", NULL
};
2671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2681 wxPy_BEGIN_ALLOW_THREADS
;
2682 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2684 wxPy_END_ALLOW_THREADS
;
2685 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2689 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2690 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2691 PyObject
* _resultobj
;
2695 PyObject
* _argo0
= 0;
2696 char *_kwnames
[] = { "self","x","y", NULL
};
2699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2709 wxPy_BEGIN_ALLOW_THREADS
;
2710 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2712 wxPy_END_ALLOW_THREADS
;
2713 } Py_INCREF(Py_None
);
2714 _resultobj
= Py_None
;
2718 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2719 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2720 PyObject
* _resultobj
;
2723 PyObject
* _argo0
= 0;
2725 PyObject
* _obj1
= 0;
2726 char *_kwnames
[] = { "self","pt", NULL
};
2729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2740 if (! wxPoint_helper(_obj1
, &_arg1
))
2744 wxPy_BEGIN_ALLOW_THREADS
;
2745 wxCaret_Move(_arg0
,*_arg1
);
2747 wxPy_END_ALLOW_THREADS
;
2748 } Py_INCREF(Py_None
);
2749 _resultobj
= Py_None
;
2753 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2754 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2755 PyObject
* _resultobj
;
2759 PyObject
* _argo0
= 0;
2760 char *_kwnames
[] = { "self","width","height", NULL
};
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2773 wxPy_BEGIN_ALLOW_THREADS
;
2774 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2776 wxPy_END_ALLOW_THREADS
;
2777 } Py_INCREF(Py_None
);
2778 _resultobj
= Py_None
;
2782 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2783 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2784 PyObject
* _resultobj
;
2787 PyObject
* _argo0
= 0;
2789 PyObject
* _obj1
= 0;
2790 char *_kwnames
[] = { "self","size", NULL
};
2793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2804 if (! wxSize_helper(_obj1
, &_arg1
))
2808 wxPy_BEGIN_ALLOW_THREADS
;
2809 wxCaret_SetSize(_arg0
,*_arg1
);
2811 wxPy_END_ALLOW_THREADS
;
2812 } Py_INCREF(Py_None
);
2813 _resultobj
= Py_None
;
2817 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2818 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2819 PyObject
* _resultobj
;
2821 int _arg1
= (int ) TRUE
;
2822 PyObject
* _argo0
= 0;
2823 char *_kwnames
[] = { "self","show", NULL
};
2826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
2829 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2830 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2836 wxPy_BEGIN_ALLOW_THREADS
;
2837 wxCaret_Show(_arg0
,_arg1
);
2839 wxPy_END_ALLOW_THREADS
;
2840 } Py_INCREF(Py_None
);
2841 _resultobj
= Py_None
;
2845 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2846 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
* _resultobj
;
2849 PyObject
* _argo0
= 0;
2850 char *_kwnames
[] = { "self", NULL
};
2853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
2856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
2863 wxPy_BEGIN_ALLOW_THREADS
;
2864 wxCaret_Hide(_arg0
);
2866 wxPy_END_ALLOW_THREADS
;
2867 } Py_INCREF(Py_None
);
2868 _resultobj
= Py_None
;
2872 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
2873 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2874 PyObject
* _resultobj
;
2875 wxPyFontEnumerator
* _result
;
2876 char *_kwnames
[] = { NULL
};
2880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
2883 wxPy_BEGIN_ALLOW_THREADS
;
2884 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
2886 wxPy_END_ALLOW_THREADS
;
2888 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
2889 _resultobj
= Py_BuildValue("s",_ptemp
);
2892 _resultobj
= Py_None
;
2897 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
2898 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
* _resultobj
;
2900 wxPyFontEnumerator
* _arg0
;
2901 PyObject
* _argo0
= 0;
2902 char *_kwnames
[] = { "self", NULL
};
2905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
2908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
2915 wxPy_BEGIN_ALLOW_THREADS
;
2916 delete_wxPyFontEnumerator(_arg0
);
2918 wxPy_END_ALLOW_THREADS
;
2919 } Py_INCREF(Py_None
);
2920 _resultobj
= Py_None
;
2924 #define wxFontEnumerator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2925 static PyObject
*_wrap_wxFontEnumerator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2926 PyObject
* _resultobj
;
2927 wxPyFontEnumerator
* _arg0
;
2930 PyObject
* _argo0
= 0;
2931 PyObject
* _obj1
= 0;
2932 PyObject
* _obj2
= 0;
2933 char *_kwnames
[] = { "self","self","_class", NULL
};
2936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFontEnumerator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2939 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2940 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2941 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setSelf. Expected _wxPyFontEnumerator_p.");
2952 wxPy_BEGIN_ALLOW_THREADS
;
2953 wxFontEnumerator__setSelf(_arg0
,_arg1
,_arg2
);
2955 wxPy_END_ALLOW_THREADS
;
2956 } Py_INCREF(Py_None
);
2957 _resultobj
= Py_None
;
2961 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
2962 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2963 PyObject
* _resultobj
;
2965 wxPyFontEnumerator
* _arg0
;
2966 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
2967 bool _arg2
= (bool ) FALSE
;
2968 PyObject
* _argo0
= 0;
2969 int tempbool2
= (int) FALSE
;
2970 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
2973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
2982 _arg2
= (bool ) tempbool2
;
2984 wxPy_BEGIN_ALLOW_THREADS
;
2985 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
2987 wxPy_END_ALLOW_THREADS
;
2988 } _resultobj
= Py_BuildValue("i",_result
);
2992 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
2993 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2994 PyObject
* _resultobj
;
2996 wxPyFontEnumerator
* _arg0
;
2997 char * _arg1
= (char *) "";
2998 PyObject
* _argo0
= 0;
2999 char *_kwnames
[] = { "self","facename", NULL
};
3002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
3005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3012 wxPy_BEGIN_ALLOW_THREADS
;
3013 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
3015 wxPy_END_ALLOW_THREADS
;
3016 } _resultobj
= Py_BuildValue("i",_result
);
3020 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3021 wxArrayString
* arr
= self
->GetEncodings();
3022 PyObject
* list
= PyList_New(0);
3023 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3024 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3027 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3028 PyObject
* _resultobj
;
3030 wxPyFontEnumerator
* _arg0
;
3031 PyObject
* _argo0
= 0;
3032 char *_kwnames
[] = { "self", NULL
};
3035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3045 wxPy_BEGIN_ALLOW_THREADS
;
3046 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3048 wxPy_END_ALLOW_THREADS
;
3050 _resultobj
= _result
;
3055 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3056 wxArrayString
* arr
= self
->GetFacenames();
3057 PyObject
* list
= PyList_New(0);
3058 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3059 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3062 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3063 PyObject
* _resultobj
;
3065 wxPyFontEnumerator
* _arg0
;
3066 PyObject
* _argo0
= 0;
3067 char *_kwnames
[] = { "self", NULL
};
3070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3080 wxPy_BEGIN_ALLOW_THREADS
;
3081 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3083 wxPy_END_ALLOW_THREADS
;
3085 _resultobj
= _result
;
3090 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3091 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3092 PyObject
* _resultobj
;
3093 wxBusyCursor
* _result
;
3094 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3095 PyObject
* _argo0
= 0;
3096 char *_kwnames
[] = { "cursor", NULL
};
3100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3110 wxPy_BEGIN_ALLOW_THREADS
;
3111 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3113 wxPy_END_ALLOW_THREADS
;
3115 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3116 _resultobj
= Py_BuildValue("s",_ptemp
);
3119 _resultobj
= Py_None
;
3124 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3125 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3126 PyObject
* _resultobj
;
3127 wxBusyCursor
* _arg0
;
3128 PyObject
* _argo0
= 0;
3129 char *_kwnames
[] = { "self", NULL
};
3132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3135 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3136 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3137 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3142 wxPy_BEGIN_ALLOW_THREADS
;
3143 delete_wxBusyCursor(_arg0
);
3145 wxPy_END_ALLOW_THREADS
;
3146 } Py_INCREF(Py_None
);
3147 _resultobj
= Py_None
;
3151 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3152 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
* _resultobj
;
3154 wxWindowDisabler
* _result
;
3155 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3156 PyObject
* _argo0
= 0;
3157 char *_kwnames
[] = { "winToSkip", NULL
};
3161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3171 wxPy_BEGIN_ALLOW_THREADS
;
3172 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3174 wxPy_END_ALLOW_THREADS
;
3176 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3177 _resultobj
= Py_BuildValue("s",_ptemp
);
3180 _resultobj
= Py_None
;
3185 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3186 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3187 PyObject
* _resultobj
;
3188 wxWindowDisabler
* _arg0
;
3189 PyObject
* _argo0
= 0;
3190 char *_kwnames
[] = { "self", NULL
};
3193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3203 wxPy_BEGIN_ALLOW_THREADS
;
3204 delete_wxWindowDisabler(_arg0
);
3206 wxPy_END_ALLOW_THREADS
;
3207 } Py_INCREF(Py_None
);
3208 _resultobj
= Py_None
;
3212 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3213 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
* _resultobj
;
3215 wxMutexGuiLocker
* _result
;
3216 char *_kwnames
[] = { NULL
};
3220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3223 wxPy_BEGIN_ALLOW_THREADS
;
3224 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3226 wxPy_END_ALLOW_THREADS
;
3228 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3229 _resultobj
= Py_BuildValue("s",_ptemp
);
3232 _resultobj
= Py_None
;
3237 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3238 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3239 PyObject
* _resultobj
;
3240 wxMutexGuiLocker
* _arg0
;
3241 PyObject
* _argo0
= 0;
3242 char *_kwnames
[] = { "self", NULL
};
3245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3255 wxPy_BEGIN_ALLOW_THREADS
;
3256 delete_wxMutexGuiLocker(_arg0
);
3258 wxPy_END_ALLOW_THREADS
;
3259 } Py_INCREF(Py_None
);
3260 _resultobj
= Py_None
;
3264 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3265 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
* _resultobj
;
3267 wxTipProvider
* _arg0
;
3268 PyObject
* _argo0
= 0;
3269 char *_kwnames
[] = { "self", NULL
};
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3275 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3276 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3277 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3282 wxPy_BEGIN_ALLOW_THREADS
;
3283 delete_wxTipProvider(_arg0
);
3285 wxPy_END_ALLOW_THREADS
;
3286 } Py_INCREF(Py_None
);
3287 _resultobj
= Py_None
;
3291 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3292 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
* _resultobj
;
3295 wxTipProvider
* _arg0
;
3296 PyObject
* _argo0
= 0;
3297 char *_kwnames
[] = { "self", NULL
};
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3310 wxPy_BEGIN_ALLOW_THREADS
;
3311 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3313 wxPy_END_ALLOW_THREADS
;
3315 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3323 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3324 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3325 PyObject
* _resultobj
;
3327 wxTipProvider
* _arg0
;
3328 PyObject
* _argo0
= 0;
3329 char *_kwnames
[] = { "self", NULL
};
3332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3342 wxPy_BEGIN_ALLOW_THREADS
;
3343 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3345 wxPy_END_ALLOW_THREADS
;
3346 } _resultobj
= Py_BuildValue("i",_result
);
3350 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3351 wxPyTipProvider
*src
;
3352 wxTipProvider
*dest
;
3353 src
= (wxPyTipProvider
*) ptr
;
3354 dest
= (wxTipProvider
*) src
;
3355 return (void *) dest
;
3358 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3359 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3360 PyObject
* _resultobj
;
3361 wxPyTipProvider
* _result
;
3363 char *_kwnames
[] = { "currentTip", NULL
};
3367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3370 wxPy_BEGIN_ALLOW_THREADS
;
3371 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3373 wxPy_END_ALLOW_THREADS
;
3375 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3376 _resultobj
= Py_BuildValue("s",_ptemp
);
3379 _resultobj
= Py_None
;
3384 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3385 wxGenericDragImage
*src
;
3387 src
= (wxGenericDragImage
*) ptr
;
3388 dest
= (wxObject
*) src
;
3389 return (void *) dest
;
3392 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3393 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3394 PyObject
* _resultobj
;
3395 wxGenericDragImage
* _result
;
3397 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3398 PyObject
* _argo0
= 0;
3399 PyObject
* _argo1
= 0;
3400 char *_kwnames
[] = { "image","cursor", NULL
};
3404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3407 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3408 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3409 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3414 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3415 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3421 wxPy_BEGIN_ALLOW_THREADS
;
3422 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3424 wxPy_END_ALLOW_THREADS
;
3426 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3427 _resultobj
= Py_BuildValue("s",_ptemp
);
3430 _resultobj
= Py_None
;
3435 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3436 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3437 PyObject
* _resultobj
;
3438 wxGenericDragImage
* _result
;
3440 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3441 PyObject
* _argo0
= 0;
3442 PyObject
* _argo1
= 0;
3443 char *_kwnames
[] = { "image","cursor", NULL
};
3447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3457 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3458 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3464 wxPy_BEGIN_ALLOW_THREADS
;
3465 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3467 wxPy_END_ALLOW_THREADS
;
3469 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3470 _resultobj
= Py_BuildValue("s",_ptemp
);
3473 _resultobj
= Py_None
;
3478 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3479 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
* _resultobj
;
3481 wxGenericDragImage
* _result
;
3483 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3484 PyObject
* _obj0
= 0;
3485 PyObject
* _argo1
= 0;
3486 char *_kwnames
[] = { "str","cursor", NULL
};
3490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3493 #if PYTHON_API_VERSION >= 1009
3494 char* tmpPtr
; int tmpSize
;
3495 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3496 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3499 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3501 _arg0
= new wxString(tmpPtr
, tmpSize
);
3503 if (!PyString_Check(_obj0
)) {
3504 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3507 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3511 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3512 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3518 wxPy_BEGIN_ALLOW_THREADS
;
3519 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3521 wxPy_END_ALLOW_THREADS
;
3523 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3524 _resultobj
= Py_BuildValue("s",_ptemp
);
3527 _resultobj
= Py_None
;
3536 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3537 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3538 PyObject
* _resultobj
;
3539 wxGenericDragImage
* _result
;
3541 wxTreeItemId
* _arg1
;
3542 PyObject
* _argo0
= 0;
3543 PyObject
* _argo1
= 0;
3544 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3558 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3559 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3560 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3565 wxPy_BEGIN_ALLOW_THREADS
;
3566 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3568 wxPy_END_ALLOW_THREADS
;
3570 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3571 _resultobj
= Py_BuildValue("s",_ptemp
);
3574 _resultobj
= Py_None
;
3579 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3580 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3581 PyObject
* _resultobj
;
3582 wxGenericDragImage
* _result
;
3585 PyObject
* _argo0
= 0;
3586 char *_kwnames
[] = { "listCtrl","id", NULL
};
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3600 wxPy_BEGIN_ALLOW_THREADS
;
3601 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3603 wxPy_END_ALLOW_THREADS
;
3605 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3606 _resultobj
= Py_BuildValue("s",_ptemp
);
3609 _resultobj
= Py_None
;
3614 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3615 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3616 PyObject
* _resultobj
;
3617 wxGenericDragImage
* _arg0
;
3618 PyObject
* _argo0
= 0;
3619 char *_kwnames
[] = { "self", NULL
};
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3625 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3626 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3627 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3632 wxPy_BEGIN_ALLOW_THREADS
;
3633 delete_wxGenericDragImage(_arg0
);
3635 wxPy_END_ALLOW_THREADS
;
3636 } Py_INCREF(Py_None
);
3637 _resultobj
= Py_None
;
3641 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3642 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3643 PyObject
* _resultobj
;
3644 wxGenericDragImage
* _arg0
;
3646 PyObject
* _argo0
= 0;
3647 PyObject
* _argo1
= 0;
3648 char *_kwnames
[] = { "self","bitmap", NULL
};
3651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3661 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3662 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3668 wxPy_BEGIN_ALLOW_THREADS
;
3669 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3671 wxPy_END_ALLOW_THREADS
;
3672 } Py_INCREF(Py_None
);
3673 _resultobj
= Py_None
;
3677 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3678 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3679 PyObject
* _resultobj
;
3681 wxGenericDragImage
* _arg0
;
3684 bool _arg3
= (bool ) FALSE
;
3685 wxRect
* _arg4
= (wxRect
*) NULL
;
3686 PyObject
* _argo0
= 0;
3688 PyObject
* _obj1
= 0;
3689 PyObject
* _argo2
= 0;
3690 int tempbool3
= (int) FALSE
;
3692 PyObject
* _obj4
= 0;
3693 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3707 if (! wxPoint_helper(_obj1
, &_arg1
))
3711 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3712 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3713 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3717 _arg3
= (bool ) tempbool3
;
3721 if (! wxRect_helper(_obj4
, &_arg4
))
3725 wxPy_BEGIN_ALLOW_THREADS
;
3726 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3728 wxPy_END_ALLOW_THREADS
;
3729 } _resultobj
= Py_BuildValue("i",_result
);
3733 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3734 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3735 PyObject
* _resultobj
;
3737 wxGenericDragImage
* _arg0
;
3741 PyObject
* _argo0
= 0;
3743 PyObject
* _obj1
= 0;
3744 PyObject
* _argo2
= 0;
3745 PyObject
* _argo3
= 0;
3746 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3760 if (! wxPoint_helper(_obj1
, &_arg1
))
3764 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3765 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3771 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3772 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3778 wxPy_BEGIN_ALLOW_THREADS
;
3779 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3781 wxPy_END_ALLOW_THREADS
;
3782 } _resultobj
= Py_BuildValue("i",_result
);
3786 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3787 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3788 PyObject
* _resultobj
;
3790 wxGenericDragImage
* _arg0
;
3791 PyObject
* _argo0
= 0;
3792 char *_kwnames
[] = { "self", NULL
};
3795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3805 wxPy_BEGIN_ALLOW_THREADS
;
3806 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3808 wxPy_END_ALLOW_THREADS
;
3809 } _resultobj
= Py_BuildValue("i",_result
);
3813 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3814 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3815 PyObject
* _resultobj
;
3817 wxGenericDragImage
* _arg0
;
3819 PyObject
* _argo0
= 0;
3821 PyObject
* _obj1
= 0;
3822 char *_kwnames
[] = { "self","pt", NULL
};
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3836 if (! wxPoint_helper(_obj1
, &_arg1
))
3840 wxPy_BEGIN_ALLOW_THREADS
;
3841 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3843 wxPy_END_ALLOW_THREADS
;
3844 } _resultobj
= Py_BuildValue("i",_result
);
3848 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3849 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3850 PyObject
* _resultobj
;
3852 wxGenericDragImage
* _arg0
;
3853 PyObject
* _argo0
= 0;
3854 char *_kwnames
[] = { "self", NULL
};
3857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3867 wxPy_BEGIN_ALLOW_THREADS
;
3868 _result
= (bool )wxDragImage_Show(_arg0
);
3870 wxPy_END_ALLOW_THREADS
;
3871 } _resultobj
= Py_BuildValue("i",_result
);
3875 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3876 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
* _resultobj
;
3879 wxGenericDragImage
* _arg0
;
3880 PyObject
* _argo0
= 0;
3881 char *_kwnames
[] = { "self", NULL
};
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3894 wxPy_BEGIN_ALLOW_THREADS
;
3895 _result
= (bool )wxDragImage_Hide(_arg0
);
3897 wxPy_END_ALLOW_THREADS
;
3898 } _resultobj
= Py_BuildValue("i",_result
);
3902 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3903 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
* _resultobj
;
3906 wxGenericDragImage
* _arg0
;
3908 PyObject
* _argo0
= 0;
3910 PyObject
* _obj1
= 0;
3911 char *_kwnames
[] = { "self","pos", NULL
};
3915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
3918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
3926 if (! wxPoint_helper(_obj1
, &_arg1
))
3930 wxPy_BEGIN_ALLOW_THREADS
;
3931 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
3933 wxPy_END_ALLOW_THREADS
;
3934 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3935 _resultobj
= Py_BuildValue("s",_ptemp
);
3939 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3940 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3941 PyObject
* _resultobj
;
3943 wxGenericDragImage
* _arg0
;
3948 PyObject
* _argo0
= 0;
3950 PyObject
* _obj1
= 0;
3952 PyObject
* _obj2
= 0;
3955 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
3958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
3961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
3969 if (! wxPoint_helper(_obj1
, &_arg1
))
3974 if (! wxPoint_helper(_obj2
, &_arg2
))
3977 _arg3
= (bool ) tempbool3
;
3978 _arg4
= (bool ) tempbool4
;
3980 wxPy_BEGIN_ALLOW_THREADS
;
3981 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
3983 wxPy_END_ALLOW_THREADS
;
3984 } _resultobj
= Py_BuildValue("i",_result
);
3988 static void *SwigwxPyTimerTowxObject(void *ptr
) {
3991 src
= (wxPyTimer
*) ptr
;
3992 dest
= (wxObject
*) src
;
3993 return (void *) dest
;
3996 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
3997 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3998 PyObject
* _resultobj
;
3999 wxPyTimer
* _result
;
4001 PyObject
* _obj0
= 0;
4002 char *_kwnames
[] = { "notify", NULL
};
4006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4012 wxPy_BEGIN_ALLOW_THREADS
;
4013 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4015 wxPy_END_ALLOW_THREADS
;
4017 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4018 _resultobj
= Py_BuildValue("s",_ptemp
);
4021 _resultobj
= Py_None
;
4026 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4027 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4028 PyObject
* _resultobj
;
4030 PyObject
* _argo0
= 0;
4031 char *_kwnames
[] = { "self", NULL
};
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4044 wxPy_BEGIN_ALLOW_THREADS
;
4045 delete_wxPyTimer(_arg0
);
4047 wxPy_END_ALLOW_THREADS
;
4048 } Py_INCREF(Py_None
);
4049 _resultobj
= Py_None
;
4053 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4054 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4055 PyObject
* _resultobj
;
4058 PyObject
* _argo0
= 0;
4059 char *_kwnames
[] = { "self", NULL
};
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4072 wxPy_BEGIN_ALLOW_THREADS
;
4073 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4075 wxPy_END_ALLOW_THREADS
;
4076 } _resultobj
= Py_BuildValue("i",_result
);
4080 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4081 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
* _resultobj
;
4085 PyObject
* _argo0
= 0;
4086 char *_kwnames
[] = { "self", NULL
};
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4099 wxPy_BEGIN_ALLOW_THREADS
;
4100 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4102 wxPy_END_ALLOW_THREADS
;
4103 } _resultobj
= Py_BuildValue("i",_result
);
4107 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4108 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
* _resultobj
;
4112 PyObject
* _argo0
= 0;
4113 char *_kwnames
[] = { "self", NULL
};
4116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4126 wxPy_BEGIN_ALLOW_THREADS
;
4127 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4129 wxPy_END_ALLOW_THREADS
;
4130 } _resultobj
= Py_BuildValue("i",_result
);
4134 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4135 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4136 PyObject
* _resultobj
;
4138 wxEvtHandler
* _arg1
;
4139 int _arg2
= (int ) -1;
4140 PyObject
* _argo0
= 0;
4141 PyObject
* _argo1
= 0;
4142 char *_kwnames
[] = { "self","owner","id", NULL
};
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4155 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4156 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4162 wxPy_BEGIN_ALLOW_THREADS
;
4163 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4165 wxPy_END_ALLOW_THREADS
;
4166 } Py_INCREF(Py_None
);
4167 _resultobj
= Py_None
;
4171 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4172 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4173 PyObject
* _resultobj
;
4175 int _arg1
= (int ) -1;
4176 int _arg2
= (int ) FALSE
;
4177 PyObject
* _argo0
= 0;
4178 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4191 wxPy_BEGIN_ALLOW_THREADS
;
4192 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4194 wxPy_END_ALLOW_THREADS
;
4195 } Py_INCREF(Py_None
);
4196 _resultobj
= Py_None
;
4200 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4201 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
* _resultobj
;
4204 PyObject
* _argo0
= 0;
4205 char *_kwnames
[] = { "self", NULL
};
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4218 wxPy_BEGIN_ALLOW_THREADS
;
4219 wxPyTimer_Stop(_arg0
);
4221 wxPy_END_ALLOW_THREADS
;
4222 } Py_INCREF(Py_None
);
4223 _resultobj
= Py_None
;
4227 #define new_wxLog() (new wxLog())
4228 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4229 PyObject
* _resultobj
;
4231 char *_kwnames
[] = { NULL
};
4235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4238 wxPy_BEGIN_ALLOW_THREADS
;
4239 _result
= (wxLog
*)new_wxLog();
4241 wxPy_END_ALLOW_THREADS
;
4243 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4244 _resultobj
= Py_BuildValue("s",_ptemp
);
4247 _resultobj
= Py_None
;
4252 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4253 PyObject
* _resultobj
;
4255 char *_kwnames
[] = { NULL
};
4258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4261 wxPy_BEGIN_ALLOW_THREADS
;
4262 _result
= (bool )wxLog::IsEnabled();
4264 wxPy_END_ALLOW_THREADS
;
4265 } _resultobj
= Py_BuildValue("i",_result
);
4269 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
* _resultobj
;
4272 bool _arg0
= (bool ) TRUE
;
4273 int tempbool0
= (int) TRUE
;
4274 char *_kwnames
[] = { "doIt", NULL
};
4277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4279 _arg0
= (bool ) tempbool0
;
4281 wxPy_BEGIN_ALLOW_THREADS
;
4282 _result
= (bool )wxLog::EnableLogging(_arg0
);
4284 wxPy_END_ALLOW_THREADS
;
4285 } _resultobj
= Py_BuildValue("i",_result
);
4289 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
* _resultobj
;
4293 int _arg2
= (int ) 0;
4294 PyObject
* _argo0
= 0;
4295 char *_kwnames
[] = { "level","szString","t", NULL
};
4298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4308 wxPy_BEGIN_ALLOW_THREADS
;
4309 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
4311 wxPy_END_ALLOW_THREADS
;
4312 } Py_INCREF(Py_None
);
4313 _resultobj
= Py_None
;
4317 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4318 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
* _resultobj
;
4321 PyObject
* _argo0
= 0;
4322 char *_kwnames
[] = { "self", NULL
};
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4335 wxPy_BEGIN_ALLOW_THREADS
;
4338 wxPy_END_ALLOW_THREADS
;
4339 } Py_INCREF(Py_None
);
4340 _resultobj
= Py_None
;
4344 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4345 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
* _resultobj
;
4349 PyObject
* _argo0
= 0;
4350 char *_kwnames
[] = { "self", NULL
};
4353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4363 wxPy_BEGIN_ALLOW_THREADS
;
4364 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4366 wxPy_END_ALLOW_THREADS
;
4367 } _resultobj
= Py_BuildValue("i",_result
);
4371 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4372 PyObject
* _resultobj
;
4373 char *_kwnames
[] = { NULL
};
4376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4379 wxPy_BEGIN_ALLOW_THREADS
;
4380 wxLog::FlushActive();
4382 wxPy_END_ALLOW_THREADS
;
4383 } Py_INCREF(Py_None
);
4384 _resultobj
= Py_None
;
4388 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4389 PyObject
* _resultobj
;
4391 char *_kwnames
[] = { NULL
};
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4398 wxPy_BEGIN_ALLOW_THREADS
;
4399 _result
= (wxLog
*)wxLog::GetActiveTarget();
4401 wxPy_END_ALLOW_THREADS
;
4403 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4404 _resultobj
= Py_BuildValue("s",_ptemp
);
4407 _resultobj
= Py_None
;
4412 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
* _resultobj
;
4416 PyObject
* _argo0
= 0;
4417 char *_kwnames
[] = { "pLogger", NULL
};
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4431 wxPy_BEGIN_ALLOW_THREADS
;
4432 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4434 wxPy_END_ALLOW_THREADS
;
4436 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4437 _resultobj
= Py_BuildValue("s",_ptemp
);
4440 _resultobj
= Py_None
;
4445 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4446 PyObject
* _resultobj
;
4447 char *_kwnames
[] = { NULL
};
4450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4453 wxPy_BEGIN_ALLOW_THREADS
;
4456 wxPy_END_ALLOW_THREADS
;
4457 } Py_INCREF(Py_None
);
4458 _resultobj
= Py_None
;
4462 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4463 PyObject
* _resultobj
;
4464 char *_kwnames
[] = { NULL
};
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4470 wxPy_BEGIN_ALLOW_THREADS
;
4473 wxPy_END_ALLOW_THREADS
;
4474 } Py_INCREF(Py_None
);
4475 _resultobj
= Py_None
;
4479 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4480 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4481 PyObject
* _resultobj
;
4483 bool _arg1
= (bool ) TRUE
;
4484 PyObject
* _argo0
= 0;
4485 int tempbool1
= (int) TRUE
;
4486 char *_kwnames
[] = { "self","bVerbose", NULL
};
4489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4492 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4493 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4494 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4498 _arg1
= (bool ) tempbool1
;
4500 wxPy_BEGIN_ALLOW_THREADS
;
4501 wxLog_SetVerbose(_arg0
,_arg1
);
4503 wxPy_END_ALLOW_THREADS
;
4504 } Py_INCREF(Py_None
);
4505 _resultobj
= Py_None
;
4509 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4510 PyObject
* _resultobj
;
4511 char *_kwnames
[] = { NULL
};
4514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4517 wxPy_BEGIN_ALLOW_THREADS
;
4518 wxLog::DontCreateOnDemand();
4520 wxPy_END_ALLOW_THREADS
;
4521 } Py_INCREF(Py_None
);
4522 _resultobj
= Py_None
;
4526 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
* _resultobj
;
4528 wxTraceMask
* _arg0
;
4529 PyObject
* _argo0
= 0;
4530 char *_kwnames
[] = { "ulMask", NULL
};
4533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4536 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4537 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4543 wxPy_BEGIN_ALLOW_THREADS
;
4544 wxLog::SetTraceMask(*_arg0
);
4546 wxPy_END_ALLOW_THREADS
;
4547 } Py_INCREF(Py_None
);
4548 _resultobj
= Py_None
;
4552 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4553 PyObject
* _resultobj
;
4555 PyObject
* _obj0
= 0;
4556 char *_kwnames
[] = { "str", NULL
};
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4562 #if PYTHON_API_VERSION >= 1009
4563 char* tmpPtr
; int tmpSize
;
4564 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4565 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4568 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4570 _arg0
= new wxString(tmpPtr
, tmpSize
);
4572 if (!PyString_Check(_obj0
)) {
4573 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4576 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4580 wxPy_BEGIN_ALLOW_THREADS
;
4581 wxLog::AddTraceMask(*_arg0
);
4583 wxPy_END_ALLOW_THREADS
;
4584 } Py_INCREF(Py_None
);
4585 _resultobj
= Py_None
;
4593 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
* _resultobj
;
4596 PyObject
* _obj0
= 0;
4597 char *_kwnames
[] = { "str", NULL
};
4600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4603 #if PYTHON_API_VERSION >= 1009
4604 char* tmpPtr
; int tmpSize
;
4605 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4606 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4609 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4611 _arg0
= new wxString(tmpPtr
, tmpSize
);
4613 if (!PyString_Check(_obj0
)) {
4614 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4617 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4621 wxPy_BEGIN_ALLOW_THREADS
;
4622 wxLog::RemoveTraceMask(*_arg0
);
4624 wxPy_END_ALLOW_THREADS
;
4625 } Py_INCREF(Py_None
);
4626 _resultobj
= Py_None
;
4634 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4635 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
* _resultobj
;
4639 PyObject
* _argo0
= 0;
4640 char *_kwnames
[] = { "self", NULL
};
4643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4653 wxPy_BEGIN_ALLOW_THREADS
;
4654 _result
= (bool )wxLog_GetVerbose(_arg0
);
4656 wxPy_END_ALLOW_THREADS
;
4657 } _resultobj
= Py_BuildValue("i",_result
);
4661 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
* _resultobj
;
4663 wxTraceMask
* _result
;
4664 char *_kwnames
[] = { NULL
};
4668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4671 wxPy_BEGIN_ALLOW_THREADS
;
4672 _result
= new wxTraceMask (wxLog::GetTraceMask());
4674 wxPy_END_ALLOW_THREADS
;
4675 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
4676 _resultobj
= Py_BuildValue("s",_ptemp
);
4680 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4681 PyObject
* _resultobj
;
4684 char *_kwnames
[] = { "mask", NULL
};
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
4690 wxPy_BEGIN_ALLOW_THREADS
;
4691 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
4693 wxPy_END_ALLOW_THREADS
;
4694 } _resultobj
= Py_BuildValue("i",_result
);
4698 static void *SwigwxLogStderrTowxLog(void *ptr
) {
4701 src
= (wxLogStderr
*) ptr
;
4702 dest
= (wxLog
*) src
;
4703 return (void *) dest
;
4706 #define new_wxLogStderr() (new wxLogStderr())
4707 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4708 PyObject
* _resultobj
;
4709 wxLogStderr
* _result
;
4710 char *_kwnames
[] = { NULL
};
4714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
4717 wxPy_BEGIN_ALLOW_THREADS
;
4718 _result
= (wxLogStderr
*)new_wxLogStderr();
4720 wxPy_END_ALLOW_THREADS
;
4722 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
4723 _resultobj
= Py_BuildValue("s",_ptemp
);
4726 _resultobj
= Py_None
;
4731 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
4734 src
= (wxLogTextCtrl
*) ptr
;
4735 dest
= (wxLog
*) src
;
4736 return (void *) dest
;
4739 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
4740 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
* _resultobj
;
4742 wxLogTextCtrl
* _result
;
4744 PyObject
* _argo0
= 0;
4745 char *_kwnames
[] = { "pTextCtrl", NULL
};
4749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
4752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
4759 wxPy_BEGIN_ALLOW_THREADS
;
4760 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
4762 wxPy_END_ALLOW_THREADS
;
4764 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
4765 _resultobj
= Py_BuildValue("s",_ptemp
);
4768 _resultobj
= Py_None
;
4773 static void *SwigwxLogGuiTowxLog(void *ptr
) {
4776 src
= (wxLogGui
*) ptr
;
4777 dest
= (wxLog
*) src
;
4778 return (void *) dest
;
4781 #define new_wxLogGui() (new wxLogGui())
4782 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
* _resultobj
;
4785 char *_kwnames
[] = { NULL
};
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
4792 wxPy_BEGIN_ALLOW_THREADS
;
4793 _result
= (wxLogGui
*)new_wxLogGui();
4795 wxPy_END_ALLOW_THREADS
;
4797 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
4798 _resultobj
= Py_BuildValue("s",_ptemp
);
4801 _resultobj
= Py_None
;
4806 static void *SwigwxLogWindowTowxLog(void *ptr
) {
4809 src
= (wxLogWindow
*) ptr
;
4810 dest
= (wxLog
*) src
;
4811 return (void *) dest
;
4814 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4815 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4816 PyObject
* _resultobj
;
4817 wxLogWindow
* _result
;
4820 bool _arg2
= (bool ) TRUE
;
4821 bool _arg3
= (bool ) TRUE
;
4822 PyObject
* _argo0
= 0;
4823 int tempbool2
= (int) TRUE
;
4824 int tempbool3
= (int) TRUE
;
4825 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
4829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
4832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
4834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
4838 _arg2
= (bool ) tempbool2
;
4839 _arg3
= (bool ) tempbool3
;
4841 wxPy_BEGIN_ALLOW_THREADS
;
4842 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
4844 wxPy_END_ALLOW_THREADS
;
4846 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
4847 _resultobj
= Py_BuildValue("s",_ptemp
);
4850 _resultobj
= Py_None
;
4855 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4856 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
* _resultobj
;
4858 wxLogWindow
* _arg0
;
4859 bool _arg1
= (bool ) TRUE
;
4860 PyObject
* _argo0
= 0;
4861 int tempbool1
= (int) TRUE
;
4862 char *_kwnames
[] = { "self","bShow", NULL
};
4865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
4874 _arg1
= (bool ) tempbool1
;
4876 wxPy_BEGIN_ALLOW_THREADS
;
4877 wxLogWindow_Show(_arg0
,_arg1
);
4879 wxPy_END_ALLOW_THREADS
;
4880 } Py_INCREF(Py_None
);
4881 _resultobj
= Py_None
;
4885 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
4886 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
* _resultobj
;
4889 wxLogWindow
* _arg0
;
4890 PyObject
* _argo0
= 0;
4891 char *_kwnames
[] = { "self", NULL
};
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
4897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
4904 wxPy_BEGIN_ALLOW_THREADS
;
4905 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
4907 wxPy_END_ALLOW_THREADS
;
4908 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4912 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
4913 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
* _resultobj
;
4916 wxLogWindow
* _arg0
;
4917 PyObject
* _argo0
= 0;
4918 char *_kwnames
[] = { "self", NULL
};
4922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
4925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
4932 wxPy_BEGIN_ALLOW_THREADS
;
4933 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
4935 wxPy_END_ALLOW_THREADS
;
4937 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4938 _resultobj
= Py_BuildValue("s",_ptemp
);
4941 _resultobj
= Py_None
;
4946 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
4947 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4948 PyObject
* _resultobj
;
4950 wxLogWindow
* _arg0
;
4951 PyObject
* _argo0
= 0;
4952 char *_kwnames
[] = { "self", NULL
};
4955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
4958 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4959 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4960 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
4965 wxPy_BEGIN_ALLOW_THREADS
;
4966 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
4968 wxPy_END_ALLOW_THREADS
;
4969 } _resultobj
= Py_BuildValue("i",_result
);
4973 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
4974 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4975 PyObject
* _resultobj
;
4976 wxLogWindow
* _arg0
;
4978 PyObject
* _argo0
= 0;
4980 char *_kwnames
[] = { "self","bDoPass", NULL
};
4983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
4986 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4987 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4988 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
4992 _arg1
= (bool ) tempbool1
;
4994 wxPy_BEGIN_ALLOW_THREADS
;
4995 wxLogWindow_PassMessages(_arg0
,_arg1
);
4997 wxPy_END_ALLOW_THREADS
;
4998 } Py_INCREF(Py_None
);
4999 _resultobj
= Py_None
;
5003 #define new_wxLogNull() (new wxLogNull())
5004 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5005 PyObject
* _resultobj
;
5006 wxLogNull
* _result
;
5007 char *_kwnames
[] = { NULL
};
5011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5014 wxPy_BEGIN_ALLOW_THREADS
;
5015 _result
= (wxLogNull
*)new_wxLogNull();
5017 wxPy_END_ALLOW_THREADS
;
5019 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5020 _resultobj
= Py_BuildValue("s",_ptemp
);
5023 _resultobj
= Py_None
;
5028 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5029 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5030 PyObject
* _resultobj
;
5032 PyObject
* _argo0
= 0;
5033 char *_kwnames
[] = { "self", NULL
};
5036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5046 wxPy_BEGIN_ALLOW_THREADS
;
5047 delete_wxLogNull(_arg0
);
5049 wxPy_END_ALLOW_THREADS
;
5050 } Py_INCREF(Py_None
);
5051 _resultobj
= Py_None
;
5055 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5056 wxProcessEvent
*src
;
5058 src
= (wxProcessEvent
*) ptr
;
5059 dest
= (wxEvent
*) src
;
5060 return (void *) dest
;
5063 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5064 wxProcessEvent
*src
;
5066 src
= (wxProcessEvent
*) ptr
;
5067 dest
= (wxObject
*) src
;
5068 return (void *) dest
;
5071 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5072 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
* _resultobj
;
5074 wxProcessEvent
* _result
;
5075 int _arg0
= (int ) 0;
5076 int _arg1
= (int ) 0;
5077 int _arg2
= (int ) 0;
5078 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5085 wxPy_BEGIN_ALLOW_THREADS
;
5086 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5088 wxPy_END_ALLOW_THREADS
;
5090 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5091 _resultobj
= Py_BuildValue("s",_ptemp
);
5094 _resultobj
= Py_None
;
5099 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5100 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5101 PyObject
* _resultobj
;
5103 wxProcessEvent
* _arg0
;
5104 PyObject
* _argo0
= 0;
5105 char *_kwnames
[] = { "self", NULL
};
5108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5111 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5112 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5113 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5118 wxPy_BEGIN_ALLOW_THREADS
;
5119 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5121 wxPy_END_ALLOW_THREADS
;
5122 } _resultobj
= Py_BuildValue("i",_result
);
5126 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5127 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
* _resultobj
;
5130 wxProcessEvent
* _arg0
;
5131 PyObject
* _argo0
= 0;
5132 char *_kwnames
[] = { "self", NULL
};
5135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5138 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5139 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5140 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5145 wxPy_BEGIN_ALLOW_THREADS
;
5146 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5148 wxPy_END_ALLOW_THREADS
;
5149 } _resultobj
= Py_BuildValue("i",_result
);
5153 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5154 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
* _resultobj
;
5157 wxProcessEvent
* _arg0
;
5159 PyObject
* _argo0
= 0;
5160 char *_kwnames
[] = { "self","m_pid", NULL
};
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5173 wxPy_BEGIN_ALLOW_THREADS
;
5174 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5176 wxPy_END_ALLOW_THREADS
;
5177 } _resultobj
= Py_BuildValue("i",_result
);
5181 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5182 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
* _resultobj
;
5185 wxProcessEvent
* _arg0
;
5186 PyObject
* _argo0
= 0;
5187 char *_kwnames
[] = { "self", NULL
};
5190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5200 wxPy_BEGIN_ALLOW_THREADS
;
5201 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5203 wxPy_END_ALLOW_THREADS
;
5204 } _resultobj
= Py_BuildValue("i",_result
);
5208 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5209 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5210 PyObject
* _resultobj
;
5212 wxProcessEvent
* _arg0
;
5214 PyObject
* _argo0
= 0;
5215 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5228 wxPy_BEGIN_ALLOW_THREADS
;
5229 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5231 wxPy_END_ALLOW_THREADS
;
5232 } _resultobj
= Py_BuildValue("i",_result
);
5236 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5237 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
* _resultobj
;
5240 wxProcessEvent
* _arg0
;
5241 PyObject
* _argo0
= 0;
5242 char *_kwnames
[] = { "self", NULL
};
5245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5255 wxPy_BEGIN_ALLOW_THREADS
;
5256 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5258 wxPy_END_ALLOW_THREADS
;
5259 } _resultobj
= Py_BuildValue("i",_result
);
5263 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5266 src
= (wxPyProcess
*) ptr
;
5267 dest
= (wxEvtHandler
*) src
;
5268 return (void *) dest
;
5271 static void *SwigwxPyProcessTowxObject(void *ptr
) {
5274 src
= (wxPyProcess
*) ptr
;
5275 dest
= (wxObject
*) src
;
5276 return (void *) dest
;
5279 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5280 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5281 PyObject
* _resultobj
;
5282 wxPyProcess
* _result
;
5283 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
5284 int _arg1
= (int ) -1;
5285 PyObject
* _argo0
= 0;
5286 char *_kwnames
[] = { "parent","id", NULL
};
5290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
5293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
5295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
5300 wxPy_BEGIN_ALLOW_THREADS
;
5301 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
5303 wxPy_END_ALLOW_THREADS
;
5305 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
5306 _resultobj
= Py_BuildValue("s",_ptemp
);
5309 _resultobj
= Py_None
;
5314 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
5315 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5316 PyObject
* _resultobj
;
5317 wxPyProcess
* _arg0
;
5318 PyObject
* _argo0
= 0;
5319 char *_kwnames
[] = { "self", NULL
};
5322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
5325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
5332 wxPy_BEGIN_ALLOW_THREADS
;
5333 wxPyProcess_Destroy(_arg0
);
5335 wxPy_END_ALLOW_THREADS
;
5336 } Py_INCREF(Py_None
);
5337 _resultobj
= Py_None
;
5341 #define wxProcess__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5342 static PyObject
*_wrap_wxProcess__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
* _resultobj
;
5344 wxPyProcess
* _arg0
;
5347 PyObject
* _argo0
= 0;
5348 PyObject
* _obj1
= 0;
5349 PyObject
* _obj2
= 0;
5350 char *_kwnames
[] = { "self","self","_class", NULL
};
5353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setSelf. Expected _wxPyProcess_p.");
5369 wxPy_BEGIN_ALLOW_THREADS
;
5370 wxProcess__setSelf(_arg0
,_arg1
,_arg2
);
5372 wxPy_END_ALLOW_THREADS
;
5373 } Py_INCREF(Py_None
);
5374 _resultobj
= Py_None
;
5378 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
5379 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5380 PyObject
* _resultobj
;
5381 wxPyProcess
* _arg0
;
5384 PyObject
* _argo0
= 0;
5385 char *_kwnames
[] = { "self","pid","status", NULL
};
5388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
5398 wxPy_BEGIN_ALLOW_THREADS
;
5399 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
5401 wxPy_END_ALLOW_THREADS
;
5402 } Py_INCREF(Py_None
);
5403 _resultobj
= Py_None
;
5407 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
5408 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5409 PyObject
* _resultobj
;
5410 wxPyProcess
* _arg0
;
5411 PyObject
* _argo0
= 0;
5412 char *_kwnames
[] = { "self", NULL
};
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
5418 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5419 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5420 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
5425 wxPy_BEGIN_ALLOW_THREADS
;
5426 wxProcess_Redirect(_arg0
);
5428 wxPy_END_ALLOW_THREADS
;
5429 } Py_INCREF(Py_None
);
5430 _resultobj
= Py_None
;
5434 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
5435 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
* _resultobj
;
5438 wxPyProcess
* _arg0
;
5439 PyObject
* _argo0
= 0;
5440 char *_kwnames
[] = { "self", NULL
};
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
5446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
5453 wxPy_BEGIN_ALLOW_THREADS
;
5454 _result
= (bool )wxProcess_IsRedirected(_arg0
);
5456 wxPy_END_ALLOW_THREADS
;
5457 } _resultobj
= Py_BuildValue("i",_result
);
5461 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
5462 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5463 PyObject
* _resultobj
;
5464 wxPyProcess
* _arg0
;
5465 PyObject
* _argo0
= 0;
5466 char *_kwnames
[] = { "self", NULL
};
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
5472 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5473 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5474 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
5479 wxPy_BEGIN_ALLOW_THREADS
;
5480 wxProcess_Detach(_arg0
);
5482 wxPy_END_ALLOW_THREADS
;
5483 } Py_INCREF(Py_None
);
5484 _resultobj
= Py_None
;
5488 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
5489 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5490 PyObject
* _resultobj
;
5491 wxInputStream
* _result
;
5492 wxPyProcess
* _arg0
;
5493 PyObject
* _argo0
= 0;
5494 char *_kwnames
[] = { "self", NULL
};
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
5500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
5507 wxPy_BEGIN_ALLOW_THREADS
;
5508 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
5510 wxPy_END_ALLOW_THREADS
;
5512 wxPyInputStream
* _ptr
= NULL
;
5515 _ptr
= new wxPyInputStream(_result
);
5517 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
5522 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
5523 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5524 PyObject
* _resultobj
;
5525 wxInputStream
* _result
;
5526 wxPyProcess
* _arg0
;
5527 PyObject
* _argo0
= 0;
5528 char *_kwnames
[] = { "self", NULL
};
5531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
5534 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5535 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5536 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
5541 wxPy_BEGIN_ALLOW_THREADS
;
5542 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
5544 wxPy_END_ALLOW_THREADS
;
5546 wxPyInputStream
* _ptr
= NULL
;
5549 _ptr
= new wxPyInputStream(_result
);
5551 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
5556 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
5557 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5558 PyObject
* _resultobj
;
5559 wxOutputStream
* _result
;
5560 wxPyProcess
* _arg0
;
5561 PyObject
* _argo0
= 0;
5562 char *_kwnames
[] = { "self", NULL
};
5566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
5569 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5570 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
5576 wxPy_BEGIN_ALLOW_THREADS
;
5577 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
5579 wxPy_END_ALLOW_THREADS
;
5581 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
5582 _resultobj
= Py_BuildValue("s",_ptemp
);
5585 _resultobj
= Py_None
;
5590 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
5591 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
* _resultobj
;
5593 wxPyProcess
* _arg0
;
5594 PyObject
* _argo0
= 0;
5595 char *_kwnames
[] = { "self", NULL
};
5598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
5601 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5602 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5603 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
5608 wxPy_BEGIN_ALLOW_THREADS
;
5609 wxProcess_CloseOutput(_arg0
);
5611 wxPy_END_ALLOW_THREADS
;
5612 } Py_INCREF(Py_None
);
5613 _resultobj
= Py_None
;
5617 static void *SwigwxJoystickTowxObject(void *ptr
) {
5620 src
= (wxJoystick
*) ptr
;
5621 dest
= (wxObject
*) src
;
5622 return (void *) dest
;
5625 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
5626 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
* _resultobj
;
5628 wxJoystick
* _result
;
5629 int _arg0
= (int ) wxJOYSTICK1
;
5630 char *_kwnames
[] = { "joystick", NULL
};
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
5637 wxPy_BEGIN_ALLOW_THREADS
;
5638 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
5640 wxPy_END_ALLOW_THREADS
;
5642 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
5643 _resultobj
= Py_BuildValue("s",_ptemp
);
5646 _resultobj
= Py_None
;
5651 #define delete_wxJoystick(_swigobj) (delete _swigobj)
5652 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
* _resultobj
;
5655 PyObject
* _argo0
= 0;
5656 char *_kwnames
[] = { "self", NULL
};
5659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
5662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
5669 wxPy_BEGIN_ALLOW_THREADS
;
5670 delete_wxJoystick(_arg0
);
5672 wxPy_END_ALLOW_THREADS
;
5673 } Py_INCREF(Py_None
);
5674 _resultobj
= Py_None
;
5678 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
5679 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5680 PyObject
* _resultobj
;
5683 PyObject
* _argo0
= 0;
5684 char *_kwnames
[] = { "self", NULL
};
5688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
5691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
5698 wxPy_BEGIN_ALLOW_THREADS
;
5699 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
5701 wxPy_END_ALLOW_THREADS
;
5702 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5703 _resultobj
= Py_BuildValue("s",_ptemp
);
5707 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
5708 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
* _resultobj
;
5712 PyObject
* _argo0
= 0;
5713 char *_kwnames
[] = { "self", NULL
};
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
5719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
5726 wxPy_BEGIN_ALLOW_THREADS
;
5727 _result
= (int )wxJoystick_GetZPosition(_arg0
);
5729 wxPy_END_ALLOW_THREADS
;
5730 } _resultobj
= Py_BuildValue("i",_result
);
5734 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
5735 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
* _resultobj
;
5739 PyObject
* _argo0
= 0;
5740 char *_kwnames
[] = { "self", NULL
};
5743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
5746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
5753 wxPy_BEGIN_ALLOW_THREADS
;
5754 _result
= (int )wxJoystick_GetButtonState(_arg0
);
5756 wxPy_END_ALLOW_THREADS
;
5757 } _resultobj
= Py_BuildValue("i",_result
);
5761 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
5762 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5763 PyObject
* _resultobj
;
5766 PyObject
* _argo0
= 0;
5767 char *_kwnames
[] = { "self", NULL
};
5770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
5773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
5780 wxPy_BEGIN_ALLOW_THREADS
;
5781 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
5783 wxPy_END_ALLOW_THREADS
;
5784 } _resultobj
= Py_BuildValue("i",_result
);
5788 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
5789 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
* _resultobj
;
5793 PyObject
* _argo0
= 0;
5794 char *_kwnames
[] = { "self", NULL
};
5797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
5800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
5807 wxPy_BEGIN_ALLOW_THREADS
;
5808 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
5810 wxPy_END_ALLOW_THREADS
;
5811 } _resultobj
= Py_BuildValue("i",_result
);
5815 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
5816 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
* _resultobj
;
5820 PyObject
* _argo0
= 0;
5821 char *_kwnames
[] = { "self", NULL
};
5824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
5827 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5828 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5829 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
5834 wxPy_BEGIN_ALLOW_THREADS
;
5835 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
5837 wxPy_END_ALLOW_THREADS
;
5838 } _resultobj
= Py_BuildValue("i",_result
);
5842 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
5843 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
* _resultobj
;
5847 PyObject
* _argo0
= 0;
5848 char *_kwnames
[] = { "self", NULL
};
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
5854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
5861 wxPy_BEGIN_ALLOW_THREADS
;
5862 _result
= (int )wxJoystick_GetUPosition(_arg0
);
5864 wxPy_END_ALLOW_THREADS
;
5865 } _resultobj
= Py_BuildValue("i",_result
);
5869 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
5870 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5871 PyObject
* _resultobj
;
5874 PyObject
* _argo0
= 0;
5875 char *_kwnames
[] = { "self", NULL
};
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
5881 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5882 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5883 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
5888 wxPy_BEGIN_ALLOW_THREADS
;
5889 _result
= (int )wxJoystick_GetVPosition(_arg0
);
5891 wxPy_END_ALLOW_THREADS
;
5892 } _resultobj
= Py_BuildValue("i",_result
);
5896 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
5897 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5898 PyObject
* _resultobj
;
5901 PyObject
* _argo0
= 0;
5902 char *_kwnames
[] = { "self", NULL
};
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
5908 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5909 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5910 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
5915 wxPy_BEGIN_ALLOW_THREADS
;
5916 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
5918 wxPy_END_ALLOW_THREADS
;
5919 } _resultobj
= Py_BuildValue("i",_result
);
5923 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
5924 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5925 PyObject
* _resultobj
;
5928 PyObject
* _argo0
= 0;
5929 char *_kwnames
[] = { "self","threshold", NULL
};
5932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
5935 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5936 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5937 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
5942 wxPy_BEGIN_ALLOW_THREADS
;
5943 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
5945 wxPy_END_ALLOW_THREADS
;
5946 } Py_INCREF(Py_None
);
5947 _resultobj
= Py_None
;
5951 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
5952 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5953 PyObject
* _resultobj
;
5956 PyObject
* _argo0
= 0;
5957 char *_kwnames
[] = { "self", NULL
};
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
5963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
5970 wxPy_BEGIN_ALLOW_THREADS
;
5971 _result
= (bool )wxJoystick_IsOk(_arg0
);
5973 wxPy_END_ALLOW_THREADS
;
5974 } _resultobj
= Py_BuildValue("i",_result
);
5978 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
5979 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5980 PyObject
* _resultobj
;
5983 PyObject
* _argo0
= 0;
5984 char *_kwnames
[] = { "self", NULL
};
5987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
5990 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5991 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5992 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
5997 wxPy_BEGIN_ALLOW_THREADS
;
5998 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6000 wxPy_END_ALLOW_THREADS
;
6001 } _resultobj
= Py_BuildValue("i",_result
);
6005 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6006 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6007 PyObject
* _resultobj
;
6010 PyObject
* _argo0
= 0;
6011 char *_kwnames
[] = { "self", NULL
};
6014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6024 wxPy_BEGIN_ALLOW_THREADS
;
6025 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6027 wxPy_END_ALLOW_THREADS
;
6028 } _resultobj
= Py_BuildValue("i",_result
);
6032 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6033 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
* _resultobj
;
6037 PyObject
* _argo0
= 0;
6038 char *_kwnames
[] = { "self", NULL
};
6041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6051 wxPy_BEGIN_ALLOW_THREADS
;
6052 _result
= (int )wxJoystick_GetProductId(_arg0
);
6054 wxPy_END_ALLOW_THREADS
;
6055 } _resultobj
= Py_BuildValue("i",_result
);
6059 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6060 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6061 PyObject
* _resultobj
;
6064 PyObject
* _argo0
= 0;
6065 char *_kwnames
[] = { "self", NULL
};
6068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6071 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6072 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6073 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6078 wxPy_BEGIN_ALLOW_THREADS
;
6079 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6081 wxPy_END_ALLOW_THREADS
;
6083 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6091 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6092 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6093 PyObject
* _resultobj
;
6096 PyObject
* _argo0
= 0;
6097 char *_kwnames
[] = { "self", NULL
};
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6110 wxPy_BEGIN_ALLOW_THREADS
;
6111 _result
= (int )wxJoystick_GetXMin(_arg0
);
6113 wxPy_END_ALLOW_THREADS
;
6114 } _resultobj
= Py_BuildValue("i",_result
);
6118 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6119 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
* _resultobj
;
6123 PyObject
* _argo0
= 0;
6124 char *_kwnames
[] = { "self", NULL
};
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6137 wxPy_BEGIN_ALLOW_THREADS
;
6138 _result
= (int )wxJoystick_GetYMin(_arg0
);
6140 wxPy_END_ALLOW_THREADS
;
6141 } _resultobj
= Py_BuildValue("i",_result
);
6145 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6146 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
* _resultobj
;
6150 PyObject
* _argo0
= 0;
6151 char *_kwnames
[] = { "self", NULL
};
6154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6164 wxPy_BEGIN_ALLOW_THREADS
;
6165 _result
= (int )wxJoystick_GetZMin(_arg0
);
6167 wxPy_END_ALLOW_THREADS
;
6168 } _resultobj
= Py_BuildValue("i",_result
);
6172 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6173 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6174 PyObject
* _resultobj
;
6177 PyObject
* _argo0
= 0;
6178 char *_kwnames
[] = { "self", NULL
};
6181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6191 wxPy_BEGIN_ALLOW_THREADS
;
6192 _result
= (int )wxJoystick_GetXMax(_arg0
);
6194 wxPy_END_ALLOW_THREADS
;
6195 } _resultobj
= Py_BuildValue("i",_result
);
6199 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6200 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6201 PyObject
* _resultobj
;
6204 PyObject
* _argo0
= 0;
6205 char *_kwnames
[] = { "self", NULL
};
6208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6218 wxPy_BEGIN_ALLOW_THREADS
;
6219 _result
= (int )wxJoystick_GetYMax(_arg0
);
6221 wxPy_END_ALLOW_THREADS
;
6222 } _resultobj
= Py_BuildValue("i",_result
);
6226 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6227 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6228 PyObject
* _resultobj
;
6231 PyObject
* _argo0
= 0;
6232 char *_kwnames
[] = { "self", NULL
};
6235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
6238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6245 wxPy_BEGIN_ALLOW_THREADS
;
6246 _result
= (int )wxJoystick_GetZMax(_arg0
);
6248 wxPy_END_ALLOW_THREADS
;
6249 } _resultobj
= Py_BuildValue("i",_result
);
6253 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6254 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6255 PyObject
* _resultobj
;
6258 PyObject
* _argo0
= 0;
6259 char *_kwnames
[] = { "self", NULL
};
6262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
6265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
6272 wxPy_BEGIN_ALLOW_THREADS
;
6273 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
6275 wxPy_END_ALLOW_THREADS
;
6276 } _resultobj
= Py_BuildValue("i",_result
);
6280 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
6281 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
* _resultobj
;
6285 PyObject
* _argo0
= 0;
6286 char *_kwnames
[] = { "self", NULL
};
6289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
6292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
6299 wxPy_BEGIN_ALLOW_THREADS
;
6300 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
6302 wxPy_END_ALLOW_THREADS
;
6303 } _resultobj
= Py_BuildValue("i",_result
);
6307 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
6308 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
* _resultobj
;
6312 PyObject
* _argo0
= 0;
6313 char *_kwnames
[] = { "self", NULL
};
6316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
6319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
6326 wxPy_BEGIN_ALLOW_THREADS
;
6327 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
6329 wxPy_END_ALLOW_THREADS
;
6330 } _resultobj
= Py_BuildValue("i",_result
);
6334 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
6335 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
* _resultobj
;
6339 PyObject
* _argo0
= 0;
6340 char *_kwnames
[] = { "self", NULL
};
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
6346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
6353 wxPy_BEGIN_ALLOW_THREADS
;
6354 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
6356 wxPy_END_ALLOW_THREADS
;
6357 } _resultobj
= Py_BuildValue("i",_result
);
6361 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
6362 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
* _resultobj
;
6366 PyObject
* _argo0
= 0;
6367 char *_kwnames
[] = { "self", NULL
};
6370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
6373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
6380 wxPy_BEGIN_ALLOW_THREADS
;
6381 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
6383 wxPy_END_ALLOW_THREADS
;
6384 } _resultobj
= Py_BuildValue("i",_result
);
6388 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
6389 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
* _resultobj
;
6393 PyObject
* _argo0
= 0;
6394 char *_kwnames
[] = { "self", NULL
};
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
6400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
6407 wxPy_BEGIN_ALLOW_THREADS
;
6408 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
6410 wxPy_END_ALLOW_THREADS
;
6411 } _resultobj
= Py_BuildValue("i",_result
);
6415 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
6416 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6417 PyObject
* _resultobj
;
6420 PyObject
* _argo0
= 0;
6421 char *_kwnames
[] = { "self", NULL
};
6424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
6427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
6434 wxPy_BEGIN_ALLOW_THREADS
;
6435 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
6437 wxPy_END_ALLOW_THREADS
;
6438 } _resultobj
= Py_BuildValue("i",_result
);
6442 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
6443 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
* _resultobj
;
6447 PyObject
* _argo0
= 0;
6448 char *_kwnames
[] = { "self", NULL
};
6451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
6454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
6461 wxPy_BEGIN_ALLOW_THREADS
;
6462 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
6464 wxPy_END_ALLOW_THREADS
;
6465 } _resultobj
= Py_BuildValue("i",_result
);
6469 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
6470 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6471 PyObject
* _resultobj
;
6474 PyObject
* _argo0
= 0;
6475 char *_kwnames
[] = { "self", NULL
};
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
6481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
6488 wxPy_BEGIN_ALLOW_THREADS
;
6489 _result
= (int )wxJoystick_GetUMin(_arg0
);
6491 wxPy_END_ALLOW_THREADS
;
6492 } _resultobj
= Py_BuildValue("i",_result
);
6496 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
6497 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
* _resultobj
;
6501 PyObject
* _argo0
= 0;
6502 char *_kwnames
[] = { "self", NULL
};
6505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
6508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
6515 wxPy_BEGIN_ALLOW_THREADS
;
6516 _result
= (int )wxJoystick_GetUMax(_arg0
);
6518 wxPy_END_ALLOW_THREADS
;
6519 } _resultobj
= Py_BuildValue("i",_result
);
6523 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
6524 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
* _resultobj
;
6528 PyObject
* _argo0
= 0;
6529 char *_kwnames
[] = { "self", NULL
};
6532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
6535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
6542 wxPy_BEGIN_ALLOW_THREADS
;
6543 _result
= (int )wxJoystick_GetVMin(_arg0
);
6545 wxPy_END_ALLOW_THREADS
;
6546 } _resultobj
= Py_BuildValue("i",_result
);
6550 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
6551 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
* _resultobj
;
6555 PyObject
* _argo0
= 0;
6556 char *_kwnames
[] = { "self", NULL
};
6559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
6562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
6569 wxPy_BEGIN_ALLOW_THREADS
;
6570 _result
= (int )wxJoystick_GetVMax(_arg0
);
6572 wxPy_END_ALLOW_THREADS
;
6573 } _resultobj
= Py_BuildValue("i",_result
);
6577 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
6578 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6579 PyObject
* _resultobj
;
6582 PyObject
* _argo0
= 0;
6583 char *_kwnames
[] = { "self", NULL
};
6586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
6589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
6596 wxPy_BEGIN_ALLOW_THREADS
;
6597 _result
= (bool )wxJoystick_HasRudder(_arg0
);
6599 wxPy_END_ALLOW_THREADS
;
6600 } _resultobj
= Py_BuildValue("i",_result
);
6604 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
6605 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6606 PyObject
* _resultobj
;
6609 PyObject
* _argo0
= 0;
6610 char *_kwnames
[] = { "self", NULL
};
6613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
6616 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6617 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6618 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
6623 wxPy_BEGIN_ALLOW_THREADS
;
6624 _result
= (bool )wxJoystick_HasZ(_arg0
);
6626 wxPy_END_ALLOW_THREADS
;
6627 } _resultobj
= Py_BuildValue("i",_result
);
6631 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
6632 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6633 PyObject
* _resultobj
;
6636 PyObject
* _argo0
= 0;
6637 char *_kwnames
[] = { "self", NULL
};
6640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
6643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
6650 wxPy_BEGIN_ALLOW_THREADS
;
6651 _result
= (bool )wxJoystick_HasU(_arg0
);
6653 wxPy_END_ALLOW_THREADS
;
6654 } _resultobj
= Py_BuildValue("i",_result
);
6658 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
6659 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6660 PyObject
* _resultobj
;
6663 PyObject
* _argo0
= 0;
6664 char *_kwnames
[] = { "self", NULL
};
6667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
6670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
6677 wxPy_BEGIN_ALLOW_THREADS
;
6678 _result
= (bool )wxJoystick_HasV(_arg0
);
6680 wxPy_END_ALLOW_THREADS
;
6681 } _resultobj
= Py_BuildValue("i",_result
);
6685 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
6686 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
* _resultobj
;
6690 PyObject
* _argo0
= 0;
6691 char *_kwnames
[] = { "self", NULL
};
6694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
6697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
6704 wxPy_BEGIN_ALLOW_THREADS
;
6705 _result
= (bool )wxJoystick_HasPOV(_arg0
);
6707 wxPy_END_ALLOW_THREADS
;
6708 } _resultobj
= Py_BuildValue("i",_result
);
6712 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
6713 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
* _resultobj
;
6717 PyObject
* _argo0
= 0;
6718 char *_kwnames
[] = { "self", NULL
};
6721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
6724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
6731 wxPy_BEGIN_ALLOW_THREADS
;
6732 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
6734 wxPy_END_ALLOW_THREADS
;
6735 } _resultobj
= Py_BuildValue("i",_result
);
6739 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
6740 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
* _resultobj
;
6744 PyObject
* _argo0
= 0;
6745 char *_kwnames
[] = { "self", NULL
};
6748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
6751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
6758 wxPy_BEGIN_ALLOW_THREADS
;
6759 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
6761 wxPy_END_ALLOW_THREADS
;
6762 } _resultobj
= Py_BuildValue("i",_result
);
6766 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
6767 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6768 PyObject
* _resultobj
;
6772 int _arg2
= (int ) 0;
6773 PyObject
* _argo0
= 0;
6774 PyObject
* _argo1
= 0;
6775 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
6778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
6788 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6789 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
6795 wxPy_BEGIN_ALLOW_THREADS
;
6796 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
6798 wxPy_END_ALLOW_THREADS
;
6799 } _resultobj
= Py_BuildValue("i",_result
);
6803 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
6804 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
* _resultobj
;
6808 PyObject
* _argo0
= 0;
6809 char *_kwnames
[] = { "self", NULL
};
6812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
6815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
6822 wxPy_BEGIN_ALLOW_THREADS
;
6823 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
6825 wxPy_END_ALLOW_THREADS
;
6826 } _resultobj
= Py_BuildValue("i",_result
);
6830 static void *SwigwxWaveTowxObject(void *ptr
) {
6833 src
= (wxWave
*) ptr
;
6834 dest
= (wxObject
*) src
;
6835 return (void *) dest
;
6838 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
6839 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6840 PyObject
* _resultobj
;
6843 bool _arg1
= (bool ) FALSE
;
6844 PyObject
* _obj0
= 0;
6845 int tempbool1
= (int) FALSE
;
6846 char *_kwnames
[] = { "fileName","isResource", NULL
};
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
6853 #if PYTHON_API_VERSION >= 1009
6854 char* tmpPtr
; int tmpSize
;
6855 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
6856 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6859 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
6861 _arg0
= new wxString(tmpPtr
, tmpSize
);
6863 if (!PyString_Check(_obj0
)) {
6864 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6867 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
6870 _arg1
= (bool ) tempbool1
;
6872 wxPy_BEGIN_ALLOW_THREADS
;
6873 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
6875 wxPy_END_ALLOW_THREADS
;
6877 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
6878 _resultobj
= Py_BuildValue("s",_ptemp
);
6881 _resultobj
= Py_None
;
6890 #define delete_wxWave(_swigobj) (delete _swigobj)
6891 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6892 PyObject
* _resultobj
;
6894 PyObject
* _argo0
= 0;
6895 char *_kwnames
[] = { "self", NULL
};
6898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
6901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
6903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
6908 wxPy_BEGIN_ALLOW_THREADS
;
6909 delete_wxWave(_arg0
);
6911 wxPy_END_ALLOW_THREADS
;
6912 } Py_INCREF(Py_None
);
6913 _resultobj
= Py_None
;
6917 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
6918 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6919 PyObject
* _resultobj
;
6922 PyObject
* _argo0
= 0;
6923 char *_kwnames
[] = { "self", NULL
};
6926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
6929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
6931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
6936 wxPy_BEGIN_ALLOW_THREADS
;
6937 _result
= (bool )wxWave_IsOk(_arg0
);
6939 wxPy_END_ALLOW_THREADS
;
6940 } _resultobj
= Py_BuildValue("i",_result
);
6944 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
6945 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6946 PyObject
* _resultobj
;
6949 bool _arg1
= (bool ) TRUE
;
6950 bool _arg2
= (bool ) FALSE
;
6951 PyObject
* _argo0
= 0;
6952 int tempbool1
= (int) TRUE
;
6953 int tempbool2
= (int) FALSE
;
6954 char *_kwnames
[] = { "self","async","looped", NULL
};
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
6960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
6962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
6966 _arg1
= (bool ) tempbool1
;
6967 _arg2
= (bool ) tempbool2
;
6969 wxPy_BEGIN_ALLOW_THREADS
;
6970 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
6972 wxPy_END_ALLOW_THREADS
;
6973 } _resultobj
= Py_BuildValue("i",_result
);
6977 static PyMethodDef misc2cMethods
[] = {
6978 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
6979 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
6980 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
6981 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
6982 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
6983 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
6984 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
6985 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
6986 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
6987 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
6988 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
6989 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
6990 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
6991 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
6992 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
6993 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
6994 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
6995 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
6996 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
6997 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
6998 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
6999 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
7000 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
7001 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
7002 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
7003 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
7004 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
7005 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
7006 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
7007 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
7008 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
7009 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
7010 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
7011 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
7012 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
7013 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7014 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
7015 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
7016 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
7017 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
7018 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
7019 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
7020 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
7021 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
7022 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
7023 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7024 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7025 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7026 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
7027 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
7028 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
7029 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
7030 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
7031 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
7032 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
7033 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
7034 { "wxProcess__setSelf", (PyCFunction
) _wrap_wxProcess__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
7035 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7036 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
7037 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
7038 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
7039 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
7040 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
7041 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
7042 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
7043 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
7044 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
7045 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
7046 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
7047 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
7048 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
7049 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
7050 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
7051 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
7052 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
7053 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
7054 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
7055 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7056 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7057 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7058 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7059 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7060 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7061 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
7062 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7063 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
7064 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
7065 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
7066 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
7067 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
7068 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
7069 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
7070 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
7071 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
7072 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7073 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
7074 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
7075 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
7076 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
7077 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
7078 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
7079 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
7080 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
7081 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
7082 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
7083 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
7084 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
7085 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
7086 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
7087 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
7088 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
7089 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
7090 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7091 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
7092 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
7093 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
7094 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
7095 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
7096 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
7097 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7098 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
7099 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
7100 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7101 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
7102 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
7103 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
7104 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
7105 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7106 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7107 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
7108 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
7109 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
7110 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
7111 { "wxFontEnumerator__setSelf", (PyCFunction
) _wrap_wxFontEnumerator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
7112 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
7113 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
7114 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
7115 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
7116 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
7117 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
7118 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
7119 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
7120 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7121 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
7122 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
7123 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7124 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
7125 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
7126 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7127 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
7128 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
7129 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
7130 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7131 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7132 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
7133 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
7134 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
7135 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
7136 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
7137 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
7138 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
7139 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
7140 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7141 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
7142 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
7143 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
7144 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
7145 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
7146 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
7147 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
7148 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7149 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
7150 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
7151 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
7152 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
7153 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
7154 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
7155 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
7156 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
7157 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
7158 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
7159 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
7160 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
7161 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
7162 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
7163 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
7164 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
7165 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
7166 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
7167 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7168 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
7169 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
7170 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
7171 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
7172 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
7173 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7174 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
7175 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
7176 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
7177 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
7178 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
7179 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
7180 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
7181 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
7182 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
7183 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
7184 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
7185 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
7186 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7187 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
7188 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
7189 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
7190 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7191 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7192 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
7199 * This table is used by the pointer type-checker
7201 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7202 { "_wxEvent","_class_wxProcessEvent",SwigwxProcessEventTowxEvent
},
7203 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
7204 { "_signed_long","_long",0},
7205 { "_wxPrintQuality","_wxCoord",0},
7206 { "_wxPrintQuality","_int",0},
7207 { "_wxPrintQuality","_signed_int",0},
7208 { "_wxPrintQuality","_unsigned_int",0},
7209 { "_wxPrintQuality","_wxWindowID",0},
7210 { "_wxPrintQuality","_uint",0},
7211 { "_wxPrintQuality","_EBool",0},
7212 { "_wxPrintQuality","_size_t",0},
7213 { "_wxPrintQuality","_time_t",0},
7214 { "_class_wxEvtHandler","_class_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7215 { "_class_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7216 { "_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog
},
7217 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
7218 { "_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog
},
7219 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
7220 { "_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7221 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7222 { "_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog
},
7223 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
7224 { "_byte","_unsigned_char",0},
7225 { "_long","_unsigned_long",0},
7226 { "_long","_signed_long",0},
7227 { "_class_wxObject","_class_wxWave",SwigwxWaveTowxObject
},
7228 { "_class_wxObject","_wxWave",SwigwxWaveTowxObject
},
7229 { "_class_wxObject","_class_wxJoystick",SwigwxJoystickTowxObject
},
7230 { "_class_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
7231 { "_class_wxObject","_class_wxPyProcess",SwigwxPyProcessTowxObject
},
7232 { "_class_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
7233 { "_class_wxObject","_class_wxProcessEvent",SwigwxProcessEventTowxObject
},
7234 { "_class_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
7235 { "_class_wxObject","_class_wxPyTimer",SwigwxPyTimerTowxObject
},
7236 { "_class_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
7237 { "_class_wxObject","_class_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
7238 { "_class_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
7239 { "_class_wxObject","_class_wxToolTip",SwigwxToolTipTowxObject
},
7240 { "_class_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
7241 { "_size_t","_wxCoord",0},
7242 { "_size_t","_wxPrintQuality",0},
7243 { "_size_t","_time_t",0},
7244 { "_size_t","_unsigned_int",0},
7245 { "_size_t","_int",0},
7246 { "_size_t","_wxWindowID",0},
7247 { "_size_t","_uint",0},
7248 { "_uint","_wxCoord",0},
7249 { "_uint","_wxPrintQuality",0},
7250 { "_uint","_time_t",0},
7251 { "_uint","_size_t",0},
7252 { "_uint","_unsigned_int",0},
7253 { "_uint","_int",0},
7254 { "_uint","_wxWindowID",0},
7255 { "_wxChar","_char",0},
7256 { "_class_wxEvent","_class_wxProcessEvent",SwigwxProcessEventTowxEvent
},
7257 { "_class_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
7258 { "_char","_wxChar",0},
7259 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
7260 { "_EBool","_wxCoord",0},
7261 { "_EBool","_wxPrintQuality",0},
7262 { "_EBool","_signed_int",0},
7263 { "_EBool","_int",0},
7264 { "_EBool","_wxWindowID",0},
7265 { "_unsigned_long","_long",0},
7266 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
7267 { "_signed_int","_wxCoord",0},
7268 { "_signed_int","_wxPrintQuality",0},
7269 { "_signed_int","_EBool",0},
7270 { "_signed_int","_wxWindowID",0},
7271 { "_signed_int","_int",0},
7272 { "_WXTYPE","_short",0},
7273 { "_WXTYPE","_signed_short",0},
7274 { "_WXTYPE","_unsigned_short",0},
7275 { "_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7276 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7277 { "_unsigned_short","_WXTYPE",0},
7278 { "_unsigned_short","_short",0},
7279 { "_wxObject","_class_wxWave",SwigwxWaveTowxObject
},
7280 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
7281 { "_wxObject","_class_wxJoystick",SwigwxJoystickTowxObject
},
7282 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
7283 { "_wxObject","_class_wxPyProcess",SwigwxPyProcessTowxObject
},
7284 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
7285 { "_wxObject","_class_wxProcessEvent",SwigwxProcessEventTowxObject
},
7286 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
7287 { "_wxObject","_class_wxPyTimer",SwigwxPyTimerTowxObject
},
7288 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
7289 { "_wxObject","_class_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
7290 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
7291 { "_wxObject","_class_wxToolTip",SwigwxToolTipTowxObject
},
7292 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
7293 { "_signed_short","_WXTYPE",0},
7294 { "_signed_short","_short",0},
7295 { "_class_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog
},
7296 { "_class_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
7297 { "_class_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog
},
7298 { "_class_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
7299 { "_class_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7300 { "_class_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7301 { "_class_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog
},
7302 { "_class_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
7303 { "_unsigned_char","_byte",0},
7304 { "_unsigned_int","_wxCoord",0},
7305 { "_unsigned_int","_wxPrintQuality",0},
7306 { "_unsigned_int","_time_t",0},
7307 { "_unsigned_int","_size_t",0},
7308 { "_unsigned_int","_uint",0},
7309 { "_unsigned_int","_wxWindowID",0},
7310 { "_unsigned_int","_int",0},
7311 { "_short","_WXTYPE",0},
7312 { "_short","_unsigned_short",0},
7313 { "_short","_signed_short",0},
7314 { "_wxWindowID","_wxCoord",0},
7315 { "_wxWindowID","_wxPrintQuality",0},
7316 { "_wxWindowID","_time_t",0},
7317 { "_wxWindowID","_size_t",0},
7318 { "_wxWindowID","_EBool",0},
7319 { "_wxWindowID","_uint",0},
7320 { "_wxWindowID","_int",0},
7321 { "_wxWindowID","_signed_int",0},
7322 { "_wxWindowID","_unsigned_int",0},
7323 { "_int","_wxCoord",0},
7324 { "_int","_wxPrintQuality",0},
7325 { "_int","_time_t",0},
7326 { "_int","_size_t",0},
7327 { "_int","_EBool",0},
7328 { "_int","_uint",0},
7329 { "_int","_wxWindowID",0},
7330 { "_int","_unsigned_int",0},
7331 { "_int","_signed_int",0},
7332 { "_time_t","_wxCoord",0},
7333 { "_time_t","_wxPrintQuality",0},
7334 { "_time_t","_unsigned_int",0},
7335 { "_time_t","_int",0},
7336 { "_time_t","_wxWindowID",0},
7337 { "_time_t","_uint",0},
7338 { "_time_t","_size_t",0},
7339 { "_wxCoord","_int",0},
7340 { "_wxCoord","_signed_int",0},
7341 { "_wxCoord","_unsigned_int",0},
7342 { "_wxCoord","_wxWindowID",0},
7343 { "_wxCoord","_uint",0},
7344 { "_wxCoord","_EBool",0},
7345 { "_wxCoord","_size_t",0},
7346 { "_wxCoord","_time_t",0},
7347 { "_wxCoord","_wxPrintQuality",0},
7348 { "_class_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7349 { "_class_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7350 { "_wxEvtHandler","_class_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7351 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7354 static PyObject
*SWIG_globals
;
7358 SWIGEXPORT(void) initmisc2c() {
7360 SWIG_globals
= SWIG_newvarlink();
7361 m
= Py_InitModule("misc2c", misc2cMethods
);
7362 d
= PyModule_GetDict(m
);
7363 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
7364 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
7365 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
7366 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
7367 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
7368 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
7369 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
7370 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
7371 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
7372 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
7373 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
7374 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
7375 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
7376 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
7377 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
7378 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
7379 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
7380 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
7381 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
7382 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
7383 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
7384 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
7385 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
7386 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
7387 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
7388 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
7389 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
7390 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
7391 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
7392 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
7393 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
7394 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
7395 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
7396 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
7397 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
7398 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
7399 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
7400 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
7401 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
7402 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
7403 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
7404 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
7405 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
7406 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
7407 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
7408 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
7409 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
7410 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
7411 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
7412 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
7413 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
7414 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
7415 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
7416 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
7417 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
7418 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
7419 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
7420 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
7421 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
7422 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
7423 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
7424 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
7425 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
7426 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
7427 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
7428 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
7429 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
7430 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
7431 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
7432 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
7433 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
7434 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
7435 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
7436 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
7437 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
7438 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
7439 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
7440 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
7441 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
7442 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
7443 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
7444 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
7445 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
7446 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
7447 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
7448 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
7449 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
7450 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
7451 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
7452 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
7453 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
7454 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
7455 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
7456 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
7457 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
7458 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
7459 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
7461 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
7462 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
7463 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
7466 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7467 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);