2 * FILE : src/msw/misc2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmisc2c
56 #define SWIG_name "misc2c"
59 #include <wx/resource.h>
60 #include <wx/tooltip.h>
62 #include <wx/fontenum.h>
63 #include <wx/tipdlg.h>
64 #include <wx/process.h>
66 #if wxUSE_JOYSTICK || defined(__WXMSW__)
67 #include <wx/joystick.h>
70 #if wxUSE_WAVE || defined(__WXMSW__)
75 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
81 } else if (target
== Py_None
) {
85 if (!PyTuple_Check(target
)) {
87 target
= PyTuple_New(1);
88 PyTuple_SetItem(target
, 0, o2
);
91 PyTuple_SetItem(o3
, 0, o
);
94 target
= PySequence_Concat(o2
, o3
);
101 #if PYTHON_API_VERSION >= 1009
102 static char* wxStringErrorMsg
= "String or Unicode type required";
104 static char* wxStringErrorMsg
= "string type is required for parameter";
107 static wxString
wxPyEmptyStr("");
110 wxColour
wxSystemSettings_GetSystemColour(int index
) {
111 return wxSystemSettings::GetSystemColour(index
);
114 wxFont
wxSystemSettings_GetSystemFont(int index
) {
115 return wxSystemSettings::GetSystemFont(index
);
118 int wxSystemSettings_GetSystemMetric(int index
) {
119 return wxSystemSettings::GetSystemMetric(index
);
122 int wxCaret_GetBlinkTime() {
123 return wxCaret::GetBlinkTime();
126 void wxCaret_SetBlinkTime(int milliseconds
) {
127 wxCaret::SetBlinkTime(milliseconds
);
130 class wxPyFontEnumerator
: public wxFontEnumerator
{
132 wxPyFontEnumerator() {}
133 ~wxPyFontEnumerator() {}
135 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
136 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
141 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
142 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
145 bool wxThread_IsMain() {
146 return wxThread::IsMain();
149 class wxPyTipProvider
: public wxTipProvider
{
151 wxPyTipProvider(size_t currentTip
)
152 : wxTipProvider(currentTip
) {}
154 DEC_PYCALLBACK_STRING__pure(GetTip
);
159 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
162 #include <wx/generic/dragimgg.h>
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_wxCheckForInterrupt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1376 PyObject
* _resultobj
;
1379 PyObject
* _argo0
= 0;
1380 char *_kwnames
[] = { "wnd", NULL
};
1383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckForInterrupt",_kwnames
,&_argo0
))
1386 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1387 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1388 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckForInterrupt. Expected _wxWindow_p.");
1393 wxPy_BEGIN_ALLOW_THREADS
;
1394 _result
= (bool )wxCheckForInterrupt(_arg0
);
1396 wxPy_END_ALLOW_THREADS
;
1397 } _resultobj
= Py_BuildValue("i",_result
);
1401 static PyObject
*_wrap_wxFlushEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1402 PyObject
* _resultobj
;
1403 char *_kwnames
[] = { NULL
};
1406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFlushEvents",_kwnames
))
1409 wxPy_BEGIN_ALLOW_THREADS
;
1412 wxPy_END_ALLOW_THREADS
;
1413 } Py_INCREF(Py_None
);
1414 _resultobj
= Py_None
;
1418 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
* _resultobj
;
1423 char *_kwnames
[] = { "name","value", NULL
};
1426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1429 wxPy_BEGIN_ALLOW_THREADS
;
1430 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1432 wxPy_END_ALLOW_THREADS
;
1433 } _resultobj
= Py_BuildValue("i",_result
);
1437 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1438 PyObject
* _resultobj
;
1439 char *_kwnames
[] = { NULL
};
1442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1445 wxPy_BEGIN_ALLOW_THREADS
;
1448 wxPy_END_ALLOW_THREADS
;
1449 } Py_INCREF(Py_None
);
1450 _resultobj
= Py_None
;
1454 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1455 PyObject
* _resultobj
;
1458 char *_kwnames
[] = { "resource", NULL
};
1462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1465 wxPy_BEGIN_ALLOW_THREADS
;
1466 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1468 wxPy_END_ALLOW_THREADS
;
1469 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1470 _resultobj
= Py_BuildValue("s",_ptemp
);
1474 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1475 PyObject
* _resultobj
;
1478 char *_kwnames
[] = { "resource", NULL
};
1482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1485 wxPy_BEGIN_ALLOW_THREADS
;
1486 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1488 wxPy_END_ALLOW_THREADS
;
1489 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1490 _resultobj
= Py_BuildValue("s",_ptemp
);
1494 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1495 PyObject
* _resultobj
;
1496 wxMenuBar
* _result
;
1498 char *_kwnames
[] = { "resource", NULL
};
1501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1504 wxPy_BEGIN_ALLOW_THREADS
;
1505 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1507 wxPy_END_ALLOW_THREADS
;
1508 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1512 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1513 PyObject
* _resultobj
;
1516 char *_kwnames
[] = { "name", NULL
};
1519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1522 wxPy_BEGIN_ALLOW_THREADS
;
1523 _result
= (int )wxResourceGetIdentifier(_arg0
);
1525 wxPy_END_ALLOW_THREADS
;
1526 } _resultobj
= Py_BuildValue("i",_result
);
1530 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1531 PyObject
* _resultobj
;
1534 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1535 PyObject
* _argo1
= 0;
1536 char *_kwnames
[] = { "resource","table", NULL
};
1539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1542 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1543 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1544 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1549 wxPy_BEGIN_ALLOW_THREADS
;
1550 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1552 wxPy_END_ALLOW_THREADS
;
1553 } _resultobj
= Py_BuildValue("i",_result
);
1557 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1558 PyObject
* _resultobj
;
1561 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1562 PyObject
* _argo1
= 0;
1563 char *_kwnames
[] = { "filename","table", NULL
};
1566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1569 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1570 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1576 wxPy_BEGIN_ALLOW_THREADS
;
1577 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1579 wxPy_END_ALLOW_THREADS
;
1580 } _resultobj
= Py_BuildValue("i",_result
);
1584 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1585 PyObject
* _resultobj
;
1588 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1589 PyObject
* _argo1
= 0;
1590 char *_kwnames
[] = { "resource","table", NULL
};
1593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1596 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1597 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1603 wxPy_BEGIN_ALLOW_THREADS
;
1604 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1606 wxPy_END_ALLOW_THREADS
;
1607 } _resultobj
= Py_BuildValue("i",_result
);
1611 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1612 PyObject
* _resultobj
;
1615 char *_kwnames
[] = { "index", NULL
};
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1622 wxPy_BEGIN_ALLOW_THREADS
;
1623 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1625 wxPy_END_ALLOW_THREADS
;
1626 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1627 _resultobj
= Py_BuildValue("s",_ptemp
);
1631 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1632 PyObject
* _resultobj
;
1635 char *_kwnames
[] = { "index", NULL
};
1639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1642 wxPy_BEGIN_ALLOW_THREADS
;
1643 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1645 wxPy_END_ALLOW_THREADS
;
1646 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1647 _resultobj
= Py_BuildValue("s",_ptemp
);
1651 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1652 PyObject
* _resultobj
;
1655 char *_kwnames
[] = { "index", NULL
};
1658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1661 wxPy_BEGIN_ALLOW_THREADS
;
1662 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1664 wxPy_END_ALLOW_THREADS
;
1665 } _resultobj
= Py_BuildValue("i",_result
);
1669 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
* _resultobj
;
1672 char *_kwnames
[] = { NULL
};
1675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1678 wxPy_BEGIN_ALLOW_THREADS
;
1679 _result
= (int )wxCaret_GetBlinkTime();
1681 wxPy_END_ALLOW_THREADS
;
1682 } _resultobj
= Py_BuildValue("i",_result
);
1686 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1687 PyObject
* _resultobj
;
1689 char *_kwnames
[] = { "milliseconds", NULL
};
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1695 wxPy_BEGIN_ALLOW_THREADS
;
1696 wxCaret_SetBlinkTime(_arg0
);
1698 wxPy_END_ALLOW_THREADS
;
1699 } Py_INCREF(Py_None
);
1700 _resultobj
= Py_None
;
1704 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1705 PyObject
* _resultobj
;
1707 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1708 PyObject
* _argo0
= 0;
1709 char *_kwnames
[] = { "win", NULL
};
1712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1722 wxPy_BEGIN_ALLOW_THREADS
;
1723 _result
= (bool )wxSafeYield(_arg0
);
1725 wxPy_END_ALLOW_THREADS
;
1726 } _resultobj
= Py_BuildValue("i",_result
);
1730 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1731 PyObject
* _resultobj
;
1732 wxEvtHandler
* _arg0
;
1734 PyObject
* _argo0
= 0;
1735 PyObject
* _argo1
= 0;
1736 char *_kwnames
[] = { "dest","event", NULL
};
1739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1749 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1750 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1756 wxPy_BEGIN_ALLOW_THREADS
;
1757 wxPostEvent(_arg0
,*_arg1
);
1759 wxPy_END_ALLOW_THREADS
;
1760 } Py_INCREF(Py_None
);
1761 _resultobj
= Py_None
;
1765 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
* _resultobj
;
1767 char *_kwnames
[] = { NULL
};
1770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1773 wxPy_BEGIN_ALLOW_THREADS
;
1776 wxPy_END_ALLOW_THREADS
;
1777 } Py_INCREF(Py_None
);
1778 _resultobj
= Py_None
;
1782 static PyObject
*_wrap_wxWakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
* _resultobj
;
1784 char *_kwnames
[] = { NULL
};
1787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpMainThread",_kwnames
))
1790 wxPy_BEGIN_ALLOW_THREADS
;
1791 wxWakeUpMainThread();
1793 wxPy_END_ALLOW_THREADS
;
1794 } Py_INCREF(Py_None
);
1795 _resultobj
= Py_None
;
1799 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1800 PyObject
* _resultobj
;
1801 char *_kwnames
[] = { NULL
};
1804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1807 wxPy_BEGIN_ALLOW_THREADS
;
1810 wxPy_END_ALLOW_THREADS
;
1811 } Py_INCREF(Py_None
);
1812 _resultobj
= Py_None
;
1816 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1817 PyObject
* _resultobj
;
1818 char *_kwnames
[] = { NULL
};
1821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1824 wxPy_BEGIN_ALLOW_THREADS
;
1827 wxPy_END_ALLOW_THREADS
;
1828 } Py_INCREF(Py_None
);
1829 _resultobj
= Py_None
;
1833 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1834 PyObject
* _resultobj
;
1836 char *_kwnames
[] = { NULL
};
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1842 wxPy_BEGIN_ALLOW_THREADS
;
1843 _result
= (bool )wxThread_IsMain();
1845 wxPy_END_ALLOW_THREADS
;
1846 } _resultobj
= Py_BuildValue("i",_result
);
1850 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
* _resultobj
;
1854 wxTipProvider
* _arg1
;
1855 bool _arg2
= (bool ) TRUE
;
1856 PyObject
* _argo0
= 0;
1857 PyObject
* _argo1
= 0;
1858 int tempbool2
= (int) TRUE
;
1859 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1865 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1866 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1872 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1873 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1874 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1878 _arg2
= (bool ) tempbool2
;
1880 wxPy_BEGIN_ALLOW_THREADS
;
1881 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1883 wxPy_END_ALLOW_THREADS
;
1884 } _resultobj
= Py_BuildValue("i",_result
);
1888 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1889 PyObject
* _resultobj
;
1890 wxTipProvider
* _result
;
1893 PyObject
* _obj0
= 0;
1894 char *_kwnames
[] = { "filename","currentTip", NULL
};
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1901 #if PYTHON_API_VERSION >= 1009
1902 char* tmpPtr
; int tmpSize
;
1903 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1904 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1907 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1909 _arg0
= new wxString(tmpPtr
, tmpSize
);
1911 if (!PyString_Check(_obj0
)) {
1912 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1915 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1919 wxPy_BEGIN_ALLOW_THREADS
;
1920 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1922 wxPy_END_ALLOW_THREADS
;
1924 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1925 _resultobj
= Py_BuildValue("s",_ptemp
);
1928 _resultobj
= Py_None
;
1937 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1938 PyObject
* _resultobj
;
1939 unsigned long _result
;
1940 char *_kwnames
[] = { NULL
};
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1946 wxPy_BEGIN_ALLOW_THREADS
;
1947 _result
= (unsigned long )wxSysErrorCode();
1949 wxPy_END_ALLOW_THREADS
;
1950 } _resultobj
= Py_BuildValue("l",_result
);
1954 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1955 PyObject
* _resultobj
;
1957 unsigned long _arg0
= (unsigned long ) 0;
1958 char *_kwnames
[] = { "nErrCode", NULL
};
1961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1964 wxPy_BEGIN_ALLOW_THREADS
;
1965 _result
= (char *)wxSysErrorMsg(_arg0
);
1967 wxPy_END_ALLOW_THREADS
;
1968 } _resultobj
= Py_BuildValue("s", _result
);
1972 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
* _resultobj
;
1975 char *_kwnames
[] = { "szFormat", NULL
};
1978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
1981 wxPy_BEGIN_ALLOW_THREADS
;
1982 wxLogFatalError(_arg0
);
1984 wxPy_END_ALLOW_THREADS
;
1985 } Py_INCREF(Py_None
);
1986 _resultobj
= Py_None
;
1990 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1991 PyObject
* _resultobj
;
1993 char *_kwnames
[] = { "szFormat", NULL
};
1996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
1999 wxPy_BEGIN_ALLOW_THREADS
;
2002 wxPy_END_ALLOW_THREADS
;
2003 } Py_INCREF(Py_None
);
2004 _resultobj
= Py_None
;
2008 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2009 PyObject
* _resultobj
;
2011 char *_kwnames
[] = { "szFormat", NULL
};
2014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
2017 wxPy_BEGIN_ALLOW_THREADS
;
2018 wxLogWarning(_arg0
);
2020 wxPy_END_ALLOW_THREADS
;
2021 } Py_INCREF(Py_None
);
2022 _resultobj
= Py_None
;
2026 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2027 PyObject
* _resultobj
;
2029 char *_kwnames
[] = { "szFormat", NULL
};
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
2035 wxPy_BEGIN_ALLOW_THREADS
;
2036 wxLogMessage(_arg0
);
2038 wxPy_END_ALLOW_THREADS
;
2039 } Py_INCREF(Py_None
);
2040 _resultobj
= Py_None
;
2044 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2045 PyObject
* _resultobj
;
2047 char *_kwnames
[] = { "szFormat", NULL
};
2050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
2053 wxPy_BEGIN_ALLOW_THREADS
;
2056 wxPy_END_ALLOW_THREADS
;
2057 } Py_INCREF(Py_None
);
2058 _resultobj
= Py_None
;
2062 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
* _resultobj
;
2065 char *_kwnames
[] = { "szFormat", NULL
};
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
2071 wxPy_BEGIN_ALLOW_THREADS
;
2072 wxLogVerbose(_arg0
);
2074 wxPy_END_ALLOW_THREADS
;
2075 } Py_INCREF(Py_None
);
2076 _resultobj
= Py_None
;
2080 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2081 PyObject
* _resultobj
;
2083 char *_kwnames
[] = { "szFormat", NULL
};
2086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
2089 wxPy_BEGIN_ALLOW_THREADS
;
2092 wxPy_END_ALLOW_THREADS
;
2093 } Py_INCREF(Py_None
);
2094 _resultobj
= Py_None
;
2098 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2099 PyObject
* _resultobj
;
2102 PyObject
* _argo0
= 0;
2103 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
2109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2116 wxPy_BEGIN_ALLOW_THREADS
;
2117 wxLogStatus(_arg0
,_arg1
);
2119 wxPy_END_ALLOW_THREADS
;
2120 } Py_INCREF(Py_None
);
2121 _resultobj
= Py_None
;
2125 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
* _resultobj
;
2128 char *_kwnames
[] = { "szFormat", NULL
};
2131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2134 wxPy_BEGIN_ALLOW_THREADS
;
2135 wxLogSysError(_arg0
);
2137 wxPy_END_ALLOW_THREADS
;
2138 } Py_INCREF(Py_None
);
2139 _resultobj
= Py_None
;
2143 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2144 PyObject
* _resultobj
;
2147 int _arg1
= (int ) FALSE
;
2148 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2149 PyObject
* _obj0
= 0;
2150 PyObject
* _argo2
= 0;
2151 char *_kwnames
[] = { "command","sync","process", NULL
};
2154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2157 #if PYTHON_API_VERSION >= 1009
2158 char* tmpPtr
; int tmpSize
;
2159 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2160 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2163 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2165 _arg0
= new wxString(tmpPtr
, tmpSize
);
2167 if (!PyString_Check(_obj0
)) {
2168 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2171 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2175 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2176 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2177 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2182 wxPy_BEGIN_ALLOW_THREADS
;
2183 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2185 wxPy_END_ALLOW_THREADS
;
2186 } _resultobj
= Py_BuildValue("l",_result
);
2194 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
* _resultobj
;
2198 PyObject
* _obj0
= 0;
2199 char *_kwnames
[] = { "data", NULL
};
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2206 #if PYTHON_API_VERSION >= 1009
2207 char* tmpPtr
; int tmpSize
;
2208 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2209 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2212 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2214 _arg0
= new wxString(tmpPtr
, tmpSize
);
2216 if (!PyString_Check(_obj0
)) {
2217 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2220 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2224 wxPy_BEGIN_ALLOW_THREADS
;
2225 _result
= (wxWave
*)wxWaveData(*_arg0
);
2227 wxPy_END_ALLOW_THREADS
;
2229 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2230 _resultobj
= Py_BuildValue("s",_ptemp
);
2233 _resultobj
= Py_None
;
2242 static void *SwigwxToolTipTowxObject(void *ptr
) {
2245 src
= (wxToolTip
*) ptr
;
2246 dest
= (wxObject
*) src
;
2247 return (void *) dest
;
2250 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2251 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2252 PyObject
* _resultobj
;
2253 wxToolTip
* _result
;
2255 PyObject
* _obj0
= 0;
2256 char *_kwnames
[] = { "tip", NULL
};
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2263 #if PYTHON_API_VERSION >= 1009
2264 char* tmpPtr
; int tmpSize
;
2265 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2266 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2269 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2271 _arg0
= new wxString(tmpPtr
, tmpSize
);
2273 if (!PyString_Check(_obj0
)) {
2274 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2277 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2281 wxPy_BEGIN_ALLOW_THREADS
;
2282 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2284 wxPy_END_ALLOW_THREADS
;
2286 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2287 _resultobj
= Py_BuildValue("s",_ptemp
);
2290 _resultobj
= Py_None
;
2299 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2300 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2301 PyObject
* _resultobj
;
2304 PyObject
* _argo0
= 0;
2305 PyObject
* _obj1
= 0;
2306 char *_kwnames
[] = { "self","tip", NULL
};
2309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2312 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2313 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2314 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2319 #if PYTHON_API_VERSION >= 1009
2320 char* tmpPtr
; int tmpSize
;
2321 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2322 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2325 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2327 _arg1
= new wxString(tmpPtr
, tmpSize
);
2329 if (!PyString_Check(_obj1
)) {
2330 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2333 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2337 wxPy_BEGIN_ALLOW_THREADS
;
2338 wxToolTip_SetTip(_arg0
,*_arg1
);
2340 wxPy_END_ALLOW_THREADS
;
2341 } Py_INCREF(Py_None
);
2342 _resultobj
= Py_None
;
2350 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2351 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2352 PyObject
* _resultobj
;
2355 PyObject
* _argo0
= 0;
2356 char *_kwnames
[] = { "self", NULL
};
2359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2369 wxPy_BEGIN_ALLOW_THREADS
;
2370 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2372 wxPy_END_ALLOW_THREADS
;
2374 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2382 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2383 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2384 PyObject
* _resultobj
;
2387 PyObject
* _argo0
= 0;
2388 char *_kwnames
[] = { "self", NULL
};
2391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2401 wxPy_BEGIN_ALLOW_THREADS
;
2402 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2404 wxPy_END_ALLOW_THREADS
;
2405 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2409 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2410 PyObject
* _resultobj
;
2413 char *_kwnames
[] = { "flag", NULL
};
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2418 _arg0
= (bool ) tempbool0
;
2420 wxPy_BEGIN_ALLOW_THREADS
;
2421 wxToolTip::Enable(_arg0
);
2423 wxPy_END_ALLOW_THREADS
;
2424 } Py_INCREF(Py_None
);
2425 _resultobj
= Py_None
;
2429 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2430 PyObject
* _resultobj
;
2432 char *_kwnames
[] = { "milliseconds", NULL
};
2435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2438 wxPy_BEGIN_ALLOW_THREADS
;
2439 wxToolTip::SetDelay(_arg0
);
2441 wxPy_END_ALLOW_THREADS
;
2442 } Py_INCREF(Py_None
);
2443 _resultobj
= Py_None
;
2447 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2448 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2449 PyObject
* _resultobj
;
2453 PyObject
* _argo0
= 0;
2455 PyObject
* _obj1
= 0;
2456 char *_kwnames
[] = { "window","size", NULL
};
2460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2463 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2464 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2471 if (! wxSize_helper(_obj1
, &_arg1
))
2475 wxPy_BEGIN_ALLOW_THREADS
;
2476 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2478 wxPy_END_ALLOW_THREADS
;
2480 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2481 _resultobj
= Py_BuildValue("s",_ptemp
);
2484 _resultobj
= Py_None
;
2489 #define delete_wxCaret(_swigobj) (delete _swigobj)
2490 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2491 PyObject
* _resultobj
;
2493 PyObject
* _argo0
= 0;
2494 char *_kwnames
[] = { "self", NULL
};
2497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2500 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2501 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2502 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2507 wxPy_BEGIN_ALLOW_THREADS
;
2508 delete_wxCaret(_arg0
);
2510 wxPy_END_ALLOW_THREADS
;
2511 } Py_INCREF(Py_None
);
2512 _resultobj
= Py_None
;
2516 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2517 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2518 PyObject
* _resultobj
;
2521 PyObject
* _argo0
= 0;
2522 char *_kwnames
[] = { "self", NULL
};
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2535 wxPy_BEGIN_ALLOW_THREADS
;
2536 _result
= (bool )wxCaret_IsOk(_arg0
);
2538 wxPy_END_ALLOW_THREADS
;
2539 } _resultobj
= Py_BuildValue("i",_result
);
2543 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2544 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2545 PyObject
* _resultobj
;
2548 PyObject
* _argo0
= 0;
2549 char *_kwnames
[] = { "self", NULL
};
2552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2555 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2556 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2557 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2562 wxPy_BEGIN_ALLOW_THREADS
;
2563 _result
= (bool )wxCaret_IsVisible(_arg0
);
2565 wxPy_END_ALLOW_THREADS
;
2566 } _resultobj
= Py_BuildValue("i",_result
);
2570 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2571 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
* _resultobj
;
2578 PyObject
* _argo0
= 0;
2579 char *_kwnames
[] = { "self", NULL
};
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2591 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2592 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2593 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2598 wxPy_BEGIN_ALLOW_THREADS
;
2599 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2601 wxPy_END_ALLOW_THREADS
;
2602 } Py_INCREF(Py_None
);
2603 _resultobj
= Py_None
;
2606 o
= PyInt_FromLong((long) (*_arg1
));
2607 _resultobj
= t_output_helper(_resultobj
, o
);
2611 o
= PyInt_FromLong((long) (*_arg2
));
2612 _resultobj
= t_output_helper(_resultobj
, o
);
2617 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2618 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
* _resultobj
;
2622 PyObject
* _argo0
= 0;
2623 char *_kwnames
[] = { "self", NULL
};
2627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2637 wxPy_BEGIN_ALLOW_THREADS
;
2638 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2640 wxPy_END_ALLOW_THREADS
;
2641 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2642 _resultobj
= Py_BuildValue("s",_ptemp
);
2646 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2647 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2648 PyObject
* _resultobj
;
2654 PyObject
* _argo0
= 0;
2655 char *_kwnames
[] = { "self", NULL
};
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2667 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2668 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2669 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2674 wxPy_BEGIN_ALLOW_THREADS
;
2675 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2677 wxPy_END_ALLOW_THREADS
;
2678 } Py_INCREF(Py_None
);
2679 _resultobj
= Py_None
;
2682 o
= PyInt_FromLong((long) (*_arg1
));
2683 _resultobj
= t_output_helper(_resultobj
, o
);
2687 o
= PyInt_FromLong((long) (*_arg2
));
2688 _resultobj
= t_output_helper(_resultobj
, o
);
2693 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2694 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2695 PyObject
* _resultobj
;
2698 PyObject
* _argo0
= 0;
2699 char *_kwnames
[] = { "self", NULL
};
2703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2713 wxPy_BEGIN_ALLOW_THREADS
;
2714 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2716 wxPy_END_ALLOW_THREADS
;
2717 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2718 _resultobj
= Py_BuildValue("s",_ptemp
);
2722 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2723 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2724 PyObject
* _resultobj
;
2727 PyObject
* _argo0
= 0;
2728 char *_kwnames
[] = { "self", NULL
};
2731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2741 wxPy_BEGIN_ALLOW_THREADS
;
2742 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2744 wxPy_END_ALLOW_THREADS
;
2745 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2749 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2750 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
* _resultobj
;
2755 PyObject
* _argo0
= 0;
2756 char *_kwnames
[] = { "self","x","y", NULL
};
2759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2769 wxPy_BEGIN_ALLOW_THREADS
;
2770 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2772 wxPy_END_ALLOW_THREADS
;
2773 } Py_INCREF(Py_None
);
2774 _resultobj
= Py_None
;
2778 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2779 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2780 PyObject
* _resultobj
;
2783 PyObject
* _argo0
= 0;
2785 PyObject
* _obj1
= 0;
2786 char *_kwnames
[] = { "self","pt", NULL
};
2789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2800 if (! wxPoint_helper(_obj1
, &_arg1
))
2804 wxPy_BEGIN_ALLOW_THREADS
;
2805 wxCaret_Move(_arg0
,*_arg1
);
2807 wxPy_END_ALLOW_THREADS
;
2808 } Py_INCREF(Py_None
);
2809 _resultobj
= Py_None
;
2813 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2814 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2815 PyObject
* _resultobj
;
2819 PyObject
* _argo0
= 0;
2820 char *_kwnames
[] = { "self","width","height", NULL
};
2823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2833 wxPy_BEGIN_ALLOW_THREADS
;
2834 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2836 wxPy_END_ALLOW_THREADS
;
2837 } Py_INCREF(Py_None
);
2838 _resultobj
= Py_None
;
2842 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2843 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2844 PyObject
* _resultobj
;
2847 PyObject
* _argo0
= 0;
2849 PyObject
* _obj1
= 0;
2850 char *_kwnames
[] = { "self","size", NULL
};
2853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
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_SetSize. Expected _wxCaret_p.");
2864 if (! wxSize_helper(_obj1
, &_arg1
))
2868 wxPy_BEGIN_ALLOW_THREADS
;
2869 wxCaret_SetSize(_arg0
,*_arg1
);
2871 wxPy_END_ALLOW_THREADS
;
2872 } Py_INCREF(Py_None
);
2873 _resultobj
= Py_None
;
2877 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2878 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2879 PyObject
* _resultobj
;
2881 int _arg1
= (int ) TRUE
;
2882 PyObject
* _argo0
= 0;
2883 char *_kwnames
[] = { "self","show", NULL
};
2886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
2889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2896 wxPy_BEGIN_ALLOW_THREADS
;
2897 wxCaret_Show(_arg0
,_arg1
);
2899 wxPy_END_ALLOW_THREADS
;
2900 } Py_INCREF(Py_None
);
2901 _resultobj
= Py_None
;
2905 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2906 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
* _resultobj
;
2909 PyObject
* _argo0
= 0;
2910 char *_kwnames
[] = { "self", NULL
};
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
2916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
2923 wxPy_BEGIN_ALLOW_THREADS
;
2924 wxCaret_Hide(_arg0
);
2926 wxPy_END_ALLOW_THREADS
;
2927 } Py_INCREF(Py_None
);
2928 _resultobj
= Py_None
;
2932 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
2933 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2934 PyObject
* _resultobj
;
2935 wxPyFontEnumerator
* _result
;
2936 char *_kwnames
[] = { NULL
};
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
2943 wxPy_BEGIN_ALLOW_THREADS
;
2944 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
2946 wxPy_END_ALLOW_THREADS
;
2948 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
2949 _resultobj
= Py_BuildValue("s",_ptemp
);
2952 _resultobj
= Py_None
;
2957 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
2958 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2959 PyObject
* _resultobj
;
2960 wxPyFontEnumerator
* _arg0
;
2961 PyObject
* _argo0
= 0;
2962 char *_kwnames
[] = { "self", NULL
};
2965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
2968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
2975 wxPy_BEGIN_ALLOW_THREADS
;
2976 delete_wxPyFontEnumerator(_arg0
);
2978 wxPy_END_ALLOW_THREADS
;
2979 } Py_INCREF(Py_None
);
2980 _resultobj
= Py_None
;
2984 #define wxFontEnumerator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2985 static PyObject
*_wrap_wxFontEnumerator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2986 PyObject
* _resultobj
;
2987 wxPyFontEnumerator
* _arg0
;
2990 PyObject
* _argo0
= 0;
2991 PyObject
* _obj1
= 0;
2992 PyObject
* _obj2
= 0;
2993 char *_kwnames
[] = { "self","self","_class", NULL
};
2996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFontEnumerator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setSelf. Expected _wxPyFontEnumerator_p.");
3012 wxPy_BEGIN_ALLOW_THREADS
;
3013 wxFontEnumerator__setSelf(_arg0
,_arg1
,_arg2
);
3015 wxPy_END_ALLOW_THREADS
;
3016 } Py_INCREF(Py_None
);
3017 _resultobj
= Py_None
;
3021 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
3022 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3023 PyObject
* _resultobj
;
3025 wxPyFontEnumerator
* _arg0
;
3026 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
3027 bool _arg2
= (bool ) FALSE
;
3028 PyObject
* _argo0
= 0;
3029 int tempbool2
= (int) FALSE
;
3030 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
3033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3036 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3037 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3038 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3042 _arg2
= (bool ) tempbool2
;
3044 wxPy_BEGIN_ALLOW_THREADS
;
3045 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
3047 wxPy_END_ALLOW_THREADS
;
3048 } _resultobj
= Py_BuildValue("i",_result
);
3052 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3053 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3054 PyObject
* _resultobj
;
3056 wxPyFontEnumerator
* _arg0
;
3057 char * _arg1
= (char *) "";
3058 PyObject
* _argo0
= 0;
3059 char *_kwnames
[] = { "self","facename", NULL
};
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
3065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3072 wxPy_BEGIN_ALLOW_THREADS
;
3073 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
3075 wxPy_END_ALLOW_THREADS
;
3076 } _resultobj
= Py_BuildValue("i",_result
);
3080 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3081 wxArrayString
* arr
= self
->GetEncodings();
3082 PyObject
* list
= PyList_New(0);
3083 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3084 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3087 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3088 PyObject
* _resultobj
;
3090 wxPyFontEnumerator
* _arg0
;
3091 PyObject
* _argo0
= 0;
3092 char *_kwnames
[] = { "self", NULL
};
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3105 wxPy_BEGIN_ALLOW_THREADS
;
3106 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3108 wxPy_END_ALLOW_THREADS
;
3110 _resultobj
= _result
;
3115 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3116 wxArrayString
* arr
= self
->GetFacenames();
3117 PyObject
* list
= PyList_New(0);
3118 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3119 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3122 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3123 PyObject
* _resultobj
;
3125 wxPyFontEnumerator
* _arg0
;
3126 PyObject
* _argo0
= 0;
3127 char *_kwnames
[] = { "self", NULL
};
3130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3140 wxPy_BEGIN_ALLOW_THREADS
;
3141 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3143 wxPy_END_ALLOW_THREADS
;
3145 _resultobj
= _result
;
3150 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3151 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3152 PyObject
* _resultobj
;
3153 wxBusyCursor
* _result
;
3154 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3155 PyObject
* _argo0
= 0;
3156 char *_kwnames
[] = { "cursor", NULL
};
3160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3170 wxPy_BEGIN_ALLOW_THREADS
;
3171 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3173 wxPy_END_ALLOW_THREADS
;
3175 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3176 _resultobj
= Py_BuildValue("s",_ptemp
);
3179 _resultobj
= Py_None
;
3184 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3185 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3186 PyObject
* _resultobj
;
3187 wxBusyCursor
* _arg0
;
3188 PyObject
* _argo0
= 0;
3189 char *_kwnames
[] = { "self", NULL
};
3192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3195 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3196 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3197 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3202 wxPy_BEGIN_ALLOW_THREADS
;
3203 delete_wxBusyCursor(_arg0
);
3205 wxPy_END_ALLOW_THREADS
;
3206 } Py_INCREF(Py_None
);
3207 _resultobj
= Py_None
;
3211 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3212 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3213 PyObject
* _resultobj
;
3214 wxWindowDisabler
* _result
;
3215 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3216 PyObject
* _argo0
= 0;
3217 char *_kwnames
[] = { "winToSkip", NULL
};
3221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3231 wxPy_BEGIN_ALLOW_THREADS
;
3232 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3234 wxPy_END_ALLOW_THREADS
;
3236 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3237 _resultobj
= Py_BuildValue("s",_ptemp
);
3240 _resultobj
= Py_None
;
3245 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3246 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3247 PyObject
* _resultobj
;
3248 wxWindowDisabler
* _arg0
;
3249 PyObject
* _argo0
= 0;
3250 char *_kwnames
[] = { "self", NULL
};
3253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3263 wxPy_BEGIN_ALLOW_THREADS
;
3264 delete_wxWindowDisabler(_arg0
);
3266 wxPy_END_ALLOW_THREADS
;
3267 } Py_INCREF(Py_None
);
3268 _resultobj
= Py_None
;
3272 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3273 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3274 PyObject
* _resultobj
;
3275 wxMutexGuiLocker
* _result
;
3276 char *_kwnames
[] = { NULL
};
3280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3283 wxPy_BEGIN_ALLOW_THREADS
;
3284 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3286 wxPy_END_ALLOW_THREADS
;
3288 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3289 _resultobj
= Py_BuildValue("s",_ptemp
);
3292 _resultobj
= Py_None
;
3297 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3298 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
* _resultobj
;
3300 wxMutexGuiLocker
* _arg0
;
3301 PyObject
* _argo0
= 0;
3302 char *_kwnames
[] = { "self", NULL
};
3305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3315 wxPy_BEGIN_ALLOW_THREADS
;
3316 delete_wxMutexGuiLocker(_arg0
);
3318 wxPy_END_ALLOW_THREADS
;
3319 } Py_INCREF(Py_None
);
3320 _resultobj
= Py_None
;
3324 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3325 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3326 PyObject
* _resultobj
;
3327 wxTipProvider
* _arg0
;
3328 PyObject
* _argo0
= 0;
3329 char *_kwnames
[] = { "self", NULL
};
3332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_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 delete_wxTipProvider. Expected _wxTipProvider_p.");
3342 wxPy_BEGIN_ALLOW_THREADS
;
3343 delete_wxTipProvider(_arg0
);
3345 wxPy_END_ALLOW_THREADS
;
3346 } Py_INCREF(Py_None
);
3347 _resultobj
= Py_None
;
3351 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3352 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3353 PyObject
* _resultobj
;
3355 wxTipProvider
* _arg0
;
3356 PyObject
* _argo0
= 0;
3357 char *_kwnames
[] = { "self", NULL
};
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3363 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3364 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3365 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3370 wxPy_BEGIN_ALLOW_THREADS
;
3371 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3373 wxPy_END_ALLOW_THREADS
;
3375 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3383 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3384 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
* _resultobj
;
3387 wxTipProvider
* _arg0
;
3388 PyObject
* _argo0
= 0;
3389 char *_kwnames
[] = { "self", NULL
};
3392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3395 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3396 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3397 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3402 wxPy_BEGIN_ALLOW_THREADS
;
3403 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3405 wxPy_END_ALLOW_THREADS
;
3406 } _resultobj
= Py_BuildValue("i",_result
);
3410 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3411 wxPyTipProvider
*src
;
3412 wxTipProvider
*dest
;
3413 src
= (wxPyTipProvider
*) ptr
;
3414 dest
= (wxTipProvider
*) src
;
3415 return (void *) dest
;
3418 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3419 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3420 PyObject
* _resultobj
;
3421 wxPyTipProvider
* _result
;
3423 char *_kwnames
[] = { "currentTip", NULL
};
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3430 wxPy_BEGIN_ALLOW_THREADS
;
3431 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3433 wxPy_END_ALLOW_THREADS
;
3435 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3436 _resultobj
= Py_BuildValue("s",_ptemp
);
3439 _resultobj
= Py_None
;
3444 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3445 wxGenericDragImage
*src
;
3447 src
= (wxGenericDragImage
*) ptr
;
3448 dest
= (wxObject
*) src
;
3449 return (void *) dest
;
3452 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3453 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3454 PyObject
* _resultobj
;
3455 wxGenericDragImage
* _result
;
3457 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3458 PyObject
* _argo0
= 0;
3459 PyObject
* _argo1
= 0;
3460 char *_kwnames
[] = { "image","cursor", NULL
};
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3474 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3475 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3481 wxPy_BEGIN_ALLOW_THREADS
;
3482 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3484 wxPy_END_ALLOW_THREADS
;
3486 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3487 _resultobj
= Py_BuildValue("s",_ptemp
);
3490 _resultobj
= Py_None
;
3495 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3496 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3497 PyObject
* _resultobj
;
3498 wxGenericDragImage
* _result
;
3500 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3501 PyObject
* _argo0
= 0;
3502 PyObject
* _argo1
= 0;
3503 char *_kwnames
[] = { "image","cursor", NULL
};
3507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3517 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3518 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3524 wxPy_BEGIN_ALLOW_THREADS
;
3525 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3527 wxPy_END_ALLOW_THREADS
;
3529 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3530 _resultobj
= Py_BuildValue("s",_ptemp
);
3533 _resultobj
= Py_None
;
3538 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3539 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3540 PyObject
* _resultobj
;
3541 wxGenericDragImage
* _result
;
3543 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3544 PyObject
* _obj0
= 0;
3545 PyObject
* _argo1
= 0;
3546 char *_kwnames
[] = { "str","cursor", NULL
};
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3553 #if PYTHON_API_VERSION >= 1009
3554 char* tmpPtr
; int tmpSize
;
3555 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3556 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3559 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3561 _arg0
= new wxString(tmpPtr
, tmpSize
);
3563 if (!PyString_Check(_obj0
)) {
3564 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3567 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3571 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3572 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3578 wxPy_BEGIN_ALLOW_THREADS
;
3579 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3581 wxPy_END_ALLOW_THREADS
;
3583 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3584 _resultobj
= Py_BuildValue("s",_ptemp
);
3587 _resultobj
= Py_None
;
3596 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3597 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
* _resultobj
;
3599 wxGenericDragImage
* _result
;
3601 wxTreeItemId
* _arg1
;
3602 PyObject
* _argo0
= 0;
3603 PyObject
* _argo1
= 0;
3604 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3618 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3619 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3625 wxPy_BEGIN_ALLOW_THREADS
;
3626 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3628 wxPy_END_ALLOW_THREADS
;
3630 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3631 _resultobj
= Py_BuildValue("s",_ptemp
);
3634 _resultobj
= Py_None
;
3639 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3640 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3641 PyObject
* _resultobj
;
3642 wxGenericDragImage
* _result
;
3645 PyObject
* _argo0
= 0;
3646 char *_kwnames
[] = { "listCtrl","id", NULL
};
3650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3660 wxPy_BEGIN_ALLOW_THREADS
;
3661 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3663 wxPy_END_ALLOW_THREADS
;
3665 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3666 _resultobj
= Py_BuildValue("s",_ptemp
);
3669 _resultobj
= Py_None
;
3674 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3675 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3676 PyObject
* _resultobj
;
3677 wxGenericDragImage
* _arg0
;
3678 PyObject
* _argo0
= 0;
3679 char *_kwnames
[] = { "self", NULL
};
3682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3685 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3686 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3687 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3692 wxPy_BEGIN_ALLOW_THREADS
;
3693 delete_wxGenericDragImage(_arg0
);
3695 wxPy_END_ALLOW_THREADS
;
3696 } Py_INCREF(Py_None
);
3697 _resultobj
= Py_None
;
3701 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3702 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3703 PyObject
* _resultobj
;
3704 wxGenericDragImage
* _arg0
;
3706 PyObject
* _argo0
= 0;
3707 PyObject
* _argo1
= 0;
3708 char *_kwnames
[] = { "self","bitmap", NULL
};
3711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3721 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3722 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3728 wxPy_BEGIN_ALLOW_THREADS
;
3729 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3731 wxPy_END_ALLOW_THREADS
;
3732 } Py_INCREF(Py_None
);
3733 _resultobj
= Py_None
;
3737 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3738 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
* _resultobj
;
3741 wxGenericDragImage
* _arg0
;
3744 bool _arg3
= (bool ) FALSE
;
3745 wxRect
* _arg4
= (wxRect
*) NULL
;
3746 PyObject
* _argo0
= 0;
3748 PyObject
* _obj1
= 0;
3749 PyObject
* _argo2
= 0;
3750 int tempbool3
= (int) FALSE
;
3752 PyObject
* _obj4
= 0;
3753 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3759 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3760 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3761 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3767 if (! wxPoint_helper(_obj1
, &_arg1
))
3771 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3772 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3773 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3777 _arg3
= (bool ) tempbool3
;
3781 if (! wxRect_helper(_obj4
, &_arg4
))
3785 wxPy_BEGIN_ALLOW_THREADS
;
3786 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3788 wxPy_END_ALLOW_THREADS
;
3789 } _resultobj
= Py_BuildValue("i",_result
);
3793 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3794 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3795 PyObject
* _resultobj
;
3797 wxGenericDragImage
* _arg0
;
3801 PyObject
* _argo0
= 0;
3803 PyObject
* _obj1
= 0;
3804 PyObject
* _argo2
= 0;
3805 PyObject
* _argo3
= 0;
3806 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3820 if (! wxPoint_helper(_obj1
, &_arg1
))
3824 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3825 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3831 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3832 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3833 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3838 wxPy_BEGIN_ALLOW_THREADS
;
3839 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3841 wxPy_END_ALLOW_THREADS
;
3842 } _resultobj
= Py_BuildValue("i",_result
);
3846 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3847 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3848 PyObject
* _resultobj
;
3850 wxGenericDragImage
* _arg0
;
3851 PyObject
* _argo0
= 0;
3852 char *_kwnames
[] = { "self", NULL
};
3855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3865 wxPy_BEGIN_ALLOW_THREADS
;
3866 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3868 wxPy_END_ALLOW_THREADS
;
3869 } _resultobj
= Py_BuildValue("i",_result
);
3873 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3874 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3875 PyObject
* _resultobj
;
3877 wxGenericDragImage
* _arg0
;
3879 PyObject
* _argo0
= 0;
3881 PyObject
* _obj1
= 0;
3882 char *_kwnames
[] = { "self","pt", NULL
};
3885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3896 if (! wxPoint_helper(_obj1
, &_arg1
))
3900 wxPy_BEGIN_ALLOW_THREADS
;
3901 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3903 wxPy_END_ALLOW_THREADS
;
3904 } _resultobj
= Py_BuildValue("i",_result
);
3908 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3909 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
* _resultobj
;
3912 wxGenericDragImage
* _arg0
;
3913 PyObject
* _argo0
= 0;
3914 char *_kwnames
[] = { "self", NULL
};
3917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3927 wxPy_BEGIN_ALLOW_THREADS
;
3928 _result
= (bool )wxDragImage_Show(_arg0
);
3930 wxPy_END_ALLOW_THREADS
;
3931 } _resultobj
= Py_BuildValue("i",_result
);
3935 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3936 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3937 PyObject
* _resultobj
;
3939 wxGenericDragImage
* _arg0
;
3940 PyObject
* _argo0
= 0;
3941 char *_kwnames
[] = { "self", NULL
};
3944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3947 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3948 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3949 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3954 wxPy_BEGIN_ALLOW_THREADS
;
3955 _result
= (bool )wxDragImage_Hide(_arg0
);
3957 wxPy_END_ALLOW_THREADS
;
3958 } _resultobj
= Py_BuildValue("i",_result
);
3962 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3963 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3964 PyObject
* _resultobj
;
3966 wxGenericDragImage
* _arg0
;
3968 PyObject
* _argo0
= 0;
3970 PyObject
* _obj1
= 0;
3971 char *_kwnames
[] = { "self","pos", NULL
};
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
3978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
3986 if (! wxPoint_helper(_obj1
, &_arg1
))
3990 wxPy_BEGIN_ALLOW_THREADS
;
3991 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
3993 wxPy_END_ALLOW_THREADS
;
3994 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3995 _resultobj
= Py_BuildValue("s",_ptemp
);
3999 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4000 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4001 PyObject
* _resultobj
;
4003 wxGenericDragImage
* _arg0
;
4008 PyObject
* _argo0
= 0;
4010 PyObject
* _obj1
= 0;
4012 PyObject
* _obj2
= 0;
4015 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4029 if (! wxPoint_helper(_obj1
, &_arg1
))
4034 if (! wxPoint_helper(_obj2
, &_arg2
))
4037 _arg3
= (bool ) tempbool3
;
4038 _arg4
= (bool ) tempbool4
;
4040 wxPy_BEGIN_ALLOW_THREADS
;
4041 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4043 wxPy_END_ALLOW_THREADS
;
4044 } _resultobj
= Py_BuildValue("i",_result
);
4048 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4051 src
= (wxPyTimer
*) ptr
;
4052 dest
= (wxObject
*) src
;
4053 return (void *) dest
;
4056 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4057 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4058 PyObject
* _resultobj
;
4059 wxPyTimer
* _result
;
4061 PyObject
* _obj0
= 0;
4062 char *_kwnames
[] = { "notify", NULL
};
4066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4072 wxPy_BEGIN_ALLOW_THREADS
;
4073 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4075 wxPy_END_ALLOW_THREADS
;
4077 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4078 _resultobj
= Py_BuildValue("s",_ptemp
);
4081 _resultobj
= Py_None
;
4086 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4087 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
* _resultobj
;
4090 PyObject
* _argo0
= 0;
4091 char *_kwnames
[] = { "self", NULL
};
4094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4104 wxPy_BEGIN_ALLOW_THREADS
;
4105 delete_wxPyTimer(_arg0
);
4107 wxPy_END_ALLOW_THREADS
;
4108 } Py_INCREF(Py_None
);
4109 _resultobj
= Py_None
;
4113 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4114 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4115 PyObject
* _resultobj
;
4118 PyObject
* _argo0
= 0;
4119 char *_kwnames
[] = { "self", NULL
};
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4132 wxPy_BEGIN_ALLOW_THREADS
;
4133 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4135 wxPy_END_ALLOW_THREADS
;
4136 } _resultobj
= Py_BuildValue("i",_result
);
4140 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4141 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4142 PyObject
* _resultobj
;
4145 PyObject
* _argo0
= 0;
4146 char *_kwnames
[] = { "self", NULL
};
4149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4159 wxPy_BEGIN_ALLOW_THREADS
;
4160 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4162 wxPy_END_ALLOW_THREADS
;
4163 } _resultobj
= Py_BuildValue("i",_result
);
4167 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4168 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4169 PyObject
* _resultobj
;
4172 PyObject
* _argo0
= 0;
4173 char *_kwnames
[] = { "self", NULL
};
4176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4186 wxPy_BEGIN_ALLOW_THREADS
;
4187 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4189 wxPy_END_ALLOW_THREADS
;
4190 } _resultobj
= Py_BuildValue("i",_result
);
4194 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4195 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4196 PyObject
* _resultobj
;
4198 wxEvtHandler
* _arg1
;
4199 int _arg2
= (int ) -1;
4200 PyObject
* _argo0
= 0;
4201 PyObject
* _argo1
= 0;
4202 char *_kwnames
[] = { "self","owner","id", NULL
};
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4215 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4216 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4222 wxPy_BEGIN_ALLOW_THREADS
;
4223 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4225 wxPy_END_ALLOW_THREADS
;
4226 } Py_INCREF(Py_None
);
4227 _resultobj
= Py_None
;
4231 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4232 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
* _resultobj
;
4235 int _arg1
= (int ) -1;
4236 int _arg2
= (int ) FALSE
;
4237 PyObject
* _argo0
= 0;
4238 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4251 wxPy_BEGIN_ALLOW_THREADS
;
4252 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4254 wxPy_END_ALLOW_THREADS
;
4255 } Py_INCREF(Py_None
);
4256 _resultobj
= Py_None
;
4260 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4261 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4262 PyObject
* _resultobj
;
4264 PyObject
* _argo0
= 0;
4265 char *_kwnames
[] = { "self", NULL
};
4268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4278 wxPy_BEGIN_ALLOW_THREADS
;
4279 wxPyTimer_Stop(_arg0
);
4281 wxPy_END_ALLOW_THREADS
;
4282 } Py_INCREF(Py_None
);
4283 _resultobj
= Py_None
;
4287 #define new_wxLog() (new wxLog())
4288 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4289 PyObject
* _resultobj
;
4291 char *_kwnames
[] = { NULL
};
4295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4298 wxPy_BEGIN_ALLOW_THREADS
;
4299 _result
= (wxLog
*)new_wxLog();
4301 wxPy_END_ALLOW_THREADS
;
4303 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4304 _resultobj
= Py_BuildValue("s",_ptemp
);
4307 _resultobj
= Py_None
;
4312 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
* _resultobj
;
4315 char *_kwnames
[] = { NULL
};
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4321 wxPy_BEGIN_ALLOW_THREADS
;
4322 _result
= (bool )wxLog::IsEnabled();
4324 wxPy_END_ALLOW_THREADS
;
4325 } _resultobj
= Py_BuildValue("i",_result
);
4329 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4330 PyObject
* _resultobj
;
4332 bool _arg0
= (bool ) TRUE
;
4333 int tempbool0
= (int) TRUE
;
4334 char *_kwnames
[] = { "doIt", NULL
};
4337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4339 _arg0
= (bool ) tempbool0
;
4341 wxPy_BEGIN_ALLOW_THREADS
;
4342 _result
= (bool )wxLog::EnableLogging(_arg0
);
4344 wxPy_END_ALLOW_THREADS
;
4345 } _resultobj
= Py_BuildValue("i",_result
);
4349 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
* _resultobj
;
4353 int _arg2
= (int ) 0;
4354 PyObject
* _argo0
= 0;
4355 char *_kwnames
[] = { "level","szString","t", NULL
};
4358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4368 wxPy_BEGIN_ALLOW_THREADS
;
4369 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
4371 wxPy_END_ALLOW_THREADS
;
4372 } Py_INCREF(Py_None
);
4373 _resultobj
= Py_None
;
4377 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4378 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4379 PyObject
* _resultobj
;
4381 PyObject
* _argo0
= 0;
4382 char *_kwnames
[] = { "self", NULL
};
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4395 wxPy_BEGIN_ALLOW_THREADS
;
4398 wxPy_END_ALLOW_THREADS
;
4399 } Py_INCREF(Py_None
);
4400 _resultobj
= Py_None
;
4404 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4405 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
* _resultobj
;
4409 PyObject
* _argo0
= 0;
4410 char *_kwnames
[] = { "self", NULL
};
4413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4423 wxPy_BEGIN_ALLOW_THREADS
;
4424 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4426 wxPy_END_ALLOW_THREADS
;
4427 } _resultobj
= Py_BuildValue("i",_result
);
4431 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
* _resultobj
;
4433 char *_kwnames
[] = { NULL
};
4436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4439 wxPy_BEGIN_ALLOW_THREADS
;
4440 wxLog::FlushActive();
4442 wxPy_END_ALLOW_THREADS
;
4443 } Py_INCREF(Py_None
);
4444 _resultobj
= Py_None
;
4448 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4449 PyObject
* _resultobj
;
4451 char *_kwnames
[] = { NULL
};
4455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4458 wxPy_BEGIN_ALLOW_THREADS
;
4459 _result
= (wxLog
*)wxLog::GetActiveTarget();
4461 wxPy_END_ALLOW_THREADS
;
4463 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4464 _resultobj
= Py_BuildValue("s",_ptemp
);
4467 _resultobj
= Py_None
;
4472 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
* _resultobj
;
4476 PyObject
* _argo0
= 0;
4477 char *_kwnames
[] = { "pLogger", NULL
};
4481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4491 wxPy_BEGIN_ALLOW_THREADS
;
4492 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4494 wxPy_END_ALLOW_THREADS
;
4496 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4497 _resultobj
= Py_BuildValue("s",_ptemp
);
4500 _resultobj
= Py_None
;
4505 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4506 PyObject
* _resultobj
;
4507 char *_kwnames
[] = { NULL
};
4510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4513 wxPy_BEGIN_ALLOW_THREADS
;
4516 wxPy_END_ALLOW_THREADS
;
4517 } Py_INCREF(Py_None
);
4518 _resultobj
= Py_None
;
4522 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
* _resultobj
;
4524 char *_kwnames
[] = { NULL
};
4527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4530 wxPy_BEGIN_ALLOW_THREADS
;
4533 wxPy_END_ALLOW_THREADS
;
4534 } Py_INCREF(Py_None
);
4535 _resultobj
= Py_None
;
4539 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4540 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4541 PyObject
* _resultobj
;
4543 bool _arg1
= (bool ) TRUE
;
4544 PyObject
* _argo0
= 0;
4545 int tempbool1
= (int) TRUE
;
4546 char *_kwnames
[] = { "self","bVerbose", NULL
};
4549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4558 _arg1
= (bool ) tempbool1
;
4560 wxPy_BEGIN_ALLOW_THREADS
;
4561 wxLog_SetVerbose(_arg0
,_arg1
);
4563 wxPy_END_ALLOW_THREADS
;
4564 } Py_INCREF(Py_None
);
4565 _resultobj
= Py_None
;
4569 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4570 PyObject
* _resultobj
;
4571 char *_kwnames
[] = { NULL
};
4574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4577 wxPy_BEGIN_ALLOW_THREADS
;
4578 wxLog::DontCreateOnDemand();
4580 wxPy_END_ALLOW_THREADS
;
4581 } Py_INCREF(Py_None
);
4582 _resultobj
= Py_None
;
4586 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4587 PyObject
* _resultobj
;
4588 wxTraceMask
* _arg0
;
4589 PyObject
* _argo0
= 0;
4590 char *_kwnames
[] = { "ulMask", NULL
};
4593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4603 wxPy_BEGIN_ALLOW_THREADS
;
4604 wxLog::SetTraceMask(*_arg0
);
4606 wxPy_END_ALLOW_THREADS
;
4607 } Py_INCREF(Py_None
);
4608 _resultobj
= Py_None
;
4612 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4613 PyObject
* _resultobj
;
4615 PyObject
* _obj0
= 0;
4616 char *_kwnames
[] = { "str", NULL
};
4619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4622 #if PYTHON_API_VERSION >= 1009
4623 char* tmpPtr
; int tmpSize
;
4624 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4625 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4628 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4630 _arg0
= new wxString(tmpPtr
, tmpSize
);
4632 if (!PyString_Check(_obj0
)) {
4633 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4636 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4640 wxPy_BEGIN_ALLOW_THREADS
;
4641 wxLog::AddTraceMask(*_arg0
);
4643 wxPy_END_ALLOW_THREADS
;
4644 } Py_INCREF(Py_None
);
4645 _resultobj
= Py_None
;
4653 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4654 PyObject
* _resultobj
;
4656 PyObject
* _obj0
= 0;
4657 char *_kwnames
[] = { "str", NULL
};
4660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4663 #if PYTHON_API_VERSION >= 1009
4664 char* tmpPtr
; int tmpSize
;
4665 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4666 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4669 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4671 _arg0
= new wxString(tmpPtr
, tmpSize
);
4673 if (!PyString_Check(_obj0
)) {
4674 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4677 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4681 wxPy_BEGIN_ALLOW_THREADS
;
4682 wxLog::RemoveTraceMask(*_arg0
);
4684 wxPy_END_ALLOW_THREADS
;
4685 } Py_INCREF(Py_None
);
4686 _resultobj
= Py_None
;
4694 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4695 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4696 PyObject
* _resultobj
;
4699 PyObject
* _argo0
= 0;
4700 char *_kwnames
[] = { "self", NULL
};
4703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4706 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4707 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4713 wxPy_BEGIN_ALLOW_THREADS
;
4714 _result
= (bool )wxLog_GetVerbose(_arg0
);
4716 wxPy_END_ALLOW_THREADS
;
4717 } _resultobj
= Py_BuildValue("i",_result
);
4721 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4722 PyObject
* _resultobj
;
4723 wxTraceMask
* _result
;
4724 char *_kwnames
[] = { NULL
};
4728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4731 wxPy_BEGIN_ALLOW_THREADS
;
4732 _result
= new wxTraceMask (wxLog::GetTraceMask());
4734 wxPy_END_ALLOW_THREADS
;
4735 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
4736 _resultobj
= Py_BuildValue("s",_ptemp
);
4740 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4741 PyObject
* _resultobj
;
4744 char *_kwnames
[] = { "mask", NULL
};
4747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
4750 wxPy_BEGIN_ALLOW_THREADS
;
4751 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
4753 wxPy_END_ALLOW_THREADS
;
4754 } _resultobj
= Py_BuildValue("i",_result
);
4758 static void *SwigwxLogStderrTowxLog(void *ptr
) {
4761 src
= (wxLogStderr
*) ptr
;
4762 dest
= (wxLog
*) src
;
4763 return (void *) dest
;
4766 #define new_wxLogStderr() (new wxLogStderr())
4767 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
* _resultobj
;
4769 wxLogStderr
* _result
;
4770 char *_kwnames
[] = { NULL
};
4774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
4777 wxPy_BEGIN_ALLOW_THREADS
;
4778 _result
= (wxLogStderr
*)new_wxLogStderr();
4780 wxPy_END_ALLOW_THREADS
;
4782 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
4783 _resultobj
= Py_BuildValue("s",_ptemp
);
4786 _resultobj
= Py_None
;
4791 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
4794 src
= (wxLogTextCtrl
*) ptr
;
4795 dest
= (wxLog
*) src
;
4796 return (void *) dest
;
4799 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
4800 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
* _resultobj
;
4802 wxLogTextCtrl
* _result
;
4804 PyObject
* _argo0
= 0;
4805 char *_kwnames
[] = { "pTextCtrl", NULL
};
4809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
4812 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4813 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
4819 wxPy_BEGIN_ALLOW_THREADS
;
4820 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
4822 wxPy_END_ALLOW_THREADS
;
4824 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
4825 _resultobj
= Py_BuildValue("s",_ptemp
);
4828 _resultobj
= Py_None
;
4833 static void *SwigwxLogGuiTowxLog(void *ptr
) {
4836 src
= (wxLogGui
*) ptr
;
4837 dest
= (wxLog
*) src
;
4838 return (void *) dest
;
4841 #define new_wxLogGui() (new wxLogGui())
4842 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4843 PyObject
* _resultobj
;
4845 char *_kwnames
[] = { NULL
};
4849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
4852 wxPy_BEGIN_ALLOW_THREADS
;
4853 _result
= (wxLogGui
*)new_wxLogGui();
4855 wxPy_END_ALLOW_THREADS
;
4857 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
4858 _resultobj
= Py_BuildValue("s",_ptemp
);
4861 _resultobj
= Py_None
;
4866 static void *SwigwxLogWindowTowxLog(void *ptr
) {
4869 src
= (wxLogWindow
*) ptr
;
4870 dest
= (wxLog
*) src
;
4871 return (void *) dest
;
4874 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4875 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4876 PyObject
* _resultobj
;
4877 wxLogWindow
* _result
;
4880 bool _arg2
= (bool ) TRUE
;
4881 bool _arg3
= (bool ) TRUE
;
4882 PyObject
* _argo0
= 0;
4883 int tempbool2
= (int) TRUE
;
4884 int tempbool3
= (int) TRUE
;
4885 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
4892 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4893 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
4894 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
4898 _arg2
= (bool ) tempbool2
;
4899 _arg3
= (bool ) tempbool3
;
4901 wxPy_BEGIN_ALLOW_THREADS
;
4902 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
4904 wxPy_END_ALLOW_THREADS
;
4906 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
4907 _resultobj
= Py_BuildValue("s",_ptemp
);
4910 _resultobj
= Py_None
;
4915 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4916 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
* _resultobj
;
4918 wxLogWindow
* _arg0
;
4919 bool _arg1
= (bool ) TRUE
;
4920 PyObject
* _argo0
= 0;
4921 int tempbool1
= (int) TRUE
;
4922 char *_kwnames
[] = { "self","bShow", NULL
};
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
4934 _arg1
= (bool ) tempbool1
;
4936 wxPy_BEGIN_ALLOW_THREADS
;
4937 wxLogWindow_Show(_arg0
,_arg1
);
4939 wxPy_END_ALLOW_THREADS
;
4940 } Py_INCREF(Py_None
);
4941 _resultobj
= Py_None
;
4945 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
4946 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
* _resultobj
;
4949 wxLogWindow
* _arg0
;
4950 PyObject
* _argo0
= 0;
4951 char *_kwnames
[] = { "self", NULL
};
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
4957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
4964 wxPy_BEGIN_ALLOW_THREADS
;
4965 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
4967 wxPy_END_ALLOW_THREADS
;
4968 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4972 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
4973 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4974 PyObject
* _resultobj
;
4976 wxLogWindow
* _arg0
;
4977 PyObject
* _argo0
= 0;
4978 char *_kwnames
[] = { "self", NULL
};
4982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
4985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
4992 wxPy_BEGIN_ALLOW_THREADS
;
4993 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
4995 wxPy_END_ALLOW_THREADS
;
4997 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4998 _resultobj
= Py_BuildValue("s",_ptemp
);
5001 _resultobj
= Py_None
;
5006 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5007 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5008 PyObject
* _resultobj
;
5010 wxLogWindow
* _arg0
;
5011 PyObject
* _argo0
= 0;
5012 char *_kwnames
[] = { "self", NULL
};
5015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5018 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5019 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5020 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5025 wxPy_BEGIN_ALLOW_THREADS
;
5026 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5028 wxPy_END_ALLOW_THREADS
;
5029 } _resultobj
= Py_BuildValue("i",_result
);
5033 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5034 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5035 PyObject
* _resultobj
;
5036 wxLogWindow
* _arg0
;
5038 PyObject
* _argo0
= 0;
5040 char *_kwnames
[] = { "self","bDoPass", NULL
};
5043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5046 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5047 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5048 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5052 _arg1
= (bool ) tempbool1
;
5054 wxPy_BEGIN_ALLOW_THREADS
;
5055 wxLogWindow_PassMessages(_arg0
,_arg1
);
5057 wxPy_END_ALLOW_THREADS
;
5058 } Py_INCREF(Py_None
);
5059 _resultobj
= Py_None
;
5063 #define new_wxLogNull() (new wxLogNull())
5064 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
* _resultobj
;
5066 wxLogNull
* _result
;
5067 char *_kwnames
[] = { NULL
};
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5074 wxPy_BEGIN_ALLOW_THREADS
;
5075 _result
= (wxLogNull
*)new_wxLogNull();
5077 wxPy_END_ALLOW_THREADS
;
5079 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5080 _resultobj
= Py_BuildValue("s",_ptemp
);
5083 _resultobj
= Py_None
;
5088 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5089 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
* _resultobj
;
5092 PyObject
* _argo0
= 0;
5093 char *_kwnames
[] = { "self", NULL
};
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5099 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5100 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5101 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5106 wxPy_BEGIN_ALLOW_THREADS
;
5107 delete_wxLogNull(_arg0
);
5109 wxPy_END_ALLOW_THREADS
;
5110 } Py_INCREF(Py_None
);
5111 _resultobj
= Py_None
;
5115 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5116 wxProcessEvent
*src
;
5118 src
= (wxProcessEvent
*) ptr
;
5119 dest
= (wxEvent
*) src
;
5120 return (void *) dest
;
5123 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5124 wxProcessEvent
*src
;
5126 src
= (wxProcessEvent
*) ptr
;
5127 dest
= (wxObject
*) src
;
5128 return (void *) dest
;
5131 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5132 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
* _resultobj
;
5134 wxProcessEvent
* _result
;
5135 int _arg0
= (int ) 0;
5136 int _arg1
= (int ) 0;
5137 int _arg2
= (int ) 0;
5138 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5145 wxPy_BEGIN_ALLOW_THREADS
;
5146 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5148 wxPy_END_ALLOW_THREADS
;
5150 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5151 _resultobj
= Py_BuildValue("s",_ptemp
);
5154 _resultobj
= Py_None
;
5159 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5160 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
* _resultobj
;
5163 wxProcessEvent
* _arg0
;
5164 PyObject
* _argo0
= 0;
5165 char *_kwnames
[] = { "self", NULL
};
5168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5171 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5172 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5173 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5178 wxPy_BEGIN_ALLOW_THREADS
;
5179 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5181 wxPy_END_ALLOW_THREADS
;
5182 } _resultobj
= Py_BuildValue("i",_result
);
5186 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5187 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5188 PyObject
* _resultobj
;
5190 wxProcessEvent
* _arg0
;
5191 PyObject
* _argo0
= 0;
5192 char *_kwnames
[] = { "self", NULL
};
5195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5198 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5199 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5200 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5205 wxPy_BEGIN_ALLOW_THREADS
;
5206 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5208 wxPy_END_ALLOW_THREADS
;
5209 } _resultobj
= Py_BuildValue("i",_result
);
5213 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5214 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5215 PyObject
* _resultobj
;
5217 wxProcessEvent
* _arg0
;
5219 PyObject
* _argo0
= 0;
5220 char *_kwnames
[] = { "self","m_pid", NULL
};
5223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5233 wxPy_BEGIN_ALLOW_THREADS
;
5234 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5236 wxPy_END_ALLOW_THREADS
;
5237 } _resultobj
= Py_BuildValue("i",_result
);
5241 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5242 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5243 PyObject
* _resultobj
;
5245 wxProcessEvent
* _arg0
;
5246 PyObject
* _argo0
= 0;
5247 char *_kwnames
[] = { "self", NULL
};
5250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5260 wxPy_BEGIN_ALLOW_THREADS
;
5261 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5263 wxPy_END_ALLOW_THREADS
;
5264 } _resultobj
= Py_BuildValue("i",_result
);
5268 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5269 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5270 PyObject
* _resultobj
;
5272 wxProcessEvent
* _arg0
;
5274 PyObject
* _argo0
= 0;
5275 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5288 wxPy_BEGIN_ALLOW_THREADS
;
5289 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5291 wxPy_END_ALLOW_THREADS
;
5292 } _resultobj
= Py_BuildValue("i",_result
);
5296 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5297 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
* _resultobj
;
5300 wxProcessEvent
* _arg0
;
5301 PyObject
* _argo0
= 0;
5302 char *_kwnames
[] = { "self", NULL
};
5305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5315 wxPy_BEGIN_ALLOW_THREADS
;
5316 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5318 wxPy_END_ALLOW_THREADS
;
5319 } _resultobj
= Py_BuildValue("i",_result
);
5323 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5326 src
= (wxPyProcess
*) ptr
;
5327 dest
= (wxEvtHandler
*) src
;
5328 return (void *) dest
;
5331 static void *SwigwxPyProcessTowxObject(void *ptr
) {
5334 src
= (wxPyProcess
*) ptr
;
5335 dest
= (wxObject
*) src
;
5336 return (void *) dest
;
5339 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5340 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
* _resultobj
;
5342 wxPyProcess
* _result
;
5343 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
5344 int _arg1
= (int ) -1;
5345 PyObject
* _argo0
= 0;
5346 char *_kwnames
[] = { "parent","id", NULL
};
5350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
5353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
5355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
5360 wxPy_BEGIN_ALLOW_THREADS
;
5361 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
5363 wxPy_END_ALLOW_THREADS
;
5365 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
5366 _resultobj
= Py_BuildValue("s",_ptemp
);
5369 _resultobj
= Py_None
;
5374 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
5375 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5376 PyObject
* _resultobj
;
5377 wxPyProcess
* _arg0
;
5378 PyObject
* _argo0
= 0;
5379 char *_kwnames
[] = { "self", NULL
};
5382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
5385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
5392 wxPy_BEGIN_ALLOW_THREADS
;
5393 wxPyProcess_Destroy(_arg0
);
5395 wxPy_END_ALLOW_THREADS
;
5396 } Py_INCREF(Py_None
);
5397 _resultobj
= Py_None
;
5401 #define wxProcess__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5402 static PyObject
*_wrap_wxProcess__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5403 PyObject
* _resultobj
;
5404 wxPyProcess
* _arg0
;
5407 PyObject
* _argo0
= 0;
5408 PyObject
* _obj1
= 0;
5409 PyObject
* _obj2
= 0;
5410 char *_kwnames
[] = { "self","self","_class", NULL
};
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setSelf. Expected _wxPyProcess_p.");
5429 wxPy_BEGIN_ALLOW_THREADS
;
5430 wxProcess__setSelf(_arg0
,_arg1
,_arg2
);
5432 wxPy_END_ALLOW_THREADS
;
5433 } Py_INCREF(Py_None
);
5434 _resultobj
= Py_None
;
5438 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
5439 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
* _resultobj
;
5441 wxPyProcess
* _arg0
;
5444 PyObject
* _argo0
= 0;
5445 char *_kwnames
[] = { "self","pid","status", NULL
};
5448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
5458 wxPy_BEGIN_ALLOW_THREADS
;
5459 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
5461 wxPy_END_ALLOW_THREADS
;
5462 } Py_INCREF(Py_None
);
5463 _resultobj
= Py_None
;
5467 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
5468 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5469 PyObject
* _resultobj
;
5470 wxPyProcess
* _arg0
;
5471 PyObject
* _argo0
= 0;
5472 char *_kwnames
[] = { "self", NULL
};
5475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
5478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
5485 wxPy_BEGIN_ALLOW_THREADS
;
5486 wxProcess_Redirect(_arg0
);
5488 wxPy_END_ALLOW_THREADS
;
5489 } Py_INCREF(Py_None
);
5490 _resultobj
= Py_None
;
5494 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
5495 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5496 PyObject
* _resultobj
;
5498 wxPyProcess
* _arg0
;
5499 PyObject
* _argo0
= 0;
5500 char *_kwnames
[] = { "self", NULL
};
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
5506 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5507 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5508 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
5513 wxPy_BEGIN_ALLOW_THREADS
;
5514 _result
= (bool )wxProcess_IsRedirected(_arg0
);
5516 wxPy_END_ALLOW_THREADS
;
5517 } _resultobj
= Py_BuildValue("i",_result
);
5521 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
5522 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5523 PyObject
* _resultobj
;
5524 wxPyProcess
* _arg0
;
5525 PyObject
* _argo0
= 0;
5526 char *_kwnames
[] = { "self", NULL
};
5529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
5532 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5533 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5534 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
5539 wxPy_BEGIN_ALLOW_THREADS
;
5540 wxProcess_Detach(_arg0
);
5542 wxPy_END_ALLOW_THREADS
;
5543 } Py_INCREF(Py_None
);
5544 _resultobj
= Py_None
;
5548 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
5549 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5550 PyObject
* _resultobj
;
5551 wxInputStream
* _result
;
5552 wxPyProcess
* _arg0
;
5553 PyObject
* _argo0
= 0;
5554 char *_kwnames
[] = { "self", NULL
};
5557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
5560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
5567 wxPy_BEGIN_ALLOW_THREADS
;
5568 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
5570 wxPy_END_ALLOW_THREADS
;
5572 wxPyInputStream
* _ptr
= NULL
;
5575 _ptr
= new wxPyInputStream(_result
);
5577 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
5582 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
5583 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5584 PyObject
* _resultobj
;
5585 wxInputStream
* _result
;
5586 wxPyProcess
* _arg0
;
5587 PyObject
* _argo0
= 0;
5588 char *_kwnames
[] = { "self", NULL
};
5591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
5594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
5601 wxPy_BEGIN_ALLOW_THREADS
;
5602 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
5604 wxPy_END_ALLOW_THREADS
;
5606 wxPyInputStream
* _ptr
= NULL
;
5609 _ptr
= new wxPyInputStream(_result
);
5611 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
5616 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
5617 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5618 PyObject
* _resultobj
;
5619 wxOutputStream
* _result
;
5620 wxPyProcess
* _arg0
;
5621 PyObject
* _argo0
= 0;
5622 char *_kwnames
[] = { "self", NULL
};
5626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
5629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
5636 wxPy_BEGIN_ALLOW_THREADS
;
5637 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
5639 wxPy_END_ALLOW_THREADS
;
5641 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
5642 _resultobj
= Py_BuildValue("s",_ptemp
);
5645 _resultobj
= Py_None
;
5650 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
5651 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5652 PyObject
* _resultobj
;
5653 wxPyProcess
* _arg0
;
5654 PyObject
* _argo0
= 0;
5655 char *_kwnames
[] = { "self", NULL
};
5658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
5661 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5662 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5663 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
5668 wxPy_BEGIN_ALLOW_THREADS
;
5669 wxProcess_CloseOutput(_arg0
);
5671 wxPy_END_ALLOW_THREADS
;
5672 } Py_INCREF(Py_None
);
5673 _resultobj
= Py_None
;
5677 static void *SwigwxJoystickTowxObject(void *ptr
) {
5680 src
= (wxJoystick
*) ptr
;
5681 dest
= (wxObject
*) src
;
5682 return (void *) dest
;
5685 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
5686 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
* _resultobj
;
5688 wxJoystick
* _result
;
5689 int _arg0
= (int ) wxJOYSTICK1
;
5690 char *_kwnames
[] = { "joystick", NULL
};
5694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
5697 wxPy_BEGIN_ALLOW_THREADS
;
5698 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
5700 wxPy_END_ALLOW_THREADS
;
5702 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
5703 _resultobj
= Py_BuildValue("s",_ptemp
);
5706 _resultobj
= Py_None
;
5711 #define delete_wxJoystick(_swigobj) (delete _swigobj)
5712 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
* _resultobj
;
5715 PyObject
* _argo0
= 0;
5716 char *_kwnames
[] = { "self", NULL
};
5719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
5722 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5723 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
5729 wxPy_BEGIN_ALLOW_THREADS
;
5730 delete_wxJoystick(_arg0
);
5732 wxPy_END_ALLOW_THREADS
;
5733 } Py_INCREF(Py_None
);
5734 _resultobj
= Py_None
;
5738 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
5739 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5740 PyObject
* _resultobj
;
5743 PyObject
* _argo0
= 0;
5744 char *_kwnames
[] = { "self", NULL
};
5748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
5751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
5758 wxPy_BEGIN_ALLOW_THREADS
;
5759 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
5761 wxPy_END_ALLOW_THREADS
;
5762 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5763 _resultobj
= Py_BuildValue("s",_ptemp
);
5767 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
5768 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5769 PyObject
* _resultobj
;
5772 PyObject
* _argo0
= 0;
5773 char *_kwnames
[] = { "self", NULL
};
5776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
5779 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5780 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5781 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
5786 wxPy_BEGIN_ALLOW_THREADS
;
5787 _result
= (int )wxJoystick_GetZPosition(_arg0
);
5789 wxPy_END_ALLOW_THREADS
;
5790 } _resultobj
= Py_BuildValue("i",_result
);
5794 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
5795 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5796 PyObject
* _resultobj
;
5799 PyObject
* _argo0
= 0;
5800 char *_kwnames
[] = { "self", NULL
};
5803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
5806 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5807 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5808 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
5813 wxPy_BEGIN_ALLOW_THREADS
;
5814 _result
= (int )wxJoystick_GetButtonState(_arg0
);
5816 wxPy_END_ALLOW_THREADS
;
5817 } _resultobj
= Py_BuildValue("i",_result
);
5821 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
5822 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5823 PyObject
* _resultobj
;
5826 PyObject
* _argo0
= 0;
5827 char *_kwnames
[] = { "self", NULL
};
5830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
5833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
5840 wxPy_BEGIN_ALLOW_THREADS
;
5841 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
5843 wxPy_END_ALLOW_THREADS
;
5844 } _resultobj
= Py_BuildValue("i",_result
);
5848 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
5849 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
* _resultobj
;
5853 PyObject
* _argo0
= 0;
5854 char *_kwnames
[] = { "self", NULL
};
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
5860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
5867 wxPy_BEGIN_ALLOW_THREADS
;
5868 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
5870 wxPy_END_ALLOW_THREADS
;
5871 } _resultobj
= Py_BuildValue("i",_result
);
5875 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
5876 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
* _resultobj
;
5880 PyObject
* _argo0
= 0;
5881 char *_kwnames
[] = { "self", NULL
};
5884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
5887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
5894 wxPy_BEGIN_ALLOW_THREADS
;
5895 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
5897 wxPy_END_ALLOW_THREADS
;
5898 } _resultobj
= Py_BuildValue("i",_result
);
5902 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
5903 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
* _resultobj
;
5907 PyObject
* _argo0
= 0;
5908 char *_kwnames
[] = { "self", NULL
};
5911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
5914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
5921 wxPy_BEGIN_ALLOW_THREADS
;
5922 _result
= (int )wxJoystick_GetUPosition(_arg0
);
5924 wxPy_END_ALLOW_THREADS
;
5925 } _resultobj
= Py_BuildValue("i",_result
);
5929 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
5930 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5931 PyObject
* _resultobj
;
5934 PyObject
* _argo0
= 0;
5935 char *_kwnames
[] = { "self", NULL
};
5938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
5941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
5948 wxPy_BEGIN_ALLOW_THREADS
;
5949 _result
= (int )wxJoystick_GetVPosition(_arg0
);
5951 wxPy_END_ALLOW_THREADS
;
5952 } _resultobj
= Py_BuildValue("i",_result
);
5956 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
5957 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5958 PyObject
* _resultobj
;
5961 PyObject
* _argo0
= 0;
5962 char *_kwnames
[] = { "self", NULL
};
5965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
5968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
5975 wxPy_BEGIN_ALLOW_THREADS
;
5976 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
5978 wxPy_END_ALLOW_THREADS
;
5979 } _resultobj
= Py_BuildValue("i",_result
);
5983 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
5984 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
* _resultobj
;
5988 PyObject
* _argo0
= 0;
5989 char *_kwnames
[] = { "self","threshold", NULL
};
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
5995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6002 wxPy_BEGIN_ALLOW_THREADS
;
6003 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6005 wxPy_END_ALLOW_THREADS
;
6006 } Py_INCREF(Py_None
);
6007 _resultobj
= Py_None
;
6011 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6012 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
* _resultobj
;
6016 PyObject
* _argo0
= 0;
6017 char *_kwnames
[] = { "self", NULL
};
6020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6023 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6024 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6025 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6030 wxPy_BEGIN_ALLOW_THREADS
;
6031 _result
= (bool )wxJoystick_IsOk(_arg0
);
6033 wxPy_END_ALLOW_THREADS
;
6034 } _resultobj
= Py_BuildValue("i",_result
);
6038 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6039 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6040 PyObject
* _resultobj
;
6043 PyObject
* _argo0
= 0;
6044 char *_kwnames
[] = { "self", NULL
};
6047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6057 wxPy_BEGIN_ALLOW_THREADS
;
6058 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6060 wxPy_END_ALLOW_THREADS
;
6061 } _resultobj
= Py_BuildValue("i",_result
);
6065 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6066 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6067 PyObject
* _resultobj
;
6070 PyObject
* _argo0
= 0;
6071 char *_kwnames
[] = { "self", NULL
};
6074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6084 wxPy_BEGIN_ALLOW_THREADS
;
6085 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6087 wxPy_END_ALLOW_THREADS
;
6088 } _resultobj
= Py_BuildValue("i",_result
);
6092 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6093 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
* _resultobj
;
6097 PyObject
* _argo0
= 0;
6098 char *_kwnames
[] = { "self", NULL
};
6101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6111 wxPy_BEGIN_ALLOW_THREADS
;
6112 _result
= (int )wxJoystick_GetProductId(_arg0
);
6114 wxPy_END_ALLOW_THREADS
;
6115 } _resultobj
= Py_BuildValue("i",_result
);
6119 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6120 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6121 PyObject
* _resultobj
;
6124 PyObject
* _argo0
= 0;
6125 char *_kwnames
[] = { "self", NULL
};
6128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6138 wxPy_BEGIN_ALLOW_THREADS
;
6139 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6141 wxPy_END_ALLOW_THREADS
;
6143 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6151 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6152 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6153 PyObject
* _resultobj
;
6156 PyObject
* _argo0
= 0;
6157 char *_kwnames
[] = { "self", NULL
};
6160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6170 wxPy_BEGIN_ALLOW_THREADS
;
6171 _result
= (int )wxJoystick_GetXMin(_arg0
);
6173 wxPy_END_ALLOW_THREADS
;
6174 } _resultobj
= Py_BuildValue("i",_result
);
6178 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6179 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6180 PyObject
* _resultobj
;
6183 PyObject
* _argo0
= 0;
6184 char *_kwnames
[] = { "self", NULL
};
6187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6197 wxPy_BEGIN_ALLOW_THREADS
;
6198 _result
= (int )wxJoystick_GetYMin(_arg0
);
6200 wxPy_END_ALLOW_THREADS
;
6201 } _resultobj
= Py_BuildValue("i",_result
);
6205 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6206 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6207 PyObject
* _resultobj
;
6210 PyObject
* _argo0
= 0;
6211 char *_kwnames
[] = { "self", NULL
};
6214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6217 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6218 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6219 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6224 wxPy_BEGIN_ALLOW_THREADS
;
6225 _result
= (int )wxJoystick_GetZMin(_arg0
);
6227 wxPy_END_ALLOW_THREADS
;
6228 } _resultobj
= Py_BuildValue("i",_result
);
6232 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6233 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
* _resultobj
;
6237 PyObject
* _argo0
= 0;
6238 char *_kwnames
[] = { "self", NULL
};
6241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6244 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6245 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6251 wxPy_BEGIN_ALLOW_THREADS
;
6252 _result
= (int )wxJoystick_GetXMax(_arg0
);
6254 wxPy_END_ALLOW_THREADS
;
6255 } _resultobj
= Py_BuildValue("i",_result
);
6259 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6260 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
* _resultobj
;
6264 PyObject
* _argo0
= 0;
6265 char *_kwnames
[] = { "self", NULL
};
6268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6278 wxPy_BEGIN_ALLOW_THREADS
;
6279 _result
= (int )wxJoystick_GetYMax(_arg0
);
6281 wxPy_END_ALLOW_THREADS
;
6282 } _resultobj
= Py_BuildValue("i",_result
);
6286 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6287 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6288 PyObject
* _resultobj
;
6291 PyObject
* _argo0
= 0;
6292 char *_kwnames
[] = { "self", NULL
};
6295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
6298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6305 wxPy_BEGIN_ALLOW_THREADS
;
6306 _result
= (int )wxJoystick_GetZMax(_arg0
);
6308 wxPy_END_ALLOW_THREADS
;
6309 } _resultobj
= Py_BuildValue("i",_result
);
6313 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6314 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6315 PyObject
* _resultobj
;
6318 PyObject
* _argo0
= 0;
6319 char *_kwnames
[] = { "self", NULL
};
6322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
6325 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6326 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6327 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
6332 wxPy_BEGIN_ALLOW_THREADS
;
6333 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
6335 wxPy_END_ALLOW_THREADS
;
6336 } _resultobj
= Py_BuildValue("i",_result
);
6340 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
6341 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6342 PyObject
* _resultobj
;
6345 PyObject
* _argo0
= 0;
6346 char *_kwnames
[] = { "self", NULL
};
6349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
6352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
6359 wxPy_BEGIN_ALLOW_THREADS
;
6360 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
6362 wxPy_END_ALLOW_THREADS
;
6363 } _resultobj
= Py_BuildValue("i",_result
);
6367 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
6368 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6369 PyObject
* _resultobj
;
6372 PyObject
* _argo0
= 0;
6373 char *_kwnames
[] = { "self", NULL
};
6376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
6379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
6386 wxPy_BEGIN_ALLOW_THREADS
;
6387 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
6389 wxPy_END_ALLOW_THREADS
;
6390 } _resultobj
= Py_BuildValue("i",_result
);
6394 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
6395 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
* _resultobj
;
6399 PyObject
* _argo0
= 0;
6400 char *_kwnames
[] = { "self", NULL
};
6403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
6406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
6413 wxPy_BEGIN_ALLOW_THREADS
;
6414 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
6416 wxPy_END_ALLOW_THREADS
;
6417 } _resultobj
= Py_BuildValue("i",_result
);
6421 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
6422 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6423 PyObject
* _resultobj
;
6426 PyObject
* _argo0
= 0;
6427 char *_kwnames
[] = { "self", NULL
};
6430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
6433 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6434 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6435 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
6440 wxPy_BEGIN_ALLOW_THREADS
;
6441 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
6443 wxPy_END_ALLOW_THREADS
;
6444 } _resultobj
= Py_BuildValue("i",_result
);
6448 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
6449 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6450 PyObject
* _resultobj
;
6453 PyObject
* _argo0
= 0;
6454 char *_kwnames
[] = { "self", NULL
};
6457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
6460 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6461 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6462 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
6467 wxPy_BEGIN_ALLOW_THREADS
;
6468 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
6470 wxPy_END_ALLOW_THREADS
;
6471 } _resultobj
= Py_BuildValue("i",_result
);
6475 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
6476 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
* _resultobj
;
6480 PyObject
* _argo0
= 0;
6481 char *_kwnames
[] = { "self", NULL
};
6484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
6487 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6488 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
6494 wxPy_BEGIN_ALLOW_THREADS
;
6495 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
6497 wxPy_END_ALLOW_THREADS
;
6498 } _resultobj
= Py_BuildValue("i",_result
);
6502 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
6503 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
* _resultobj
;
6507 PyObject
* _argo0
= 0;
6508 char *_kwnames
[] = { "self", NULL
};
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
6514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
6521 wxPy_BEGIN_ALLOW_THREADS
;
6522 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
6524 wxPy_END_ALLOW_THREADS
;
6525 } _resultobj
= Py_BuildValue("i",_result
);
6529 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
6530 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
* _resultobj
;
6534 PyObject
* _argo0
= 0;
6535 char *_kwnames
[] = { "self", NULL
};
6538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
6541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
6548 wxPy_BEGIN_ALLOW_THREADS
;
6549 _result
= (int )wxJoystick_GetUMin(_arg0
);
6551 wxPy_END_ALLOW_THREADS
;
6552 } _resultobj
= Py_BuildValue("i",_result
);
6556 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
6557 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
* _resultobj
;
6561 PyObject
* _argo0
= 0;
6562 char *_kwnames
[] = { "self", NULL
};
6565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
6568 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6569 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
6575 wxPy_BEGIN_ALLOW_THREADS
;
6576 _result
= (int )wxJoystick_GetUMax(_arg0
);
6578 wxPy_END_ALLOW_THREADS
;
6579 } _resultobj
= Py_BuildValue("i",_result
);
6583 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
6584 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6585 PyObject
* _resultobj
;
6588 PyObject
* _argo0
= 0;
6589 char *_kwnames
[] = { "self", NULL
};
6592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
6595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
6602 wxPy_BEGIN_ALLOW_THREADS
;
6603 _result
= (int )wxJoystick_GetVMin(_arg0
);
6605 wxPy_END_ALLOW_THREADS
;
6606 } _resultobj
= Py_BuildValue("i",_result
);
6610 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
6611 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
* _resultobj
;
6615 PyObject
* _argo0
= 0;
6616 char *_kwnames
[] = { "self", NULL
};
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
6622 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6623 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6624 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
6629 wxPy_BEGIN_ALLOW_THREADS
;
6630 _result
= (int )wxJoystick_GetVMax(_arg0
);
6632 wxPy_END_ALLOW_THREADS
;
6633 } _resultobj
= Py_BuildValue("i",_result
);
6637 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
6638 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6639 PyObject
* _resultobj
;
6642 PyObject
* _argo0
= 0;
6643 char *_kwnames
[] = { "self", NULL
};
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
6649 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6650 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6651 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
6656 wxPy_BEGIN_ALLOW_THREADS
;
6657 _result
= (bool )wxJoystick_HasRudder(_arg0
);
6659 wxPy_END_ALLOW_THREADS
;
6660 } _resultobj
= Py_BuildValue("i",_result
);
6664 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
6665 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6666 PyObject
* _resultobj
;
6669 PyObject
* _argo0
= 0;
6670 char *_kwnames
[] = { "self", NULL
};
6673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
6676 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6677 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6678 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
6683 wxPy_BEGIN_ALLOW_THREADS
;
6684 _result
= (bool )wxJoystick_HasZ(_arg0
);
6686 wxPy_END_ALLOW_THREADS
;
6687 } _resultobj
= Py_BuildValue("i",_result
);
6691 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
6692 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
* _resultobj
;
6696 PyObject
* _argo0
= 0;
6697 char *_kwnames
[] = { "self", NULL
};
6700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
6703 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6704 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6705 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
6710 wxPy_BEGIN_ALLOW_THREADS
;
6711 _result
= (bool )wxJoystick_HasU(_arg0
);
6713 wxPy_END_ALLOW_THREADS
;
6714 } _resultobj
= Py_BuildValue("i",_result
);
6718 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
6719 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6720 PyObject
* _resultobj
;
6723 PyObject
* _argo0
= 0;
6724 char *_kwnames
[] = { "self", NULL
};
6727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
6730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
6737 wxPy_BEGIN_ALLOW_THREADS
;
6738 _result
= (bool )wxJoystick_HasV(_arg0
);
6740 wxPy_END_ALLOW_THREADS
;
6741 } _resultobj
= Py_BuildValue("i",_result
);
6745 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
6746 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6747 PyObject
* _resultobj
;
6750 PyObject
* _argo0
= 0;
6751 char *_kwnames
[] = { "self", NULL
};
6754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
6757 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6758 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6759 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
6764 wxPy_BEGIN_ALLOW_THREADS
;
6765 _result
= (bool )wxJoystick_HasPOV(_arg0
);
6767 wxPy_END_ALLOW_THREADS
;
6768 } _resultobj
= Py_BuildValue("i",_result
);
6772 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
6773 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
* _resultobj
;
6777 PyObject
* _argo0
= 0;
6778 char *_kwnames
[] = { "self", NULL
};
6781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
6784 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6785 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6786 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
6791 wxPy_BEGIN_ALLOW_THREADS
;
6792 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
6794 wxPy_END_ALLOW_THREADS
;
6795 } _resultobj
= Py_BuildValue("i",_result
);
6799 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
6800 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
* _resultobj
;
6804 PyObject
* _argo0
= 0;
6805 char *_kwnames
[] = { "self", NULL
};
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
6811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
6818 wxPy_BEGIN_ALLOW_THREADS
;
6819 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
6821 wxPy_END_ALLOW_THREADS
;
6822 } _resultobj
= Py_BuildValue("i",_result
);
6826 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
6827 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
* _resultobj
;
6832 int _arg2
= (int ) 0;
6833 PyObject
* _argo0
= 0;
6834 PyObject
* _argo1
= 0;
6835 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
6838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
6848 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6849 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
6855 wxPy_BEGIN_ALLOW_THREADS
;
6856 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
6858 wxPy_END_ALLOW_THREADS
;
6859 } _resultobj
= Py_BuildValue("i",_result
);
6863 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
6864 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6865 PyObject
* _resultobj
;
6868 PyObject
* _argo0
= 0;
6869 char *_kwnames
[] = { "self", NULL
};
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
6875 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6876 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6877 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
6882 wxPy_BEGIN_ALLOW_THREADS
;
6883 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
6885 wxPy_END_ALLOW_THREADS
;
6886 } _resultobj
= Py_BuildValue("i",_result
);
6890 static void *SwigwxWaveTowxObject(void *ptr
) {
6893 src
= (wxWave
*) ptr
;
6894 dest
= (wxObject
*) src
;
6895 return (void *) dest
;
6898 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
6899 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6900 PyObject
* _resultobj
;
6903 bool _arg1
= (bool ) FALSE
;
6904 PyObject
* _obj0
= 0;
6905 int tempbool1
= (int) FALSE
;
6906 char *_kwnames
[] = { "fileName","isResource", NULL
};
6910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
6913 #if PYTHON_API_VERSION >= 1009
6914 char* tmpPtr
; int tmpSize
;
6915 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
6916 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6919 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
6921 _arg0
= new wxString(tmpPtr
, tmpSize
);
6923 if (!PyString_Check(_obj0
)) {
6924 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6927 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
6930 _arg1
= (bool ) tempbool1
;
6932 wxPy_BEGIN_ALLOW_THREADS
;
6933 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
6935 wxPy_END_ALLOW_THREADS
;
6937 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
6938 _resultobj
= Py_BuildValue("s",_ptemp
);
6941 _resultobj
= Py_None
;
6950 #define delete_wxWave(_swigobj) (delete _swigobj)
6951 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6952 PyObject
* _resultobj
;
6954 PyObject
* _argo0
= 0;
6955 char *_kwnames
[] = { "self", NULL
};
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
6961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
6963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
6968 wxPy_BEGIN_ALLOW_THREADS
;
6969 delete_wxWave(_arg0
);
6971 wxPy_END_ALLOW_THREADS
;
6972 } Py_INCREF(Py_None
);
6973 _resultobj
= Py_None
;
6977 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
6978 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
* _resultobj
;
6982 PyObject
* _argo0
= 0;
6983 char *_kwnames
[] = { "self", NULL
};
6986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
6989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
6991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
6996 wxPy_BEGIN_ALLOW_THREADS
;
6997 _result
= (bool )wxWave_IsOk(_arg0
);
6999 wxPy_END_ALLOW_THREADS
;
7000 } _resultobj
= Py_BuildValue("i",_result
);
7004 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7005 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7006 PyObject
* _resultobj
;
7009 bool _arg1
= (bool ) TRUE
;
7010 bool _arg2
= (bool ) FALSE
;
7011 PyObject
* _argo0
= 0;
7012 int tempbool1
= (int) TRUE
;
7013 int tempbool2
= (int) FALSE
;
7014 char *_kwnames
[] = { "self","async","looped", NULL
};
7017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7026 _arg1
= (bool ) tempbool1
;
7027 _arg2
= (bool ) tempbool2
;
7029 wxPy_BEGIN_ALLOW_THREADS
;
7030 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7032 wxPy_END_ALLOW_THREADS
;
7033 } _resultobj
= Py_BuildValue("i",_result
);
7037 static PyMethodDef misc2cMethods
[] = {
7038 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
7039 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7040 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
7041 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
7042 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
7043 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
7044 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
7045 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
7046 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
7047 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
7048 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
7049 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
7050 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
7051 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
7052 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
7053 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
7054 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
7055 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
7056 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
7057 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
7058 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
7059 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
7060 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
7061 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
7062 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
7063 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
7064 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
7065 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
7066 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
7067 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
7068 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
7069 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
7070 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
7071 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
7072 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
7073 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7074 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
7075 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
7076 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
7077 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
7078 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
7079 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
7080 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
7081 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
7082 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
7083 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7084 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7085 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7086 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
7087 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
7088 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
7089 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
7090 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
7091 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
7092 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
7093 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
7094 { "wxProcess__setSelf", (PyCFunction
) _wrap_wxProcess__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
7095 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7096 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
7097 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
7098 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
7099 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
7100 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
7101 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
7102 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
7103 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
7104 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
7105 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
7106 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
7107 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
7108 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
7109 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
7110 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
7111 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
7112 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
7113 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
7114 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
7115 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7116 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7117 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7118 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7119 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7120 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7121 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
7122 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7123 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
7124 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
7125 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
7126 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
7127 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
7128 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
7129 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
7130 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
7131 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
7132 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7133 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
7134 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
7135 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
7136 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
7137 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
7138 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
7139 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
7140 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
7141 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
7142 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
7143 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
7144 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
7145 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
7146 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
7147 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
7148 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
7149 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
7150 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7151 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
7152 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
7153 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
7154 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
7155 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
7156 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
7157 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7158 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
7159 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
7160 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7161 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
7162 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
7163 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
7164 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
7165 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7166 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7167 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
7168 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
7169 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
7170 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
7171 { "wxFontEnumerator__setSelf", (PyCFunction
) _wrap_wxFontEnumerator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
7172 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
7173 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
7174 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
7175 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
7176 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
7177 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
7178 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
7179 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
7180 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7181 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
7182 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
7183 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7184 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
7185 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
7186 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7187 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
7188 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
7189 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
7190 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7191 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7192 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
7193 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
7194 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
7195 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
7196 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
7197 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
7198 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
7199 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
7200 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7201 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
7202 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
7203 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
7204 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
7205 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
7206 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
7207 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
7208 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7209 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
7210 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
7211 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
7212 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
7213 { "wxWakeUpMainThread", (PyCFunction
) _wrap_wxWakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
7214 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
7215 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
7216 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
7217 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
7218 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
7219 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
7220 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
7221 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
7222 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
7223 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
7224 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
7225 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
7226 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
7227 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
7228 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7229 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
7230 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
7231 { "wxFlushEvents", (PyCFunction
) _wrap_wxFlushEvents
, METH_VARARGS
| METH_KEYWORDS
},
7232 { "wxCheckForInterrupt", (PyCFunction
) _wrap_wxCheckForInterrupt
, METH_VARARGS
| METH_KEYWORDS
},
7233 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
7234 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
7235 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
7236 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7237 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
7238 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
7239 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
7240 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
7241 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
7242 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
7243 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
7244 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
7245 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
7246 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
7247 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
7248 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
7249 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7250 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
7251 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
7252 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
7253 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7254 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7255 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
7262 * This table is used by the pointer type-checker
7264 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7265 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
7266 { "_signed_long","_long",0},
7267 { "_wxPrintQuality","_wxCoord",0},
7268 { "_wxPrintQuality","_int",0},
7269 { "_wxPrintQuality","_signed_int",0},
7270 { "_wxPrintQuality","_unsigned_int",0},
7271 { "_wxPrintQuality","_wxWindowID",0},
7272 { "_wxPrintQuality","_uint",0},
7273 { "_wxPrintQuality","_EBool",0},
7274 { "_wxPrintQuality","_size_t",0},
7275 { "_wxPrintQuality","_time_t",0},
7276 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
7277 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
7278 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7279 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
7280 { "_byte","_unsigned_char",0},
7281 { "_long","_unsigned_long",0},
7282 { "_long","_signed_long",0},
7283 { "_size_t","_wxCoord",0},
7284 { "_size_t","_wxPrintQuality",0},
7285 { "_size_t","_time_t",0},
7286 { "_size_t","_unsigned_int",0},
7287 { "_size_t","_int",0},
7288 { "_size_t","_wxWindowID",0},
7289 { "_size_t","_uint",0},
7290 { "_uint","_wxCoord",0},
7291 { "_uint","_wxPrintQuality",0},
7292 { "_uint","_time_t",0},
7293 { "_uint","_size_t",0},
7294 { "_uint","_unsigned_int",0},
7295 { "_uint","_int",0},
7296 { "_uint","_wxWindowID",0},
7297 { "_wxChar","_char",0},
7298 { "_char","_wxChar",0},
7299 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
7300 { "_EBool","_wxCoord",0},
7301 { "_EBool","_wxPrintQuality",0},
7302 { "_EBool","_signed_int",0},
7303 { "_EBool","_int",0},
7304 { "_EBool","_wxWindowID",0},
7305 { "_unsigned_long","_long",0},
7306 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
7307 { "_signed_int","_wxCoord",0},
7308 { "_signed_int","_wxPrintQuality",0},
7309 { "_signed_int","_EBool",0},
7310 { "_signed_int","_wxWindowID",0},
7311 { "_signed_int","_int",0},
7312 { "_WXTYPE","_short",0},
7313 { "_WXTYPE","_signed_short",0},
7314 { "_WXTYPE","_unsigned_short",0},
7315 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7316 { "_unsigned_short","_WXTYPE",0},
7317 { "_unsigned_short","_short",0},
7318 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
7319 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
7320 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
7321 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
7322 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
7323 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
7324 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
7325 { "_signed_short","_WXTYPE",0},
7326 { "_signed_short","_short",0},
7327 { "_unsigned_char","_byte",0},
7328 { "_unsigned_int","_wxCoord",0},
7329 { "_unsigned_int","_wxPrintQuality",0},
7330 { "_unsigned_int","_time_t",0},
7331 { "_unsigned_int","_size_t",0},
7332 { "_unsigned_int","_uint",0},
7333 { "_unsigned_int","_wxWindowID",0},
7334 { "_unsigned_int","_int",0},
7335 { "_short","_WXTYPE",0},
7336 { "_short","_unsigned_short",0},
7337 { "_short","_signed_short",0},
7338 { "_wxWindowID","_wxCoord",0},
7339 { "_wxWindowID","_wxPrintQuality",0},
7340 { "_wxWindowID","_time_t",0},
7341 { "_wxWindowID","_size_t",0},
7342 { "_wxWindowID","_EBool",0},
7343 { "_wxWindowID","_uint",0},
7344 { "_wxWindowID","_int",0},
7345 { "_wxWindowID","_signed_int",0},
7346 { "_wxWindowID","_unsigned_int",0},
7347 { "_int","_wxCoord",0},
7348 { "_int","_wxPrintQuality",0},
7349 { "_int","_time_t",0},
7350 { "_int","_size_t",0},
7351 { "_int","_EBool",0},
7352 { "_int","_uint",0},
7353 { "_int","_wxWindowID",0},
7354 { "_int","_unsigned_int",0},
7355 { "_int","_signed_int",0},
7356 { "_time_t","_wxCoord",0},
7357 { "_time_t","_wxPrintQuality",0},
7358 { "_time_t","_unsigned_int",0},
7359 { "_time_t","_int",0},
7360 { "_time_t","_wxWindowID",0},
7361 { "_time_t","_uint",0},
7362 { "_time_t","_size_t",0},
7363 { "_wxCoord","_int",0},
7364 { "_wxCoord","_signed_int",0},
7365 { "_wxCoord","_unsigned_int",0},
7366 { "_wxCoord","_wxWindowID",0},
7367 { "_wxCoord","_uint",0},
7368 { "_wxCoord","_EBool",0},
7369 { "_wxCoord","_size_t",0},
7370 { "_wxCoord","_time_t",0},
7371 { "_wxCoord","_wxPrintQuality",0},
7372 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7375 static PyObject
*SWIG_globals
;
7379 SWIGEXPORT(void) initmisc2c() {
7381 SWIG_globals
= SWIG_newvarlink();
7382 m
= Py_InitModule("misc2c", misc2cMethods
);
7383 d
= PyModule_GetDict(m
);
7384 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
7385 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
7386 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
7387 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
7388 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
7389 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
7390 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
7391 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
7392 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
7393 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
7394 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
7395 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
7396 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
7397 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
7398 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
7399 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
7400 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
7401 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
7402 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
7403 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
7404 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
7405 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
7406 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
7407 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
7408 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
7409 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
7410 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
7411 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
7412 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
7413 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
7414 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
7415 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
7416 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
7417 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
7418 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
7419 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
7420 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
7421 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
7422 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
7423 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
7424 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
7425 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
7426 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
7427 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
7428 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
7429 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
7430 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
7431 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
7432 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
7433 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
7434 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
7435 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
7436 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
7437 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
7438 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
7439 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
7440 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
7441 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
7442 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
7443 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
7444 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
7445 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
7446 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
7447 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
7448 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
7449 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
7450 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
7451 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
7452 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
7453 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
7454 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
7455 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
7456 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
7457 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
7458 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
7459 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
7460 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
7461 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
7462 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
7463 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
7464 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
7465 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
7466 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
7467 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
7468 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
7469 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
7470 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
7471 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
7472 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
7473 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
7474 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
7475 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
7476 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
7477 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
7478 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
7479 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
7480 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
7482 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
7483 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
7484 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
7487 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7488 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);