2 * FILE : src/mac/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 required";
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>
164 // A Log class that can be derived from in wxPython
165 class wxPyLog
: public wxLog
{
167 wxPyLog() : wxLog() {}
169 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
171 wxPyTState
* state
= wxPyBeginBlockThreads();
172 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog")))
173 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(isi)", level
, szString
, t
));
174 wxPyEndBlockThreads(state
);
176 wxLog::DoLog(level
, szString
, t
);
179 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
181 wxPyTState
* state
= wxPyBeginBlockThreads();
182 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString")))
183 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(si)", szString
, t
));
184 wxPyEndBlockThreads(state
);
186 wxLog::DoLogString(szString
, t
);
191 // C++ version of wxProcess derived class
193 class wxPyProcess
: public wxProcess
{
195 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
196 : wxProcess(parent
, id
)
199 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
204 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
207 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
208 // A C++ stub class for wxJoystick for platforms that don't have it.
209 class wxJoystick
: public wxObject
{
211 wxJoystick(int joystick
= wxJOYSTICK1
) {
212 wxPyTState
* state
= wxPyBeginBlockThreads();
213 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
214 wxPyEndBlockThreads(state
);
216 wxPoint
GetPosition() { return wxPoint(-1,-1); }
217 int GetZPosition() { return -1; }
218 int GetButtonState() { return -1; }
219 int GetPOVPosition() { return -1; }
220 int GetPOVCTSPosition() { return -1; }
221 int GetRudderPosition() { return -1; }
222 int GetUPosition() { return -1; }
223 int GetVPosition() { return -1; }
224 int GetMovementThreshold() { return -1; }
225 void SetMovementThreshold(int threshold
) {}
227 bool IsOk(void) { return FALSE
; }
228 int GetNumberJoysticks() { return -1; }
229 int GetManufacturerId() { return -1; }
230 int GetProductId() { return -1; }
231 wxString
GetProductName() { return ""; }
232 int GetXMin() { return -1; }
233 int GetYMin() { return -1; }
234 int GetZMin() { return -1; }
235 int GetXMax() { return -1; }
236 int GetYMax() { return -1; }
237 int GetZMax() { return -1; }
238 int GetNumberButtons() { return -1; }
239 int GetNumberAxes() { return -1; }
240 int GetMaxButtons() { return -1; }
241 int GetMaxAxes() { return -1; }
242 int GetPollingMin() { return -1; }
243 int GetPollingMax() { return -1; }
244 int GetRudderMin() { return -1; }
245 int GetRudderMax() { return -1; }
246 int GetUMin() { return -1; }
247 int GetUMax() { return -1; }
248 int GetVMin() { return -1; }
249 int GetVMax() { return -1; }
251 bool HasRudder() { return FALSE
; }
252 bool HasZ() { return FALSE
; }
253 bool HasU() { return FALSE
; }
254 bool HasV() { return FALSE
; }
255 bool HasPOV() { return FALSE
; }
256 bool HasPOV4Dir() { return FALSE
; }
257 bool HasPOVCTS() { return FALSE
; }
259 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
260 bool ReleaseCapture() { return FALSE
; }
265 // A C++ stub class for wxWave for platforms that don't have it.
266 class wxWave
: public wxObject
269 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
270 wxPyTState
* state
= wxPyBeginBlockThreads();
271 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
272 wxPyEndBlockThreads(state
);
274 wxWave(int size
, const wxByte
* data
) {
275 wxPyTState
* state
= wxPyBeginBlockThreads();
276 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
277 wxPyEndBlockThreads(state
);
282 bool IsOk() const { return FALSE
; }
283 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
287 // Implementations of some alternate "constructors"
288 wxWave
* wxWaveData(const wxString
& data
) {
289 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
294 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
295 PyObject
* _resultobj
;
298 char * _arg1
= (char *) NULL
;
299 char * _arg2
= (char *) NULL
;
300 char * _arg3
= (char *) NULL
;
301 char * _arg4
= (char *) "*.*";
302 int _arg5
= (int ) 0;
303 wxWindow
* _arg6
= (wxWindow
*) NULL
;
304 int _arg7
= (int ) -1;
305 int _arg8
= (int ) -1;
306 PyObject
* _argo6
= 0;
307 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|ssssiOii:wxFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
313 if (_argo6
== Py_None
) { _arg6
= NULL
; }
314 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
315 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
320 wxPy_BEGIN_ALLOW_THREADS
;
321 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
323 wxPy_END_ALLOW_THREADS
;
325 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
333 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
334 PyObject
* _resultobj
;
337 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
338 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
339 wxWindow
* _arg3
= (wxWindow
*) NULL
;
340 int _arg4
= (int ) -1;
341 int _arg5
= (int ) -1;
342 bool _arg6
= (bool ) TRUE
;
343 PyObject
* _obj0
= 0;
344 PyObject
* _obj1
= 0;
345 PyObject
* _obj2
= 0;
346 PyObject
* _argo3
= 0;
347 int tempbool6
= (int) TRUE
;
348 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
354 #if PYTHON_API_VERSION >= 1009
355 char* tmpPtr
; int tmpSize
;
356 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
357 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
360 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
362 _arg0
= new wxString(tmpPtr
, tmpSize
);
364 if (!PyString_Check(_obj0
)) {
365 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
368 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
373 #if PYTHON_API_VERSION >= 1009
374 char* tmpPtr
; int tmpSize
;
375 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
376 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
379 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
381 _arg1
= new wxString(tmpPtr
, tmpSize
);
383 if (!PyString_Check(_obj1
)) {
384 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
387 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
392 #if PYTHON_API_VERSION >= 1009
393 char* tmpPtr
; int tmpSize
;
394 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
395 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
398 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
400 _arg2
= new wxString(tmpPtr
, tmpSize
);
402 if (!PyString_Check(_obj2
)) {
403 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
406 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
410 if (_argo3
== Py_None
) { _arg3
= NULL
; }
411 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
412 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
416 _arg6
= (bool ) tempbool6
;
418 wxPy_BEGIN_ALLOW_THREADS
;
419 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
421 wxPy_END_ALLOW_THREADS
;
423 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
443 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
444 PyObject
* _resultobj
;
447 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
448 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
449 wxWindow
* _arg3
= (wxWindow
*) NULL
;
450 PyObject
* _obj0
= 0;
451 PyObject
* _obj1
= 0;
452 PyObject
* _obj2
= 0;
453 PyObject
* _argo3
= 0;
454 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
460 #if PYTHON_API_VERSION >= 1009
461 char* tmpPtr
; int tmpSize
;
462 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
463 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
466 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
468 _arg0
= new wxString(tmpPtr
, tmpSize
);
470 if (!PyString_Check(_obj0
)) {
471 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
474 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
479 #if PYTHON_API_VERSION >= 1009
480 char* tmpPtr
; int tmpSize
;
481 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
482 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
485 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
487 _arg1
= new wxString(tmpPtr
, tmpSize
);
489 if (!PyString_Check(_obj1
)) {
490 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
493 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
498 #if PYTHON_API_VERSION >= 1009
499 char* tmpPtr
; int tmpSize
;
500 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
501 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
504 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
506 _arg2
= new wxString(tmpPtr
, tmpSize
);
508 if (!PyString_Check(_obj2
)) {
509 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
512 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
516 if (_argo3
== Py_None
) { _arg3
= NULL
; }
517 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
523 wxPy_BEGIN_ALLOW_THREADS
;
524 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
526 wxPy_END_ALLOW_THREADS
;
528 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
548 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
549 PyObject
* _resultobj
;
555 wxWindow
* _arg4
= (wxWindow
*) NULL
;
556 int _arg5
= (int ) -1;
557 int _arg6
= (int ) -1;
558 bool _arg7
= (bool ) TRUE
;
559 int _arg8
= (int ) 150;
560 int _arg9
= (int ) 200;
561 PyObject
* _obj0
= 0;
562 PyObject
* _obj1
= 0;
563 PyObject
* _obj3
= 0;
564 PyObject
* _argo4
= 0;
565 int tempbool7
= (int) TRUE
;
566 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
572 #if PYTHON_API_VERSION >= 1009
573 char* tmpPtr
; int tmpSize
;
574 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
575 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
578 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
580 _arg0
= new wxString(tmpPtr
, tmpSize
);
582 if (!PyString_Check(_obj0
)) {
583 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
586 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
590 #if PYTHON_API_VERSION >= 1009
591 char* tmpPtr
; int tmpSize
;
592 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
593 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
596 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
598 _arg1
= new wxString(tmpPtr
, tmpSize
);
600 if (!PyString_Check(_obj1
)) {
601 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
604 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
609 _arg3
= wxString_LIST_helper(_obj3
);
615 if (_argo4
== Py_None
) { _arg4
= NULL
; }
616 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
621 _arg7
= (bool ) tempbool7
;
624 _arg2
= PyList_Size(_obj3
);
631 wxPy_BEGIN_ALLOW_THREADS
;
632 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
634 wxPy_END_ALLOW_THREADS
;
636 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
655 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
656 PyObject
* _resultobj
;
662 wxWindow
* _arg4
= (wxWindow
*) NULL
;
663 int _arg5
= (int ) -1;
664 int _arg6
= (int ) -1;
665 bool _arg7
= (bool ) TRUE
;
666 int _arg8
= (int ) 150;
667 int _arg9
= (int ) 200;
668 PyObject
* _obj0
= 0;
669 PyObject
* _obj1
= 0;
670 PyObject
* _obj3
= 0;
671 PyObject
* _argo4
= 0;
672 int tempbool7
= (int) TRUE
;
673 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
679 #if PYTHON_API_VERSION >= 1009
680 char* tmpPtr
; int tmpSize
;
681 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
682 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
685 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
687 _arg0
= new wxString(tmpPtr
, tmpSize
);
689 if (!PyString_Check(_obj0
)) {
690 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
693 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
697 #if PYTHON_API_VERSION >= 1009
698 char* tmpPtr
; int tmpSize
;
699 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
700 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
703 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
705 _arg1
= new wxString(tmpPtr
, tmpSize
);
707 if (!PyString_Check(_obj1
)) {
708 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
711 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
716 _arg3
= wxString_LIST_helper(_obj3
);
722 if (_argo4
== Py_None
) { _arg4
= NULL
; }
723 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
728 _arg7
= (bool ) tempbool7
;
731 _arg2
= PyList_Size(_obj3
);
738 wxPy_BEGIN_ALLOW_THREADS
;
739 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
741 wxPy_END_ALLOW_THREADS
;
742 } _resultobj
= Py_BuildValue("i",_result
);
757 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
758 PyObject
* _resultobj
;
761 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
762 int _arg2
= (int ) wxOK
|wxCENTRE
;
763 wxWindow
* _arg3
= (wxWindow
*) NULL
;
764 int _arg4
= (int ) -1;
765 int _arg5
= (int ) -1;
766 PyObject
* _obj0
= 0;
767 PyObject
* _obj1
= 0;
768 PyObject
* _argo3
= 0;
769 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
775 #if PYTHON_API_VERSION >= 1009
776 char* tmpPtr
; int tmpSize
;
777 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
778 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
781 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
783 _arg0
= new wxString(tmpPtr
, tmpSize
);
785 if (!PyString_Check(_obj0
)) {
786 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
789 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
794 #if PYTHON_API_VERSION >= 1009
795 char* tmpPtr
; int tmpSize
;
796 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
797 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
800 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
802 _arg1
= new wxString(tmpPtr
, tmpSize
);
804 if (!PyString_Check(_obj1
)) {
805 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
808 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
812 if (_argo3
== Py_None
) { _arg3
= NULL
; }
813 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
814 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
819 wxPy_BEGIN_ALLOW_THREADS
;
820 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
822 wxPy_END_ALLOW_THREADS
;
823 } _resultobj
= Py_BuildValue("i",_result
);
835 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
836 PyObject
* _resultobj
;
842 long _arg4
= (long ) 0;
843 long _arg5
= (long ) 100;
844 wxWindow
* _arg6
= (wxWindow
*) NULL
;
845 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
846 PyObject
* _obj0
= 0;
847 PyObject
* _obj1
= 0;
848 PyObject
* _obj2
= 0;
849 PyObject
* _argo6
= 0;
851 PyObject
* _obj7
= 0;
852 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
858 #if PYTHON_API_VERSION >= 1009
859 char* tmpPtr
; int tmpSize
;
860 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
861 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
864 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
866 _arg0
= new wxString(tmpPtr
, tmpSize
);
868 if (!PyString_Check(_obj0
)) {
869 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
872 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
876 #if PYTHON_API_VERSION >= 1009
877 char* tmpPtr
; int tmpSize
;
878 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
879 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
882 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
884 _arg1
= new wxString(tmpPtr
, tmpSize
);
886 if (!PyString_Check(_obj1
)) {
887 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
890 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
894 #if PYTHON_API_VERSION >= 1009
895 char* tmpPtr
; int tmpSize
;
896 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
897 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
900 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
902 _arg2
= new wxString(tmpPtr
, tmpSize
);
904 if (!PyString_Check(_obj2
)) {
905 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
908 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
912 if (_argo6
== Py_None
) { _arg6
= NULL
; }
913 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
914 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
921 if (! wxPoint_helper(_obj7
, &_arg7
))
925 wxPy_BEGIN_ALLOW_THREADS
;
926 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
928 wxPy_END_ALLOW_THREADS
;
929 } _resultobj
= Py_BuildValue("l",_result
);
945 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
946 PyObject
* _resultobj
;
948 char *_kwnames
[] = { NULL
};
951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
954 wxPy_BEGIN_ALLOW_THREADS
;
955 _result
= (bool )wxColourDisplay();
957 wxPy_END_ALLOW_THREADS
;
958 } _resultobj
= Py_BuildValue("i",_result
);
962 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
963 PyObject
* _resultobj
;
965 char *_kwnames
[] = { NULL
};
968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
971 wxPy_BEGIN_ALLOW_THREADS
;
972 _result
= (int )wxDisplayDepth();
974 wxPy_END_ALLOW_THREADS
;
975 } _resultobj
= Py_BuildValue("i",_result
);
979 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
980 PyObject
* _resultobj
;
982 char *_kwnames
[] = { NULL
};
985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
988 wxPy_BEGIN_ALLOW_THREADS
;
989 _result
= (int )wxGetDisplayDepth();
991 wxPy_END_ALLOW_THREADS
;
992 } _resultobj
= Py_BuildValue("i",_result
);
996 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
997 PyObject
* _resultobj
;
1002 char *_kwnames
[] = { NULL
};
1011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1014 wxPy_BEGIN_ALLOW_THREADS
;
1015 wxDisplaySize(_arg0
,_arg1
);
1017 wxPy_END_ALLOW_THREADS
;
1018 } Py_INCREF(Py_None
);
1019 _resultobj
= Py_None
;
1022 o
= PyInt_FromLong((long) (*_arg0
));
1023 _resultobj
= t_output_helper(_resultobj
, o
);
1027 o
= PyInt_FromLong((long) (*_arg1
));
1028 _resultobj
= t_output_helper(_resultobj
, o
);
1033 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1034 PyObject
* _resultobj
;
1036 char *_kwnames
[] = { NULL
};
1040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1043 wxPy_BEGIN_ALLOW_THREADS
;
1044 _result
= new wxSize (wxGetDisplaySize());
1046 wxPy_END_ALLOW_THREADS
;
1047 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1048 _resultobj
= Py_BuildValue("s",_ptemp
);
1052 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1053 PyObject
* _resultobj
;
1058 char *_kwnames
[] = { NULL
};
1067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1070 wxPy_BEGIN_ALLOW_THREADS
;
1071 wxDisplaySizeMM(_arg0
,_arg1
);
1073 wxPy_END_ALLOW_THREADS
;
1074 } Py_INCREF(Py_None
);
1075 _resultobj
= Py_None
;
1078 o
= PyInt_FromLong((long) (*_arg0
));
1079 _resultobj
= t_output_helper(_resultobj
, o
);
1083 o
= PyInt_FromLong((long) (*_arg1
));
1084 _resultobj
= t_output_helper(_resultobj
, o
);
1089 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1090 PyObject
* _resultobj
;
1092 char *_kwnames
[] = { NULL
};
1096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1099 wxPy_BEGIN_ALLOW_THREADS
;
1100 _result
= new wxSize (wxGetDisplaySizeMM());
1102 wxPy_END_ALLOW_THREADS
;
1103 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1104 _resultobj
= Py_BuildValue("s",_ptemp
);
1108 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1109 PyObject
* _resultobj
;
1118 char *_kwnames
[] = { NULL
};
1133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1136 wxPy_BEGIN_ALLOW_THREADS
;
1137 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1139 wxPy_END_ALLOW_THREADS
;
1140 } Py_INCREF(Py_None
);
1141 _resultobj
= Py_None
;
1144 o
= PyInt_FromLong((long) (*_arg0
));
1145 _resultobj
= t_output_helper(_resultobj
, o
);
1149 o
= PyInt_FromLong((long) (*_arg1
));
1150 _resultobj
= t_output_helper(_resultobj
, o
);
1154 o
= PyInt_FromLong((long) (*_arg2
));
1155 _resultobj
= t_output_helper(_resultobj
, o
);
1159 o
= PyInt_FromLong((long) (*_arg3
));
1160 _resultobj
= t_output_helper(_resultobj
, o
);
1165 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1166 PyObject
* _resultobj
;
1168 char *_kwnames
[] = { NULL
};
1172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1175 wxPy_BEGIN_ALLOW_THREADS
;
1176 _result
= new wxRect (wxGetClientDisplayRect());
1178 wxPy_END_ALLOW_THREADS
;
1179 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1180 _resultobj
= Py_BuildValue("s",_ptemp
);
1184 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1185 PyObject
* _resultobj
;
1187 PyObject
* _argo0
= 0;
1188 char *_kwnames
[] = { "cursor", NULL
};
1191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1201 wxPy_BEGIN_ALLOW_THREADS
;
1202 wxSetCursor(*_arg0
);
1204 wxPy_END_ALLOW_THREADS
;
1205 } Py_INCREF(Py_None
);
1206 _resultobj
= Py_None
;
1210 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1211 PyObject
* _resultobj
;
1214 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1215 PyObject
* _obj0
= 0;
1216 PyObject
* _argo1
= 0;
1217 char *_kwnames
[] = { "label","parent", NULL
};
1220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
1223 #if PYTHON_API_VERSION >= 1009
1224 char* tmpPtr
; int tmpSize
;
1225 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1226 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1229 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1231 _arg0
= new wxString(tmpPtr
, tmpSize
);
1233 if (!PyString_Check(_obj0
)) {
1234 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1237 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1241 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1242 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1248 wxPy_BEGIN_ALLOW_THREADS
;
1249 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
1251 wxPy_END_ALLOW_THREADS
;
1252 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1260 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1261 PyObject
* _resultobj
;
1264 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1265 PyObject
* _obj0
= 0;
1266 PyObject
* _argo1
= 0;
1267 char *_kwnames
[] = { "name","parent", NULL
};
1270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1273 #if PYTHON_API_VERSION >= 1009
1274 char* tmpPtr
; int tmpSize
;
1275 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1276 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1279 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1281 _arg0
= new wxString(tmpPtr
, tmpSize
);
1283 if (!PyString_Check(_obj0
)) {
1284 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1287 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1291 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1292 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1298 wxPy_BEGIN_ALLOW_THREADS
;
1299 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1301 wxPy_END_ALLOW_THREADS
;
1302 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1310 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1311 PyObject
* _resultobj
;
1312 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1313 PyObject
* _argo0
= 0;
1314 char *_kwnames
[] = { "cursor", NULL
};
1317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1327 wxPy_BEGIN_ALLOW_THREADS
;
1328 wxBeginBusyCursor(_arg0
);
1330 wxPy_END_ALLOW_THREADS
;
1331 } Py_INCREF(Py_None
);
1332 _resultobj
= Py_None
;
1336 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1337 PyObject
* _resultobj
;
1339 char *_kwnames
[] = { NULL
};
1342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1345 wxPy_BEGIN_ALLOW_THREADS
;
1346 _result
= (wxWindow
*)wxGetActiveWindow();
1348 wxPy_END_ALLOW_THREADS
;
1349 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1353 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1354 PyObject
* _resultobj
;
1358 PyObject
* _obj0
= 0;
1359 char *_kwnames
[] = { "pt", NULL
};
1362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1366 if (! wxPoint_helper(_obj0
, &_arg0
))
1370 wxPy_BEGIN_ALLOW_THREADS
;
1371 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1373 wxPy_END_ALLOW_THREADS
;
1374 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1378 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1379 PyObject
* _resultobj
;
1383 PyObject
* _obj0
= 0;
1384 char *_kwnames
[] = { "pt", NULL
};
1387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1391 if (! wxPoint_helper(_obj0
, &_arg0
))
1395 wxPy_BEGIN_ALLOW_THREADS
;
1396 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1398 wxPy_END_ALLOW_THREADS
;
1399 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1403 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1404 PyObject
* _resultobj
;
1408 char *_kwnames
[] = { "name","value", NULL
};
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1414 wxPy_BEGIN_ALLOW_THREADS
;
1415 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1417 wxPy_END_ALLOW_THREADS
;
1418 } _resultobj
= Py_BuildValue("i",_result
);
1422 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
* _resultobj
;
1424 char *_kwnames
[] = { NULL
};
1427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1430 wxPy_BEGIN_ALLOW_THREADS
;
1433 wxPy_END_ALLOW_THREADS
;
1434 } Py_INCREF(Py_None
);
1435 _resultobj
= Py_None
;
1439 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
* _resultobj
;
1443 char *_kwnames
[] = { "resource", NULL
};
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1450 wxPy_BEGIN_ALLOW_THREADS
;
1451 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1453 wxPy_END_ALLOW_THREADS
;
1454 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1455 _resultobj
= Py_BuildValue("s",_ptemp
);
1459 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1460 PyObject
* _resultobj
;
1463 char *_kwnames
[] = { "resource", NULL
};
1467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1470 wxPy_BEGIN_ALLOW_THREADS
;
1471 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1473 wxPy_END_ALLOW_THREADS
;
1474 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1475 _resultobj
= Py_BuildValue("s",_ptemp
);
1479 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1480 PyObject
* _resultobj
;
1481 wxMenuBar
* _result
;
1483 char *_kwnames
[] = { "resource", NULL
};
1486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1489 wxPy_BEGIN_ALLOW_THREADS
;
1490 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1492 wxPy_END_ALLOW_THREADS
;
1493 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1497 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1498 PyObject
* _resultobj
;
1501 char *_kwnames
[] = { "name", NULL
};
1504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1507 wxPy_BEGIN_ALLOW_THREADS
;
1508 _result
= (int )wxResourceGetIdentifier(_arg0
);
1510 wxPy_END_ALLOW_THREADS
;
1511 } _resultobj
= Py_BuildValue("i",_result
);
1515 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1516 PyObject
* _resultobj
;
1519 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1520 PyObject
* _argo1
= 0;
1521 char *_kwnames
[] = { "resource","table", NULL
};
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1527 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1528 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1534 wxPy_BEGIN_ALLOW_THREADS
;
1535 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1537 wxPy_END_ALLOW_THREADS
;
1538 } _resultobj
= Py_BuildValue("i",_result
);
1542 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1543 PyObject
* _resultobj
;
1546 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1547 PyObject
* _argo1
= 0;
1548 char *_kwnames
[] = { "filename","table", NULL
};
1551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1554 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1555 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1561 wxPy_BEGIN_ALLOW_THREADS
;
1562 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1564 wxPy_END_ALLOW_THREADS
;
1565 } _resultobj
= Py_BuildValue("i",_result
);
1569 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1570 PyObject
* _resultobj
;
1573 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1574 PyObject
* _argo1
= 0;
1575 char *_kwnames
[] = { "resource","table", NULL
};
1578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1581 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1582 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1588 wxPy_BEGIN_ALLOW_THREADS
;
1589 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1591 wxPy_END_ALLOW_THREADS
;
1592 } _resultobj
= Py_BuildValue("i",_result
);
1596 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1597 PyObject
* _resultobj
;
1600 char *_kwnames
[] = { "index", NULL
};
1604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1607 wxPy_BEGIN_ALLOW_THREADS
;
1608 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1610 wxPy_END_ALLOW_THREADS
;
1611 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1612 _resultobj
= Py_BuildValue("s",_ptemp
);
1616 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
* _resultobj
;
1620 char *_kwnames
[] = { "index", NULL
};
1624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1627 wxPy_BEGIN_ALLOW_THREADS
;
1628 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1630 wxPy_END_ALLOW_THREADS
;
1631 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1632 _resultobj
= Py_BuildValue("s",_ptemp
);
1636 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
* _resultobj
;
1640 char *_kwnames
[] = { "index", NULL
};
1643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1646 wxPy_BEGIN_ALLOW_THREADS
;
1647 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1649 wxPy_END_ALLOW_THREADS
;
1650 } _resultobj
= Py_BuildValue("i",_result
);
1654 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1655 PyObject
* _resultobj
;
1657 char *_kwnames
[] = { NULL
};
1660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1663 wxPy_BEGIN_ALLOW_THREADS
;
1664 _result
= (int )wxCaret_GetBlinkTime();
1666 wxPy_END_ALLOW_THREADS
;
1667 } _resultobj
= Py_BuildValue("i",_result
);
1671 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1672 PyObject
* _resultobj
;
1674 char *_kwnames
[] = { "milliseconds", NULL
};
1677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1680 wxPy_BEGIN_ALLOW_THREADS
;
1681 wxCaret_SetBlinkTime(_arg0
);
1683 wxPy_END_ALLOW_THREADS
;
1684 } Py_INCREF(Py_None
);
1685 _resultobj
= Py_None
;
1689 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1690 PyObject
* _resultobj
;
1692 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1693 PyObject
* _argo0
= 0;
1694 char *_kwnames
[] = { "win", NULL
};
1697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1707 wxPy_BEGIN_ALLOW_THREADS
;
1708 _result
= (bool )wxSafeYield(_arg0
);
1710 wxPy_END_ALLOW_THREADS
;
1711 } _resultobj
= Py_BuildValue("i",_result
);
1715 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1716 PyObject
* _resultobj
;
1717 wxEvtHandler
* _arg0
;
1719 PyObject
* _argo0
= 0;
1720 PyObject
* _argo1
= 0;
1721 char *_kwnames
[] = { "dest","event", NULL
};
1724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1734 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1735 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1741 wxPy_BEGIN_ALLOW_THREADS
;
1742 wxPostEvent(_arg0
,*_arg1
);
1744 wxPy_END_ALLOW_THREADS
;
1745 } Py_INCREF(Py_None
);
1746 _resultobj
= Py_None
;
1750 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
* _resultobj
;
1752 char *_kwnames
[] = { NULL
};
1755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1758 wxPy_BEGIN_ALLOW_THREADS
;
1761 wxPy_END_ALLOW_THREADS
;
1762 } Py_INCREF(Py_None
);
1763 _resultobj
= Py_None
;
1767 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1768 PyObject
* _resultobj
;
1769 char *_kwnames
[] = { NULL
};
1772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1775 wxPy_BEGIN_ALLOW_THREADS
;
1778 wxPy_END_ALLOW_THREADS
;
1779 } Py_INCREF(Py_None
);
1780 _resultobj
= Py_None
;
1784 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1785 PyObject
* _resultobj
;
1786 char *_kwnames
[] = { NULL
};
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1792 wxPy_BEGIN_ALLOW_THREADS
;
1795 wxPy_END_ALLOW_THREADS
;
1796 } Py_INCREF(Py_None
);
1797 _resultobj
= Py_None
;
1801 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1802 PyObject
* _resultobj
;
1804 char *_kwnames
[] = { NULL
};
1807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1810 wxPy_BEGIN_ALLOW_THREADS
;
1811 _result
= (bool )wxThread_IsMain();
1813 wxPy_END_ALLOW_THREADS
;
1814 } _resultobj
= Py_BuildValue("i",_result
);
1818 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1819 PyObject
* _resultobj
;
1822 wxTipProvider
* _arg1
;
1823 bool _arg2
= (bool ) TRUE
;
1824 PyObject
* _argo0
= 0;
1825 PyObject
* _argo1
= 0;
1826 int tempbool2
= (int) TRUE
;
1827 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1840 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1841 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1846 _arg2
= (bool ) tempbool2
;
1848 wxPy_BEGIN_ALLOW_THREADS
;
1849 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1851 wxPy_END_ALLOW_THREADS
;
1852 } _resultobj
= Py_BuildValue("i",_result
);
1856 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1857 PyObject
* _resultobj
;
1858 wxTipProvider
* _result
;
1861 PyObject
* _obj0
= 0;
1862 char *_kwnames
[] = { "filename","currentTip", NULL
};
1866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1869 #if PYTHON_API_VERSION >= 1009
1870 char* tmpPtr
; int tmpSize
;
1871 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1872 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1875 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1877 _arg0
= new wxString(tmpPtr
, tmpSize
);
1879 if (!PyString_Check(_obj0
)) {
1880 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1883 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1887 wxPy_BEGIN_ALLOW_THREADS
;
1888 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1890 wxPy_END_ALLOW_THREADS
;
1892 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1893 _resultobj
= Py_BuildValue("s",_ptemp
);
1896 _resultobj
= Py_None
;
1905 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
* _resultobj
;
1907 unsigned long _result
;
1908 char *_kwnames
[] = { NULL
};
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1914 wxPy_BEGIN_ALLOW_THREADS
;
1915 _result
= (unsigned long )wxSysErrorCode();
1917 wxPy_END_ALLOW_THREADS
;
1918 } _resultobj
= Py_BuildValue("l",_result
);
1922 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
* _resultobj
;
1925 unsigned long _arg0
= (unsigned long ) 0;
1926 char *_kwnames
[] = { "nErrCode", NULL
};
1929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1932 wxPy_BEGIN_ALLOW_THREADS
;
1933 _result
= (char *)wxSysErrorMsg(_arg0
);
1935 wxPy_END_ALLOW_THREADS
;
1936 } _resultobj
= Py_BuildValue("s", _result
);
1940 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
* _resultobj
;
1943 char *_kwnames
[] = { "szFormat", NULL
};
1946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
1949 wxPy_BEGIN_ALLOW_THREADS
;
1950 wxLogFatalError(_arg0
);
1952 wxPy_END_ALLOW_THREADS
;
1953 } Py_INCREF(Py_None
);
1954 _resultobj
= Py_None
;
1958 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1959 PyObject
* _resultobj
;
1961 char *_kwnames
[] = { "szFormat", NULL
};
1964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
1967 wxPy_BEGIN_ALLOW_THREADS
;
1970 wxPy_END_ALLOW_THREADS
;
1971 } Py_INCREF(Py_None
);
1972 _resultobj
= Py_None
;
1976 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1977 PyObject
* _resultobj
;
1979 char *_kwnames
[] = { "szFormat", NULL
};
1982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
1985 wxPy_BEGIN_ALLOW_THREADS
;
1986 wxLogWarning(_arg0
);
1988 wxPy_END_ALLOW_THREADS
;
1989 } Py_INCREF(Py_None
);
1990 _resultobj
= Py_None
;
1994 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1995 PyObject
* _resultobj
;
1997 char *_kwnames
[] = { "szFormat", NULL
};
2000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
2003 wxPy_BEGIN_ALLOW_THREADS
;
2004 wxLogMessage(_arg0
);
2006 wxPy_END_ALLOW_THREADS
;
2007 } Py_INCREF(Py_None
);
2008 _resultobj
= Py_None
;
2012 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
* _resultobj
;
2015 char *_kwnames
[] = { "szFormat", NULL
};
2018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
2021 wxPy_BEGIN_ALLOW_THREADS
;
2024 wxPy_END_ALLOW_THREADS
;
2025 } Py_INCREF(Py_None
);
2026 _resultobj
= Py_None
;
2030 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2031 PyObject
* _resultobj
;
2033 char *_kwnames
[] = { "szFormat", NULL
};
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
2039 wxPy_BEGIN_ALLOW_THREADS
;
2040 wxLogVerbose(_arg0
);
2042 wxPy_END_ALLOW_THREADS
;
2043 } Py_INCREF(Py_None
);
2044 _resultobj
= Py_None
;
2048 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2049 PyObject
* _resultobj
;
2051 char *_kwnames
[] = { "szFormat", NULL
};
2054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
2057 wxPy_BEGIN_ALLOW_THREADS
;
2060 wxPy_END_ALLOW_THREADS
;
2061 } Py_INCREF(Py_None
);
2062 _resultobj
= Py_None
;
2066 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2067 PyObject
* _resultobj
;
2070 PyObject
* _argo0
= 0;
2071 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
2077 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2078 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2079 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2084 wxPy_BEGIN_ALLOW_THREADS
;
2085 wxLogStatus(_arg0
,_arg1
);
2087 wxPy_END_ALLOW_THREADS
;
2088 } Py_INCREF(Py_None
);
2089 _resultobj
= Py_None
;
2093 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2094 PyObject
* _resultobj
;
2096 char *_kwnames
[] = { "szFormat", NULL
};
2099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2102 wxPy_BEGIN_ALLOW_THREADS
;
2103 wxLogSysError(_arg0
);
2105 wxPy_END_ALLOW_THREADS
;
2106 } Py_INCREF(Py_None
);
2107 _resultobj
= Py_None
;
2111 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2112 PyObject
* _resultobj
;
2115 int _arg1
= (int ) FALSE
;
2116 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2117 PyObject
* _obj0
= 0;
2118 PyObject
* _argo2
= 0;
2119 char *_kwnames
[] = { "command","sync","process", NULL
};
2122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2125 #if PYTHON_API_VERSION >= 1009
2126 char* tmpPtr
; int tmpSize
;
2127 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2128 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2131 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2133 _arg0
= new wxString(tmpPtr
, tmpSize
);
2135 if (!PyString_Check(_obj0
)) {
2136 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2139 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2143 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2144 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2150 wxPy_BEGIN_ALLOW_THREADS
;
2151 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2153 wxPy_END_ALLOW_THREADS
;
2154 } _resultobj
= Py_BuildValue("l",_result
);
2162 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2163 PyObject
* _resultobj
;
2166 PyObject
* _obj0
= 0;
2167 char *_kwnames
[] = { "data", NULL
};
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2174 #if PYTHON_API_VERSION >= 1009
2175 char* tmpPtr
; int tmpSize
;
2176 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2177 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2180 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2182 _arg0
= new wxString(tmpPtr
, tmpSize
);
2184 if (!PyString_Check(_obj0
)) {
2185 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2188 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2192 wxPy_BEGIN_ALLOW_THREADS
;
2193 _result
= (wxWave
*)wxWaveData(*_arg0
);
2195 wxPy_END_ALLOW_THREADS
;
2197 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2198 _resultobj
= Py_BuildValue("s",_ptemp
);
2201 _resultobj
= Py_None
;
2210 static void *SwigwxToolTipTowxObject(void *ptr
) {
2213 src
= (wxToolTip
*) ptr
;
2214 dest
= (wxObject
*) src
;
2215 return (void *) dest
;
2218 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2219 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2220 PyObject
* _resultobj
;
2221 wxToolTip
* _result
;
2223 PyObject
* _obj0
= 0;
2224 char *_kwnames
[] = { "tip", NULL
};
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2231 #if PYTHON_API_VERSION >= 1009
2232 char* tmpPtr
; int tmpSize
;
2233 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2234 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2237 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2239 _arg0
= new wxString(tmpPtr
, tmpSize
);
2241 if (!PyString_Check(_obj0
)) {
2242 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2245 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2249 wxPy_BEGIN_ALLOW_THREADS
;
2250 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2252 wxPy_END_ALLOW_THREADS
;
2254 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2255 _resultobj
= Py_BuildValue("s",_ptemp
);
2258 _resultobj
= Py_None
;
2267 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2268 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2269 PyObject
* _resultobj
;
2272 PyObject
* _argo0
= 0;
2273 PyObject
* _obj1
= 0;
2274 char *_kwnames
[] = { "self","tip", NULL
};
2277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2287 #if PYTHON_API_VERSION >= 1009
2288 char* tmpPtr
; int tmpSize
;
2289 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2290 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2293 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2295 _arg1
= new wxString(tmpPtr
, tmpSize
);
2297 if (!PyString_Check(_obj1
)) {
2298 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2301 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2305 wxPy_BEGIN_ALLOW_THREADS
;
2306 wxToolTip_SetTip(_arg0
,*_arg1
);
2308 wxPy_END_ALLOW_THREADS
;
2309 } Py_INCREF(Py_None
);
2310 _resultobj
= Py_None
;
2318 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2319 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2320 PyObject
* _resultobj
;
2323 PyObject
* _argo0
= 0;
2324 char *_kwnames
[] = { "self", NULL
};
2327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2330 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2331 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2337 wxPy_BEGIN_ALLOW_THREADS
;
2338 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2340 wxPy_END_ALLOW_THREADS
;
2342 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2350 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2351 static PyObject
*_wrap_wxToolTip_GetWindow(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_GetWindow",_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_GetWindow. Expected _wxToolTip_p.");
2369 wxPy_BEGIN_ALLOW_THREADS
;
2370 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2372 wxPy_END_ALLOW_THREADS
;
2373 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2377 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2378 PyObject
* _resultobj
;
2381 char *_kwnames
[] = { "flag", NULL
};
2384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2386 _arg0
= (bool ) tempbool0
;
2388 wxPy_BEGIN_ALLOW_THREADS
;
2389 wxToolTip::Enable(_arg0
);
2391 wxPy_END_ALLOW_THREADS
;
2392 } Py_INCREF(Py_None
);
2393 _resultobj
= Py_None
;
2397 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2398 PyObject
* _resultobj
;
2400 char *_kwnames
[] = { "milliseconds", NULL
};
2403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2406 wxPy_BEGIN_ALLOW_THREADS
;
2407 wxToolTip::SetDelay(_arg0
);
2409 wxPy_END_ALLOW_THREADS
;
2410 } Py_INCREF(Py_None
);
2411 _resultobj
= Py_None
;
2415 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2416 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2417 PyObject
* _resultobj
;
2421 PyObject
* _argo0
= 0;
2423 PyObject
* _obj1
= 0;
2424 char *_kwnames
[] = { "window","size", NULL
};
2428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2439 if (! wxSize_helper(_obj1
, &_arg1
))
2443 wxPy_BEGIN_ALLOW_THREADS
;
2444 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2446 wxPy_END_ALLOW_THREADS
;
2448 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2449 _resultobj
= Py_BuildValue("s",_ptemp
);
2452 _resultobj
= Py_None
;
2457 #define delete_wxCaret(_swigobj) (delete _swigobj)
2458 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2459 PyObject
* _resultobj
;
2461 PyObject
* _argo0
= 0;
2462 char *_kwnames
[] = { "self", NULL
};
2465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2468 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2469 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2470 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2475 wxPy_BEGIN_ALLOW_THREADS
;
2476 delete_wxCaret(_arg0
);
2478 wxPy_END_ALLOW_THREADS
;
2479 } Py_INCREF(Py_None
);
2480 _resultobj
= Py_None
;
2484 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2485 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2486 PyObject
* _resultobj
;
2489 PyObject
* _argo0
= 0;
2490 char *_kwnames
[] = { "self", NULL
};
2493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2503 wxPy_BEGIN_ALLOW_THREADS
;
2504 _result
= (bool )wxCaret_IsOk(_arg0
);
2506 wxPy_END_ALLOW_THREADS
;
2507 } _resultobj
= Py_BuildValue("i",_result
);
2511 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2512 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2513 PyObject
* _resultobj
;
2516 PyObject
* _argo0
= 0;
2517 char *_kwnames
[] = { "self", NULL
};
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2530 wxPy_BEGIN_ALLOW_THREADS
;
2531 _result
= (bool )wxCaret_IsVisible(_arg0
);
2533 wxPy_END_ALLOW_THREADS
;
2534 } _resultobj
= Py_BuildValue("i",_result
);
2538 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2539 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2540 PyObject
* _resultobj
;
2546 PyObject
* _argo0
= 0;
2547 char *_kwnames
[] = { "self", NULL
};
2556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2566 wxPy_BEGIN_ALLOW_THREADS
;
2567 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2569 wxPy_END_ALLOW_THREADS
;
2570 } Py_INCREF(Py_None
);
2571 _resultobj
= Py_None
;
2574 o
= PyInt_FromLong((long) (*_arg1
));
2575 _resultobj
= t_output_helper(_resultobj
, o
);
2579 o
= PyInt_FromLong((long) (*_arg2
));
2580 _resultobj
= t_output_helper(_resultobj
, o
);
2585 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2586 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2587 PyObject
* _resultobj
;
2590 PyObject
* _argo0
= 0;
2591 char *_kwnames
[] = { "self", NULL
};
2595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2598 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2599 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2605 wxPy_BEGIN_ALLOW_THREADS
;
2606 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2608 wxPy_END_ALLOW_THREADS
;
2609 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2610 _resultobj
= Py_BuildValue("s",_ptemp
);
2614 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2615 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2616 PyObject
* _resultobj
;
2622 PyObject
* _argo0
= 0;
2623 char *_kwnames
[] = { "self", NULL
};
2632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2642 wxPy_BEGIN_ALLOW_THREADS
;
2643 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2645 wxPy_END_ALLOW_THREADS
;
2646 } Py_INCREF(Py_None
);
2647 _resultobj
= Py_None
;
2650 o
= PyInt_FromLong((long) (*_arg1
));
2651 _resultobj
= t_output_helper(_resultobj
, o
);
2655 o
= PyInt_FromLong((long) (*_arg2
));
2656 _resultobj
= t_output_helper(_resultobj
, o
);
2661 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2662 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2663 PyObject
* _resultobj
;
2666 PyObject
* _argo0
= 0;
2667 char *_kwnames
[] = { "self", NULL
};
2671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2681 wxPy_BEGIN_ALLOW_THREADS
;
2682 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2684 wxPy_END_ALLOW_THREADS
;
2685 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2686 _resultobj
= Py_BuildValue("s",_ptemp
);
2690 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2691 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2692 PyObject
* _resultobj
;
2695 PyObject
* _argo0
= 0;
2696 char *_kwnames
[] = { "self", NULL
};
2699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2709 wxPy_BEGIN_ALLOW_THREADS
;
2710 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2712 wxPy_END_ALLOW_THREADS
;
2713 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2717 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2718 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2719 PyObject
* _resultobj
;
2723 PyObject
* _argo0
= 0;
2724 char *_kwnames
[] = { "self","x","y", NULL
};
2727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2730 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2731 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2732 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2737 wxPy_BEGIN_ALLOW_THREADS
;
2738 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2740 wxPy_END_ALLOW_THREADS
;
2741 } Py_INCREF(Py_None
);
2742 _resultobj
= Py_None
;
2746 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2747 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2748 PyObject
* _resultobj
;
2751 PyObject
* _argo0
= 0;
2753 PyObject
* _obj1
= 0;
2754 char *_kwnames
[] = { "self","pt", NULL
};
2757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2760 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2761 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2762 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2768 if (! wxPoint_helper(_obj1
, &_arg1
))
2772 wxPy_BEGIN_ALLOW_THREADS
;
2773 wxCaret_Move(_arg0
,*_arg1
);
2775 wxPy_END_ALLOW_THREADS
;
2776 } Py_INCREF(Py_None
);
2777 _resultobj
= Py_None
;
2781 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2782 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2783 PyObject
* _resultobj
;
2787 PyObject
* _argo0
= 0;
2788 char *_kwnames
[] = { "self","width","height", NULL
};
2791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2801 wxPy_BEGIN_ALLOW_THREADS
;
2802 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2804 wxPy_END_ALLOW_THREADS
;
2805 } Py_INCREF(Py_None
);
2806 _resultobj
= Py_None
;
2810 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2811 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2812 PyObject
* _resultobj
;
2815 PyObject
* _argo0
= 0;
2817 PyObject
* _obj1
= 0;
2818 char *_kwnames
[] = { "self","size", NULL
};
2821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2824 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2825 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2826 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2832 if (! wxSize_helper(_obj1
, &_arg1
))
2836 wxPy_BEGIN_ALLOW_THREADS
;
2837 wxCaret_SetSize(_arg0
,*_arg1
);
2839 wxPy_END_ALLOW_THREADS
;
2840 } Py_INCREF(Py_None
);
2841 _resultobj
= Py_None
;
2845 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2846 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2847 PyObject
* _resultobj
;
2849 int _arg1
= (int ) TRUE
;
2850 PyObject
* _argo0
= 0;
2851 char *_kwnames
[] = { "self","show", NULL
};
2854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
2857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2864 wxPy_BEGIN_ALLOW_THREADS
;
2865 wxCaret_Show(_arg0
,_arg1
);
2867 wxPy_END_ALLOW_THREADS
;
2868 } Py_INCREF(Py_None
);
2869 _resultobj
= Py_None
;
2873 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2874 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2875 PyObject
* _resultobj
;
2877 PyObject
* _argo0
= 0;
2878 char *_kwnames
[] = { "self", NULL
};
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
2884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
2891 wxPy_BEGIN_ALLOW_THREADS
;
2892 wxCaret_Hide(_arg0
);
2894 wxPy_END_ALLOW_THREADS
;
2895 } Py_INCREF(Py_None
);
2896 _resultobj
= Py_None
;
2900 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
2901 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2902 PyObject
* _resultobj
;
2903 wxPyFontEnumerator
* _result
;
2904 char *_kwnames
[] = { NULL
};
2908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
2911 wxPy_BEGIN_ALLOW_THREADS
;
2912 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
2914 wxPy_END_ALLOW_THREADS
;
2916 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
2917 _resultobj
= Py_BuildValue("s",_ptemp
);
2920 _resultobj
= Py_None
;
2925 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
2926 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2927 PyObject
* _resultobj
;
2928 wxPyFontEnumerator
* _arg0
;
2929 PyObject
* _argo0
= 0;
2930 char *_kwnames
[] = { "self", NULL
};
2933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
2936 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2937 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2938 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
2943 wxPy_BEGIN_ALLOW_THREADS
;
2944 delete_wxPyFontEnumerator(_arg0
);
2946 wxPy_END_ALLOW_THREADS
;
2947 } Py_INCREF(Py_None
);
2948 _resultobj
= Py_None
;
2952 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2953 static PyObject
*_wrap_wxFontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2954 PyObject
* _resultobj
;
2955 wxPyFontEnumerator
* _arg0
;
2958 PyObject
* _argo0
= 0;
2959 PyObject
* _obj1
= 0;
2960 PyObject
* _obj2
= 0;
2961 char *_kwnames
[] = { "self","self","_class", NULL
};
2964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFontEnumerator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p.");
2980 wxPy_BEGIN_ALLOW_THREADS
;
2981 wxFontEnumerator__setCallbackInfo(_arg0
,_arg1
,_arg2
);
2983 wxPy_END_ALLOW_THREADS
;
2984 } Py_INCREF(Py_None
);
2985 _resultobj
= Py_None
;
2989 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
2990 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2991 PyObject
* _resultobj
;
2993 wxPyFontEnumerator
* _arg0
;
2994 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
2995 bool _arg2
= (bool ) FALSE
;
2996 PyObject
* _argo0
= 0;
2997 int tempbool2
= (int) FALSE
;
2998 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
3001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3010 _arg2
= (bool ) tempbool2
;
3012 wxPy_BEGIN_ALLOW_THREADS
;
3013 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
3015 wxPy_END_ALLOW_THREADS
;
3016 } _resultobj
= Py_BuildValue("i",_result
);
3020 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3021 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3022 PyObject
* _resultobj
;
3024 wxPyFontEnumerator
* _arg0
;
3025 char * _arg1
= (char *) "";
3026 PyObject
* _argo0
= 0;
3027 char *_kwnames
[] = { "self","facename", NULL
};
3030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
3033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3040 wxPy_BEGIN_ALLOW_THREADS
;
3041 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
3043 wxPy_END_ALLOW_THREADS
;
3044 } _resultobj
= Py_BuildValue("i",_result
);
3048 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3049 wxArrayString
* arr
= self
->GetEncodings();
3050 PyObject
* list
= PyList_New(0);
3051 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3052 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3055 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3056 PyObject
* _resultobj
;
3058 wxPyFontEnumerator
* _arg0
;
3059 PyObject
* _argo0
= 0;
3060 char *_kwnames
[] = { "self", NULL
};
3063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3066 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3067 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3068 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3073 wxPy_BEGIN_ALLOW_THREADS
;
3074 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3076 wxPy_END_ALLOW_THREADS
;
3078 _resultobj
= _result
;
3083 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3084 wxArrayString
* arr
= self
->GetFacenames();
3085 PyObject
* list
= PyList_New(0);
3086 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3087 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3090 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
* _resultobj
;
3093 wxPyFontEnumerator
* _arg0
;
3094 PyObject
* _argo0
= 0;
3095 char *_kwnames
[] = { "self", NULL
};
3098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3108 wxPy_BEGIN_ALLOW_THREADS
;
3109 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3111 wxPy_END_ALLOW_THREADS
;
3113 _resultobj
= _result
;
3118 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3119 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3120 PyObject
* _resultobj
;
3121 wxBusyCursor
* _result
;
3122 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3123 PyObject
* _argo0
= 0;
3124 char *_kwnames
[] = { "cursor", NULL
};
3128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3131 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3132 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3133 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3138 wxPy_BEGIN_ALLOW_THREADS
;
3139 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3141 wxPy_END_ALLOW_THREADS
;
3143 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3144 _resultobj
= Py_BuildValue("s",_ptemp
);
3147 _resultobj
= Py_None
;
3152 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3153 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3154 PyObject
* _resultobj
;
3155 wxBusyCursor
* _arg0
;
3156 PyObject
* _argo0
= 0;
3157 char *_kwnames
[] = { "self", NULL
};
3160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3170 wxPy_BEGIN_ALLOW_THREADS
;
3171 delete_wxBusyCursor(_arg0
);
3173 wxPy_END_ALLOW_THREADS
;
3174 } Py_INCREF(Py_None
);
3175 _resultobj
= Py_None
;
3179 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3180 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3181 PyObject
* _resultobj
;
3182 wxWindowDisabler
* _result
;
3183 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3184 PyObject
* _argo0
= 0;
3185 char *_kwnames
[] = { "winToSkip", NULL
};
3189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3199 wxPy_BEGIN_ALLOW_THREADS
;
3200 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3202 wxPy_END_ALLOW_THREADS
;
3204 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3205 _resultobj
= Py_BuildValue("s",_ptemp
);
3208 _resultobj
= Py_None
;
3213 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3214 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3215 PyObject
* _resultobj
;
3216 wxWindowDisabler
* _arg0
;
3217 PyObject
* _argo0
= 0;
3218 char *_kwnames
[] = { "self", NULL
};
3221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3224 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3225 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3226 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3231 wxPy_BEGIN_ALLOW_THREADS
;
3232 delete_wxWindowDisabler(_arg0
);
3234 wxPy_END_ALLOW_THREADS
;
3235 } Py_INCREF(Py_None
);
3236 _resultobj
= Py_None
;
3240 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3241 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3242 PyObject
* _resultobj
;
3243 wxMutexGuiLocker
* _result
;
3244 char *_kwnames
[] = { NULL
};
3248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3251 wxPy_BEGIN_ALLOW_THREADS
;
3252 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3254 wxPy_END_ALLOW_THREADS
;
3256 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3257 _resultobj
= Py_BuildValue("s",_ptemp
);
3260 _resultobj
= Py_None
;
3265 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3266 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3267 PyObject
* _resultobj
;
3268 wxMutexGuiLocker
* _arg0
;
3269 PyObject
* _argo0
= 0;
3270 char *_kwnames
[] = { "self", NULL
};
3273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3283 wxPy_BEGIN_ALLOW_THREADS
;
3284 delete_wxMutexGuiLocker(_arg0
);
3286 wxPy_END_ALLOW_THREADS
;
3287 } Py_INCREF(Py_None
);
3288 _resultobj
= Py_None
;
3292 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3293 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3294 PyObject
* _resultobj
;
3295 wxTipProvider
* _arg0
;
3296 PyObject
* _argo0
= 0;
3297 char *_kwnames
[] = { "self", NULL
};
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3303 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3304 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3305 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3310 wxPy_BEGIN_ALLOW_THREADS
;
3311 delete_wxTipProvider(_arg0
);
3313 wxPy_END_ALLOW_THREADS
;
3314 } Py_INCREF(Py_None
);
3315 _resultobj
= Py_None
;
3319 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3320 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3321 PyObject
* _resultobj
;
3323 wxTipProvider
* _arg0
;
3324 PyObject
* _argo0
= 0;
3325 char *_kwnames
[] = { "self", NULL
};
3328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3331 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3332 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3338 wxPy_BEGIN_ALLOW_THREADS
;
3339 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3341 wxPy_END_ALLOW_THREADS
;
3343 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3351 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3352 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(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_GetCurrentTip",_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_GetCurrentTip. Expected _wxTipProvider_p.");
3370 wxPy_BEGIN_ALLOW_THREADS
;
3371 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3373 wxPy_END_ALLOW_THREADS
;
3374 } _resultobj
= Py_BuildValue("i",_result
);
3378 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3379 wxPyTipProvider
*src
;
3380 wxTipProvider
*dest
;
3381 src
= (wxPyTipProvider
*) ptr
;
3382 dest
= (wxTipProvider
*) src
;
3383 return (void *) dest
;
3386 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3387 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3388 PyObject
* _resultobj
;
3389 wxPyTipProvider
* _result
;
3391 char *_kwnames
[] = { "currentTip", NULL
};
3395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3398 wxPy_BEGIN_ALLOW_THREADS
;
3399 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3401 wxPy_END_ALLOW_THREADS
;
3403 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3404 _resultobj
= Py_BuildValue("s",_ptemp
);
3407 _resultobj
= Py_None
;
3412 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3413 wxGenericDragImage
*src
;
3415 src
= (wxGenericDragImage
*) ptr
;
3416 dest
= (wxObject
*) src
;
3417 return (void *) dest
;
3420 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3421 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3422 PyObject
* _resultobj
;
3423 wxGenericDragImage
* _result
;
3425 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3426 PyObject
* _argo0
= 0;
3427 PyObject
* _argo1
= 0;
3428 char *_kwnames
[] = { "image","cursor", NULL
};
3432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3442 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3443 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3449 wxPy_BEGIN_ALLOW_THREADS
;
3450 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3452 wxPy_END_ALLOW_THREADS
;
3454 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3455 _resultobj
= Py_BuildValue("s",_ptemp
);
3458 _resultobj
= Py_None
;
3463 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3464 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
* _resultobj
;
3466 wxGenericDragImage
* _result
;
3468 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3469 PyObject
* _argo0
= 0;
3470 PyObject
* _argo1
= 0;
3471 char *_kwnames
[] = { "image","cursor", NULL
};
3475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3485 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3486 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3492 wxPy_BEGIN_ALLOW_THREADS
;
3493 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3495 wxPy_END_ALLOW_THREADS
;
3497 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3498 _resultobj
= Py_BuildValue("s",_ptemp
);
3501 _resultobj
= Py_None
;
3506 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3507 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3508 PyObject
* _resultobj
;
3509 wxGenericDragImage
* _result
;
3511 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3512 PyObject
* _obj0
= 0;
3513 PyObject
* _argo1
= 0;
3514 char *_kwnames
[] = { "str","cursor", NULL
};
3518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3521 #if PYTHON_API_VERSION >= 1009
3522 char* tmpPtr
; int tmpSize
;
3523 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3524 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3527 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3529 _arg0
= new wxString(tmpPtr
, tmpSize
);
3531 if (!PyString_Check(_obj0
)) {
3532 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3535 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3539 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3540 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3546 wxPy_BEGIN_ALLOW_THREADS
;
3547 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3549 wxPy_END_ALLOW_THREADS
;
3551 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3552 _resultobj
= Py_BuildValue("s",_ptemp
);
3555 _resultobj
= Py_None
;
3564 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3565 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3566 PyObject
* _resultobj
;
3567 wxGenericDragImage
* _result
;
3569 wxTreeItemId
* _arg1
;
3570 PyObject
* _argo0
= 0;
3571 PyObject
* _argo1
= 0;
3572 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3579 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3580 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3581 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3586 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3587 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3593 wxPy_BEGIN_ALLOW_THREADS
;
3594 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3596 wxPy_END_ALLOW_THREADS
;
3598 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3599 _resultobj
= Py_BuildValue("s",_ptemp
);
3602 _resultobj
= Py_None
;
3607 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3608 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3609 PyObject
* _resultobj
;
3610 wxGenericDragImage
* _result
;
3613 PyObject
* _argo0
= 0;
3614 char *_kwnames
[] = { "listCtrl","id", NULL
};
3618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3628 wxPy_BEGIN_ALLOW_THREADS
;
3629 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3631 wxPy_END_ALLOW_THREADS
;
3633 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3634 _resultobj
= Py_BuildValue("s",_ptemp
);
3637 _resultobj
= Py_None
;
3642 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3643 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3644 PyObject
* _resultobj
;
3645 wxGenericDragImage
* _arg0
;
3646 PyObject
* _argo0
= 0;
3647 char *_kwnames
[] = { "self", NULL
};
3650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3660 wxPy_BEGIN_ALLOW_THREADS
;
3661 delete_wxGenericDragImage(_arg0
);
3663 wxPy_END_ALLOW_THREADS
;
3664 } Py_INCREF(Py_None
);
3665 _resultobj
= Py_None
;
3669 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3670 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3671 PyObject
* _resultobj
;
3672 wxGenericDragImage
* _arg0
;
3674 PyObject
* _argo0
= 0;
3675 PyObject
* _argo1
= 0;
3676 char *_kwnames
[] = { "self","bitmap", NULL
};
3679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3689 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3690 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3696 wxPy_BEGIN_ALLOW_THREADS
;
3697 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3699 wxPy_END_ALLOW_THREADS
;
3700 } Py_INCREF(Py_None
);
3701 _resultobj
= Py_None
;
3705 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3706 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
* _resultobj
;
3709 wxGenericDragImage
* _arg0
;
3712 bool _arg3
= (bool ) FALSE
;
3713 wxRect
* _arg4
= (wxRect
*) NULL
;
3714 PyObject
* _argo0
= 0;
3716 PyObject
* _obj1
= 0;
3717 PyObject
* _argo2
= 0;
3718 int tempbool3
= (int) FALSE
;
3720 PyObject
* _obj4
= 0;
3721 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3735 if (! wxPoint_helper(_obj1
, &_arg1
))
3739 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3740 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3745 _arg3
= (bool ) tempbool3
;
3749 if (! wxRect_helper(_obj4
, &_arg4
))
3753 wxPy_BEGIN_ALLOW_THREADS
;
3754 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3756 wxPy_END_ALLOW_THREADS
;
3757 } _resultobj
= Py_BuildValue("i",_result
);
3761 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3762 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
* _resultobj
;
3765 wxGenericDragImage
* _arg0
;
3769 PyObject
* _argo0
= 0;
3771 PyObject
* _obj1
= 0;
3772 PyObject
* _argo2
= 0;
3773 PyObject
* _argo3
= 0;
3774 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3788 if (! wxPoint_helper(_obj1
, &_arg1
))
3792 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3793 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3799 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3800 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3806 wxPy_BEGIN_ALLOW_THREADS
;
3807 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3809 wxPy_END_ALLOW_THREADS
;
3810 } _resultobj
= Py_BuildValue("i",_result
);
3814 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3815 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
* _resultobj
;
3818 wxGenericDragImage
* _arg0
;
3819 PyObject
* _argo0
= 0;
3820 char *_kwnames
[] = { "self", NULL
};
3823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3833 wxPy_BEGIN_ALLOW_THREADS
;
3834 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3836 wxPy_END_ALLOW_THREADS
;
3837 } _resultobj
= Py_BuildValue("i",_result
);
3841 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3842 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
* _resultobj
;
3845 wxGenericDragImage
* _arg0
;
3847 PyObject
* _argo0
= 0;
3849 PyObject
* _obj1
= 0;
3850 char *_kwnames
[] = { "self","pt", NULL
};
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3864 if (! wxPoint_helper(_obj1
, &_arg1
))
3868 wxPy_BEGIN_ALLOW_THREADS
;
3869 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3871 wxPy_END_ALLOW_THREADS
;
3872 } _resultobj
= Py_BuildValue("i",_result
);
3876 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3877 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3878 PyObject
* _resultobj
;
3880 wxGenericDragImage
* _arg0
;
3881 PyObject
* _argo0
= 0;
3882 char *_kwnames
[] = { "self", NULL
};
3885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
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_Show. Expected _wxGenericDragImage_p.");
3895 wxPy_BEGIN_ALLOW_THREADS
;
3896 _result
= (bool )wxDragImage_Show(_arg0
);
3898 wxPy_END_ALLOW_THREADS
;
3899 } _resultobj
= Py_BuildValue("i",_result
);
3903 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3904 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3905 PyObject
* _resultobj
;
3907 wxGenericDragImage
* _arg0
;
3908 PyObject
* _argo0
= 0;
3909 char *_kwnames
[] = { "self", NULL
};
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3922 wxPy_BEGIN_ALLOW_THREADS
;
3923 _result
= (bool )wxDragImage_Hide(_arg0
);
3925 wxPy_END_ALLOW_THREADS
;
3926 } _resultobj
= Py_BuildValue("i",_result
);
3930 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3931 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3932 PyObject
* _resultobj
;
3934 wxGenericDragImage
* _arg0
;
3936 PyObject
* _argo0
= 0;
3938 PyObject
* _obj1
= 0;
3939 char *_kwnames
[] = { "self","pos", NULL
};
3943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
3946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
3954 if (! wxPoint_helper(_obj1
, &_arg1
))
3958 wxPy_BEGIN_ALLOW_THREADS
;
3959 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
3961 wxPy_END_ALLOW_THREADS
;
3962 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3963 _resultobj
= Py_BuildValue("s",_ptemp
);
3967 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3968 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3969 PyObject
* _resultobj
;
3971 wxGenericDragImage
* _arg0
;
3976 PyObject
* _argo0
= 0;
3978 PyObject
* _obj1
= 0;
3980 PyObject
* _obj2
= 0;
3983 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
3986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
3989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
3997 if (! wxPoint_helper(_obj1
, &_arg1
))
4002 if (! wxPoint_helper(_obj2
, &_arg2
))
4005 _arg3
= (bool ) tempbool3
;
4006 _arg4
= (bool ) tempbool4
;
4008 wxPy_BEGIN_ALLOW_THREADS
;
4009 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4011 wxPy_END_ALLOW_THREADS
;
4012 } _resultobj
= Py_BuildValue("i",_result
);
4016 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4019 src
= (wxPyTimer
*) ptr
;
4020 dest
= (wxObject
*) src
;
4021 return (void *) dest
;
4024 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4025 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
* _resultobj
;
4027 wxPyTimer
* _result
;
4029 PyObject
* _obj0
= 0;
4030 char *_kwnames
[] = { "notify", NULL
};
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4040 wxPy_BEGIN_ALLOW_THREADS
;
4041 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4043 wxPy_END_ALLOW_THREADS
;
4045 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4046 _resultobj
= Py_BuildValue("s",_ptemp
);
4049 _resultobj
= Py_None
;
4054 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4055 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
* _resultobj
;
4058 PyObject
* _argo0
= 0;
4059 char *_kwnames
[] = { "self", NULL
};
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4072 wxPy_BEGIN_ALLOW_THREADS
;
4073 delete_wxPyTimer(_arg0
);
4075 wxPy_END_ALLOW_THREADS
;
4076 } Py_INCREF(Py_None
);
4077 _resultobj
= Py_None
;
4081 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4082 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4083 PyObject
* _resultobj
;
4086 PyObject
* _argo0
= 0;
4087 char *_kwnames
[] = { "self", NULL
};
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4100 wxPy_BEGIN_ALLOW_THREADS
;
4101 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4103 wxPy_END_ALLOW_THREADS
;
4104 } _resultobj
= Py_BuildValue("i",_result
);
4108 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4109 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
* _resultobj
;
4113 PyObject
* _argo0
= 0;
4114 char *_kwnames
[] = { "self", NULL
};
4117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4120 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4121 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4122 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4127 wxPy_BEGIN_ALLOW_THREADS
;
4128 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4130 wxPy_END_ALLOW_THREADS
;
4131 } _resultobj
= Py_BuildValue("i",_result
);
4135 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4136 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
* _resultobj
;
4140 PyObject
* _argo0
= 0;
4141 char *_kwnames
[] = { "self", NULL
};
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4154 wxPy_BEGIN_ALLOW_THREADS
;
4155 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4157 wxPy_END_ALLOW_THREADS
;
4158 } _resultobj
= Py_BuildValue("i",_result
);
4162 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4163 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4164 PyObject
* _resultobj
;
4166 wxEvtHandler
* _arg1
;
4167 int _arg2
= (int ) -1;
4168 PyObject
* _argo0
= 0;
4169 PyObject
* _argo1
= 0;
4170 char *_kwnames
[] = { "self","owner","id", NULL
};
4173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4176 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4177 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4178 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4183 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4184 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4190 wxPy_BEGIN_ALLOW_THREADS
;
4191 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4193 wxPy_END_ALLOW_THREADS
;
4194 } Py_INCREF(Py_None
);
4195 _resultobj
= Py_None
;
4199 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4200 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4201 PyObject
* _resultobj
;
4203 int _arg1
= (int ) -1;
4204 int _arg2
= (int ) FALSE
;
4205 PyObject
* _argo0
= 0;
4206 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4212 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4213 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4219 wxPy_BEGIN_ALLOW_THREADS
;
4220 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4222 wxPy_END_ALLOW_THREADS
;
4223 } Py_INCREF(Py_None
);
4224 _resultobj
= Py_None
;
4228 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4229 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
* _resultobj
;
4232 PyObject
* _argo0
= 0;
4233 char *_kwnames
[] = { "self", NULL
};
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4246 wxPy_BEGIN_ALLOW_THREADS
;
4247 wxPyTimer_Stop(_arg0
);
4249 wxPy_END_ALLOW_THREADS
;
4250 } Py_INCREF(Py_None
);
4251 _resultobj
= Py_None
;
4255 #define new_wxLog() (new wxLog())
4256 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4257 PyObject
* _resultobj
;
4259 char *_kwnames
[] = { NULL
};
4263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4266 wxPy_BEGIN_ALLOW_THREADS
;
4267 _result
= (wxLog
*)new_wxLog();
4269 wxPy_END_ALLOW_THREADS
;
4271 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4272 _resultobj
= Py_BuildValue("s",_ptemp
);
4275 _resultobj
= Py_None
;
4280 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4281 PyObject
* _resultobj
;
4283 char *_kwnames
[] = { NULL
};
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4289 wxPy_BEGIN_ALLOW_THREADS
;
4290 _result
= (bool )wxLog::IsEnabled();
4292 wxPy_END_ALLOW_THREADS
;
4293 } _resultobj
= Py_BuildValue("i",_result
);
4297 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4298 PyObject
* _resultobj
;
4300 bool _arg0
= (bool ) TRUE
;
4301 int tempbool0
= (int) TRUE
;
4302 char *_kwnames
[] = { "doIt", NULL
};
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4307 _arg0
= (bool ) tempbool0
;
4309 wxPy_BEGIN_ALLOW_THREADS
;
4310 _result
= (bool )wxLog::EnableLogging(_arg0
);
4312 wxPy_END_ALLOW_THREADS
;
4313 } _resultobj
= Py_BuildValue("i",_result
);
4317 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4318 PyObject
* _resultobj
;
4321 int _arg2
= (int ) 0;
4322 PyObject
* _argo0
= 0;
4323 char *_kwnames
[] = { "level","szString","t", NULL
};
4326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4329 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4330 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4331 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4336 wxPy_BEGIN_ALLOW_THREADS
;
4337 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
4339 wxPy_END_ALLOW_THREADS
;
4340 } Py_INCREF(Py_None
);
4341 _resultobj
= Py_None
;
4345 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4346 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4347 PyObject
* _resultobj
;
4349 PyObject
* _argo0
= 0;
4350 char *_kwnames
[] = { "self", NULL
};
4353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4356 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4357 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4358 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4363 wxPy_BEGIN_ALLOW_THREADS
;
4366 wxPy_END_ALLOW_THREADS
;
4367 } Py_INCREF(Py_None
);
4368 _resultobj
= Py_None
;
4372 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4373 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
* _resultobj
;
4377 PyObject
* _argo0
= 0;
4378 char *_kwnames
[] = { "self", NULL
};
4381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4391 wxPy_BEGIN_ALLOW_THREADS
;
4392 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4394 wxPy_END_ALLOW_THREADS
;
4395 } _resultobj
= Py_BuildValue("i",_result
);
4399 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
* _resultobj
;
4401 char *_kwnames
[] = { NULL
};
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4407 wxPy_BEGIN_ALLOW_THREADS
;
4408 wxLog::FlushActive();
4410 wxPy_END_ALLOW_THREADS
;
4411 } Py_INCREF(Py_None
);
4412 _resultobj
= Py_None
;
4416 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
* _resultobj
;
4419 char *_kwnames
[] = { NULL
};
4423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4426 wxPy_BEGIN_ALLOW_THREADS
;
4427 _result
= (wxLog
*)wxLog::GetActiveTarget();
4429 wxPy_END_ALLOW_THREADS
;
4431 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4432 _resultobj
= Py_BuildValue("s",_ptemp
);
4435 _resultobj
= Py_None
;
4440 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4441 PyObject
* _resultobj
;
4444 PyObject
* _argo0
= 0;
4445 char *_kwnames
[] = { "pLogger", NULL
};
4449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4459 wxPy_BEGIN_ALLOW_THREADS
;
4460 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4462 wxPy_END_ALLOW_THREADS
;
4464 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4465 _resultobj
= Py_BuildValue("s",_ptemp
);
4468 _resultobj
= Py_None
;
4473 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4474 PyObject
* _resultobj
;
4475 char *_kwnames
[] = { NULL
};
4478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4481 wxPy_BEGIN_ALLOW_THREADS
;
4484 wxPy_END_ALLOW_THREADS
;
4485 } Py_INCREF(Py_None
);
4486 _resultobj
= Py_None
;
4490 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
* _resultobj
;
4492 char *_kwnames
[] = { NULL
};
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4498 wxPy_BEGIN_ALLOW_THREADS
;
4501 wxPy_END_ALLOW_THREADS
;
4502 } Py_INCREF(Py_None
);
4503 _resultobj
= Py_None
;
4507 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4508 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
* _resultobj
;
4511 bool _arg1
= (bool ) TRUE
;
4512 PyObject
* _argo0
= 0;
4513 int tempbool1
= (int) TRUE
;
4514 char *_kwnames
[] = { "self","bVerbose", NULL
};
4517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4526 _arg1
= (bool ) tempbool1
;
4528 wxPy_BEGIN_ALLOW_THREADS
;
4529 wxLog_SetVerbose(_arg0
,_arg1
);
4531 wxPy_END_ALLOW_THREADS
;
4532 } Py_INCREF(Py_None
);
4533 _resultobj
= Py_None
;
4537 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
* _resultobj
;
4539 char *_kwnames
[] = { NULL
};
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4545 wxPy_BEGIN_ALLOW_THREADS
;
4546 wxLog::DontCreateOnDemand();
4548 wxPy_END_ALLOW_THREADS
;
4549 } Py_INCREF(Py_None
);
4550 _resultobj
= Py_None
;
4554 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
* _resultobj
;
4556 wxTraceMask
* _arg0
;
4557 PyObject
* _argo0
= 0;
4558 char *_kwnames
[] = { "ulMask", NULL
};
4561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4571 wxPy_BEGIN_ALLOW_THREADS
;
4572 wxLog::SetTraceMask(*_arg0
);
4574 wxPy_END_ALLOW_THREADS
;
4575 } Py_INCREF(Py_None
);
4576 _resultobj
= Py_None
;
4580 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
* _resultobj
;
4583 PyObject
* _obj0
= 0;
4584 char *_kwnames
[] = { "str", NULL
};
4587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4590 #if PYTHON_API_VERSION >= 1009
4591 char* tmpPtr
; int tmpSize
;
4592 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4593 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4596 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4598 _arg0
= new wxString(tmpPtr
, tmpSize
);
4600 if (!PyString_Check(_obj0
)) {
4601 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4604 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4608 wxPy_BEGIN_ALLOW_THREADS
;
4609 wxLog::AddTraceMask(*_arg0
);
4611 wxPy_END_ALLOW_THREADS
;
4612 } Py_INCREF(Py_None
);
4613 _resultobj
= Py_None
;
4621 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
* _resultobj
;
4624 PyObject
* _obj0
= 0;
4625 char *_kwnames
[] = { "str", NULL
};
4628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4631 #if PYTHON_API_VERSION >= 1009
4632 char* tmpPtr
; int tmpSize
;
4633 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4634 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4637 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4639 _arg0
= new wxString(tmpPtr
, tmpSize
);
4641 if (!PyString_Check(_obj0
)) {
4642 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4645 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4649 wxPy_BEGIN_ALLOW_THREADS
;
4650 wxLog::RemoveTraceMask(*_arg0
);
4652 wxPy_END_ALLOW_THREADS
;
4653 } Py_INCREF(Py_None
);
4654 _resultobj
= Py_None
;
4662 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
* _resultobj
;
4664 char *_kwnames
[] = { NULL
};
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
4670 wxPy_BEGIN_ALLOW_THREADS
;
4671 wxLog::ClearTraceMasks();
4673 wxPy_END_ALLOW_THREADS
;
4674 } Py_INCREF(Py_None
);
4675 _resultobj
= Py_None
;
4679 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4680 PyObject
* _resultobj
;
4682 char *_kwnames
[] = { "ts", NULL
};
4685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_SetTimestamp",_kwnames
,&_arg0
))
4688 wxPy_BEGIN_ALLOW_THREADS
;
4689 wxLog::SetTimestamp(_arg0
);
4691 wxPy_END_ALLOW_THREADS
;
4692 } Py_INCREF(Py_None
);
4693 _resultobj
= Py_None
;
4697 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4698 PyObject
* _resultobj
;
4700 char *_kwnames
[] = { NULL
};
4703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
4706 wxPy_BEGIN_ALLOW_THREADS
;
4707 _result
= (wxChar
*)wxLog::GetTimestamp();
4709 wxPy_END_ALLOW_THREADS
;
4710 } _resultobj
= Py_BuildValue("s", _result
);
4714 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4715 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4716 PyObject
* _resultobj
;
4719 PyObject
* _argo0
= 0;
4720 char *_kwnames
[] = { "self", NULL
};
4723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4726 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4727 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4728 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4733 wxPy_BEGIN_ALLOW_THREADS
;
4734 _result
= (bool )wxLog_GetVerbose(_arg0
);
4736 wxPy_END_ALLOW_THREADS
;
4737 } _resultobj
= Py_BuildValue("i",_result
);
4741 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
* _resultobj
;
4743 wxTraceMask
* _result
;
4744 char *_kwnames
[] = { NULL
};
4748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4751 wxPy_BEGIN_ALLOW_THREADS
;
4752 _result
= new wxTraceMask (wxLog::GetTraceMask());
4754 wxPy_END_ALLOW_THREADS
;
4755 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
4756 _resultobj
= Py_BuildValue("s",_ptemp
);
4760 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4761 PyObject
* _resultobj
;
4764 char *_kwnames
[] = { "mask", NULL
};
4767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
4770 wxPy_BEGIN_ALLOW_THREADS
;
4771 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
4773 wxPy_END_ALLOW_THREADS
;
4774 } _resultobj
= Py_BuildValue("i",_result
);
4778 static wxString
wxLog_TimeStamp(wxLog
*self
) {
4780 wxLog::TimeStamp(&msg
);
4783 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4784 PyObject
* _resultobj
;
4787 PyObject
* _argo0
= 0;
4788 char *_kwnames
[] = { "self", NULL
};
4791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
4794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
4801 wxPy_BEGIN_ALLOW_THREADS
;
4802 _result
= new wxString (wxLog_TimeStamp(_arg0
));
4804 wxPy_END_ALLOW_THREADS
;
4806 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4814 static void *SwigwxLogStderrTowxLog(void *ptr
) {
4817 src
= (wxLogStderr
*) ptr
;
4818 dest
= (wxLog
*) src
;
4819 return (void *) dest
;
4822 #define new_wxLogStderr() (new wxLogStderr())
4823 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4824 PyObject
* _resultobj
;
4825 wxLogStderr
* _result
;
4826 char *_kwnames
[] = { NULL
};
4830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
4833 wxPy_BEGIN_ALLOW_THREADS
;
4834 _result
= (wxLogStderr
*)new_wxLogStderr();
4836 wxPy_END_ALLOW_THREADS
;
4838 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
4839 _resultobj
= Py_BuildValue("s",_ptemp
);
4842 _resultobj
= Py_None
;
4847 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
4850 src
= (wxLogTextCtrl
*) ptr
;
4851 dest
= (wxLog
*) src
;
4852 return (void *) dest
;
4855 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
4856 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4857 PyObject
* _resultobj
;
4858 wxLogTextCtrl
* _result
;
4860 PyObject
* _argo0
= 0;
4861 char *_kwnames
[] = { "pTextCtrl", NULL
};
4865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
4868 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4869 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4870 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
4875 wxPy_BEGIN_ALLOW_THREADS
;
4876 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
4878 wxPy_END_ALLOW_THREADS
;
4880 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
4881 _resultobj
= Py_BuildValue("s",_ptemp
);
4884 _resultobj
= Py_None
;
4889 static void *SwigwxLogGuiTowxLog(void *ptr
) {
4892 src
= (wxLogGui
*) ptr
;
4893 dest
= (wxLog
*) src
;
4894 return (void *) dest
;
4897 #define new_wxLogGui() (new wxLogGui())
4898 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4899 PyObject
* _resultobj
;
4901 char *_kwnames
[] = { NULL
};
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
4908 wxPy_BEGIN_ALLOW_THREADS
;
4909 _result
= (wxLogGui
*)new_wxLogGui();
4911 wxPy_END_ALLOW_THREADS
;
4913 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
4914 _resultobj
= Py_BuildValue("s",_ptemp
);
4917 _resultobj
= Py_None
;
4922 static void *SwigwxLogWindowTowxLog(void *ptr
) {
4925 src
= (wxLogWindow
*) ptr
;
4926 dest
= (wxLog
*) src
;
4927 return (void *) dest
;
4930 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4931 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4932 PyObject
* _resultobj
;
4933 wxLogWindow
* _result
;
4936 bool _arg2
= (bool ) TRUE
;
4937 bool _arg3
= (bool ) TRUE
;
4938 PyObject
* _argo0
= 0;
4939 int tempbool2
= (int) TRUE
;
4940 int tempbool3
= (int) TRUE
;
4941 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
4945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
4948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
4950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
4954 _arg2
= (bool ) tempbool2
;
4955 _arg3
= (bool ) tempbool3
;
4957 wxPy_BEGIN_ALLOW_THREADS
;
4958 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
4960 wxPy_END_ALLOW_THREADS
;
4962 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
4963 _resultobj
= Py_BuildValue("s",_ptemp
);
4966 _resultobj
= Py_None
;
4971 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4972 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4973 PyObject
* _resultobj
;
4974 wxLogWindow
* _arg0
;
4975 bool _arg1
= (bool ) TRUE
;
4976 PyObject
* _argo0
= 0;
4977 int tempbool1
= (int) TRUE
;
4978 char *_kwnames
[] = { "self","bShow", NULL
};
4981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
4990 _arg1
= (bool ) tempbool1
;
4992 wxPy_BEGIN_ALLOW_THREADS
;
4993 wxLogWindow_Show(_arg0
,_arg1
);
4995 wxPy_END_ALLOW_THREADS
;
4996 } Py_INCREF(Py_None
);
4997 _resultobj
= Py_None
;
5001 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5002 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
* _resultobj
;
5005 wxLogWindow
* _arg0
;
5006 PyObject
* _argo0
= 0;
5007 char *_kwnames
[] = { "self", NULL
};
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5020 wxPy_BEGIN_ALLOW_THREADS
;
5021 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5023 wxPy_END_ALLOW_THREADS
;
5024 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5028 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5029 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5030 PyObject
* _resultobj
;
5032 wxLogWindow
* _arg0
;
5033 PyObject
* _argo0
= 0;
5034 char *_kwnames
[] = { "self", NULL
};
5038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5048 wxPy_BEGIN_ALLOW_THREADS
;
5049 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5051 wxPy_END_ALLOW_THREADS
;
5053 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5054 _resultobj
= Py_BuildValue("s",_ptemp
);
5057 _resultobj
= Py_None
;
5062 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5063 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
* _resultobj
;
5066 wxLogWindow
* _arg0
;
5067 PyObject
* _argo0
= 0;
5068 char *_kwnames
[] = { "self", NULL
};
5071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5081 wxPy_BEGIN_ALLOW_THREADS
;
5082 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5084 wxPy_END_ALLOW_THREADS
;
5085 } _resultobj
= Py_BuildValue("i",_result
);
5089 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5090 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
* _resultobj
;
5092 wxLogWindow
* _arg0
;
5094 PyObject
* _argo0
= 0;
5096 char *_kwnames
[] = { "self","bDoPass", NULL
};
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5108 _arg1
= (bool ) tempbool1
;
5110 wxPy_BEGIN_ALLOW_THREADS
;
5111 wxLogWindow_PassMessages(_arg0
,_arg1
);
5113 wxPy_END_ALLOW_THREADS
;
5114 } Py_INCREF(Py_None
);
5115 _resultobj
= Py_None
;
5119 #define new_wxLogNull() (new wxLogNull())
5120 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
* _resultobj
;
5122 wxLogNull
* _result
;
5123 char *_kwnames
[] = { NULL
};
5127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5130 wxPy_BEGIN_ALLOW_THREADS
;
5131 _result
= (wxLogNull
*)new_wxLogNull();
5133 wxPy_END_ALLOW_THREADS
;
5135 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5136 _resultobj
= Py_BuildValue("s",_ptemp
);
5139 _resultobj
= Py_None
;
5144 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5145 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
* _resultobj
;
5148 PyObject
* _argo0
= 0;
5149 char *_kwnames
[] = { "self", NULL
};
5152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5162 wxPy_BEGIN_ALLOW_THREADS
;
5163 delete_wxLogNull(_arg0
);
5165 wxPy_END_ALLOW_THREADS
;
5166 } Py_INCREF(Py_None
);
5167 _resultobj
= Py_None
;
5171 static void *SwigwxLogChainTowxLog(void *ptr
) {
5174 src
= (wxLogChain
*) ptr
;
5175 dest
= (wxLog
*) src
;
5176 return (void *) dest
;
5179 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5180 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
* _resultobj
;
5182 wxLogChain
* _result
;
5184 PyObject
* _argo0
= 0;
5185 char *_kwnames
[] = { "logger", NULL
};
5189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5192 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5193 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5194 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5199 wxPy_BEGIN_ALLOW_THREADS
;
5200 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5202 wxPy_END_ALLOW_THREADS
;
5204 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5205 _resultobj
= Py_BuildValue("s",_ptemp
);
5208 _resultobj
= Py_None
;
5213 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5214 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5215 PyObject
* _resultobj
;
5218 PyObject
* _argo0
= 0;
5219 PyObject
* _argo1
= 0;
5220 char *_kwnames
[] = { "self","logger", NULL
};
5223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5233 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5234 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5235 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5240 wxPy_BEGIN_ALLOW_THREADS
;
5241 wxLogChain_SetLog(_arg0
,_arg1
);
5243 wxPy_END_ALLOW_THREADS
;
5244 } Py_INCREF(Py_None
);
5245 _resultobj
= Py_None
;
5249 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5250 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
* _resultobj
;
5254 PyObject
* _argo0
= 0;
5256 char *_kwnames
[] = { "self","bDoPass", NULL
};
5259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5262 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5263 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5268 _arg1
= (bool ) tempbool1
;
5270 wxPy_BEGIN_ALLOW_THREADS
;
5271 wxLogChain_PassMessages(_arg0
,_arg1
);
5273 wxPy_END_ALLOW_THREADS
;
5274 } Py_INCREF(Py_None
);
5275 _resultobj
= Py_None
;
5279 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5280 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5281 PyObject
* _resultobj
;
5284 PyObject
* _argo0
= 0;
5285 char *_kwnames
[] = { "self", NULL
};
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5298 wxPy_BEGIN_ALLOW_THREADS
;
5299 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5301 wxPy_END_ALLOW_THREADS
;
5302 } _resultobj
= Py_BuildValue("i",_result
);
5306 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5307 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
* _resultobj
;
5311 PyObject
* _argo0
= 0;
5312 char *_kwnames
[] = { "self", NULL
};
5316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5326 wxPy_BEGIN_ALLOW_THREADS
;
5327 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5329 wxPy_END_ALLOW_THREADS
;
5331 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5332 _resultobj
= Py_BuildValue("s",_ptemp
);
5335 _resultobj
= Py_None
;
5340 static void *SwigwxPyLogTowxLog(void *ptr
) {
5343 src
= (wxPyLog
*) ptr
;
5344 dest
= (wxLog
*) src
;
5345 return (void *) dest
;
5348 #define new_wxPyLog() (new wxPyLog())
5349 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
* _resultobj
;
5352 char *_kwnames
[] = { NULL
};
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5359 wxPy_BEGIN_ALLOW_THREADS
;
5360 _result
= (wxPyLog
*)new_wxPyLog();
5362 wxPy_END_ALLOW_THREADS
;
5364 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5365 _resultobj
= Py_BuildValue("s",_ptemp
);
5368 _resultobj
= Py_None
;
5373 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5374 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
* _resultobj
;
5379 PyObject
* _argo0
= 0;
5380 PyObject
* _obj1
= 0;
5381 PyObject
* _obj2
= 0;
5382 char *_kwnames
[] = { "self","self","_class", NULL
};
5385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5401 wxPy_BEGIN_ALLOW_THREADS
;
5402 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5404 wxPy_END_ALLOW_THREADS
;
5405 } Py_INCREF(Py_None
);
5406 _resultobj
= Py_None
;
5410 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5411 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
* _resultobj
;
5414 PyObject
* _argo0
= 0;
5415 char *_kwnames
[] = { "self", NULL
};
5418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5428 wxPy_BEGIN_ALLOW_THREADS
;
5429 wxPyLog_Destroy(_arg0
);
5431 wxPy_END_ALLOW_THREADS
;
5432 } Py_INCREF(Py_None
);
5433 _resultobj
= Py_None
;
5437 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5438 wxProcessEvent
*src
;
5440 src
= (wxProcessEvent
*) ptr
;
5441 dest
= (wxEvent
*) src
;
5442 return (void *) dest
;
5445 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5446 wxProcessEvent
*src
;
5448 src
= (wxProcessEvent
*) ptr
;
5449 dest
= (wxObject
*) src
;
5450 return (void *) dest
;
5453 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5454 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5455 PyObject
* _resultobj
;
5456 wxProcessEvent
* _result
;
5457 int _arg0
= (int ) 0;
5458 int _arg1
= (int ) 0;
5459 int _arg2
= (int ) 0;
5460 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5467 wxPy_BEGIN_ALLOW_THREADS
;
5468 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5470 wxPy_END_ALLOW_THREADS
;
5472 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5473 _resultobj
= Py_BuildValue("s",_ptemp
);
5476 _resultobj
= Py_None
;
5481 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5482 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5483 PyObject
* _resultobj
;
5485 wxProcessEvent
* _arg0
;
5486 PyObject
* _argo0
= 0;
5487 char *_kwnames
[] = { "self", NULL
};
5490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5493 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5494 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5495 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5500 wxPy_BEGIN_ALLOW_THREADS
;
5501 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5503 wxPy_END_ALLOW_THREADS
;
5504 } _resultobj
= Py_BuildValue("i",_result
);
5508 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5509 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5510 PyObject
* _resultobj
;
5512 wxProcessEvent
* _arg0
;
5513 PyObject
* _argo0
= 0;
5514 char *_kwnames
[] = { "self", NULL
};
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5520 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5521 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5527 wxPy_BEGIN_ALLOW_THREADS
;
5528 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5530 wxPy_END_ALLOW_THREADS
;
5531 } _resultobj
= Py_BuildValue("i",_result
);
5535 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5536 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5537 PyObject
* _resultobj
;
5539 wxProcessEvent
* _arg0
;
5541 PyObject
* _argo0
= 0;
5542 char *_kwnames
[] = { "self","m_pid", NULL
};
5545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5555 wxPy_BEGIN_ALLOW_THREADS
;
5556 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5558 wxPy_END_ALLOW_THREADS
;
5559 } _resultobj
= Py_BuildValue("i",_result
);
5563 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5564 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
* _resultobj
;
5567 wxProcessEvent
* _arg0
;
5568 PyObject
* _argo0
= 0;
5569 char *_kwnames
[] = { "self", NULL
};
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5582 wxPy_BEGIN_ALLOW_THREADS
;
5583 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5585 wxPy_END_ALLOW_THREADS
;
5586 } _resultobj
= Py_BuildValue("i",_result
);
5590 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5591 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
* _resultobj
;
5594 wxProcessEvent
* _arg0
;
5596 PyObject
* _argo0
= 0;
5597 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5610 wxPy_BEGIN_ALLOW_THREADS
;
5611 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5613 wxPy_END_ALLOW_THREADS
;
5614 } _resultobj
= Py_BuildValue("i",_result
);
5618 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5619 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
* _resultobj
;
5622 wxProcessEvent
* _arg0
;
5623 PyObject
* _argo0
= 0;
5624 char *_kwnames
[] = { "self", NULL
};
5627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5630 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5631 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5632 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5637 wxPy_BEGIN_ALLOW_THREADS
;
5638 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5640 wxPy_END_ALLOW_THREADS
;
5641 } _resultobj
= Py_BuildValue("i",_result
);
5645 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5648 src
= (wxPyProcess
*) ptr
;
5649 dest
= (wxEvtHandler
*) src
;
5650 return (void *) dest
;
5653 static void *SwigwxPyProcessTowxObject(void *ptr
) {
5656 src
= (wxPyProcess
*) ptr
;
5657 dest
= (wxObject
*) src
;
5658 return (void *) dest
;
5661 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5662 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
* _resultobj
;
5664 wxPyProcess
* _result
;
5665 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
5666 int _arg1
= (int ) -1;
5667 PyObject
* _argo0
= 0;
5668 char *_kwnames
[] = { "parent","id", NULL
};
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
5675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
5677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
5682 wxPy_BEGIN_ALLOW_THREADS
;
5683 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
5685 wxPy_END_ALLOW_THREADS
;
5687 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
5688 _resultobj
= Py_BuildValue("s",_ptemp
);
5691 _resultobj
= Py_None
;
5696 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
5697 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
* _resultobj
;
5699 wxPyProcess
* _arg0
;
5700 PyObject
* _argo0
= 0;
5701 char *_kwnames
[] = { "self", NULL
};
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
5707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
5714 wxPy_BEGIN_ALLOW_THREADS
;
5715 wxPyProcess_Destroy(_arg0
);
5717 wxPy_END_ALLOW_THREADS
;
5718 } Py_INCREF(Py_None
);
5719 _resultobj
= Py_None
;
5723 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5724 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5725 PyObject
* _resultobj
;
5726 wxPyProcess
* _arg0
;
5729 PyObject
* _argo0
= 0;
5730 PyObject
* _obj1
= 0;
5731 PyObject
* _obj2
= 0;
5732 char *_kwnames
[] = { "self","self","_class", NULL
};
5735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5738 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5739 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5740 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
5751 wxPy_BEGIN_ALLOW_THREADS
;
5752 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5754 wxPy_END_ALLOW_THREADS
;
5755 } Py_INCREF(Py_None
);
5756 _resultobj
= Py_None
;
5760 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
5761 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5762 PyObject
* _resultobj
;
5763 wxPyProcess
* _arg0
;
5766 PyObject
* _argo0
= 0;
5767 char *_kwnames
[] = { "self","pid","status", NULL
};
5770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
5780 wxPy_BEGIN_ALLOW_THREADS
;
5781 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
5783 wxPy_END_ALLOW_THREADS
;
5784 } Py_INCREF(Py_None
);
5785 _resultobj
= Py_None
;
5789 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
5790 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
* _resultobj
;
5792 wxPyProcess
* _arg0
;
5793 PyObject
* _argo0
= 0;
5794 char *_kwnames
[] = { "self", NULL
};
5797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
5800 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5801 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5802 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
5807 wxPy_BEGIN_ALLOW_THREADS
;
5808 wxProcess_Redirect(_arg0
);
5810 wxPy_END_ALLOW_THREADS
;
5811 } Py_INCREF(Py_None
);
5812 _resultobj
= Py_None
;
5816 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
5817 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
* _resultobj
;
5820 wxPyProcess
* _arg0
;
5821 PyObject
* _argo0
= 0;
5822 char *_kwnames
[] = { "self", NULL
};
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
5828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
5835 wxPy_BEGIN_ALLOW_THREADS
;
5836 _result
= (bool )wxProcess_IsRedirected(_arg0
);
5838 wxPy_END_ALLOW_THREADS
;
5839 } _resultobj
= Py_BuildValue("i",_result
);
5843 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
5844 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
* _resultobj
;
5846 wxPyProcess
* _arg0
;
5847 PyObject
* _argo0
= 0;
5848 char *_kwnames
[] = { "self", NULL
};
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
5854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
5861 wxPy_BEGIN_ALLOW_THREADS
;
5862 wxProcess_Detach(_arg0
);
5864 wxPy_END_ALLOW_THREADS
;
5865 } Py_INCREF(Py_None
);
5866 _resultobj
= Py_None
;
5870 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
5871 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
* _resultobj
;
5873 wxInputStream
* _result
;
5874 wxPyProcess
* _arg0
;
5875 PyObject
* _argo0
= 0;
5876 char *_kwnames
[] = { "self", NULL
};
5879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
5882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
5889 wxPy_BEGIN_ALLOW_THREADS
;
5890 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
5892 wxPy_END_ALLOW_THREADS
;
5894 wxPyInputStream
* _ptr
= NULL
;
5897 _ptr
= new wxPyInputStream(_result
);
5899 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
5904 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
5905 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5906 PyObject
* _resultobj
;
5907 wxInputStream
* _result
;
5908 wxPyProcess
* _arg0
;
5909 PyObject
* _argo0
= 0;
5910 char *_kwnames
[] = { "self", NULL
};
5913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
5916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
5923 wxPy_BEGIN_ALLOW_THREADS
;
5924 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
5926 wxPy_END_ALLOW_THREADS
;
5928 wxPyInputStream
* _ptr
= NULL
;
5931 _ptr
= new wxPyInputStream(_result
);
5933 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
5938 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
5939 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
* _resultobj
;
5941 wxOutputStream
* _result
;
5942 wxPyProcess
* _arg0
;
5943 PyObject
* _argo0
= 0;
5944 char *_kwnames
[] = { "self", NULL
};
5948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
5951 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5952 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5953 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
5958 wxPy_BEGIN_ALLOW_THREADS
;
5959 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
5961 wxPy_END_ALLOW_THREADS
;
5963 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
5964 _resultobj
= Py_BuildValue("s",_ptemp
);
5967 _resultobj
= Py_None
;
5972 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
5973 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5974 PyObject
* _resultobj
;
5975 wxPyProcess
* _arg0
;
5976 PyObject
* _argo0
= 0;
5977 char *_kwnames
[] = { "self", NULL
};
5980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
5983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
5990 wxPy_BEGIN_ALLOW_THREADS
;
5991 wxProcess_CloseOutput(_arg0
);
5993 wxPy_END_ALLOW_THREADS
;
5994 } Py_INCREF(Py_None
);
5995 _resultobj
= Py_None
;
5999 static void *SwigwxJoystickTowxObject(void *ptr
) {
6002 src
= (wxJoystick
*) ptr
;
6003 dest
= (wxObject
*) src
;
6004 return (void *) dest
;
6007 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6008 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
* _resultobj
;
6010 wxJoystick
* _result
;
6011 int _arg0
= (int ) wxJOYSTICK1
;
6012 char *_kwnames
[] = { "joystick", NULL
};
6016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6019 wxPy_BEGIN_ALLOW_THREADS
;
6020 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6022 wxPy_END_ALLOW_THREADS
;
6024 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6025 _resultobj
= Py_BuildValue("s",_ptemp
);
6028 _resultobj
= Py_None
;
6033 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6034 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6035 PyObject
* _resultobj
;
6037 PyObject
* _argo0
= 0;
6038 char *_kwnames
[] = { "self", NULL
};
6041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6051 wxPy_BEGIN_ALLOW_THREADS
;
6052 delete_wxJoystick(_arg0
);
6054 wxPy_END_ALLOW_THREADS
;
6055 } Py_INCREF(Py_None
);
6056 _resultobj
= Py_None
;
6060 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6061 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6062 PyObject
* _resultobj
;
6065 PyObject
* _argo0
= 0;
6066 char *_kwnames
[] = { "self", NULL
};
6070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6080 wxPy_BEGIN_ALLOW_THREADS
;
6081 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6083 wxPy_END_ALLOW_THREADS
;
6084 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6085 _resultobj
= Py_BuildValue("s",_ptemp
);
6089 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6090 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
* _resultobj
;
6094 PyObject
* _argo0
= 0;
6095 char *_kwnames
[] = { "self", NULL
};
6098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6108 wxPy_BEGIN_ALLOW_THREADS
;
6109 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6111 wxPy_END_ALLOW_THREADS
;
6112 } _resultobj
= Py_BuildValue("i",_result
);
6116 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6117 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6118 PyObject
* _resultobj
;
6121 PyObject
* _argo0
= 0;
6122 char *_kwnames
[] = { "self", NULL
};
6125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6128 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6129 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6130 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6135 wxPy_BEGIN_ALLOW_THREADS
;
6136 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6138 wxPy_END_ALLOW_THREADS
;
6139 } _resultobj
= Py_BuildValue("i",_result
);
6143 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6144 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
* _resultobj
;
6148 PyObject
* _argo0
= 0;
6149 char *_kwnames
[] = { "self", NULL
};
6152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6155 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6156 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6157 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6162 wxPy_BEGIN_ALLOW_THREADS
;
6163 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6165 wxPy_END_ALLOW_THREADS
;
6166 } _resultobj
= Py_BuildValue("i",_result
);
6170 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6171 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6172 PyObject
* _resultobj
;
6175 PyObject
* _argo0
= 0;
6176 char *_kwnames
[] = { "self", NULL
};
6179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6182 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6183 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6184 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6189 wxPy_BEGIN_ALLOW_THREADS
;
6190 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6192 wxPy_END_ALLOW_THREADS
;
6193 } _resultobj
= Py_BuildValue("i",_result
);
6197 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6198 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6199 PyObject
* _resultobj
;
6202 PyObject
* _argo0
= 0;
6203 char *_kwnames
[] = { "self", NULL
};
6206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6216 wxPy_BEGIN_ALLOW_THREADS
;
6217 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6219 wxPy_END_ALLOW_THREADS
;
6220 } _resultobj
= Py_BuildValue("i",_result
);
6224 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6225 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
* _resultobj
;
6229 PyObject
* _argo0
= 0;
6230 char *_kwnames
[] = { "self", NULL
};
6233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6243 wxPy_BEGIN_ALLOW_THREADS
;
6244 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6246 wxPy_END_ALLOW_THREADS
;
6247 } _resultobj
= Py_BuildValue("i",_result
);
6251 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6252 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
* _resultobj
;
6256 PyObject
* _argo0
= 0;
6257 char *_kwnames
[] = { "self", NULL
};
6260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6263 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6264 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6265 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6270 wxPy_BEGIN_ALLOW_THREADS
;
6271 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6273 wxPy_END_ALLOW_THREADS
;
6274 } _resultobj
= Py_BuildValue("i",_result
);
6278 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6279 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
* _resultobj
;
6283 PyObject
* _argo0
= 0;
6284 char *_kwnames
[] = { "self", NULL
};
6287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6290 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6291 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6292 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6297 wxPy_BEGIN_ALLOW_THREADS
;
6298 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6300 wxPy_END_ALLOW_THREADS
;
6301 } _resultobj
= Py_BuildValue("i",_result
);
6305 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6306 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6307 PyObject
* _resultobj
;
6310 PyObject
* _argo0
= 0;
6311 char *_kwnames
[] = { "self","threshold", NULL
};
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6317 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6318 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6319 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6324 wxPy_BEGIN_ALLOW_THREADS
;
6325 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6327 wxPy_END_ALLOW_THREADS
;
6328 } Py_INCREF(Py_None
);
6329 _resultobj
= Py_None
;
6333 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6334 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6335 PyObject
* _resultobj
;
6338 PyObject
* _argo0
= 0;
6339 char *_kwnames
[] = { "self", NULL
};
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6352 wxPy_BEGIN_ALLOW_THREADS
;
6353 _result
= (bool )wxJoystick_IsOk(_arg0
);
6355 wxPy_END_ALLOW_THREADS
;
6356 } _resultobj
= Py_BuildValue("i",_result
);
6360 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6361 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
* _resultobj
;
6365 PyObject
* _argo0
= 0;
6366 char *_kwnames
[] = { "self", NULL
};
6369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6379 wxPy_BEGIN_ALLOW_THREADS
;
6380 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6382 wxPy_END_ALLOW_THREADS
;
6383 } _resultobj
= Py_BuildValue("i",_result
);
6387 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6388 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
* _resultobj
;
6392 PyObject
* _argo0
= 0;
6393 char *_kwnames
[] = { "self", NULL
};
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6406 wxPy_BEGIN_ALLOW_THREADS
;
6407 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6409 wxPy_END_ALLOW_THREADS
;
6410 } _resultobj
= Py_BuildValue("i",_result
);
6414 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6415 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
* _resultobj
;
6419 PyObject
* _argo0
= 0;
6420 char *_kwnames
[] = { "self", NULL
};
6423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6433 wxPy_BEGIN_ALLOW_THREADS
;
6434 _result
= (int )wxJoystick_GetProductId(_arg0
);
6436 wxPy_END_ALLOW_THREADS
;
6437 } _resultobj
= Py_BuildValue("i",_result
);
6441 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6442 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6443 PyObject
* _resultobj
;
6446 PyObject
* _argo0
= 0;
6447 char *_kwnames
[] = { "self", NULL
};
6450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6460 wxPy_BEGIN_ALLOW_THREADS
;
6461 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6463 wxPy_END_ALLOW_THREADS
;
6465 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6473 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6474 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6475 PyObject
* _resultobj
;
6478 PyObject
* _argo0
= 0;
6479 char *_kwnames
[] = { "self", NULL
};
6482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6492 wxPy_BEGIN_ALLOW_THREADS
;
6493 _result
= (int )wxJoystick_GetXMin(_arg0
);
6495 wxPy_END_ALLOW_THREADS
;
6496 } _resultobj
= Py_BuildValue("i",_result
);
6500 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6501 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
* _resultobj
;
6505 PyObject
* _argo0
= 0;
6506 char *_kwnames
[] = { "self", NULL
};
6509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6519 wxPy_BEGIN_ALLOW_THREADS
;
6520 _result
= (int )wxJoystick_GetYMin(_arg0
);
6522 wxPy_END_ALLOW_THREADS
;
6523 } _resultobj
= Py_BuildValue("i",_result
);
6527 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6528 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6529 PyObject
* _resultobj
;
6532 PyObject
* _argo0
= 0;
6533 char *_kwnames
[] = { "self", NULL
};
6536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6546 wxPy_BEGIN_ALLOW_THREADS
;
6547 _result
= (int )wxJoystick_GetZMin(_arg0
);
6549 wxPy_END_ALLOW_THREADS
;
6550 } _resultobj
= Py_BuildValue("i",_result
);
6554 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6555 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
* _resultobj
;
6559 PyObject
* _argo0
= 0;
6560 char *_kwnames
[] = { "self", NULL
};
6563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6573 wxPy_BEGIN_ALLOW_THREADS
;
6574 _result
= (int )wxJoystick_GetXMax(_arg0
);
6576 wxPy_END_ALLOW_THREADS
;
6577 } _resultobj
= Py_BuildValue("i",_result
);
6581 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6582 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6583 PyObject
* _resultobj
;
6586 PyObject
* _argo0
= 0;
6587 char *_kwnames
[] = { "self", NULL
};
6590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6600 wxPy_BEGIN_ALLOW_THREADS
;
6601 _result
= (int )wxJoystick_GetYMax(_arg0
);
6603 wxPy_END_ALLOW_THREADS
;
6604 } _resultobj
= Py_BuildValue("i",_result
);
6608 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6609 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6610 PyObject
* _resultobj
;
6613 PyObject
* _argo0
= 0;
6614 char *_kwnames
[] = { "self", NULL
};
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
6620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6627 wxPy_BEGIN_ALLOW_THREADS
;
6628 _result
= (int )wxJoystick_GetZMax(_arg0
);
6630 wxPy_END_ALLOW_THREADS
;
6631 } _resultobj
= Py_BuildValue("i",_result
);
6635 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6636 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6637 PyObject
* _resultobj
;
6640 PyObject
* _argo0
= 0;
6641 char *_kwnames
[] = { "self", NULL
};
6644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
6647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
6654 wxPy_BEGIN_ALLOW_THREADS
;
6655 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
6657 wxPy_END_ALLOW_THREADS
;
6658 } _resultobj
= Py_BuildValue("i",_result
);
6662 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
6663 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6664 PyObject
* _resultobj
;
6667 PyObject
* _argo0
= 0;
6668 char *_kwnames
[] = { "self", NULL
};
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
6674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
6681 wxPy_BEGIN_ALLOW_THREADS
;
6682 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
6684 wxPy_END_ALLOW_THREADS
;
6685 } _resultobj
= Py_BuildValue("i",_result
);
6689 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
6690 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6691 PyObject
* _resultobj
;
6694 PyObject
* _argo0
= 0;
6695 char *_kwnames
[] = { "self", NULL
};
6698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
6701 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6702 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6703 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
6708 wxPy_BEGIN_ALLOW_THREADS
;
6709 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
6711 wxPy_END_ALLOW_THREADS
;
6712 } _resultobj
= Py_BuildValue("i",_result
);
6716 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
6717 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6718 PyObject
* _resultobj
;
6721 PyObject
* _argo0
= 0;
6722 char *_kwnames
[] = { "self", NULL
};
6725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
6728 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6729 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
6735 wxPy_BEGIN_ALLOW_THREADS
;
6736 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
6738 wxPy_END_ALLOW_THREADS
;
6739 } _resultobj
= Py_BuildValue("i",_result
);
6743 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
6744 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6745 PyObject
* _resultobj
;
6748 PyObject
* _argo0
= 0;
6749 char *_kwnames
[] = { "self", NULL
};
6752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
6755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
6762 wxPy_BEGIN_ALLOW_THREADS
;
6763 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
6765 wxPy_END_ALLOW_THREADS
;
6766 } _resultobj
= Py_BuildValue("i",_result
);
6770 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
6771 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6772 PyObject
* _resultobj
;
6775 PyObject
* _argo0
= 0;
6776 char *_kwnames
[] = { "self", NULL
};
6779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
6782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
6789 wxPy_BEGIN_ALLOW_THREADS
;
6790 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
6792 wxPy_END_ALLOW_THREADS
;
6793 } _resultobj
= Py_BuildValue("i",_result
);
6797 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
6798 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
* _resultobj
;
6802 PyObject
* _argo0
= 0;
6803 char *_kwnames
[] = { "self", NULL
};
6806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
6809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
6816 wxPy_BEGIN_ALLOW_THREADS
;
6817 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
6819 wxPy_END_ALLOW_THREADS
;
6820 } _resultobj
= Py_BuildValue("i",_result
);
6824 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
6825 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6826 PyObject
* _resultobj
;
6829 PyObject
* _argo0
= 0;
6830 char *_kwnames
[] = { "self", NULL
};
6833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
6836 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6837 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6838 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
6843 wxPy_BEGIN_ALLOW_THREADS
;
6844 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
6846 wxPy_END_ALLOW_THREADS
;
6847 } _resultobj
= Py_BuildValue("i",_result
);
6851 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
6852 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6853 PyObject
* _resultobj
;
6856 PyObject
* _argo0
= 0;
6857 char *_kwnames
[] = { "self", NULL
};
6860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
6863 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6864 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6865 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
6870 wxPy_BEGIN_ALLOW_THREADS
;
6871 _result
= (int )wxJoystick_GetUMin(_arg0
);
6873 wxPy_END_ALLOW_THREADS
;
6874 } _resultobj
= Py_BuildValue("i",_result
);
6878 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
6879 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
* _resultobj
;
6883 PyObject
* _argo0
= 0;
6884 char *_kwnames
[] = { "self", NULL
};
6887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
6890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
6897 wxPy_BEGIN_ALLOW_THREADS
;
6898 _result
= (int )wxJoystick_GetUMax(_arg0
);
6900 wxPy_END_ALLOW_THREADS
;
6901 } _resultobj
= Py_BuildValue("i",_result
);
6905 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
6906 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
* _resultobj
;
6910 PyObject
* _argo0
= 0;
6911 char *_kwnames
[] = { "self", NULL
};
6914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
6917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
6924 wxPy_BEGIN_ALLOW_THREADS
;
6925 _result
= (int )wxJoystick_GetVMin(_arg0
);
6927 wxPy_END_ALLOW_THREADS
;
6928 } _resultobj
= Py_BuildValue("i",_result
);
6932 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
6933 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6934 PyObject
* _resultobj
;
6937 PyObject
* _argo0
= 0;
6938 char *_kwnames
[] = { "self", NULL
};
6941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
6944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
6951 wxPy_BEGIN_ALLOW_THREADS
;
6952 _result
= (int )wxJoystick_GetVMax(_arg0
);
6954 wxPy_END_ALLOW_THREADS
;
6955 } _resultobj
= Py_BuildValue("i",_result
);
6959 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
6960 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
* _resultobj
;
6964 PyObject
* _argo0
= 0;
6965 char *_kwnames
[] = { "self", NULL
};
6968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
6971 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6972 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6973 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
6978 wxPy_BEGIN_ALLOW_THREADS
;
6979 _result
= (bool )wxJoystick_HasRudder(_arg0
);
6981 wxPy_END_ALLOW_THREADS
;
6982 } _resultobj
= Py_BuildValue("i",_result
);
6986 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
6987 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
* _resultobj
;
6991 PyObject
* _argo0
= 0;
6992 char *_kwnames
[] = { "self", NULL
};
6995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
6998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7005 wxPy_BEGIN_ALLOW_THREADS
;
7006 _result
= (bool )wxJoystick_HasZ(_arg0
);
7008 wxPy_END_ALLOW_THREADS
;
7009 } _resultobj
= Py_BuildValue("i",_result
);
7013 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7014 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
* _resultobj
;
7018 PyObject
* _argo0
= 0;
7019 char *_kwnames
[] = { "self", NULL
};
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7025 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7026 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7027 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7032 wxPy_BEGIN_ALLOW_THREADS
;
7033 _result
= (bool )wxJoystick_HasU(_arg0
);
7035 wxPy_END_ALLOW_THREADS
;
7036 } _resultobj
= Py_BuildValue("i",_result
);
7040 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7041 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
* _resultobj
;
7045 PyObject
* _argo0
= 0;
7046 char *_kwnames
[] = { "self", NULL
};
7049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7052 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7053 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7054 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7059 wxPy_BEGIN_ALLOW_THREADS
;
7060 _result
= (bool )wxJoystick_HasV(_arg0
);
7062 wxPy_END_ALLOW_THREADS
;
7063 } _resultobj
= Py_BuildValue("i",_result
);
7067 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7068 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7069 PyObject
* _resultobj
;
7072 PyObject
* _argo0
= 0;
7073 char *_kwnames
[] = { "self", NULL
};
7076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7079 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7080 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7081 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7086 wxPy_BEGIN_ALLOW_THREADS
;
7087 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7089 wxPy_END_ALLOW_THREADS
;
7090 } _resultobj
= Py_BuildValue("i",_result
);
7094 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7095 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7096 PyObject
* _resultobj
;
7099 PyObject
* _argo0
= 0;
7100 char *_kwnames
[] = { "self", NULL
};
7103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7106 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7107 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7108 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7113 wxPy_BEGIN_ALLOW_THREADS
;
7114 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7116 wxPy_END_ALLOW_THREADS
;
7117 } _resultobj
= Py_BuildValue("i",_result
);
7121 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7122 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
* _resultobj
;
7126 PyObject
* _argo0
= 0;
7127 char *_kwnames
[] = { "self", NULL
};
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7140 wxPy_BEGIN_ALLOW_THREADS
;
7141 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7143 wxPy_END_ALLOW_THREADS
;
7144 } _resultobj
= Py_BuildValue("i",_result
);
7148 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7149 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7150 PyObject
* _resultobj
;
7154 int _arg2
= (int ) 0;
7155 PyObject
* _argo0
= 0;
7156 PyObject
* _argo1
= 0;
7157 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7163 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7164 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7165 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7170 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7171 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7177 wxPy_BEGIN_ALLOW_THREADS
;
7178 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7180 wxPy_END_ALLOW_THREADS
;
7181 } _resultobj
= Py_BuildValue("i",_result
);
7185 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7186 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
* _resultobj
;
7190 PyObject
* _argo0
= 0;
7191 char *_kwnames
[] = { "self", NULL
};
7194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7204 wxPy_BEGIN_ALLOW_THREADS
;
7205 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7207 wxPy_END_ALLOW_THREADS
;
7208 } _resultobj
= Py_BuildValue("i",_result
);
7212 static void *SwigwxWaveTowxObject(void *ptr
) {
7215 src
= (wxWave
*) ptr
;
7216 dest
= (wxObject
*) src
;
7217 return (void *) dest
;
7220 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7221 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
* _resultobj
;
7225 bool _arg1
= (bool ) FALSE
;
7226 PyObject
* _obj0
= 0;
7227 int tempbool1
= (int) FALSE
;
7228 char *_kwnames
[] = { "fileName","isResource", NULL
};
7232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7235 #if PYTHON_API_VERSION >= 1009
7236 char* tmpPtr
; int tmpSize
;
7237 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
7238 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7241 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
7243 _arg0
= new wxString(tmpPtr
, tmpSize
);
7245 if (!PyString_Check(_obj0
)) {
7246 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7249 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
7252 _arg1
= (bool ) tempbool1
;
7254 wxPy_BEGIN_ALLOW_THREADS
;
7255 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7257 wxPy_END_ALLOW_THREADS
;
7259 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7260 _resultobj
= Py_BuildValue("s",_ptemp
);
7263 _resultobj
= Py_None
;
7272 #define delete_wxWave(_swigobj) (delete _swigobj)
7273 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
* _resultobj
;
7276 PyObject
* _argo0
= 0;
7277 char *_kwnames
[] = { "self", NULL
};
7280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7290 wxPy_BEGIN_ALLOW_THREADS
;
7291 delete_wxWave(_arg0
);
7293 wxPy_END_ALLOW_THREADS
;
7294 } Py_INCREF(Py_None
);
7295 _resultobj
= Py_None
;
7299 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7300 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7301 PyObject
* _resultobj
;
7304 PyObject
* _argo0
= 0;
7305 char *_kwnames
[] = { "self", NULL
};
7308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7318 wxPy_BEGIN_ALLOW_THREADS
;
7319 _result
= (bool )wxWave_IsOk(_arg0
);
7321 wxPy_END_ALLOW_THREADS
;
7322 } _resultobj
= Py_BuildValue("i",_result
);
7326 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7327 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7328 PyObject
* _resultobj
;
7331 bool _arg1
= (bool ) TRUE
;
7332 bool _arg2
= (bool ) FALSE
;
7333 PyObject
* _argo0
= 0;
7334 int tempbool1
= (int) TRUE
;
7335 int tempbool2
= (int) FALSE
;
7336 char *_kwnames
[] = { "self","async","looped", NULL
};
7339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7342 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7343 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7344 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7348 _arg1
= (bool ) tempbool1
;
7349 _arg2
= (bool ) tempbool2
;
7351 wxPy_BEGIN_ALLOW_THREADS
;
7352 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7354 wxPy_END_ALLOW_THREADS
;
7355 } _resultobj
= Py_BuildValue("i",_result
);
7359 static PyMethodDef misc2cMethods
[] = {
7360 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
7361 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7362 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
7363 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
7364 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
7365 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
7366 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
7367 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
7368 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
7369 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
7370 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
7371 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
7372 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
7373 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
7374 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
7375 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
7376 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
7377 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
7378 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
7379 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
7380 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
7381 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
7382 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
7383 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
7384 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
7385 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
7386 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
7387 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
7388 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
7389 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
7390 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
7391 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
7392 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
7393 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
7394 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
7395 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7396 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
7397 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
7398 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
7399 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
7400 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
7401 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
7402 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
7403 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
7404 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
7405 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7406 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7407 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7408 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
7409 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
7410 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
7411 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
7412 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
7413 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
7414 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
7415 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
7416 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
7417 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7418 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
7419 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
7420 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
7421 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
7422 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
7423 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
7424 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
7425 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
7426 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7427 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
7428 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
7429 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
7430 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
7431 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
7432 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
7433 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
7434 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
7435 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
7436 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
7437 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
7438 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
7439 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
7440 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
7441 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
7442 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
7443 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
7444 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
7445 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
7446 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7447 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7448 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7449 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
7450 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
7451 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
7452 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7453 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7454 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7455 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
7456 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7457 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
7458 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
7459 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
7460 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
7461 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
7462 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
7463 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
7464 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
7465 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
7466 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7467 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
7468 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
7469 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
7470 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
7471 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
7472 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
7473 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
7474 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
7475 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
7476 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
7477 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
7478 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
7479 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
7480 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
7481 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
7482 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
7483 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
7484 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7485 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
7486 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
7487 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
7488 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
7489 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
7490 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
7491 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7492 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
7493 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
7494 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7495 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
7496 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
7497 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
7498 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
7499 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7500 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7501 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
7502 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
7503 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
7504 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
7505 { "wxFontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_wxFontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
7506 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
7507 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
7508 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
7509 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
7510 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
7511 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
7512 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
7513 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
7514 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7515 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
7516 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
7517 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7518 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
7519 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
7520 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7521 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
7522 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
7523 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
7524 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7525 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7526 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
7527 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
7528 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
7529 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
7530 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
7531 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
7532 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
7533 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
7534 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7535 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
7536 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
7537 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
7538 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
7539 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
7540 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
7541 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
7542 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7543 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
7544 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
7545 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
7546 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
7547 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
7548 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
7549 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
7550 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
7551 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
7552 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
7553 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
7554 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
7555 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
7556 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
7557 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
7558 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
7559 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
7560 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
7561 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7562 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
7563 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
7564 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
7565 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
7566 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
7567 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7568 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
7569 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
7570 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
7571 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
7572 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
7573 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
7574 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
7575 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
7576 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
7577 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
7578 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
7579 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
7580 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7581 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
7582 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
7583 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
7584 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7585 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7586 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
7593 * This table is used by the pointer type-checker
7595 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7596 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
7597 { "_signed_long","_long",0},
7598 { "_wxPrintQuality","_wxCoord",0},
7599 { "_wxPrintQuality","_int",0},
7600 { "_wxPrintQuality","_signed_int",0},
7601 { "_wxPrintQuality","_unsigned_int",0},
7602 { "_wxPrintQuality","_wxWindowID",0},
7603 { "_wxPrintQuality","_uint",0},
7604 { "_wxPrintQuality","_EBool",0},
7605 { "_wxPrintQuality","_size_t",0},
7606 { "_wxPrintQuality","_time_t",0},
7607 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
7608 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
7609 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
7610 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
7611 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7612 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
7613 { "_byte","_unsigned_char",0},
7614 { "_long","_unsigned_long",0},
7615 { "_long","_signed_long",0},
7616 { "_size_t","_wxCoord",0},
7617 { "_size_t","_wxPrintQuality",0},
7618 { "_size_t","_time_t",0},
7619 { "_size_t","_unsigned_int",0},
7620 { "_size_t","_int",0},
7621 { "_size_t","_wxWindowID",0},
7622 { "_size_t","_uint",0},
7623 { "_uint","_wxCoord",0},
7624 { "_uint","_wxPrintQuality",0},
7625 { "_uint","_time_t",0},
7626 { "_uint","_size_t",0},
7627 { "_uint","_unsigned_int",0},
7628 { "_uint","_int",0},
7629 { "_uint","_wxWindowID",0},
7630 { "_wxChar","_char",0},
7631 { "_char","_wxChar",0},
7632 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
7633 { "_EBool","_wxCoord",0},
7634 { "_EBool","_wxPrintQuality",0},
7635 { "_EBool","_signed_int",0},
7636 { "_EBool","_int",0},
7637 { "_EBool","_wxWindowID",0},
7638 { "_unsigned_long","_long",0},
7639 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
7640 { "_signed_int","_wxCoord",0},
7641 { "_signed_int","_wxPrintQuality",0},
7642 { "_signed_int","_EBool",0},
7643 { "_signed_int","_wxWindowID",0},
7644 { "_signed_int","_int",0},
7645 { "_WXTYPE","_short",0},
7646 { "_WXTYPE","_signed_short",0},
7647 { "_WXTYPE","_unsigned_short",0},
7648 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7649 { "_unsigned_short","_WXTYPE",0},
7650 { "_unsigned_short","_short",0},
7651 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
7652 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
7653 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
7654 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
7655 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
7656 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
7657 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
7658 { "_signed_short","_WXTYPE",0},
7659 { "_signed_short","_short",0},
7660 { "_unsigned_char","_byte",0},
7661 { "_unsigned_int","_wxCoord",0},
7662 { "_unsigned_int","_wxPrintQuality",0},
7663 { "_unsigned_int","_time_t",0},
7664 { "_unsigned_int","_size_t",0},
7665 { "_unsigned_int","_uint",0},
7666 { "_unsigned_int","_wxWindowID",0},
7667 { "_unsigned_int","_int",0},
7668 { "_short","_WXTYPE",0},
7669 { "_short","_unsigned_short",0},
7670 { "_short","_signed_short",0},
7671 { "_wxWindowID","_wxCoord",0},
7672 { "_wxWindowID","_wxPrintQuality",0},
7673 { "_wxWindowID","_time_t",0},
7674 { "_wxWindowID","_size_t",0},
7675 { "_wxWindowID","_EBool",0},
7676 { "_wxWindowID","_uint",0},
7677 { "_wxWindowID","_int",0},
7678 { "_wxWindowID","_signed_int",0},
7679 { "_wxWindowID","_unsigned_int",0},
7680 { "_int","_wxCoord",0},
7681 { "_int","_wxPrintQuality",0},
7682 { "_int","_time_t",0},
7683 { "_int","_size_t",0},
7684 { "_int","_EBool",0},
7685 { "_int","_uint",0},
7686 { "_int","_wxWindowID",0},
7687 { "_int","_unsigned_int",0},
7688 { "_int","_signed_int",0},
7689 { "_time_t","_wxCoord",0},
7690 { "_time_t","_wxPrintQuality",0},
7691 { "_time_t","_unsigned_int",0},
7692 { "_time_t","_int",0},
7693 { "_time_t","_wxWindowID",0},
7694 { "_time_t","_uint",0},
7695 { "_time_t","_size_t",0},
7696 { "_wxCoord","_int",0},
7697 { "_wxCoord","_signed_int",0},
7698 { "_wxCoord","_unsigned_int",0},
7699 { "_wxCoord","_wxWindowID",0},
7700 { "_wxCoord","_uint",0},
7701 { "_wxCoord","_EBool",0},
7702 { "_wxCoord","_size_t",0},
7703 { "_wxCoord","_time_t",0},
7704 { "_wxCoord","_wxPrintQuality",0},
7705 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7708 static PyObject
*SWIG_globals
;
7712 SWIGEXPORT(void) initmisc2c() {
7714 SWIG_globals
= SWIG_newvarlink();
7715 m
= Py_InitModule("misc2c", misc2cMethods
);
7716 d
= PyModule_GetDict(m
);
7717 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
7718 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
7719 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
7720 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
7721 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
7722 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
7723 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
7724 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
7725 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
7726 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
7727 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
7728 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
7729 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
7730 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
7731 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
7732 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
7733 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
7734 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
7735 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
7736 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
7737 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
7738 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
7739 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
7740 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
7741 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
7742 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
7743 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
7744 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
7745 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
7746 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
7747 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
7748 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
7749 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
7750 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
7751 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
7752 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
7753 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
7754 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
7755 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
7756 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
7757 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
7758 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
7759 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
7760 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
7761 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
7762 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
7763 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
7764 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
7765 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
7766 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
7767 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
7768 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
7769 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
7770 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
7771 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
7772 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
7773 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
7774 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
7775 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
7776 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
7777 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
7778 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
7779 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
7780 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
7781 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
7782 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
7783 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
7784 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
7785 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
7786 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
7787 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
7788 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
7789 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
7790 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
7791 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
7792 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
7793 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
7794 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
7795 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
7796 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
7797 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
7798 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
7799 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
7800 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
7801 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
7802 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
7803 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
7804 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
7805 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
7806 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
7807 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
7808 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
7809 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
7810 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
7811 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
7812 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
7813 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
7815 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
7816 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
7817 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
7820 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7821 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);