2 * FILE : src/msw/misc2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmisc2c
56 #define SWIG_name "misc2c"
59 #include <wx/resource.h>
60 #include <wx/tooltip.h>
62 #include <wx/fontenum.h>
63 #include <wx/tipdlg.h>
64 #include <wx/process.h>
66 #if wxUSE_JOYSTICK || defined(__WXMSW__)
67 #include <wx/joystick.h>
70 #if wxUSE_WAVE || defined(__WXMSW__)
75 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
81 } else if (target
== Py_None
) {
85 if (!PyTuple_Check(target
)) {
87 target
= PyTuple_New(1);
88 PyTuple_SetItem(target
, 0, o2
);
91 PyTuple_SetItem(o3
, 0, o
);
94 target
= PySequence_Concat(o2
, o3
);
101 #if PYTHON_API_VERSION >= 1009
102 static char* wxStringErrorMsg
= "String or Unicode type required";
104 static char* wxStringErrorMsg
= "String type 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 bool doSave
= wxPyRestoreThread();
213 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
214 wxPySaveThread(doSave
);
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_wxCheckForInterrupt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1404 PyObject
* _resultobj
;
1407 PyObject
* _argo0
= 0;
1408 char *_kwnames
[] = { "wnd", NULL
};
1411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckForInterrupt",_kwnames
,&_argo0
))
1414 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1415 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1416 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckForInterrupt. Expected _wxWindow_p.");
1421 wxPy_BEGIN_ALLOW_THREADS
;
1422 _result
= (bool )wxCheckForInterrupt(_arg0
);
1424 wxPy_END_ALLOW_THREADS
;
1425 } _resultobj
= Py_BuildValue("i",_result
);
1429 static PyObject
*_wrap_wxFlushEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1430 PyObject
* _resultobj
;
1431 char *_kwnames
[] = { NULL
};
1434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFlushEvents",_kwnames
))
1437 wxPy_BEGIN_ALLOW_THREADS
;
1440 wxPy_END_ALLOW_THREADS
;
1441 } Py_INCREF(Py_None
);
1442 _resultobj
= Py_None
;
1446 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1447 PyObject
* _resultobj
;
1451 char *_kwnames
[] = { "name","value", NULL
};
1454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1457 wxPy_BEGIN_ALLOW_THREADS
;
1458 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1460 wxPy_END_ALLOW_THREADS
;
1461 } _resultobj
= Py_BuildValue("i",_result
);
1465 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1466 PyObject
* _resultobj
;
1467 char *_kwnames
[] = { NULL
};
1470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1473 wxPy_BEGIN_ALLOW_THREADS
;
1476 wxPy_END_ALLOW_THREADS
;
1477 } Py_INCREF(Py_None
);
1478 _resultobj
= Py_None
;
1482 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
* _resultobj
;
1486 char *_kwnames
[] = { "resource", NULL
};
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1493 wxPy_BEGIN_ALLOW_THREADS
;
1494 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1496 wxPy_END_ALLOW_THREADS
;
1497 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1498 _resultobj
= Py_BuildValue("s",_ptemp
);
1502 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1503 PyObject
* _resultobj
;
1506 char *_kwnames
[] = { "resource", NULL
};
1510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1513 wxPy_BEGIN_ALLOW_THREADS
;
1514 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1516 wxPy_END_ALLOW_THREADS
;
1517 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1518 _resultobj
= Py_BuildValue("s",_ptemp
);
1522 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1523 PyObject
* _resultobj
;
1524 wxMenuBar
* _result
;
1526 char *_kwnames
[] = { "resource", NULL
};
1529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1532 wxPy_BEGIN_ALLOW_THREADS
;
1533 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1535 wxPy_END_ALLOW_THREADS
;
1536 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1540 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1541 PyObject
* _resultobj
;
1544 char *_kwnames
[] = { "name", NULL
};
1547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1550 wxPy_BEGIN_ALLOW_THREADS
;
1551 _result
= (int )wxResourceGetIdentifier(_arg0
);
1553 wxPy_END_ALLOW_THREADS
;
1554 } _resultobj
= Py_BuildValue("i",_result
);
1558 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1559 PyObject
* _resultobj
;
1562 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1563 PyObject
* _argo1
= 0;
1564 char *_kwnames
[] = { "resource","table", NULL
};
1567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1570 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1571 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1577 wxPy_BEGIN_ALLOW_THREADS
;
1578 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1580 wxPy_END_ALLOW_THREADS
;
1581 } _resultobj
= Py_BuildValue("i",_result
);
1585 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
* _resultobj
;
1589 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1590 PyObject
* _argo1
= 0;
1591 char *_kwnames
[] = { "filename","table", NULL
};
1594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1597 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1598 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1599 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1604 wxPy_BEGIN_ALLOW_THREADS
;
1605 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1607 wxPy_END_ALLOW_THREADS
;
1608 } _resultobj
= Py_BuildValue("i",_result
);
1612 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1613 PyObject
* _resultobj
;
1616 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1617 PyObject
* _argo1
= 0;
1618 char *_kwnames
[] = { "resource","table", NULL
};
1621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1624 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1625 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1631 wxPy_BEGIN_ALLOW_THREADS
;
1632 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1634 wxPy_END_ALLOW_THREADS
;
1635 } _resultobj
= Py_BuildValue("i",_result
);
1639 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1640 PyObject
* _resultobj
;
1643 char *_kwnames
[] = { "index", NULL
};
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1650 wxPy_BEGIN_ALLOW_THREADS
;
1651 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1653 wxPy_END_ALLOW_THREADS
;
1654 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1655 _resultobj
= Py_BuildValue("s",_ptemp
);
1659 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1660 PyObject
* _resultobj
;
1663 char *_kwnames
[] = { "index", NULL
};
1667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1670 wxPy_BEGIN_ALLOW_THREADS
;
1671 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1673 wxPy_END_ALLOW_THREADS
;
1674 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1675 _resultobj
= Py_BuildValue("s",_ptemp
);
1679 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
* _resultobj
;
1683 char *_kwnames
[] = { "index", NULL
};
1686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1689 wxPy_BEGIN_ALLOW_THREADS
;
1690 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1692 wxPy_END_ALLOW_THREADS
;
1693 } _resultobj
= Py_BuildValue("i",_result
);
1697 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1698 PyObject
* _resultobj
;
1700 char *_kwnames
[] = { NULL
};
1703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1706 wxPy_BEGIN_ALLOW_THREADS
;
1707 _result
= (int )wxCaret_GetBlinkTime();
1709 wxPy_END_ALLOW_THREADS
;
1710 } _resultobj
= Py_BuildValue("i",_result
);
1714 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1715 PyObject
* _resultobj
;
1717 char *_kwnames
[] = { "milliseconds", NULL
};
1720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1723 wxPy_BEGIN_ALLOW_THREADS
;
1724 wxCaret_SetBlinkTime(_arg0
);
1726 wxPy_END_ALLOW_THREADS
;
1727 } Py_INCREF(Py_None
);
1728 _resultobj
= Py_None
;
1732 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1733 PyObject
* _resultobj
;
1735 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1736 PyObject
* _argo0
= 0;
1737 char *_kwnames
[] = { "win", NULL
};
1740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1750 wxPy_BEGIN_ALLOW_THREADS
;
1751 _result
= (bool )wxSafeYield(_arg0
);
1753 wxPy_END_ALLOW_THREADS
;
1754 } _resultobj
= Py_BuildValue("i",_result
);
1758 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1759 PyObject
* _resultobj
;
1760 wxEvtHandler
* _arg0
;
1762 PyObject
* _argo0
= 0;
1763 PyObject
* _argo1
= 0;
1764 char *_kwnames
[] = { "dest","event", NULL
};
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1777 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1778 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1784 wxPy_BEGIN_ALLOW_THREADS
;
1785 wxPostEvent(_arg0
,*_arg1
);
1787 wxPy_END_ALLOW_THREADS
;
1788 } Py_INCREF(Py_None
);
1789 _resultobj
= Py_None
;
1793 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
* _resultobj
;
1795 char *_kwnames
[] = { NULL
};
1798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1801 wxPy_BEGIN_ALLOW_THREADS
;
1804 wxPy_END_ALLOW_THREADS
;
1805 } Py_INCREF(Py_None
);
1806 _resultobj
= Py_None
;
1810 static PyObject
*_wrap_wxWakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1811 PyObject
* _resultobj
;
1812 char *_kwnames
[] = { NULL
};
1815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpMainThread",_kwnames
))
1818 wxPy_BEGIN_ALLOW_THREADS
;
1819 wxWakeUpMainThread();
1821 wxPy_END_ALLOW_THREADS
;
1822 } Py_INCREF(Py_None
);
1823 _resultobj
= Py_None
;
1827 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1828 PyObject
* _resultobj
;
1829 char *_kwnames
[] = { NULL
};
1832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1835 wxPy_BEGIN_ALLOW_THREADS
;
1838 wxPy_END_ALLOW_THREADS
;
1839 } Py_INCREF(Py_None
);
1840 _resultobj
= Py_None
;
1844 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1845 PyObject
* _resultobj
;
1846 char *_kwnames
[] = { NULL
};
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1852 wxPy_BEGIN_ALLOW_THREADS
;
1855 wxPy_END_ALLOW_THREADS
;
1856 } Py_INCREF(Py_None
);
1857 _resultobj
= Py_None
;
1861 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1862 PyObject
* _resultobj
;
1864 char *_kwnames
[] = { NULL
};
1867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1870 wxPy_BEGIN_ALLOW_THREADS
;
1871 _result
= (bool )wxThread_IsMain();
1873 wxPy_END_ALLOW_THREADS
;
1874 } _resultobj
= Py_BuildValue("i",_result
);
1878 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
* _resultobj
;
1882 wxTipProvider
* _arg1
;
1883 bool _arg2
= (bool ) TRUE
;
1884 PyObject
* _argo0
= 0;
1885 PyObject
* _argo1
= 0;
1886 int tempbool2
= (int) TRUE
;
1887 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1900 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1901 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1906 _arg2
= (bool ) tempbool2
;
1908 wxPy_BEGIN_ALLOW_THREADS
;
1909 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1911 wxPy_END_ALLOW_THREADS
;
1912 } _resultobj
= Py_BuildValue("i",_result
);
1916 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1917 PyObject
* _resultobj
;
1918 wxTipProvider
* _result
;
1921 PyObject
* _obj0
= 0;
1922 char *_kwnames
[] = { "filename","currentTip", NULL
};
1926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1929 #if PYTHON_API_VERSION >= 1009
1930 char* tmpPtr
; int tmpSize
;
1931 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1932 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1935 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1937 _arg0
= new wxString(tmpPtr
, tmpSize
);
1939 if (!PyString_Check(_obj0
)) {
1940 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1943 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1947 wxPy_BEGIN_ALLOW_THREADS
;
1948 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1950 wxPy_END_ALLOW_THREADS
;
1952 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1953 _resultobj
= Py_BuildValue("s",_ptemp
);
1956 _resultobj
= Py_None
;
1965 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1966 PyObject
* _resultobj
;
1967 unsigned long _result
;
1968 char *_kwnames
[] = { NULL
};
1971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1974 wxPy_BEGIN_ALLOW_THREADS
;
1975 _result
= (unsigned long )wxSysErrorCode();
1977 wxPy_END_ALLOW_THREADS
;
1978 } _resultobj
= Py_BuildValue("l",_result
);
1982 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1983 PyObject
* _resultobj
;
1985 unsigned long _arg0
= (unsigned long ) 0;
1986 char *_kwnames
[] = { "nErrCode", NULL
};
1989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1992 wxPy_BEGIN_ALLOW_THREADS
;
1993 _result
= (char *)wxSysErrorMsg(_arg0
);
1995 wxPy_END_ALLOW_THREADS
;
1996 } _resultobj
= Py_BuildValue("s", _result
);
2000 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2001 PyObject
* _resultobj
;
2003 char *_kwnames
[] = { "szFormat", NULL
};
2006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
2009 wxPy_BEGIN_ALLOW_THREADS
;
2010 wxLogFatalError(_arg0
);
2012 wxPy_END_ALLOW_THREADS
;
2013 } Py_INCREF(Py_None
);
2014 _resultobj
= Py_None
;
2018 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2019 PyObject
* _resultobj
;
2021 char *_kwnames
[] = { "szFormat", NULL
};
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
2027 wxPy_BEGIN_ALLOW_THREADS
;
2030 wxPy_END_ALLOW_THREADS
;
2031 } Py_INCREF(Py_None
);
2032 _resultobj
= Py_None
;
2036 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
* _resultobj
;
2039 char *_kwnames
[] = { "szFormat", NULL
};
2042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
2045 wxPy_BEGIN_ALLOW_THREADS
;
2046 wxLogWarning(_arg0
);
2048 wxPy_END_ALLOW_THREADS
;
2049 } Py_INCREF(Py_None
);
2050 _resultobj
= Py_None
;
2054 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2055 PyObject
* _resultobj
;
2057 char *_kwnames
[] = { "szFormat", NULL
};
2060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
2063 wxPy_BEGIN_ALLOW_THREADS
;
2064 wxLogMessage(_arg0
);
2066 wxPy_END_ALLOW_THREADS
;
2067 } Py_INCREF(Py_None
);
2068 _resultobj
= Py_None
;
2072 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2073 PyObject
* _resultobj
;
2075 char *_kwnames
[] = { "szFormat", NULL
};
2078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
2081 wxPy_BEGIN_ALLOW_THREADS
;
2084 wxPy_END_ALLOW_THREADS
;
2085 } Py_INCREF(Py_None
);
2086 _resultobj
= Py_None
;
2090 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2091 PyObject
* _resultobj
;
2093 char *_kwnames
[] = { "szFormat", NULL
};
2096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
2099 wxPy_BEGIN_ALLOW_THREADS
;
2100 wxLogVerbose(_arg0
);
2102 wxPy_END_ALLOW_THREADS
;
2103 } Py_INCREF(Py_None
);
2104 _resultobj
= Py_None
;
2108 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2109 PyObject
* _resultobj
;
2111 char *_kwnames
[] = { "szFormat", NULL
};
2114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
2117 wxPy_BEGIN_ALLOW_THREADS
;
2120 wxPy_END_ALLOW_THREADS
;
2121 } Py_INCREF(Py_None
);
2122 _resultobj
= Py_None
;
2126 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
* _resultobj
;
2130 PyObject
* _argo0
= 0;
2131 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
2137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2144 wxPy_BEGIN_ALLOW_THREADS
;
2145 wxLogStatus(_arg0
,_arg1
);
2147 wxPy_END_ALLOW_THREADS
;
2148 } Py_INCREF(Py_None
);
2149 _resultobj
= Py_None
;
2153 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
* _resultobj
;
2156 char *_kwnames
[] = { "szFormat", NULL
};
2159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2162 wxPy_BEGIN_ALLOW_THREADS
;
2163 wxLogSysError(_arg0
);
2165 wxPy_END_ALLOW_THREADS
;
2166 } Py_INCREF(Py_None
);
2167 _resultobj
= Py_None
;
2171 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2172 PyObject
* _resultobj
;
2175 int _arg1
= (int ) FALSE
;
2176 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2177 PyObject
* _obj0
= 0;
2178 PyObject
* _argo2
= 0;
2179 char *_kwnames
[] = { "command","sync","process", NULL
};
2182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2185 #if PYTHON_API_VERSION >= 1009
2186 char* tmpPtr
; int tmpSize
;
2187 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2188 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2191 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2193 _arg0
= new wxString(tmpPtr
, tmpSize
);
2195 if (!PyString_Check(_obj0
)) {
2196 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2199 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2203 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2204 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2210 wxPy_BEGIN_ALLOW_THREADS
;
2211 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2213 wxPy_END_ALLOW_THREADS
;
2214 } _resultobj
= Py_BuildValue("l",_result
);
2222 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
* _resultobj
;
2226 PyObject
* _obj0
= 0;
2227 char *_kwnames
[] = { "data", NULL
};
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2234 #if PYTHON_API_VERSION >= 1009
2235 char* tmpPtr
; int tmpSize
;
2236 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2237 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2240 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2242 _arg0
= new wxString(tmpPtr
, tmpSize
);
2244 if (!PyString_Check(_obj0
)) {
2245 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2248 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2252 wxPy_BEGIN_ALLOW_THREADS
;
2253 _result
= (wxWave
*)wxWaveData(*_arg0
);
2255 wxPy_END_ALLOW_THREADS
;
2257 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2258 _resultobj
= Py_BuildValue("s",_ptemp
);
2261 _resultobj
= Py_None
;
2270 static void *SwigwxToolTipTowxObject(void *ptr
) {
2273 src
= (wxToolTip
*) ptr
;
2274 dest
= (wxObject
*) src
;
2275 return (void *) dest
;
2278 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2279 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
* _resultobj
;
2281 wxToolTip
* _result
;
2283 PyObject
* _obj0
= 0;
2284 char *_kwnames
[] = { "tip", NULL
};
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2291 #if PYTHON_API_VERSION >= 1009
2292 char* tmpPtr
; int tmpSize
;
2293 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2294 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2297 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2299 _arg0
= new wxString(tmpPtr
, tmpSize
);
2301 if (!PyString_Check(_obj0
)) {
2302 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2305 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2309 wxPy_BEGIN_ALLOW_THREADS
;
2310 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2312 wxPy_END_ALLOW_THREADS
;
2314 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2315 _resultobj
= Py_BuildValue("s",_ptemp
);
2318 _resultobj
= Py_None
;
2327 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2328 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2329 PyObject
* _resultobj
;
2332 PyObject
* _argo0
= 0;
2333 PyObject
* _obj1
= 0;
2334 char *_kwnames
[] = { "self","tip", NULL
};
2337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2340 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2341 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2342 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2347 #if PYTHON_API_VERSION >= 1009
2348 char* tmpPtr
; int tmpSize
;
2349 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2350 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2353 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2355 _arg1
= new wxString(tmpPtr
, tmpSize
);
2357 if (!PyString_Check(_obj1
)) {
2358 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2361 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2365 wxPy_BEGIN_ALLOW_THREADS
;
2366 wxToolTip_SetTip(_arg0
,*_arg1
);
2368 wxPy_END_ALLOW_THREADS
;
2369 } Py_INCREF(Py_None
);
2370 _resultobj
= Py_None
;
2378 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2379 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2380 PyObject
* _resultobj
;
2383 PyObject
* _argo0
= 0;
2384 char *_kwnames
[] = { "self", NULL
};
2387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2390 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2391 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2397 wxPy_BEGIN_ALLOW_THREADS
;
2398 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2400 wxPy_END_ALLOW_THREADS
;
2402 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2410 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2411 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2412 PyObject
* _resultobj
;
2415 PyObject
* _argo0
= 0;
2416 char *_kwnames
[] = { "self", NULL
};
2419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2422 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2423 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2424 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2429 wxPy_BEGIN_ALLOW_THREADS
;
2430 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2432 wxPy_END_ALLOW_THREADS
;
2433 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2437 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2438 PyObject
* _resultobj
;
2441 char *_kwnames
[] = { "flag", NULL
};
2444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2446 _arg0
= (bool ) tempbool0
;
2448 wxPy_BEGIN_ALLOW_THREADS
;
2449 wxToolTip::Enable(_arg0
);
2451 wxPy_END_ALLOW_THREADS
;
2452 } Py_INCREF(Py_None
);
2453 _resultobj
= Py_None
;
2457 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2458 PyObject
* _resultobj
;
2460 char *_kwnames
[] = { "milliseconds", NULL
};
2463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2466 wxPy_BEGIN_ALLOW_THREADS
;
2467 wxToolTip::SetDelay(_arg0
);
2469 wxPy_END_ALLOW_THREADS
;
2470 } Py_INCREF(Py_None
);
2471 _resultobj
= Py_None
;
2475 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2476 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2477 PyObject
* _resultobj
;
2481 PyObject
* _argo0
= 0;
2483 PyObject
* _obj1
= 0;
2484 char *_kwnames
[] = { "window","size", NULL
};
2488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2491 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2492 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2493 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2499 if (! wxSize_helper(_obj1
, &_arg1
))
2503 wxPy_BEGIN_ALLOW_THREADS
;
2504 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2506 wxPy_END_ALLOW_THREADS
;
2508 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2509 _resultobj
= Py_BuildValue("s",_ptemp
);
2512 _resultobj
= Py_None
;
2517 #define delete_wxCaret(_swigobj) (delete _swigobj)
2518 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
* _resultobj
;
2521 PyObject
* _argo0
= 0;
2522 char *_kwnames
[] = { "self", NULL
};
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2528 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2529 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2530 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2535 wxPy_BEGIN_ALLOW_THREADS
;
2536 delete_wxCaret(_arg0
);
2538 wxPy_END_ALLOW_THREADS
;
2539 } Py_INCREF(Py_None
);
2540 _resultobj
= Py_None
;
2544 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2545 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
* _resultobj
;
2549 PyObject
* _argo0
= 0;
2550 char *_kwnames
[] = { "self", NULL
};
2553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2563 wxPy_BEGIN_ALLOW_THREADS
;
2564 _result
= (bool )wxCaret_IsOk(_arg0
);
2566 wxPy_END_ALLOW_THREADS
;
2567 } _resultobj
= Py_BuildValue("i",_result
);
2571 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2572 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2573 PyObject
* _resultobj
;
2576 PyObject
* _argo0
= 0;
2577 char *_kwnames
[] = { "self", NULL
};
2580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2590 wxPy_BEGIN_ALLOW_THREADS
;
2591 _result
= (bool )wxCaret_IsVisible(_arg0
);
2593 wxPy_END_ALLOW_THREADS
;
2594 } _resultobj
= Py_BuildValue("i",_result
);
2598 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2599 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2600 PyObject
* _resultobj
;
2606 PyObject
* _argo0
= 0;
2607 char *_kwnames
[] = { "self", NULL
};
2616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2626 wxPy_BEGIN_ALLOW_THREADS
;
2627 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2629 wxPy_END_ALLOW_THREADS
;
2630 } Py_INCREF(Py_None
);
2631 _resultobj
= Py_None
;
2634 o
= PyInt_FromLong((long) (*_arg1
));
2635 _resultobj
= t_output_helper(_resultobj
, o
);
2639 o
= PyInt_FromLong((long) (*_arg2
));
2640 _resultobj
= t_output_helper(_resultobj
, o
);
2645 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2646 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2647 PyObject
* _resultobj
;
2650 PyObject
* _argo0
= 0;
2651 char *_kwnames
[] = { "self", NULL
};
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2658 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2659 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2660 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2665 wxPy_BEGIN_ALLOW_THREADS
;
2666 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2668 wxPy_END_ALLOW_THREADS
;
2669 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2670 _resultobj
= Py_BuildValue("s",_ptemp
);
2674 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2675 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2676 PyObject
* _resultobj
;
2682 PyObject
* _argo0
= 0;
2683 char *_kwnames
[] = { "self", NULL
};
2692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2695 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2696 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2697 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2702 wxPy_BEGIN_ALLOW_THREADS
;
2703 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2705 wxPy_END_ALLOW_THREADS
;
2706 } Py_INCREF(Py_None
);
2707 _resultobj
= Py_None
;
2710 o
= PyInt_FromLong((long) (*_arg1
));
2711 _resultobj
= t_output_helper(_resultobj
, o
);
2715 o
= PyInt_FromLong((long) (*_arg2
));
2716 _resultobj
= t_output_helper(_resultobj
, o
);
2721 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2722 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2723 PyObject
* _resultobj
;
2726 PyObject
* _argo0
= 0;
2727 char *_kwnames
[] = { "self", NULL
};
2731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2741 wxPy_BEGIN_ALLOW_THREADS
;
2742 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2744 wxPy_END_ALLOW_THREADS
;
2745 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2746 _resultobj
= Py_BuildValue("s",_ptemp
);
2750 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2751 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2752 PyObject
* _resultobj
;
2755 PyObject
* _argo0
= 0;
2756 char *_kwnames
[] = { "self", NULL
};
2759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2769 wxPy_BEGIN_ALLOW_THREADS
;
2770 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2772 wxPy_END_ALLOW_THREADS
;
2773 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2777 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2778 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2779 PyObject
* _resultobj
;
2783 PyObject
* _argo0
= 0;
2784 char *_kwnames
[] = { "self","x","y", NULL
};
2787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2797 wxPy_BEGIN_ALLOW_THREADS
;
2798 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2800 wxPy_END_ALLOW_THREADS
;
2801 } Py_INCREF(Py_None
);
2802 _resultobj
= Py_None
;
2806 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2807 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
* _resultobj
;
2811 PyObject
* _argo0
= 0;
2813 PyObject
* _obj1
= 0;
2814 char *_kwnames
[] = { "self","pt", NULL
};
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2820 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2821 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2822 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2828 if (! wxPoint_helper(_obj1
, &_arg1
))
2832 wxPy_BEGIN_ALLOW_THREADS
;
2833 wxCaret_Move(_arg0
,*_arg1
);
2835 wxPy_END_ALLOW_THREADS
;
2836 } Py_INCREF(Py_None
);
2837 _resultobj
= Py_None
;
2841 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2842 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2843 PyObject
* _resultobj
;
2847 PyObject
* _argo0
= 0;
2848 char *_kwnames
[] = { "self","width","height", NULL
};
2851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2861 wxPy_BEGIN_ALLOW_THREADS
;
2862 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2864 wxPy_END_ALLOW_THREADS
;
2865 } Py_INCREF(Py_None
);
2866 _resultobj
= Py_None
;
2870 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2871 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2872 PyObject
* _resultobj
;
2875 PyObject
* _argo0
= 0;
2877 PyObject
* _obj1
= 0;
2878 char *_kwnames
[] = { "self","size", NULL
};
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
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_SetSize. Expected _wxCaret_p.");
2892 if (! wxSize_helper(_obj1
, &_arg1
))
2896 wxPy_BEGIN_ALLOW_THREADS
;
2897 wxCaret_SetSize(_arg0
,*_arg1
);
2899 wxPy_END_ALLOW_THREADS
;
2900 } Py_INCREF(Py_None
);
2901 _resultobj
= Py_None
;
2905 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2906 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
* _resultobj
;
2909 int _arg1
= (int ) TRUE
;
2910 PyObject
* _argo0
= 0;
2911 char *_kwnames
[] = { "self","show", NULL
};
2914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
2917 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2918 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2919 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2924 wxPy_BEGIN_ALLOW_THREADS
;
2925 wxCaret_Show(_arg0
,_arg1
);
2927 wxPy_END_ALLOW_THREADS
;
2928 } Py_INCREF(Py_None
);
2929 _resultobj
= Py_None
;
2933 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2934 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2935 PyObject
* _resultobj
;
2937 PyObject
* _argo0
= 0;
2938 char *_kwnames
[] = { "self", NULL
};
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
2944 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2945 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2946 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
2951 wxPy_BEGIN_ALLOW_THREADS
;
2952 wxCaret_Hide(_arg0
);
2954 wxPy_END_ALLOW_THREADS
;
2955 } Py_INCREF(Py_None
);
2956 _resultobj
= Py_None
;
2960 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
2961 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
* _resultobj
;
2963 wxPyFontEnumerator
* _result
;
2964 char *_kwnames
[] = { NULL
};
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
2971 wxPy_BEGIN_ALLOW_THREADS
;
2972 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
2974 wxPy_END_ALLOW_THREADS
;
2976 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
2977 _resultobj
= Py_BuildValue("s",_ptemp
);
2980 _resultobj
= Py_None
;
2985 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
2986 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2987 PyObject
* _resultobj
;
2988 wxPyFontEnumerator
* _arg0
;
2989 PyObject
* _argo0
= 0;
2990 char *_kwnames
[] = { "self", NULL
};
2993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
2996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
3003 wxPy_BEGIN_ALLOW_THREADS
;
3004 delete_wxPyFontEnumerator(_arg0
);
3006 wxPy_END_ALLOW_THREADS
;
3007 } Py_INCREF(Py_None
);
3008 _resultobj
= Py_None
;
3012 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
3013 static PyObject
*_wrap_wxFontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
* _resultobj
;
3015 wxPyFontEnumerator
* _arg0
;
3018 PyObject
* _argo0
= 0;
3019 PyObject
* _obj1
= 0;
3020 PyObject
* _obj2
= 0;
3021 char *_kwnames
[] = { "self","self","_class", NULL
};
3024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFontEnumerator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3027 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3028 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3029 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p.");
3040 wxPy_BEGIN_ALLOW_THREADS
;
3041 wxFontEnumerator__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3043 wxPy_END_ALLOW_THREADS
;
3044 } Py_INCREF(Py_None
);
3045 _resultobj
= Py_None
;
3049 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
3050 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3051 PyObject
* _resultobj
;
3053 wxPyFontEnumerator
* _arg0
;
3054 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
3055 bool _arg2
= (bool ) FALSE
;
3056 PyObject
* _argo0
= 0;
3057 int tempbool2
= (int) FALSE
;
3058 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
3061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3070 _arg2
= (bool ) tempbool2
;
3072 wxPy_BEGIN_ALLOW_THREADS
;
3073 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
3075 wxPy_END_ALLOW_THREADS
;
3076 } _resultobj
= Py_BuildValue("i",_result
);
3080 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3081 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3082 PyObject
* _resultobj
;
3084 wxPyFontEnumerator
* _arg0
;
3085 char * _arg1
= (char *) "";
3086 PyObject
* _argo0
= 0;
3087 char *_kwnames
[] = { "self","facename", NULL
};
3090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
3093 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3094 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3095 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3100 wxPy_BEGIN_ALLOW_THREADS
;
3101 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
3103 wxPy_END_ALLOW_THREADS
;
3104 } _resultobj
= Py_BuildValue("i",_result
);
3108 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3109 wxArrayString
* arr
= self
->GetEncodings();
3110 PyObject
* list
= PyList_New(0);
3111 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3112 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3115 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3116 PyObject
* _resultobj
;
3118 wxPyFontEnumerator
* _arg0
;
3119 PyObject
* _argo0
= 0;
3120 char *_kwnames
[] = { "self", NULL
};
3123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3133 wxPy_BEGIN_ALLOW_THREADS
;
3134 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3136 wxPy_END_ALLOW_THREADS
;
3138 _resultobj
= _result
;
3143 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3144 wxArrayString
* arr
= self
->GetFacenames();
3145 PyObject
* list
= PyList_New(0);
3146 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3147 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3150 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3151 PyObject
* _resultobj
;
3153 wxPyFontEnumerator
* _arg0
;
3154 PyObject
* _argo0
= 0;
3155 char *_kwnames
[] = { "self", NULL
};
3158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3168 wxPy_BEGIN_ALLOW_THREADS
;
3169 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3171 wxPy_END_ALLOW_THREADS
;
3173 _resultobj
= _result
;
3178 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3179 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3180 PyObject
* _resultobj
;
3181 wxBusyCursor
* _result
;
3182 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3183 PyObject
* _argo0
= 0;
3184 char *_kwnames
[] = { "cursor", NULL
};
3188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3191 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3192 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3193 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3198 wxPy_BEGIN_ALLOW_THREADS
;
3199 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3201 wxPy_END_ALLOW_THREADS
;
3203 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3204 _resultobj
= Py_BuildValue("s",_ptemp
);
3207 _resultobj
= Py_None
;
3212 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3213 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
* _resultobj
;
3215 wxBusyCursor
* _arg0
;
3216 PyObject
* _argo0
= 0;
3217 char *_kwnames
[] = { "self", NULL
};
3220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3230 wxPy_BEGIN_ALLOW_THREADS
;
3231 delete_wxBusyCursor(_arg0
);
3233 wxPy_END_ALLOW_THREADS
;
3234 } Py_INCREF(Py_None
);
3235 _resultobj
= Py_None
;
3239 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3240 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
* _resultobj
;
3242 wxWindowDisabler
* _result
;
3243 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3244 PyObject
* _argo0
= 0;
3245 char *_kwnames
[] = { "winToSkip", NULL
};
3249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3259 wxPy_BEGIN_ALLOW_THREADS
;
3260 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3262 wxPy_END_ALLOW_THREADS
;
3264 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3265 _resultobj
= Py_BuildValue("s",_ptemp
);
3268 _resultobj
= Py_None
;
3273 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3274 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3275 PyObject
* _resultobj
;
3276 wxWindowDisabler
* _arg0
;
3277 PyObject
* _argo0
= 0;
3278 char *_kwnames
[] = { "self", NULL
};
3281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3284 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3285 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3291 wxPy_BEGIN_ALLOW_THREADS
;
3292 delete_wxWindowDisabler(_arg0
);
3294 wxPy_END_ALLOW_THREADS
;
3295 } Py_INCREF(Py_None
);
3296 _resultobj
= Py_None
;
3300 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3301 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3302 PyObject
* _resultobj
;
3303 wxMutexGuiLocker
* _result
;
3304 char *_kwnames
[] = { NULL
};
3308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3311 wxPy_BEGIN_ALLOW_THREADS
;
3312 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3314 wxPy_END_ALLOW_THREADS
;
3316 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3317 _resultobj
= Py_BuildValue("s",_ptemp
);
3320 _resultobj
= Py_None
;
3325 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3326 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3327 PyObject
* _resultobj
;
3328 wxMutexGuiLocker
* _arg0
;
3329 PyObject
* _argo0
= 0;
3330 char *_kwnames
[] = { "self", NULL
};
3333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3343 wxPy_BEGIN_ALLOW_THREADS
;
3344 delete_wxMutexGuiLocker(_arg0
);
3346 wxPy_END_ALLOW_THREADS
;
3347 } Py_INCREF(Py_None
);
3348 _resultobj
= Py_None
;
3352 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3353 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3354 PyObject
* _resultobj
;
3355 wxTipProvider
* _arg0
;
3356 PyObject
* _argo0
= 0;
3357 char *_kwnames
[] = { "self", NULL
};
3360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_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 delete_wxTipProvider. Expected _wxTipProvider_p.");
3370 wxPy_BEGIN_ALLOW_THREADS
;
3371 delete_wxTipProvider(_arg0
);
3373 wxPy_END_ALLOW_THREADS
;
3374 } Py_INCREF(Py_None
);
3375 _resultobj
= Py_None
;
3379 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3380 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
* _resultobj
;
3383 wxTipProvider
* _arg0
;
3384 PyObject
* _argo0
= 0;
3385 char *_kwnames
[] = { "self", NULL
};
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3391 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3392 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3393 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3398 wxPy_BEGIN_ALLOW_THREADS
;
3399 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3401 wxPy_END_ALLOW_THREADS
;
3403 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3411 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3412 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3413 PyObject
* _resultobj
;
3415 wxTipProvider
* _arg0
;
3416 PyObject
* _argo0
= 0;
3417 char *_kwnames
[] = { "self", NULL
};
3420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3423 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3424 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3425 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3430 wxPy_BEGIN_ALLOW_THREADS
;
3431 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3433 wxPy_END_ALLOW_THREADS
;
3434 } _resultobj
= Py_BuildValue("i",_result
);
3438 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3439 wxPyTipProvider
*src
;
3440 wxTipProvider
*dest
;
3441 src
= (wxPyTipProvider
*) ptr
;
3442 dest
= (wxTipProvider
*) src
;
3443 return (void *) dest
;
3446 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3447 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3448 PyObject
* _resultobj
;
3449 wxPyTipProvider
* _result
;
3451 char *_kwnames
[] = { "currentTip", NULL
};
3455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3458 wxPy_BEGIN_ALLOW_THREADS
;
3459 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3461 wxPy_END_ALLOW_THREADS
;
3463 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3464 _resultobj
= Py_BuildValue("s",_ptemp
);
3467 _resultobj
= Py_None
;
3472 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3473 wxGenericDragImage
*src
;
3475 src
= (wxGenericDragImage
*) ptr
;
3476 dest
= (wxObject
*) src
;
3477 return (void *) dest
;
3480 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3481 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
* _resultobj
;
3483 wxGenericDragImage
* _result
;
3485 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3486 PyObject
* _argo0
= 0;
3487 PyObject
* _argo1
= 0;
3488 char *_kwnames
[] = { "image","cursor", NULL
};
3492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3502 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3503 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3509 wxPy_BEGIN_ALLOW_THREADS
;
3510 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3512 wxPy_END_ALLOW_THREADS
;
3514 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3515 _resultobj
= Py_BuildValue("s",_ptemp
);
3518 _resultobj
= Py_None
;
3523 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3524 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
* _resultobj
;
3526 wxGenericDragImage
* _result
;
3528 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3529 PyObject
* _argo0
= 0;
3530 PyObject
* _argo1
= 0;
3531 char *_kwnames
[] = { "image","cursor", NULL
};
3535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3545 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3546 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3552 wxPy_BEGIN_ALLOW_THREADS
;
3553 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3555 wxPy_END_ALLOW_THREADS
;
3557 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3558 _resultobj
= Py_BuildValue("s",_ptemp
);
3561 _resultobj
= Py_None
;
3566 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3567 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3568 PyObject
* _resultobj
;
3569 wxGenericDragImage
* _result
;
3571 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3572 PyObject
* _obj0
= 0;
3573 PyObject
* _argo1
= 0;
3574 char *_kwnames
[] = { "str","cursor", NULL
};
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3581 #if PYTHON_API_VERSION >= 1009
3582 char* tmpPtr
; int tmpSize
;
3583 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3584 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3587 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3589 _arg0
= new wxString(tmpPtr
, tmpSize
);
3591 if (!PyString_Check(_obj0
)) {
3592 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3595 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3599 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3600 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3606 wxPy_BEGIN_ALLOW_THREADS
;
3607 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3609 wxPy_END_ALLOW_THREADS
;
3611 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3612 _resultobj
= Py_BuildValue("s",_ptemp
);
3615 _resultobj
= Py_None
;
3624 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3625 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3626 PyObject
* _resultobj
;
3627 wxGenericDragImage
* _result
;
3629 wxTreeItemId
* _arg1
;
3630 PyObject
* _argo0
= 0;
3631 PyObject
* _argo1
= 0;
3632 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3639 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3640 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3641 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3646 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3647 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3653 wxPy_BEGIN_ALLOW_THREADS
;
3654 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3656 wxPy_END_ALLOW_THREADS
;
3658 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3659 _resultobj
= Py_BuildValue("s",_ptemp
);
3662 _resultobj
= Py_None
;
3667 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3668 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3669 PyObject
* _resultobj
;
3670 wxGenericDragImage
* _result
;
3673 PyObject
* _argo0
= 0;
3674 char *_kwnames
[] = { "listCtrl","id", NULL
};
3678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3688 wxPy_BEGIN_ALLOW_THREADS
;
3689 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3691 wxPy_END_ALLOW_THREADS
;
3693 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3694 _resultobj
= Py_BuildValue("s",_ptemp
);
3697 _resultobj
= Py_None
;
3702 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3703 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3704 PyObject
* _resultobj
;
3705 wxGenericDragImage
* _arg0
;
3706 PyObject
* _argo0
= 0;
3707 char *_kwnames
[] = { "self", NULL
};
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3720 wxPy_BEGIN_ALLOW_THREADS
;
3721 delete_wxGenericDragImage(_arg0
);
3723 wxPy_END_ALLOW_THREADS
;
3724 } Py_INCREF(Py_None
);
3725 _resultobj
= Py_None
;
3729 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3730 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3731 PyObject
* _resultobj
;
3732 wxGenericDragImage
* _arg0
;
3734 PyObject
* _argo0
= 0;
3735 PyObject
* _argo1
= 0;
3736 char *_kwnames
[] = { "self","bitmap", NULL
};
3739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3749 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3750 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3751 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3756 wxPy_BEGIN_ALLOW_THREADS
;
3757 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3759 wxPy_END_ALLOW_THREADS
;
3760 } Py_INCREF(Py_None
);
3761 _resultobj
= Py_None
;
3765 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3766 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
* _resultobj
;
3769 wxGenericDragImage
* _arg0
;
3772 bool _arg3
= (bool ) FALSE
;
3773 wxRect
* _arg4
= (wxRect
*) NULL
;
3774 PyObject
* _argo0
= 0;
3776 PyObject
* _obj1
= 0;
3777 PyObject
* _argo2
= 0;
3778 int tempbool3
= (int) FALSE
;
3780 PyObject
* _obj4
= 0;
3781 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3795 if (! wxPoint_helper(_obj1
, &_arg1
))
3799 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3800 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3805 _arg3
= (bool ) tempbool3
;
3809 if (! wxRect_helper(_obj4
, &_arg4
))
3813 wxPy_BEGIN_ALLOW_THREADS
;
3814 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3816 wxPy_END_ALLOW_THREADS
;
3817 } _resultobj
= Py_BuildValue("i",_result
);
3821 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3822 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
* _resultobj
;
3825 wxGenericDragImage
* _arg0
;
3829 PyObject
* _argo0
= 0;
3831 PyObject
* _obj1
= 0;
3832 PyObject
* _argo2
= 0;
3833 PyObject
* _argo3
= 0;
3834 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3848 if (! wxPoint_helper(_obj1
, &_arg1
))
3852 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3853 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3859 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3860 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3866 wxPy_BEGIN_ALLOW_THREADS
;
3867 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3869 wxPy_END_ALLOW_THREADS
;
3870 } _resultobj
= Py_BuildValue("i",_result
);
3874 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3875 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3876 PyObject
* _resultobj
;
3878 wxGenericDragImage
* _arg0
;
3879 PyObject
* _argo0
= 0;
3880 char *_kwnames
[] = { "self", NULL
};
3883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3893 wxPy_BEGIN_ALLOW_THREADS
;
3894 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3896 wxPy_END_ALLOW_THREADS
;
3897 } _resultobj
= Py_BuildValue("i",_result
);
3901 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3902 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
* _resultobj
;
3905 wxGenericDragImage
* _arg0
;
3907 PyObject
* _argo0
= 0;
3909 PyObject
* _obj1
= 0;
3910 char *_kwnames
[] = { "self","pt", NULL
};
3913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3924 if (! wxPoint_helper(_obj1
, &_arg1
))
3928 wxPy_BEGIN_ALLOW_THREADS
;
3929 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3931 wxPy_END_ALLOW_THREADS
;
3932 } _resultobj
= Py_BuildValue("i",_result
);
3936 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3937 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
* _resultobj
;
3940 wxGenericDragImage
* _arg0
;
3941 PyObject
* _argo0
= 0;
3942 char *_kwnames
[] = { "self", NULL
};
3945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3955 wxPy_BEGIN_ALLOW_THREADS
;
3956 _result
= (bool )wxDragImage_Show(_arg0
);
3958 wxPy_END_ALLOW_THREADS
;
3959 } _resultobj
= Py_BuildValue("i",_result
);
3963 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3964 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
* _resultobj
;
3967 wxGenericDragImage
* _arg0
;
3968 PyObject
* _argo0
= 0;
3969 char *_kwnames
[] = { "self", NULL
};
3972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3982 wxPy_BEGIN_ALLOW_THREADS
;
3983 _result
= (bool )wxDragImage_Hide(_arg0
);
3985 wxPy_END_ALLOW_THREADS
;
3986 } _resultobj
= Py_BuildValue("i",_result
);
3990 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3991 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
* _resultobj
;
3994 wxGenericDragImage
* _arg0
;
3996 PyObject
* _argo0
= 0;
3998 PyObject
* _obj1
= 0;
3999 char *_kwnames
[] = { "self","pos", NULL
};
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
4006 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4007 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4008 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
4014 if (! wxPoint_helper(_obj1
, &_arg1
))
4018 wxPy_BEGIN_ALLOW_THREADS
;
4019 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
4021 wxPy_END_ALLOW_THREADS
;
4022 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
4023 _resultobj
= Py_BuildValue("s",_ptemp
);
4027 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4028 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4029 PyObject
* _resultobj
;
4031 wxGenericDragImage
* _arg0
;
4036 PyObject
* _argo0
= 0;
4038 PyObject
* _obj1
= 0;
4040 PyObject
* _obj2
= 0;
4043 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4057 if (! wxPoint_helper(_obj1
, &_arg1
))
4062 if (! wxPoint_helper(_obj2
, &_arg2
))
4065 _arg3
= (bool ) tempbool3
;
4066 _arg4
= (bool ) tempbool4
;
4068 wxPy_BEGIN_ALLOW_THREADS
;
4069 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4071 wxPy_END_ALLOW_THREADS
;
4072 } _resultobj
= Py_BuildValue("i",_result
);
4076 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4079 src
= (wxPyTimer
*) ptr
;
4080 dest
= (wxObject
*) src
;
4081 return (void *) dest
;
4084 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4085 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4086 PyObject
* _resultobj
;
4087 wxPyTimer
* _result
;
4089 PyObject
* _obj0
= 0;
4090 char *_kwnames
[] = { "notify", NULL
};
4094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4100 wxPy_BEGIN_ALLOW_THREADS
;
4101 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4103 wxPy_END_ALLOW_THREADS
;
4105 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4106 _resultobj
= Py_BuildValue("s",_ptemp
);
4109 _resultobj
= Py_None
;
4114 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4115 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4116 PyObject
* _resultobj
;
4118 PyObject
* _argo0
= 0;
4119 char *_kwnames
[] = { "self", NULL
};
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4132 wxPy_BEGIN_ALLOW_THREADS
;
4133 delete_wxPyTimer(_arg0
);
4135 wxPy_END_ALLOW_THREADS
;
4136 } Py_INCREF(Py_None
);
4137 _resultobj
= Py_None
;
4141 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4142 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4143 PyObject
* _resultobj
;
4146 PyObject
* _argo0
= 0;
4147 char *_kwnames
[] = { "self", NULL
};
4150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4153 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4154 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4155 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4160 wxPy_BEGIN_ALLOW_THREADS
;
4161 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4163 wxPy_END_ALLOW_THREADS
;
4164 } _resultobj
= Py_BuildValue("i",_result
);
4168 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4169 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
* _resultobj
;
4173 PyObject
* _argo0
= 0;
4174 char *_kwnames
[] = { "self", NULL
};
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4187 wxPy_BEGIN_ALLOW_THREADS
;
4188 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4190 wxPy_END_ALLOW_THREADS
;
4191 } _resultobj
= Py_BuildValue("i",_result
);
4195 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4196 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
* _resultobj
;
4200 PyObject
* _argo0
= 0;
4201 char *_kwnames
[] = { "self", NULL
};
4204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4214 wxPy_BEGIN_ALLOW_THREADS
;
4215 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4217 wxPy_END_ALLOW_THREADS
;
4218 } _resultobj
= Py_BuildValue("i",_result
);
4222 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4223 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
* _resultobj
;
4226 wxEvtHandler
* _arg1
;
4227 int _arg2
= (int ) -1;
4228 PyObject
* _argo0
= 0;
4229 PyObject
* _argo1
= 0;
4230 char *_kwnames
[] = { "self","owner","id", NULL
};
4233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4236 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4237 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4238 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4243 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4244 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4250 wxPy_BEGIN_ALLOW_THREADS
;
4251 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4253 wxPy_END_ALLOW_THREADS
;
4254 } Py_INCREF(Py_None
);
4255 _resultobj
= Py_None
;
4259 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4260 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
* _resultobj
;
4263 int _arg1
= (int ) -1;
4264 int _arg2
= (int ) FALSE
;
4265 PyObject
* _argo0
= 0;
4266 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4272 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4273 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4279 wxPy_BEGIN_ALLOW_THREADS
;
4280 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4282 wxPy_END_ALLOW_THREADS
;
4283 } Py_INCREF(Py_None
);
4284 _resultobj
= Py_None
;
4288 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4289 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
* _resultobj
;
4292 PyObject
* _argo0
= 0;
4293 char *_kwnames
[] = { "self", NULL
};
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4306 wxPy_BEGIN_ALLOW_THREADS
;
4307 wxPyTimer_Stop(_arg0
);
4309 wxPy_END_ALLOW_THREADS
;
4310 } Py_INCREF(Py_None
);
4311 _resultobj
= Py_None
;
4315 #define new_wxLog() (new wxLog())
4316 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4317 PyObject
* _resultobj
;
4319 char *_kwnames
[] = { NULL
};
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4326 wxPy_BEGIN_ALLOW_THREADS
;
4327 _result
= (wxLog
*)new_wxLog();
4329 wxPy_END_ALLOW_THREADS
;
4331 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4332 _resultobj
= Py_BuildValue("s",_ptemp
);
4335 _resultobj
= Py_None
;
4340 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
* _resultobj
;
4343 char *_kwnames
[] = { NULL
};
4346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4349 wxPy_BEGIN_ALLOW_THREADS
;
4350 _result
= (bool )wxLog::IsEnabled();
4352 wxPy_END_ALLOW_THREADS
;
4353 } _resultobj
= Py_BuildValue("i",_result
);
4357 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
* _resultobj
;
4360 bool _arg0
= (bool ) TRUE
;
4361 int tempbool0
= (int) TRUE
;
4362 char *_kwnames
[] = { "doIt", NULL
};
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4367 _arg0
= (bool ) tempbool0
;
4369 wxPy_BEGIN_ALLOW_THREADS
;
4370 _result
= (bool )wxLog::EnableLogging(_arg0
);
4372 wxPy_END_ALLOW_THREADS
;
4373 } _resultobj
= Py_BuildValue("i",_result
);
4377 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4378 PyObject
* _resultobj
;
4381 int _arg2
= (int ) 0;
4382 PyObject
* _argo0
= 0;
4383 char *_kwnames
[] = { "level","szString","t", NULL
};
4386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4396 wxPy_BEGIN_ALLOW_THREADS
;
4397 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
4399 wxPy_END_ALLOW_THREADS
;
4400 } Py_INCREF(Py_None
);
4401 _resultobj
= Py_None
;
4405 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4406 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4407 PyObject
* _resultobj
;
4409 PyObject
* _argo0
= 0;
4410 char *_kwnames
[] = { "self", NULL
};
4413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4423 wxPy_BEGIN_ALLOW_THREADS
;
4426 wxPy_END_ALLOW_THREADS
;
4427 } Py_INCREF(Py_None
);
4428 _resultobj
= Py_None
;
4432 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4433 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
* _resultobj
;
4437 PyObject
* _argo0
= 0;
4438 char *_kwnames
[] = { "self", NULL
};
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4444 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4445 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4446 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4451 wxPy_BEGIN_ALLOW_THREADS
;
4452 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4454 wxPy_END_ALLOW_THREADS
;
4455 } _resultobj
= Py_BuildValue("i",_result
);
4459 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4460 PyObject
* _resultobj
;
4461 char *_kwnames
[] = { NULL
};
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4467 wxPy_BEGIN_ALLOW_THREADS
;
4468 wxLog::FlushActive();
4470 wxPy_END_ALLOW_THREADS
;
4471 } Py_INCREF(Py_None
);
4472 _resultobj
= Py_None
;
4476 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
* _resultobj
;
4479 char *_kwnames
[] = { NULL
};
4483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4486 wxPy_BEGIN_ALLOW_THREADS
;
4487 _result
= (wxLog
*)wxLog::GetActiveTarget();
4489 wxPy_END_ALLOW_THREADS
;
4491 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4492 _resultobj
= Py_BuildValue("s",_ptemp
);
4495 _resultobj
= Py_None
;
4500 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4501 PyObject
* _resultobj
;
4504 PyObject
* _argo0
= 0;
4505 char *_kwnames
[] = { "pLogger", NULL
};
4509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4512 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4513 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4514 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4519 wxPy_BEGIN_ALLOW_THREADS
;
4520 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4522 wxPy_END_ALLOW_THREADS
;
4524 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4525 _resultobj
= Py_BuildValue("s",_ptemp
);
4528 _resultobj
= Py_None
;
4533 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
* _resultobj
;
4535 char *_kwnames
[] = { NULL
};
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4541 wxPy_BEGIN_ALLOW_THREADS
;
4544 wxPy_END_ALLOW_THREADS
;
4545 } Py_INCREF(Py_None
);
4546 _resultobj
= Py_None
;
4550 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
* _resultobj
;
4552 char *_kwnames
[] = { NULL
};
4555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4558 wxPy_BEGIN_ALLOW_THREADS
;
4561 wxPy_END_ALLOW_THREADS
;
4562 } Py_INCREF(Py_None
);
4563 _resultobj
= Py_None
;
4567 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4568 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4569 PyObject
* _resultobj
;
4571 bool _arg1
= (bool ) TRUE
;
4572 PyObject
* _argo0
= 0;
4573 int tempbool1
= (int) TRUE
;
4574 char *_kwnames
[] = { "self","bVerbose", NULL
};
4577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4586 _arg1
= (bool ) tempbool1
;
4588 wxPy_BEGIN_ALLOW_THREADS
;
4589 wxLog_SetVerbose(_arg0
,_arg1
);
4591 wxPy_END_ALLOW_THREADS
;
4592 } Py_INCREF(Py_None
);
4593 _resultobj
= Py_None
;
4597 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
* _resultobj
;
4599 char *_kwnames
[] = { NULL
};
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4605 wxPy_BEGIN_ALLOW_THREADS
;
4606 wxLog::DontCreateOnDemand();
4608 wxPy_END_ALLOW_THREADS
;
4609 } Py_INCREF(Py_None
);
4610 _resultobj
= Py_None
;
4614 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4615 PyObject
* _resultobj
;
4616 wxTraceMask
* _arg0
;
4617 PyObject
* _argo0
= 0;
4618 char *_kwnames
[] = { "ulMask", NULL
};
4621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4624 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4625 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4626 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4631 wxPy_BEGIN_ALLOW_THREADS
;
4632 wxLog::SetTraceMask(*_arg0
);
4634 wxPy_END_ALLOW_THREADS
;
4635 } Py_INCREF(Py_None
);
4636 _resultobj
= Py_None
;
4640 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4641 PyObject
* _resultobj
;
4643 PyObject
* _obj0
= 0;
4644 char *_kwnames
[] = { "str", NULL
};
4647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4650 #if PYTHON_API_VERSION >= 1009
4651 char* tmpPtr
; int tmpSize
;
4652 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4653 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4656 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4658 _arg0
= new wxString(tmpPtr
, tmpSize
);
4660 if (!PyString_Check(_obj0
)) {
4661 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4664 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4668 wxPy_BEGIN_ALLOW_THREADS
;
4669 wxLog::AddTraceMask(*_arg0
);
4671 wxPy_END_ALLOW_THREADS
;
4672 } Py_INCREF(Py_None
);
4673 _resultobj
= Py_None
;
4681 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
* _resultobj
;
4684 PyObject
* _obj0
= 0;
4685 char *_kwnames
[] = { "str", NULL
};
4688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4691 #if PYTHON_API_VERSION >= 1009
4692 char* tmpPtr
; int tmpSize
;
4693 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4694 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4697 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4699 _arg0
= new wxString(tmpPtr
, tmpSize
);
4701 if (!PyString_Check(_obj0
)) {
4702 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4705 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4709 wxPy_BEGIN_ALLOW_THREADS
;
4710 wxLog::RemoveTraceMask(*_arg0
);
4712 wxPy_END_ALLOW_THREADS
;
4713 } Py_INCREF(Py_None
);
4714 _resultobj
= Py_None
;
4722 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4723 PyObject
* _resultobj
;
4724 char *_kwnames
[] = { NULL
};
4727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
4730 wxPy_BEGIN_ALLOW_THREADS
;
4731 wxLog::ClearTraceMasks();
4733 wxPy_END_ALLOW_THREADS
;
4734 } Py_INCREF(Py_None
);
4735 _resultobj
= Py_None
;
4739 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
* _resultobj
;
4742 char *_kwnames
[] = { "ts", NULL
};
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_SetTimestamp",_kwnames
,&_arg0
))
4748 wxPy_BEGIN_ALLOW_THREADS
;
4749 wxLog::SetTimestamp(_arg0
);
4751 wxPy_END_ALLOW_THREADS
;
4752 } Py_INCREF(Py_None
);
4753 _resultobj
= Py_None
;
4757 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4758 PyObject
* _resultobj
;
4760 char *_kwnames
[] = { NULL
};
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
4766 wxPy_BEGIN_ALLOW_THREADS
;
4767 _result
= (wxChar
*)wxLog::GetTimestamp();
4769 wxPy_END_ALLOW_THREADS
;
4770 } _resultobj
= Py_BuildValue("s", _result
);
4774 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4775 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4776 PyObject
* _resultobj
;
4779 PyObject
* _argo0
= 0;
4780 char *_kwnames
[] = { "self", NULL
};
4783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4786 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4787 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4788 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4793 wxPy_BEGIN_ALLOW_THREADS
;
4794 _result
= (bool )wxLog_GetVerbose(_arg0
);
4796 wxPy_END_ALLOW_THREADS
;
4797 } _resultobj
= Py_BuildValue("i",_result
);
4801 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4802 PyObject
* _resultobj
;
4803 wxTraceMask
* _result
;
4804 char *_kwnames
[] = { NULL
};
4808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4811 wxPy_BEGIN_ALLOW_THREADS
;
4812 _result
= new wxTraceMask (wxLog::GetTraceMask());
4814 wxPy_END_ALLOW_THREADS
;
4815 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
4816 _resultobj
= Py_BuildValue("s",_ptemp
);
4820 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4821 PyObject
* _resultobj
;
4824 char *_kwnames
[] = { "mask", NULL
};
4827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
4830 wxPy_BEGIN_ALLOW_THREADS
;
4831 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
4833 wxPy_END_ALLOW_THREADS
;
4834 } _resultobj
= Py_BuildValue("i",_result
);
4838 static wxString
wxLog_TimeStamp(wxLog
*self
) {
4840 wxLog::TimeStamp(&msg
);
4843 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4844 PyObject
* _resultobj
;
4847 PyObject
* _argo0
= 0;
4848 char *_kwnames
[] = { "self", NULL
};
4851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
4854 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4855 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4856 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
4861 wxPy_BEGIN_ALLOW_THREADS
;
4862 _result
= new wxString (wxLog_TimeStamp(_arg0
));
4864 wxPy_END_ALLOW_THREADS
;
4866 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4874 static void *SwigwxLogStderrTowxLog(void *ptr
) {
4877 src
= (wxLogStderr
*) ptr
;
4878 dest
= (wxLog
*) src
;
4879 return (void *) dest
;
4882 #define new_wxLogStderr() (new wxLogStderr())
4883 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4884 PyObject
* _resultobj
;
4885 wxLogStderr
* _result
;
4886 char *_kwnames
[] = { NULL
};
4890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
4893 wxPy_BEGIN_ALLOW_THREADS
;
4894 _result
= (wxLogStderr
*)new_wxLogStderr();
4896 wxPy_END_ALLOW_THREADS
;
4898 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
4899 _resultobj
= Py_BuildValue("s",_ptemp
);
4902 _resultobj
= Py_None
;
4907 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
4910 src
= (wxLogTextCtrl
*) ptr
;
4911 dest
= (wxLog
*) src
;
4912 return (void *) dest
;
4915 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
4916 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
* _resultobj
;
4918 wxLogTextCtrl
* _result
;
4920 PyObject
* _argo0
= 0;
4921 char *_kwnames
[] = { "pTextCtrl", NULL
};
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
4928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
4935 wxPy_BEGIN_ALLOW_THREADS
;
4936 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
4938 wxPy_END_ALLOW_THREADS
;
4940 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
4941 _resultobj
= Py_BuildValue("s",_ptemp
);
4944 _resultobj
= Py_None
;
4949 static void *SwigwxLogGuiTowxLog(void *ptr
) {
4952 src
= (wxLogGui
*) ptr
;
4953 dest
= (wxLog
*) src
;
4954 return (void *) dest
;
4957 #define new_wxLogGui() (new wxLogGui())
4958 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4959 PyObject
* _resultobj
;
4961 char *_kwnames
[] = { NULL
};
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
4968 wxPy_BEGIN_ALLOW_THREADS
;
4969 _result
= (wxLogGui
*)new_wxLogGui();
4971 wxPy_END_ALLOW_THREADS
;
4973 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
4974 _resultobj
= Py_BuildValue("s",_ptemp
);
4977 _resultobj
= Py_None
;
4982 static void *SwigwxLogWindowTowxLog(void *ptr
) {
4985 src
= (wxLogWindow
*) ptr
;
4986 dest
= (wxLog
*) src
;
4987 return (void *) dest
;
4990 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4991 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
* _resultobj
;
4993 wxLogWindow
* _result
;
4996 bool _arg2
= (bool ) TRUE
;
4997 bool _arg3
= (bool ) TRUE
;
4998 PyObject
* _argo0
= 0;
4999 int tempbool2
= (int) TRUE
;
5000 int tempbool3
= (int) TRUE
;
5001 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
5005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
5008 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5009 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
5010 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
5014 _arg2
= (bool ) tempbool2
;
5015 _arg3
= (bool ) tempbool3
;
5017 wxPy_BEGIN_ALLOW_THREADS
;
5018 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
5020 wxPy_END_ALLOW_THREADS
;
5022 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
5023 _resultobj
= Py_BuildValue("s",_ptemp
);
5026 _resultobj
= Py_None
;
5031 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
5032 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5033 PyObject
* _resultobj
;
5034 wxLogWindow
* _arg0
;
5035 bool _arg1
= (bool ) TRUE
;
5036 PyObject
* _argo0
= 0;
5037 int tempbool1
= (int) TRUE
;
5038 char *_kwnames
[] = { "self","bShow", NULL
};
5041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5050 _arg1
= (bool ) tempbool1
;
5052 wxPy_BEGIN_ALLOW_THREADS
;
5053 wxLogWindow_Show(_arg0
,_arg1
);
5055 wxPy_END_ALLOW_THREADS
;
5056 } Py_INCREF(Py_None
);
5057 _resultobj
= Py_None
;
5061 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5062 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
* _resultobj
;
5065 wxLogWindow
* _arg0
;
5066 PyObject
* _argo0
= 0;
5067 char *_kwnames
[] = { "self", NULL
};
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5073 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5074 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5075 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5080 wxPy_BEGIN_ALLOW_THREADS
;
5081 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5083 wxPy_END_ALLOW_THREADS
;
5084 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5088 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5089 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
* _resultobj
;
5092 wxLogWindow
* _arg0
;
5093 PyObject
* _argo0
= 0;
5094 char *_kwnames
[] = { "self", NULL
};
5098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5108 wxPy_BEGIN_ALLOW_THREADS
;
5109 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5111 wxPy_END_ALLOW_THREADS
;
5113 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5114 _resultobj
= Py_BuildValue("s",_ptemp
);
5117 _resultobj
= Py_None
;
5122 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5123 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5124 PyObject
* _resultobj
;
5126 wxLogWindow
* _arg0
;
5127 PyObject
* _argo0
= 0;
5128 char *_kwnames
[] = { "self", NULL
};
5131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5134 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5135 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5141 wxPy_BEGIN_ALLOW_THREADS
;
5142 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5144 wxPy_END_ALLOW_THREADS
;
5145 } _resultobj
= Py_BuildValue("i",_result
);
5149 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5150 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5151 PyObject
* _resultobj
;
5152 wxLogWindow
* _arg0
;
5154 PyObject
* _argo0
= 0;
5156 char *_kwnames
[] = { "self","bDoPass", NULL
};
5159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5168 _arg1
= (bool ) tempbool1
;
5170 wxPy_BEGIN_ALLOW_THREADS
;
5171 wxLogWindow_PassMessages(_arg0
,_arg1
);
5173 wxPy_END_ALLOW_THREADS
;
5174 } Py_INCREF(Py_None
);
5175 _resultobj
= Py_None
;
5179 #define new_wxLogNull() (new wxLogNull())
5180 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
* _resultobj
;
5182 wxLogNull
* _result
;
5183 char *_kwnames
[] = { NULL
};
5187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5190 wxPy_BEGIN_ALLOW_THREADS
;
5191 _result
= (wxLogNull
*)new_wxLogNull();
5193 wxPy_END_ALLOW_THREADS
;
5195 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5196 _resultobj
= Py_BuildValue("s",_ptemp
);
5199 _resultobj
= Py_None
;
5204 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5205 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5206 PyObject
* _resultobj
;
5208 PyObject
* _argo0
= 0;
5209 char *_kwnames
[] = { "self", NULL
};
5212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5222 wxPy_BEGIN_ALLOW_THREADS
;
5223 delete_wxLogNull(_arg0
);
5225 wxPy_END_ALLOW_THREADS
;
5226 } Py_INCREF(Py_None
);
5227 _resultobj
= Py_None
;
5231 static void *SwigwxLogChainTowxLog(void *ptr
) {
5234 src
= (wxLogChain
*) ptr
;
5235 dest
= (wxLog
*) src
;
5236 return (void *) dest
;
5239 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5240 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5241 PyObject
* _resultobj
;
5242 wxLogChain
* _result
;
5244 PyObject
* _argo0
= 0;
5245 char *_kwnames
[] = { "logger", NULL
};
5249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5259 wxPy_BEGIN_ALLOW_THREADS
;
5260 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5262 wxPy_END_ALLOW_THREADS
;
5264 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5265 _resultobj
= Py_BuildValue("s",_ptemp
);
5268 _resultobj
= Py_None
;
5273 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5274 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5275 PyObject
* _resultobj
;
5278 PyObject
* _argo0
= 0;
5279 PyObject
* _argo1
= 0;
5280 char *_kwnames
[] = { "self","logger", NULL
};
5283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5286 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5287 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5288 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5293 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5294 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5300 wxPy_BEGIN_ALLOW_THREADS
;
5301 wxLogChain_SetLog(_arg0
,_arg1
);
5303 wxPy_END_ALLOW_THREADS
;
5304 } Py_INCREF(Py_None
);
5305 _resultobj
= Py_None
;
5309 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5310 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5311 PyObject
* _resultobj
;
5314 PyObject
* _argo0
= 0;
5316 char *_kwnames
[] = { "self","bDoPass", NULL
};
5319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5322 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5323 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5324 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5328 _arg1
= (bool ) tempbool1
;
5330 wxPy_BEGIN_ALLOW_THREADS
;
5331 wxLogChain_PassMessages(_arg0
,_arg1
);
5333 wxPy_END_ALLOW_THREADS
;
5334 } Py_INCREF(Py_None
);
5335 _resultobj
= Py_None
;
5339 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5340 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
* _resultobj
;
5344 PyObject
* _argo0
= 0;
5345 char *_kwnames
[] = { "self", NULL
};
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5358 wxPy_BEGIN_ALLOW_THREADS
;
5359 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5361 wxPy_END_ALLOW_THREADS
;
5362 } _resultobj
= Py_BuildValue("i",_result
);
5366 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5367 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5368 PyObject
* _resultobj
;
5371 PyObject
* _argo0
= 0;
5372 char *_kwnames
[] = { "self", NULL
};
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5386 wxPy_BEGIN_ALLOW_THREADS
;
5387 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5389 wxPy_END_ALLOW_THREADS
;
5391 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5392 _resultobj
= Py_BuildValue("s",_ptemp
);
5395 _resultobj
= Py_None
;
5400 static void *SwigwxPyLogTowxLog(void *ptr
) {
5403 src
= (wxPyLog
*) ptr
;
5404 dest
= (wxLog
*) src
;
5405 return (void *) dest
;
5408 #define new_wxPyLog() (new wxPyLog())
5409 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
* _resultobj
;
5412 char *_kwnames
[] = { NULL
};
5416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5419 wxPy_BEGIN_ALLOW_THREADS
;
5420 _result
= (wxPyLog
*)new_wxPyLog();
5422 wxPy_END_ALLOW_THREADS
;
5424 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5425 _resultobj
= Py_BuildValue("s",_ptemp
);
5428 _resultobj
= Py_None
;
5433 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5434 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
* _resultobj
;
5439 PyObject
* _argo0
= 0;
5440 PyObject
* _obj1
= 0;
5441 PyObject
* _obj2
= 0;
5442 char *_kwnames
[] = { "self","self","_class", NULL
};
5445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5461 wxPy_BEGIN_ALLOW_THREADS
;
5462 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5464 wxPy_END_ALLOW_THREADS
;
5465 } Py_INCREF(Py_None
);
5466 _resultobj
= Py_None
;
5470 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5471 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5472 PyObject
* _resultobj
;
5474 PyObject
* _argo0
= 0;
5475 char *_kwnames
[] = { "self", NULL
};
5478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5488 wxPy_BEGIN_ALLOW_THREADS
;
5489 wxPyLog_Destroy(_arg0
);
5491 wxPy_END_ALLOW_THREADS
;
5492 } Py_INCREF(Py_None
);
5493 _resultobj
= Py_None
;
5497 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5498 wxProcessEvent
*src
;
5500 src
= (wxProcessEvent
*) ptr
;
5501 dest
= (wxEvent
*) src
;
5502 return (void *) dest
;
5505 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5506 wxProcessEvent
*src
;
5508 src
= (wxProcessEvent
*) ptr
;
5509 dest
= (wxObject
*) src
;
5510 return (void *) dest
;
5513 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5514 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
* _resultobj
;
5516 wxProcessEvent
* _result
;
5517 int _arg0
= (int ) 0;
5518 int _arg1
= (int ) 0;
5519 int _arg2
= (int ) 0;
5520 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5527 wxPy_BEGIN_ALLOW_THREADS
;
5528 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5530 wxPy_END_ALLOW_THREADS
;
5532 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5533 _resultobj
= Py_BuildValue("s",_ptemp
);
5536 _resultobj
= Py_None
;
5541 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5542 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5543 PyObject
* _resultobj
;
5545 wxProcessEvent
* _arg0
;
5546 PyObject
* _argo0
= 0;
5547 char *_kwnames
[] = { "self", NULL
};
5550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5560 wxPy_BEGIN_ALLOW_THREADS
;
5561 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5563 wxPy_END_ALLOW_THREADS
;
5564 } _resultobj
= Py_BuildValue("i",_result
);
5568 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5569 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
* _resultobj
;
5572 wxProcessEvent
* _arg0
;
5573 PyObject
* _argo0
= 0;
5574 char *_kwnames
[] = { "self", NULL
};
5577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5587 wxPy_BEGIN_ALLOW_THREADS
;
5588 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5590 wxPy_END_ALLOW_THREADS
;
5591 } _resultobj
= Py_BuildValue("i",_result
);
5595 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5596 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5597 PyObject
* _resultobj
;
5599 wxProcessEvent
* _arg0
;
5601 PyObject
* _argo0
= 0;
5602 char *_kwnames
[] = { "self","m_pid", NULL
};
5605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5608 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5609 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5610 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5615 wxPy_BEGIN_ALLOW_THREADS
;
5616 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5618 wxPy_END_ALLOW_THREADS
;
5619 } _resultobj
= Py_BuildValue("i",_result
);
5623 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5624 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5625 PyObject
* _resultobj
;
5627 wxProcessEvent
* _arg0
;
5628 PyObject
* _argo0
= 0;
5629 char *_kwnames
[] = { "self", NULL
};
5632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5642 wxPy_BEGIN_ALLOW_THREADS
;
5643 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5645 wxPy_END_ALLOW_THREADS
;
5646 } _resultobj
= Py_BuildValue("i",_result
);
5650 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5651 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5652 PyObject
* _resultobj
;
5654 wxProcessEvent
* _arg0
;
5656 PyObject
* _argo0
= 0;
5657 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5670 wxPy_BEGIN_ALLOW_THREADS
;
5671 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5673 wxPy_END_ALLOW_THREADS
;
5674 } _resultobj
= Py_BuildValue("i",_result
);
5678 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5679 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5680 PyObject
* _resultobj
;
5682 wxProcessEvent
* _arg0
;
5683 PyObject
* _argo0
= 0;
5684 char *_kwnames
[] = { "self", NULL
};
5687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5690 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5691 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5692 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5697 wxPy_BEGIN_ALLOW_THREADS
;
5698 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5700 wxPy_END_ALLOW_THREADS
;
5701 } _resultobj
= Py_BuildValue("i",_result
);
5705 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5708 src
= (wxPyProcess
*) ptr
;
5709 dest
= (wxEvtHandler
*) src
;
5710 return (void *) dest
;
5713 static void *SwigwxPyProcessTowxObject(void *ptr
) {
5716 src
= (wxPyProcess
*) ptr
;
5717 dest
= (wxObject
*) src
;
5718 return (void *) dest
;
5721 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5722 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5723 PyObject
* _resultobj
;
5724 wxPyProcess
* _result
;
5725 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
5726 int _arg1
= (int ) -1;
5727 PyObject
* _argo0
= 0;
5728 char *_kwnames
[] = { "parent","id", NULL
};
5732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
5735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
5737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
5742 wxPy_BEGIN_ALLOW_THREADS
;
5743 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
5745 wxPy_END_ALLOW_THREADS
;
5747 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
5748 _resultobj
= Py_BuildValue("s",_ptemp
);
5751 _resultobj
= Py_None
;
5756 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
5757 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5758 PyObject
* _resultobj
;
5759 wxPyProcess
* _arg0
;
5760 PyObject
* _argo0
= 0;
5761 char *_kwnames
[] = { "self", NULL
};
5764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
5767 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5768 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5769 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
5774 wxPy_BEGIN_ALLOW_THREADS
;
5775 wxPyProcess_Destroy(_arg0
);
5777 wxPy_END_ALLOW_THREADS
;
5778 } Py_INCREF(Py_None
);
5779 _resultobj
= Py_None
;
5783 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5784 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5785 PyObject
* _resultobj
;
5786 wxPyProcess
* _arg0
;
5789 PyObject
* _argo0
= 0;
5790 PyObject
* _obj1
= 0;
5791 PyObject
* _obj2
= 0;
5792 char *_kwnames
[] = { "self","self","_class", NULL
};
5795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5798 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5799 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5800 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
5811 wxPy_BEGIN_ALLOW_THREADS
;
5812 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5814 wxPy_END_ALLOW_THREADS
;
5815 } Py_INCREF(Py_None
);
5816 _resultobj
= Py_None
;
5820 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
5821 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5822 PyObject
* _resultobj
;
5823 wxPyProcess
* _arg0
;
5826 PyObject
* _argo0
= 0;
5827 char *_kwnames
[] = { "self","pid","status", NULL
};
5830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5833 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5834 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
5840 wxPy_BEGIN_ALLOW_THREADS
;
5841 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
5843 wxPy_END_ALLOW_THREADS
;
5844 } Py_INCREF(Py_None
);
5845 _resultobj
= Py_None
;
5849 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
5850 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5851 PyObject
* _resultobj
;
5852 wxPyProcess
* _arg0
;
5853 PyObject
* _argo0
= 0;
5854 char *_kwnames
[] = { "self", NULL
};
5857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
5860 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5861 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5862 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
5867 wxPy_BEGIN_ALLOW_THREADS
;
5868 wxProcess_Redirect(_arg0
);
5870 wxPy_END_ALLOW_THREADS
;
5871 } Py_INCREF(Py_None
);
5872 _resultobj
= Py_None
;
5876 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
5877 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5878 PyObject
* _resultobj
;
5880 wxPyProcess
* _arg0
;
5881 PyObject
* _argo0
= 0;
5882 char *_kwnames
[] = { "self", NULL
};
5885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
5888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
5895 wxPy_BEGIN_ALLOW_THREADS
;
5896 _result
= (bool )wxProcess_IsRedirected(_arg0
);
5898 wxPy_END_ALLOW_THREADS
;
5899 } _resultobj
= Py_BuildValue("i",_result
);
5903 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
5904 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5905 PyObject
* _resultobj
;
5906 wxPyProcess
* _arg0
;
5907 PyObject
* _argo0
= 0;
5908 char *_kwnames
[] = { "self", NULL
};
5911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
5914 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5915 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5916 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
5921 wxPy_BEGIN_ALLOW_THREADS
;
5922 wxProcess_Detach(_arg0
);
5924 wxPy_END_ALLOW_THREADS
;
5925 } Py_INCREF(Py_None
);
5926 _resultobj
= Py_None
;
5930 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
5931 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
* _resultobj
;
5933 wxInputStream
* _result
;
5934 wxPyProcess
* _arg0
;
5935 PyObject
* _argo0
= 0;
5936 char *_kwnames
[] = { "self", NULL
};
5939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
5942 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5943 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5944 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
5949 wxPy_BEGIN_ALLOW_THREADS
;
5950 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
5952 wxPy_END_ALLOW_THREADS
;
5954 wxPyInputStream
* _ptr
= NULL
;
5957 _ptr
= new wxPyInputStream(_result
);
5959 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
5964 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
5965 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5966 PyObject
* _resultobj
;
5967 wxInputStream
* _result
;
5968 wxPyProcess
* _arg0
;
5969 PyObject
* _argo0
= 0;
5970 char *_kwnames
[] = { "self", NULL
};
5973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
5976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
5983 wxPy_BEGIN_ALLOW_THREADS
;
5984 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
5986 wxPy_END_ALLOW_THREADS
;
5988 wxPyInputStream
* _ptr
= NULL
;
5991 _ptr
= new wxPyInputStream(_result
);
5993 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
5998 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
5999 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6000 PyObject
* _resultobj
;
6001 wxOutputStream
* _result
;
6002 wxPyProcess
* _arg0
;
6003 PyObject
* _argo0
= 0;
6004 char *_kwnames
[] = { "self", NULL
};
6008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
6011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
6018 wxPy_BEGIN_ALLOW_THREADS
;
6019 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
6021 wxPy_END_ALLOW_THREADS
;
6023 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
6024 _resultobj
= Py_BuildValue("s",_ptemp
);
6027 _resultobj
= Py_None
;
6032 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
6033 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
* _resultobj
;
6035 wxPyProcess
* _arg0
;
6036 PyObject
* _argo0
= 0;
6037 char *_kwnames
[] = { "self", NULL
};
6040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6050 wxPy_BEGIN_ALLOW_THREADS
;
6051 wxProcess_CloseOutput(_arg0
);
6053 wxPy_END_ALLOW_THREADS
;
6054 } Py_INCREF(Py_None
);
6055 _resultobj
= Py_None
;
6059 static void *SwigwxJoystickTowxObject(void *ptr
) {
6062 src
= (wxJoystick
*) ptr
;
6063 dest
= (wxObject
*) src
;
6064 return (void *) dest
;
6067 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6068 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6069 PyObject
* _resultobj
;
6070 wxJoystick
* _result
;
6071 int _arg0
= (int ) wxJOYSTICK1
;
6072 char *_kwnames
[] = { "joystick", NULL
};
6076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6079 wxPy_BEGIN_ALLOW_THREADS
;
6080 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6082 wxPy_END_ALLOW_THREADS
;
6084 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6085 _resultobj
= Py_BuildValue("s",_ptemp
);
6088 _resultobj
= Py_None
;
6093 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6094 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
* _resultobj
;
6097 PyObject
* _argo0
= 0;
6098 char *_kwnames
[] = { "self", NULL
};
6101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6104 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6105 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6106 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6111 wxPy_BEGIN_ALLOW_THREADS
;
6112 delete_wxJoystick(_arg0
);
6114 wxPy_END_ALLOW_THREADS
;
6115 } Py_INCREF(Py_None
);
6116 _resultobj
= Py_None
;
6120 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6121 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6122 PyObject
* _resultobj
;
6125 PyObject
* _argo0
= 0;
6126 char *_kwnames
[] = { "self", NULL
};
6130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6133 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6134 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6135 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6140 wxPy_BEGIN_ALLOW_THREADS
;
6141 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6143 wxPy_END_ALLOW_THREADS
;
6144 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6145 _resultobj
= Py_BuildValue("s",_ptemp
);
6149 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6150 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6151 PyObject
* _resultobj
;
6154 PyObject
* _argo0
= 0;
6155 char *_kwnames
[] = { "self", NULL
};
6158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6161 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6162 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6163 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6168 wxPy_BEGIN_ALLOW_THREADS
;
6169 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6171 wxPy_END_ALLOW_THREADS
;
6172 } _resultobj
= Py_BuildValue("i",_result
);
6176 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6177 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6178 PyObject
* _resultobj
;
6181 PyObject
* _argo0
= 0;
6182 char *_kwnames
[] = { "self", NULL
};
6185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6188 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6189 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6190 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6195 wxPy_BEGIN_ALLOW_THREADS
;
6196 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6198 wxPy_END_ALLOW_THREADS
;
6199 } _resultobj
= Py_BuildValue("i",_result
);
6203 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6204 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6205 PyObject
* _resultobj
;
6208 PyObject
* _argo0
= 0;
6209 char *_kwnames
[] = { "self", NULL
};
6212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6215 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6216 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6217 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6222 wxPy_BEGIN_ALLOW_THREADS
;
6223 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6225 wxPy_END_ALLOW_THREADS
;
6226 } _resultobj
= Py_BuildValue("i",_result
);
6230 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6231 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6232 PyObject
* _resultobj
;
6235 PyObject
* _argo0
= 0;
6236 char *_kwnames
[] = { "self", NULL
};
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6249 wxPy_BEGIN_ALLOW_THREADS
;
6250 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6252 wxPy_END_ALLOW_THREADS
;
6253 } _resultobj
= Py_BuildValue("i",_result
);
6257 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6258 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6259 PyObject
* _resultobj
;
6262 PyObject
* _argo0
= 0;
6263 char *_kwnames
[] = { "self", NULL
};
6266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6276 wxPy_BEGIN_ALLOW_THREADS
;
6277 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6279 wxPy_END_ALLOW_THREADS
;
6280 } _resultobj
= Py_BuildValue("i",_result
);
6284 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6285 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6286 PyObject
* _resultobj
;
6289 PyObject
* _argo0
= 0;
6290 char *_kwnames
[] = { "self", NULL
};
6293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6296 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6297 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6298 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6303 wxPy_BEGIN_ALLOW_THREADS
;
6304 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6306 wxPy_END_ALLOW_THREADS
;
6307 } _resultobj
= Py_BuildValue("i",_result
);
6311 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6312 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
* _resultobj
;
6316 PyObject
* _argo0
= 0;
6317 char *_kwnames
[] = { "self", NULL
};
6320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6330 wxPy_BEGIN_ALLOW_THREADS
;
6331 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6333 wxPy_END_ALLOW_THREADS
;
6334 } _resultobj
= Py_BuildValue("i",_result
);
6338 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6339 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
* _resultobj
;
6343 PyObject
* _argo0
= 0;
6344 char *_kwnames
[] = { "self", NULL
};
6347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6350 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6351 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6357 wxPy_BEGIN_ALLOW_THREADS
;
6358 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6360 wxPy_END_ALLOW_THREADS
;
6361 } _resultobj
= Py_BuildValue("i",_result
);
6365 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6366 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
* _resultobj
;
6370 PyObject
* _argo0
= 0;
6371 char *_kwnames
[] = { "self","threshold", NULL
};
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6377 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6378 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6384 wxPy_BEGIN_ALLOW_THREADS
;
6385 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6387 wxPy_END_ALLOW_THREADS
;
6388 } Py_INCREF(Py_None
);
6389 _resultobj
= Py_None
;
6393 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6394 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6395 PyObject
* _resultobj
;
6398 PyObject
* _argo0
= 0;
6399 char *_kwnames
[] = { "self", NULL
};
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6412 wxPy_BEGIN_ALLOW_THREADS
;
6413 _result
= (bool )wxJoystick_IsOk(_arg0
);
6415 wxPy_END_ALLOW_THREADS
;
6416 } _resultobj
= Py_BuildValue("i",_result
);
6420 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6421 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6422 PyObject
* _resultobj
;
6425 PyObject
* _argo0
= 0;
6426 char *_kwnames
[] = { "self", NULL
};
6429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6439 wxPy_BEGIN_ALLOW_THREADS
;
6440 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6442 wxPy_END_ALLOW_THREADS
;
6443 } _resultobj
= Py_BuildValue("i",_result
);
6447 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6448 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6449 PyObject
* _resultobj
;
6452 PyObject
* _argo0
= 0;
6453 char *_kwnames
[] = { "self", NULL
};
6456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6466 wxPy_BEGIN_ALLOW_THREADS
;
6467 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6469 wxPy_END_ALLOW_THREADS
;
6470 } _resultobj
= Py_BuildValue("i",_result
);
6474 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6475 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6476 PyObject
* _resultobj
;
6479 PyObject
* _argo0
= 0;
6480 char *_kwnames
[] = { "self", NULL
};
6483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6493 wxPy_BEGIN_ALLOW_THREADS
;
6494 _result
= (int )wxJoystick_GetProductId(_arg0
);
6496 wxPy_END_ALLOW_THREADS
;
6497 } _resultobj
= Py_BuildValue("i",_result
);
6501 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6502 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
* _resultobj
;
6506 PyObject
* _argo0
= 0;
6507 char *_kwnames
[] = { "self", NULL
};
6510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6520 wxPy_BEGIN_ALLOW_THREADS
;
6521 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6523 wxPy_END_ALLOW_THREADS
;
6525 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6533 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6534 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6535 PyObject
* _resultobj
;
6538 PyObject
* _argo0
= 0;
6539 char *_kwnames
[] = { "self", NULL
};
6542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6552 wxPy_BEGIN_ALLOW_THREADS
;
6553 _result
= (int )wxJoystick_GetXMin(_arg0
);
6555 wxPy_END_ALLOW_THREADS
;
6556 } _resultobj
= Py_BuildValue("i",_result
);
6560 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6561 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
* _resultobj
;
6565 PyObject
* _argo0
= 0;
6566 char *_kwnames
[] = { "self", NULL
};
6569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6579 wxPy_BEGIN_ALLOW_THREADS
;
6580 _result
= (int )wxJoystick_GetYMin(_arg0
);
6582 wxPy_END_ALLOW_THREADS
;
6583 } _resultobj
= Py_BuildValue("i",_result
);
6587 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6588 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6589 PyObject
* _resultobj
;
6592 PyObject
* _argo0
= 0;
6593 char *_kwnames
[] = { "self", NULL
};
6596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6606 wxPy_BEGIN_ALLOW_THREADS
;
6607 _result
= (int )wxJoystick_GetZMin(_arg0
);
6609 wxPy_END_ALLOW_THREADS
;
6610 } _resultobj
= Py_BuildValue("i",_result
);
6614 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6615 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6616 PyObject
* _resultobj
;
6619 PyObject
* _argo0
= 0;
6620 char *_kwnames
[] = { "self", NULL
};
6623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6633 wxPy_BEGIN_ALLOW_THREADS
;
6634 _result
= (int )wxJoystick_GetXMax(_arg0
);
6636 wxPy_END_ALLOW_THREADS
;
6637 } _resultobj
= Py_BuildValue("i",_result
);
6641 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6642 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
* _resultobj
;
6646 PyObject
* _argo0
= 0;
6647 char *_kwnames
[] = { "self", NULL
};
6650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6660 wxPy_BEGIN_ALLOW_THREADS
;
6661 _result
= (int )wxJoystick_GetYMax(_arg0
);
6663 wxPy_END_ALLOW_THREADS
;
6664 } _resultobj
= Py_BuildValue("i",_result
);
6668 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6669 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
* _resultobj
;
6673 PyObject
* _argo0
= 0;
6674 char *_kwnames
[] = { "self", NULL
};
6677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
6680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6687 wxPy_BEGIN_ALLOW_THREADS
;
6688 _result
= (int )wxJoystick_GetZMax(_arg0
);
6690 wxPy_END_ALLOW_THREADS
;
6691 } _resultobj
= Py_BuildValue("i",_result
);
6695 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6696 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6697 PyObject
* _resultobj
;
6700 PyObject
* _argo0
= 0;
6701 char *_kwnames
[] = { "self", NULL
};
6704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
6707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
6714 wxPy_BEGIN_ALLOW_THREADS
;
6715 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
6717 wxPy_END_ALLOW_THREADS
;
6718 } _resultobj
= Py_BuildValue("i",_result
);
6722 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
6723 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6724 PyObject
* _resultobj
;
6727 PyObject
* _argo0
= 0;
6728 char *_kwnames
[] = { "self", NULL
};
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
6734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
6741 wxPy_BEGIN_ALLOW_THREADS
;
6742 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
6744 wxPy_END_ALLOW_THREADS
;
6745 } _resultobj
= Py_BuildValue("i",_result
);
6749 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
6750 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
* _resultobj
;
6754 PyObject
* _argo0
= 0;
6755 char *_kwnames
[] = { "self", NULL
};
6758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
6761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
6768 wxPy_BEGIN_ALLOW_THREADS
;
6769 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
6771 wxPy_END_ALLOW_THREADS
;
6772 } _resultobj
= Py_BuildValue("i",_result
);
6776 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
6777 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
* _resultobj
;
6781 PyObject
* _argo0
= 0;
6782 char *_kwnames
[] = { "self", NULL
};
6785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
6788 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6789 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6790 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
6795 wxPy_BEGIN_ALLOW_THREADS
;
6796 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
6798 wxPy_END_ALLOW_THREADS
;
6799 } _resultobj
= Py_BuildValue("i",_result
);
6803 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
6804 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6805 PyObject
* _resultobj
;
6808 PyObject
* _argo0
= 0;
6809 char *_kwnames
[] = { "self", NULL
};
6812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
6815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
6822 wxPy_BEGIN_ALLOW_THREADS
;
6823 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
6825 wxPy_END_ALLOW_THREADS
;
6826 } _resultobj
= Py_BuildValue("i",_result
);
6830 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
6831 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6832 PyObject
* _resultobj
;
6835 PyObject
* _argo0
= 0;
6836 char *_kwnames
[] = { "self", NULL
};
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
6842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
6849 wxPy_BEGIN_ALLOW_THREADS
;
6850 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
6852 wxPy_END_ALLOW_THREADS
;
6853 } _resultobj
= Py_BuildValue("i",_result
);
6857 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
6858 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
* _resultobj
;
6862 PyObject
* _argo0
= 0;
6863 char *_kwnames
[] = { "self", NULL
};
6866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
6869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
6876 wxPy_BEGIN_ALLOW_THREADS
;
6877 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
6879 wxPy_END_ALLOW_THREADS
;
6880 } _resultobj
= Py_BuildValue("i",_result
);
6884 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
6885 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6886 PyObject
* _resultobj
;
6889 PyObject
* _argo0
= 0;
6890 char *_kwnames
[] = { "self", NULL
};
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
6896 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6897 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6898 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
6903 wxPy_BEGIN_ALLOW_THREADS
;
6904 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
6906 wxPy_END_ALLOW_THREADS
;
6907 } _resultobj
= Py_BuildValue("i",_result
);
6911 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
6912 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6913 PyObject
* _resultobj
;
6916 PyObject
* _argo0
= 0;
6917 char *_kwnames
[] = { "self", NULL
};
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
6923 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6924 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6925 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
6930 wxPy_BEGIN_ALLOW_THREADS
;
6931 _result
= (int )wxJoystick_GetUMin(_arg0
);
6933 wxPy_END_ALLOW_THREADS
;
6934 } _resultobj
= Py_BuildValue("i",_result
);
6938 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
6939 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
* _resultobj
;
6943 PyObject
* _argo0
= 0;
6944 char *_kwnames
[] = { "self", NULL
};
6947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
6950 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6951 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6952 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
6957 wxPy_BEGIN_ALLOW_THREADS
;
6958 _result
= (int )wxJoystick_GetUMax(_arg0
);
6960 wxPy_END_ALLOW_THREADS
;
6961 } _resultobj
= Py_BuildValue("i",_result
);
6965 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
6966 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
* _resultobj
;
6970 PyObject
* _argo0
= 0;
6971 char *_kwnames
[] = { "self", NULL
};
6974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
6977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
6984 wxPy_BEGIN_ALLOW_THREADS
;
6985 _result
= (int )wxJoystick_GetVMin(_arg0
);
6987 wxPy_END_ALLOW_THREADS
;
6988 } _resultobj
= Py_BuildValue("i",_result
);
6992 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
6993 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
* _resultobj
;
6997 PyObject
* _argo0
= 0;
6998 char *_kwnames
[] = { "self", NULL
};
7001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
7004 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7005 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7006 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
7011 wxPy_BEGIN_ALLOW_THREADS
;
7012 _result
= (int )wxJoystick_GetVMax(_arg0
);
7014 wxPy_END_ALLOW_THREADS
;
7015 } _resultobj
= Py_BuildValue("i",_result
);
7019 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
7020 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7021 PyObject
* _resultobj
;
7024 PyObject
* _argo0
= 0;
7025 char *_kwnames
[] = { "self", NULL
};
7028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
7031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
7038 wxPy_BEGIN_ALLOW_THREADS
;
7039 _result
= (bool )wxJoystick_HasRudder(_arg0
);
7041 wxPy_END_ALLOW_THREADS
;
7042 } _resultobj
= Py_BuildValue("i",_result
);
7046 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7047 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
* _resultobj
;
7051 PyObject
* _argo0
= 0;
7052 char *_kwnames
[] = { "self", NULL
};
7055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7065 wxPy_BEGIN_ALLOW_THREADS
;
7066 _result
= (bool )wxJoystick_HasZ(_arg0
);
7068 wxPy_END_ALLOW_THREADS
;
7069 } _resultobj
= Py_BuildValue("i",_result
);
7073 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7074 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
* _resultobj
;
7078 PyObject
* _argo0
= 0;
7079 char *_kwnames
[] = { "self", NULL
};
7082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7092 wxPy_BEGIN_ALLOW_THREADS
;
7093 _result
= (bool )wxJoystick_HasU(_arg0
);
7095 wxPy_END_ALLOW_THREADS
;
7096 } _resultobj
= Py_BuildValue("i",_result
);
7100 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7101 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7102 PyObject
* _resultobj
;
7105 PyObject
* _argo0
= 0;
7106 char *_kwnames
[] = { "self", NULL
};
7109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7112 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7113 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7114 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7119 wxPy_BEGIN_ALLOW_THREADS
;
7120 _result
= (bool )wxJoystick_HasV(_arg0
);
7122 wxPy_END_ALLOW_THREADS
;
7123 } _resultobj
= Py_BuildValue("i",_result
);
7127 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7128 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
* _resultobj
;
7132 PyObject
* _argo0
= 0;
7133 char *_kwnames
[] = { "self", NULL
};
7136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7139 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7140 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7141 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7146 wxPy_BEGIN_ALLOW_THREADS
;
7147 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7149 wxPy_END_ALLOW_THREADS
;
7150 } _resultobj
= Py_BuildValue("i",_result
);
7154 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7155 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
* _resultobj
;
7159 PyObject
* _argo0
= 0;
7160 char *_kwnames
[] = { "self", NULL
};
7163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7173 wxPy_BEGIN_ALLOW_THREADS
;
7174 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7176 wxPy_END_ALLOW_THREADS
;
7177 } _resultobj
= Py_BuildValue("i",_result
);
7181 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7182 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7183 PyObject
* _resultobj
;
7186 PyObject
* _argo0
= 0;
7187 char *_kwnames
[] = { "self", NULL
};
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7200 wxPy_BEGIN_ALLOW_THREADS
;
7201 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7203 wxPy_END_ALLOW_THREADS
;
7204 } _resultobj
= Py_BuildValue("i",_result
);
7208 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7209 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7210 PyObject
* _resultobj
;
7214 int _arg2
= (int ) 0;
7215 PyObject
* _argo0
= 0;
7216 PyObject
* _argo1
= 0;
7217 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7230 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7231 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7237 wxPy_BEGIN_ALLOW_THREADS
;
7238 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7240 wxPy_END_ALLOW_THREADS
;
7241 } _resultobj
= Py_BuildValue("i",_result
);
7245 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7246 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
* _resultobj
;
7250 PyObject
* _argo0
= 0;
7251 char *_kwnames
[] = { "self", NULL
};
7254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7257 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7258 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7259 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7264 wxPy_BEGIN_ALLOW_THREADS
;
7265 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7267 wxPy_END_ALLOW_THREADS
;
7268 } _resultobj
= Py_BuildValue("i",_result
);
7272 static void *SwigwxWaveTowxObject(void *ptr
) {
7275 src
= (wxWave
*) ptr
;
7276 dest
= (wxObject
*) src
;
7277 return (void *) dest
;
7280 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7281 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7282 PyObject
* _resultobj
;
7285 bool _arg1
= (bool ) FALSE
;
7286 PyObject
* _obj0
= 0;
7287 int tempbool1
= (int) FALSE
;
7288 char *_kwnames
[] = { "fileName","isResource", NULL
};
7292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7295 #if PYTHON_API_VERSION >= 1009
7296 char* tmpPtr
; int tmpSize
;
7297 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
7298 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7301 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
7303 _arg0
= new wxString(tmpPtr
, tmpSize
);
7305 if (!PyString_Check(_obj0
)) {
7306 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7309 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
7312 _arg1
= (bool ) tempbool1
;
7314 wxPy_BEGIN_ALLOW_THREADS
;
7315 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7317 wxPy_END_ALLOW_THREADS
;
7319 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7320 _resultobj
= Py_BuildValue("s",_ptemp
);
7323 _resultobj
= Py_None
;
7332 #define delete_wxWave(_swigobj) (delete _swigobj)
7333 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7334 PyObject
* _resultobj
;
7336 PyObject
* _argo0
= 0;
7337 char *_kwnames
[] = { "self", NULL
};
7340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7350 wxPy_BEGIN_ALLOW_THREADS
;
7351 delete_wxWave(_arg0
);
7353 wxPy_END_ALLOW_THREADS
;
7354 } Py_INCREF(Py_None
);
7355 _resultobj
= Py_None
;
7359 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7360 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7361 PyObject
* _resultobj
;
7364 PyObject
* _argo0
= 0;
7365 char *_kwnames
[] = { "self", NULL
};
7368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7371 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7372 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7373 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7378 wxPy_BEGIN_ALLOW_THREADS
;
7379 _result
= (bool )wxWave_IsOk(_arg0
);
7381 wxPy_END_ALLOW_THREADS
;
7382 } _resultobj
= Py_BuildValue("i",_result
);
7386 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7387 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
* _resultobj
;
7391 bool _arg1
= (bool ) TRUE
;
7392 bool _arg2
= (bool ) FALSE
;
7393 PyObject
* _argo0
= 0;
7394 int tempbool1
= (int) TRUE
;
7395 int tempbool2
= (int) FALSE
;
7396 char *_kwnames
[] = { "self","async","looped", NULL
};
7399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7402 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7403 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7404 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7408 _arg1
= (bool ) tempbool1
;
7409 _arg2
= (bool ) tempbool2
;
7411 wxPy_BEGIN_ALLOW_THREADS
;
7412 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7414 wxPy_END_ALLOW_THREADS
;
7415 } _resultobj
= Py_BuildValue("i",_result
);
7419 static PyMethodDef misc2cMethods
[] = {
7420 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
7421 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7422 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
7423 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
7424 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
7425 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
7426 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
7427 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
7428 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
7429 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
7430 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
7431 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
7432 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
7433 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
7434 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
7435 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
7436 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
7437 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
7438 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
7439 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
7440 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
7441 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
7442 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
7443 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
7444 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
7445 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
7446 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
7447 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
7448 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
7449 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
7450 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
7451 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
7452 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
7453 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
7454 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
7455 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7456 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
7457 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
7458 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
7459 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
7460 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
7461 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
7462 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
7463 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
7464 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
7465 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7466 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7467 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7468 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
7469 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
7470 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
7471 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
7472 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
7473 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
7474 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
7475 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
7476 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
7477 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7478 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
7479 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
7480 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
7481 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
7482 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
7483 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
7484 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
7485 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
7486 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7487 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
7488 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
7489 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
7490 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
7491 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
7492 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
7493 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
7494 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
7495 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
7496 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
7497 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
7498 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
7499 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
7500 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
7501 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
7502 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
7503 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
7504 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
7505 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
7506 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7507 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7508 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7509 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
7510 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
7511 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
7512 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7513 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7514 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7515 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
7516 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7517 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
7518 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
7519 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
7520 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
7521 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
7522 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
7523 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
7524 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
7525 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
7526 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7527 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
7528 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
7529 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
7530 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
7531 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
7532 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
7533 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
7534 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
7535 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
7536 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
7537 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
7538 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
7539 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
7540 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
7541 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
7542 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
7543 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
7544 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7545 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
7546 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
7547 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
7548 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
7549 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
7550 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
7551 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7552 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
7553 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
7554 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7555 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
7556 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
7557 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
7558 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
7559 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7560 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7561 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
7562 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
7563 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
7564 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
7565 { "wxFontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_wxFontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
7566 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
7567 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
7568 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
7569 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
7570 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
7571 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
7572 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
7573 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
7574 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7575 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
7576 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
7577 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7578 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
7579 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
7580 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7581 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
7582 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
7583 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
7584 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7585 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7586 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
7587 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
7588 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
7589 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
7590 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
7591 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
7592 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
7593 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
7594 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7595 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
7596 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
7597 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
7598 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
7599 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
7600 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
7601 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
7602 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7603 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
7604 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
7605 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
7606 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
7607 { "wxWakeUpMainThread", (PyCFunction
) _wrap_wxWakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
7608 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
7609 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
7610 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
7611 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
7612 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
7613 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
7614 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
7615 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
7616 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
7617 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
7618 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
7619 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
7620 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
7621 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
7622 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7623 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
7624 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
7625 { "wxFlushEvents", (PyCFunction
) _wrap_wxFlushEvents
, METH_VARARGS
| METH_KEYWORDS
},
7626 { "wxCheckForInterrupt", (PyCFunction
) _wrap_wxCheckForInterrupt
, METH_VARARGS
| METH_KEYWORDS
},
7627 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
7628 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
7629 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
7630 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7631 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
7632 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
7633 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
7634 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
7635 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
7636 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
7637 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
7638 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
7639 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
7640 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
7641 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
7642 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
7643 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7644 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
7645 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
7646 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
7647 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7648 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7649 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
7656 * This table is used by the pointer type-checker
7658 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7659 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
7660 { "_signed_long","_long",0},
7661 { "_wxPrintQuality","_wxCoord",0},
7662 { "_wxPrintQuality","_int",0},
7663 { "_wxPrintQuality","_signed_int",0},
7664 { "_wxPrintQuality","_unsigned_int",0},
7665 { "_wxPrintQuality","_wxWindowID",0},
7666 { "_wxPrintQuality","_uint",0},
7667 { "_wxPrintQuality","_EBool",0},
7668 { "_wxPrintQuality","_size_t",0},
7669 { "_wxPrintQuality","_time_t",0},
7670 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
7671 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
7672 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
7673 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
7674 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7675 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
7676 { "_byte","_unsigned_char",0},
7677 { "_long","_unsigned_long",0},
7678 { "_long","_signed_long",0},
7679 { "_size_t","_wxCoord",0},
7680 { "_size_t","_wxPrintQuality",0},
7681 { "_size_t","_time_t",0},
7682 { "_size_t","_unsigned_int",0},
7683 { "_size_t","_int",0},
7684 { "_size_t","_wxWindowID",0},
7685 { "_size_t","_uint",0},
7686 { "_uint","_wxCoord",0},
7687 { "_uint","_wxPrintQuality",0},
7688 { "_uint","_time_t",0},
7689 { "_uint","_size_t",0},
7690 { "_uint","_unsigned_int",0},
7691 { "_uint","_int",0},
7692 { "_uint","_wxWindowID",0},
7693 { "_wxChar","_char",0},
7694 { "_char","_wxChar",0},
7695 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
7696 { "_EBool","_wxCoord",0},
7697 { "_EBool","_wxPrintQuality",0},
7698 { "_EBool","_signed_int",0},
7699 { "_EBool","_int",0},
7700 { "_EBool","_wxWindowID",0},
7701 { "_unsigned_long","_long",0},
7702 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
7703 { "_signed_int","_wxCoord",0},
7704 { "_signed_int","_wxPrintQuality",0},
7705 { "_signed_int","_EBool",0},
7706 { "_signed_int","_wxWindowID",0},
7707 { "_signed_int","_int",0},
7708 { "_WXTYPE","_short",0},
7709 { "_WXTYPE","_signed_short",0},
7710 { "_WXTYPE","_unsigned_short",0},
7711 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7712 { "_unsigned_short","_WXTYPE",0},
7713 { "_unsigned_short","_short",0},
7714 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
7715 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
7716 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
7717 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
7718 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
7719 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
7720 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
7721 { "_signed_short","_WXTYPE",0},
7722 { "_signed_short","_short",0},
7723 { "_unsigned_char","_byte",0},
7724 { "_unsigned_int","_wxCoord",0},
7725 { "_unsigned_int","_wxPrintQuality",0},
7726 { "_unsigned_int","_time_t",0},
7727 { "_unsigned_int","_size_t",0},
7728 { "_unsigned_int","_uint",0},
7729 { "_unsigned_int","_wxWindowID",0},
7730 { "_unsigned_int","_int",0},
7731 { "_short","_WXTYPE",0},
7732 { "_short","_unsigned_short",0},
7733 { "_short","_signed_short",0},
7734 { "_wxWindowID","_wxCoord",0},
7735 { "_wxWindowID","_wxPrintQuality",0},
7736 { "_wxWindowID","_time_t",0},
7737 { "_wxWindowID","_size_t",0},
7738 { "_wxWindowID","_EBool",0},
7739 { "_wxWindowID","_uint",0},
7740 { "_wxWindowID","_int",0},
7741 { "_wxWindowID","_signed_int",0},
7742 { "_wxWindowID","_unsigned_int",0},
7743 { "_int","_wxCoord",0},
7744 { "_int","_wxPrintQuality",0},
7745 { "_int","_time_t",0},
7746 { "_int","_size_t",0},
7747 { "_int","_EBool",0},
7748 { "_int","_uint",0},
7749 { "_int","_wxWindowID",0},
7750 { "_int","_unsigned_int",0},
7751 { "_int","_signed_int",0},
7752 { "_time_t","_wxCoord",0},
7753 { "_time_t","_wxPrintQuality",0},
7754 { "_time_t","_unsigned_int",0},
7755 { "_time_t","_int",0},
7756 { "_time_t","_wxWindowID",0},
7757 { "_time_t","_uint",0},
7758 { "_time_t","_size_t",0},
7759 { "_wxCoord","_int",0},
7760 { "_wxCoord","_signed_int",0},
7761 { "_wxCoord","_unsigned_int",0},
7762 { "_wxCoord","_wxWindowID",0},
7763 { "_wxCoord","_uint",0},
7764 { "_wxCoord","_EBool",0},
7765 { "_wxCoord","_size_t",0},
7766 { "_wxCoord","_time_t",0},
7767 { "_wxCoord","_wxPrintQuality",0},
7768 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7771 static PyObject
*SWIG_globals
;
7775 SWIGEXPORT(void) initmisc2c() {
7777 SWIG_globals
= SWIG_newvarlink();
7778 m
= Py_InitModule("misc2c", misc2cMethods
);
7779 d
= PyModule_GetDict(m
);
7780 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
7781 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
7782 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
7783 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
7784 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
7785 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
7786 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
7787 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
7788 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
7789 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
7790 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
7791 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
7792 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
7793 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
7794 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
7795 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
7796 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
7797 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
7798 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
7799 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
7800 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
7801 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
7802 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
7803 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
7804 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
7805 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
7806 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
7807 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
7808 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
7809 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
7810 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
7811 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
7812 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
7813 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
7814 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
7815 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
7816 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
7817 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
7818 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
7819 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
7820 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
7821 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
7822 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
7823 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
7824 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
7825 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
7826 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
7827 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
7828 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
7829 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
7830 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
7831 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
7832 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
7833 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
7834 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
7835 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
7836 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
7837 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
7838 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
7839 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
7840 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
7841 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
7842 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
7843 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
7844 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
7845 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
7846 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
7847 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
7848 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
7849 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
7850 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
7851 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
7852 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
7853 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
7854 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
7855 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
7856 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
7857 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
7858 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
7859 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
7860 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
7861 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
7862 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
7863 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
7864 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
7865 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
7866 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
7867 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
7868 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
7869 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
7870 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
7871 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
7872 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
7873 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
7874 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
7875 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
7876 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
7878 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
7879 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
7880 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
7883 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7884 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);