2 * FILE : src/gtk/misc2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
47 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
48 extern PyObject
*SWIG_newvarlink(void);
52 #define SWIG_init initmisc2c
54 #define SWIG_name "misc2c"
57 #include <wx/resource.h>
58 #include <wx/tooltip.h>
60 #include <wx/fontenum.h>
61 #include <wx/tipdlg.h>
62 #include <wx/process.h>
64 #if wxUSE_JOYSTICK || defined(__WXMSW__)
65 #include <wx/joystick.h>
68 #if wxUSE_WAVE || defined(__WXMSW__)
72 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
76 } else if (target
== Py_None
) {
80 if (!PyList_Check(target
)) {
82 target
= PyList_New(0);
83 PyList_Append(target
, o2
);
86 PyList_Append(target
,o
);
92 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
98 } else if (target
== Py_None
) {
102 if (!PyTuple_Check(target
)) {
104 target
= PyTuple_New(1);
105 PyTuple_SetItem(target
, 0, o2
);
108 PyTuple_SetItem(o3
, 0, o
);
111 target
= PySequence_Concat(o2
, o3
);
118 #if PYTHON_API_VERSION >= 1009
119 static char* wxStringErrorMsg
= "String or Unicode type required";
121 static char* wxStringErrorMsg
= "String type required";
124 static wxString
wxPyEmptyStr("");
127 wxColour
wxSystemSettings_GetSystemColour(int index
) {
128 return wxSystemSettings::GetSystemColour(index
);
131 wxFont
wxSystemSettings_GetSystemFont(int index
) {
132 return wxSystemSettings::GetSystemFont(index
);
135 int wxSystemSettings_GetSystemMetric(int index
) {
136 return wxSystemSettings::GetSystemMetric(index
);
139 int wxCaret_GetBlinkTime() {
140 return wxCaret::GetBlinkTime();
143 void wxCaret_SetBlinkTime(int milliseconds
) {
144 wxCaret::SetBlinkTime(milliseconds
);
147 class wxPyFontEnumerator
: public wxFontEnumerator
{
149 wxPyFontEnumerator() {}
150 ~wxPyFontEnumerator() {}
152 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
153 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
158 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
159 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
162 bool wxThread_IsMain() {
163 return wxThread::IsMain();
166 class wxPyTipProvider
: public wxTipProvider
{
168 wxPyTipProvider(size_t currentTip
)
169 : wxTipProvider(currentTip
) {}
171 DEC_PYCALLBACK_STRING__pure(GetTip
);
176 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
179 #include <wx/generic/dragimgg.h>
181 // A Log class that can be derived from in wxPython
182 class wxPyLog
: public wxLog
{
184 wxPyLog() : wxLog() {}
186 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
188 wxPyTState
* state
= wxPyBeginBlockThreads();
189 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog")))
190 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(isi)", level
, szString
, t
));
191 wxPyEndBlockThreads(state
);
193 wxLog::DoLog(level
, szString
, t
);
196 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
198 wxPyTState
* state
= wxPyBeginBlockThreads();
199 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString")))
200 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(si)", szString
, t
));
201 wxPyEndBlockThreads(state
);
203 wxLog::DoLogString(szString
, t
);
208 // C++ version of wxProcess derived class
210 class wxPyProcess
: public wxProcess
{
212 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
213 : wxProcess(parent
, id
)
216 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
221 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
224 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
225 // A C++ stub class for wxJoystick for platforms that don't have it.
226 class wxJoystick
: public wxObject
{
228 wxJoystick(int joystick
= wxJOYSTICK1
) {
229 bool doSave
= wxPyRestoreThread();
230 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
231 wxPySaveThread(doSave
);
233 wxPoint
GetPosition() { return wxPoint(-1,-1); }
234 int GetZPosition() { return -1; }
235 int GetButtonState() { return -1; }
236 int GetPOVPosition() { return -1; }
237 int GetPOVCTSPosition() { return -1; }
238 int GetRudderPosition() { return -1; }
239 int GetUPosition() { return -1; }
240 int GetVPosition() { return -1; }
241 int GetMovementThreshold() { return -1; }
242 void SetMovementThreshold(int threshold
) {}
244 bool IsOk(void) { return FALSE
; }
245 int GetNumberJoysticks() { return -1; }
246 int GetManufacturerId() { return -1; }
247 int GetProductId() { return -1; }
248 wxString
GetProductName() { return ""; }
249 int GetXMin() { return -1; }
250 int GetYMin() { return -1; }
251 int GetZMin() { return -1; }
252 int GetXMax() { return -1; }
253 int GetYMax() { return -1; }
254 int GetZMax() { return -1; }
255 int GetNumberButtons() { return -1; }
256 int GetNumberAxes() { return -1; }
257 int GetMaxButtons() { return -1; }
258 int GetMaxAxes() { return -1; }
259 int GetPollingMin() { return -1; }
260 int GetPollingMax() { return -1; }
261 int GetRudderMin() { return -1; }
262 int GetRudderMax() { return -1; }
263 int GetUMin() { return -1; }
264 int GetUMax() { return -1; }
265 int GetVMin() { return -1; }
266 int GetVMax() { return -1; }
268 bool HasRudder() { return FALSE
; }
269 bool HasZ() { return FALSE
; }
270 bool HasU() { return FALSE
; }
271 bool HasV() { return FALSE
; }
272 bool HasPOV() { return FALSE
; }
273 bool HasPOV4Dir() { return FALSE
; }
274 bool HasPOVCTS() { return FALSE
; }
276 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
277 bool ReleaseCapture() { return FALSE
; }
282 // A C++ stub class for wxWave for platforms that don't have it.
283 class wxWave
: public wxObject
286 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
287 wxPyTState
* state
= wxPyBeginBlockThreads();
288 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
289 wxPyEndBlockThreads(state
);
291 wxWave(int size
, const wxByte
* data
) {
292 wxPyTState
* state
= wxPyBeginBlockThreads();
293 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
294 wxPyEndBlockThreads(state
);
299 bool IsOk() const { return FALSE
; }
300 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
304 // Implementations of some alternate "constructors"
305 wxWave
* wxWaveData(const wxString
& data
) {
306 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
311 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
312 PyObject
* _resultobj
;
315 char * _arg1
= (char *) NULL
;
316 char * _arg2
= (char *) NULL
;
317 char * _arg3
= (char *) NULL
;
318 char * _arg4
= (char *) "*.*";
319 int _arg5
= (int ) 0;
320 wxWindow
* _arg6
= (wxWindow
*) NULL
;
321 int _arg7
= (int ) -1;
322 int _arg8
= (int ) -1;
323 PyObject
* _argo6
= 0;
324 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|ssssiOii:wxFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
330 if (_argo6
== Py_None
) { _arg6
= NULL
; }
331 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
332 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
337 wxPy_BEGIN_ALLOW_THREADS
;
338 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
340 wxPy_END_ALLOW_THREADS
;
342 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
350 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
351 PyObject
* _resultobj
;
354 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
355 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
356 wxWindow
* _arg3
= (wxWindow
*) NULL
;
357 int _arg4
= (int ) -1;
358 int _arg5
= (int ) -1;
359 bool _arg6
= (bool ) TRUE
;
360 PyObject
* _obj0
= 0;
361 PyObject
* _obj1
= 0;
362 PyObject
* _obj2
= 0;
363 PyObject
* _argo3
= 0;
364 int tempbool6
= (int) TRUE
;
365 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
371 #if PYTHON_API_VERSION >= 1009
372 char* tmpPtr
; int tmpSize
;
373 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
374 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
377 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
379 _arg0
= new wxString(tmpPtr
, tmpSize
);
381 if (!PyString_Check(_obj0
)) {
382 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
385 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
390 #if PYTHON_API_VERSION >= 1009
391 char* tmpPtr
; int tmpSize
;
392 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
393 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
396 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
398 _arg1
= new wxString(tmpPtr
, tmpSize
);
400 if (!PyString_Check(_obj1
)) {
401 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
404 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
409 #if PYTHON_API_VERSION >= 1009
410 char* tmpPtr
; int tmpSize
;
411 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
412 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
415 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
417 _arg2
= new wxString(tmpPtr
, tmpSize
);
419 if (!PyString_Check(_obj2
)) {
420 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
423 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
427 if (_argo3
== Py_None
) { _arg3
= NULL
; }
428 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
433 _arg6
= (bool ) tempbool6
;
435 wxPy_BEGIN_ALLOW_THREADS
;
436 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
438 wxPy_END_ALLOW_THREADS
;
440 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
460 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
461 PyObject
* _resultobj
;
464 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
465 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
466 wxWindow
* _arg3
= (wxWindow
*) NULL
;
467 PyObject
* _obj0
= 0;
468 PyObject
* _obj1
= 0;
469 PyObject
* _obj2
= 0;
470 PyObject
* _argo3
= 0;
471 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
477 #if PYTHON_API_VERSION >= 1009
478 char* tmpPtr
; int tmpSize
;
479 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
480 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
483 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
485 _arg0
= new wxString(tmpPtr
, tmpSize
);
487 if (!PyString_Check(_obj0
)) {
488 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
491 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
496 #if PYTHON_API_VERSION >= 1009
497 char* tmpPtr
; int tmpSize
;
498 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
499 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
502 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
504 _arg1
= new wxString(tmpPtr
, tmpSize
);
506 if (!PyString_Check(_obj1
)) {
507 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
510 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
515 #if PYTHON_API_VERSION >= 1009
516 char* tmpPtr
; int tmpSize
;
517 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
518 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
521 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
523 _arg2
= new wxString(tmpPtr
, tmpSize
);
525 if (!PyString_Check(_obj2
)) {
526 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
529 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
533 if (_argo3
== Py_None
) { _arg3
= NULL
; }
534 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
540 wxPy_BEGIN_ALLOW_THREADS
;
541 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
543 wxPy_END_ALLOW_THREADS
;
545 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
565 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
566 PyObject
* _resultobj
;
572 wxWindow
* _arg4
= (wxWindow
*) NULL
;
573 int _arg5
= (int ) -1;
574 int _arg6
= (int ) -1;
575 bool _arg7
= (bool ) TRUE
;
576 int _arg8
= (int ) 150;
577 int _arg9
= (int ) 200;
578 PyObject
* _obj0
= 0;
579 PyObject
* _obj1
= 0;
580 PyObject
* _obj3
= 0;
581 PyObject
* _argo4
= 0;
582 int tempbool7
= (int) TRUE
;
583 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
589 #if PYTHON_API_VERSION >= 1009
590 char* tmpPtr
; int tmpSize
;
591 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
592 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
595 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
597 _arg0
= new wxString(tmpPtr
, tmpSize
);
599 if (!PyString_Check(_obj0
)) {
600 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
603 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
607 #if PYTHON_API_VERSION >= 1009
608 char* tmpPtr
; int tmpSize
;
609 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
610 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
613 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
615 _arg1
= new wxString(tmpPtr
, tmpSize
);
617 if (!PyString_Check(_obj1
)) {
618 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
621 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
626 _arg3
= wxString_LIST_helper(_obj3
);
632 if (_argo4
== Py_None
) { _arg4
= NULL
; }
633 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
638 _arg7
= (bool ) tempbool7
;
641 _arg2
= PyList_Size(_obj3
);
648 wxPy_BEGIN_ALLOW_THREADS
;
649 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
651 wxPy_END_ALLOW_THREADS
;
653 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
672 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
673 PyObject
* _resultobj
;
679 wxWindow
* _arg4
= (wxWindow
*) NULL
;
680 int _arg5
= (int ) -1;
681 int _arg6
= (int ) -1;
682 bool _arg7
= (bool ) TRUE
;
683 int _arg8
= (int ) 150;
684 int _arg9
= (int ) 200;
685 PyObject
* _obj0
= 0;
686 PyObject
* _obj1
= 0;
687 PyObject
* _obj3
= 0;
688 PyObject
* _argo4
= 0;
689 int tempbool7
= (int) TRUE
;
690 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
696 #if PYTHON_API_VERSION >= 1009
697 char* tmpPtr
; int tmpSize
;
698 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
699 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
702 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
704 _arg0
= new wxString(tmpPtr
, tmpSize
);
706 if (!PyString_Check(_obj0
)) {
707 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
710 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
714 #if PYTHON_API_VERSION >= 1009
715 char* tmpPtr
; int tmpSize
;
716 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
717 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
720 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
722 _arg1
= new wxString(tmpPtr
, tmpSize
);
724 if (!PyString_Check(_obj1
)) {
725 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
728 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
733 _arg3
= wxString_LIST_helper(_obj3
);
739 if (_argo4
== Py_None
) { _arg4
= NULL
; }
740 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
745 _arg7
= (bool ) tempbool7
;
748 _arg2
= PyList_Size(_obj3
);
755 wxPy_BEGIN_ALLOW_THREADS
;
756 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
758 wxPy_END_ALLOW_THREADS
;
759 } _resultobj
= Py_BuildValue("i",_result
);
774 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
775 PyObject
* _resultobj
;
778 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
779 int _arg2
= (int ) wxOK
|wxCENTRE
;
780 wxWindow
* _arg3
= (wxWindow
*) NULL
;
781 int _arg4
= (int ) -1;
782 int _arg5
= (int ) -1;
783 PyObject
* _obj0
= 0;
784 PyObject
* _obj1
= 0;
785 PyObject
* _argo3
= 0;
786 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
792 #if PYTHON_API_VERSION >= 1009
793 char* tmpPtr
; int tmpSize
;
794 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
795 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
798 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
800 _arg0
= new wxString(tmpPtr
, tmpSize
);
802 if (!PyString_Check(_obj0
)) {
803 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
806 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
811 #if PYTHON_API_VERSION >= 1009
812 char* tmpPtr
; int tmpSize
;
813 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
814 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
817 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
819 _arg1
= new wxString(tmpPtr
, tmpSize
);
821 if (!PyString_Check(_obj1
)) {
822 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
825 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
829 if (_argo3
== Py_None
) { _arg3
= NULL
; }
830 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
831 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
836 wxPy_BEGIN_ALLOW_THREADS
;
837 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
839 wxPy_END_ALLOW_THREADS
;
840 } _resultobj
= Py_BuildValue("i",_result
);
852 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
853 PyObject
* _resultobj
;
859 long _arg4
= (long ) 0;
860 long _arg5
= (long ) 100;
861 wxWindow
* _arg6
= (wxWindow
*) NULL
;
862 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
863 PyObject
* _obj0
= 0;
864 PyObject
* _obj1
= 0;
865 PyObject
* _obj2
= 0;
866 PyObject
* _argo6
= 0;
868 PyObject
* _obj7
= 0;
869 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
875 #if PYTHON_API_VERSION >= 1009
876 char* tmpPtr
; int tmpSize
;
877 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
878 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
881 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
883 _arg0
= new wxString(tmpPtr
, tmpSize
);
885 if (!PyString_Check(_obj0
)) {
886 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
889 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
893 #if PYTHON_API_VERSION >= 1009
894 char* tmpPtr
; int tmpSize
;
895 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
896 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
899 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
901 _arg1
= new wxString(tmpPtr
, tmpSize
);
903 if (!PyString_Check(_obj1
)) {
904 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
907 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
911 #if PYTHON_API_VERSION >= 1009
912 char* tmpPtr
; int tmpSize
;
913 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
914 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
917 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
919 _arg2
= new wxString(tmpPtr
, tmpSize
);
921 if (!PyString_Check(_obj2
)) {
922 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
925 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
929 if (_argo6
== Py_None
) { _arg6
= NULL
; }
930 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
938 if (! wxPoint_helper(_obj7
, &_arg7
))
942 wxPy_BEGIN_ALLOW_THREADS
;
943 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
945 wxPy_END_ALLOW_THREADS
;
946 } _resultobj
= Py_BuildValue("l",_result
);
962 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
963 PyObject
* _resultobj
;
965 char *_kwnames
[] = { NULL
};
968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
971 wxPy_BEGIN_ALLOW_THREADS
;
972 _result
= (bool )wxColourDisplay();
974 wxPy_END_ALLOW_THREADS
;
975 } _resultobj
= Py_BuildValue("i",_result
);
979 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
980 PyObject
* _resultobj
;
982 char *_kwnames
[] = { NULL
};
985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
988 wxPy_BEGIN_ALLOW_THREADS
;
989 _result
= (int )wxDisplayDepth();
991 wxPy_END_ALLOW_THREADS
;
992 } _resultobj
= Py_BuildValue("i",_result
);
996 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
997 PyObject
* _resultobj
;
999 char *_kwnames
[] = { NULL
};
1002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
1005 wxPy_BEGIN_ALLOW_THREADS
;
1006 _result
= (int )wxGetDisplayDepth();
1008 wxPy_END_ALLOW_THREADS
;
1009 } _resultobj
= Py_BuildValue("i",_result
);
1013 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1014 PyObject
* _resultobj
;
1019 char *_kwnames
[] = { NULL
};
1028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
1031 wxPy_BEGIN_ALLOW_THREADS
;
1032 wxDisplaySize(_arg0
,_arg1
);
1034 wxPy_END_ALLOW_THREADS
;
1035 } Py_INCREF(Py_None
);
1036 _resultobj
= Py_None
;
1039 o
= PyInt_FromLong((long) (*_arg0
));
1040 _resultobj
= t_output_helper(_resultobj
, o
);
1044 o
= PyInt_FromLong((long) (*_arg1
));
1045 _resultobj
= t_output_helper(_resultobj
, o
);
1050 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1051 PyObject
* _resultobj
;
1053 char *_kwnames
[] = { NULL
};
1057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1060 wxPy_BEGIN_ALLOW_THREADS
;
1061 _result
= new wxSize (wxGetDisplaySize());
1063 wxPy_END_ALLOW_THREADS
;
1064 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1065 _resultobj
= Py_BuildValue("s",_ptemp
);
1069 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1070 PyObject
* _resultobj
;
1075 char *_kwnames
[] = { NULL
};
1084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1087 wxPy_BEGIN_ALLOW_THREADS
;
1088 wxDisplaySizeMM(_arg0
,_arg1
);
1090 wxPy_END_ALLOW_THREADS
;
1091 } Py_INCREF(Py_None
);
1092 _resultobj
= Py_None
;
1095 o
= PyInt_FromLong((long) (*_arg0
));
1096 _resultobj
= t_output_helper(_resultobj
, o
);
1100 o
= PyInt_FromLong((long) (*_arg1
));
1101 _resultobj
= t_output_helper(_resultobj
, o
);
1106 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1107 PyObject
* _resultobj
;
1109 char *_kwnames
[] = { NULL
};
1113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1116 wxPy_BEGIN_ALLOW_THREADS
;
1117 _result
= new wxSize (wxGetDisplaySizeMM());
1119 wxPy_END_ALLOW_THREADS
;
1120 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1121 _resultobj
= Py_BuildValue("s",_ptemp
);
1125 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1126 PyObject
* _resultobj
;
1135 char *_kwnames
[] = { NULL
};
1150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1153 wxPy_BEGIN_ALLOW_THREADS
;
1154 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1156 wxPy_END_ALLOW_THREADS
;
1157 } Py_INCREF(Py_None
);
1158 _resultobj
= Py_None
;
1161 o
= PyInt_FromLong((long) (*_arg0
));
1162 _resultobj
= t_output_helper(_resultobj
, o
);
1166 o
= PyInt_FromLong((long) (*_arg1
));
1167 _resultobj
= t_output_helper(_resultobj
, o
);
1171 o
= PyInt_FromLong((long) (*_arg2
));
1172 _resultobj
= t_output_helper(_resultobj
, o
);
1176 o
= PyInt_FromLong((long) (*_arg3
));
1177 _resultobj
= t_output_helper(_resultobj
, o
);
1182 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1183 PyObject
* _resultobj
;
1185 char *_kwnames
[] = { NULL
};
1189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1192 wxPy_BEGIN_ALLOW_THREADS
;
1193 _result
= new wxRect (wxGetClientDisplayRect());
1195 wxPy_END_ALLOW_THREADS
;
1196 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1197 _resultobj
= Py_BuildValue("s",_ptemp
);
1201 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1202 PyObject
* _resultobj
;
1204 PyObject
* _argo0
= 0;
1205 char *_kwnames
[] = { "cursor", NULL
};
1208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1218 wxPy_BEGIN_ALLOW_THREADS
;
1219 wxSetCursor(*_arg0
);
1221 wxPy_END_ALLOW_THREADS
;
1222 } Py_INCREF(Py_None
);
1223 _resultobj
= Py_None
;
1227 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1228 PyObject
* _resultobj
;
1231 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1232 PyObject
* _obj0
= 0;
1233 PyObject
* _argo1
= 0;
1234 char *_kwnames
[] = { "label","parent", NULL
};
1237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
1240 #if PYTHON_API_VERSION >= 1009
1241 char* tmpPtr
; int tmpSize
;
1242 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1243 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1246 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1248 _arg0
= new wxString(tmpPtr
, tmpSize
);
1250 if (!PyString_Check(_obj0
)) {
1251 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1254 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1258 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1259 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1260 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1265 wxPy_BEGIN_ALLOW_THREADS
;
1266 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
1268 wxPy_END_ALLOW_THREADS
;
1269 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1277 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1278 PyObject
* _resultobj
;
1281 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1282 PyObject
* _obj0
= 0;
1283 PyObject
* _argo1
= 0;
1284 char *_kwnames
[] = { "name","parent", NULL
};
1287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1290 #if PYTHON_API_VERSION >= 1009
1291 char* tmpPtr
; int tmpSize
;
1292 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1293 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1296 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1298 _arg0
= new wxString(tmpPtr
, tmpSize
);
1300 if (!PyString_Check(_obj0
)) {
1301 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1304 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1308 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1309 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1315 wxPy_BEGIN_ALLOW_THREADS
;
1316 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1318 wxPy_END_ALLOW_THREADS
;
1319 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1327 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1328 PyObject
* _resultobj
;
1329 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1330 PyObject
* _argo0
= 0;
1331 char *_kwnames
[] = { "cursor", NULL
};
1334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1344 wxPy_BEGIN_ALLOW_THREADS
;
1345 wxBeginBusyCursor(_arg0
);
1347 wxPy_END_ALLOW_THREADS
;
1348 } Py_INCREF(Py_None
);
1349 _resultobj
= Py_None
;
1353 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1354 PyObject
* _resultobj
;
1356 char *_kwnames
[] = { NULL
};
1359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1362 wxPy_BEGIN_ALLOW_THREADS
;
1363 _result
= (wxWindow
*)wxGetActiveWindow();
1365 wxPy_END_ALLOW_THREADS
;
1366 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1370 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1371 PyObject
* _resultobj
;
1375 PyObject
* _obj0
= 0;
1376 char *_kwnames
[] = { "pt", NULL
};
1379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1383 if (! wxPoint_helper(_obj0
, &_arg0
))
1387 wxPy_BEGIN_ALLOW_THREADS
;
1388 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1390 wxPy_END_ALLOW_THREADS
;
1391 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1395 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1396 PyObject
* _resultobj
;
1400 PyObject
* _obj0
= 0;
1401 char *_kwnames
[] = { "pt", NULL
};
1404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1408 if (! wxPoint_helper(_obj0
, &_arg0
))
1412 wxPy_BEGIN_ALLOW_THREADS
;
1413 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1415 wxPy_END_ALLOW_THREADS
;
1416 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1420 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1421 PyObject
* _resultobj
;
1425 char *_kwnames
[] = { "name","value", NULL
};
1428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1431 wxPy_BEGIN_ALLOW_THREADS
;
1432 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1434 wxPy_END_ALLOW_THREADS
;
1435 } _resultobj
= Py_BuildValue("i",_result
);
1439 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
* _resultobj
;
1441 char *_kwnames
[] = { NULL
};
1444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1447 wxPy_BEGIN_ALLOW_THREADS
;
1450 wxPy_END_ALLOW_THREADS
;
1451 } Py_INCREF(Py_None
);
1452 _resultobj
= Py_None
;
1456 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1457 PyObject
* _resultobj
;
1460 char *_kwnames
[] = { "resource", NULL
};
1464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1467 wxPy_BEGIN_ALLOW_THREADS
;
1468 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1470 wxPy_END_ALLOW_THREADS
;
1471 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1472 _resultobj
= Py_BuildValue("s",_ptemp
);
1476 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1477 PyObject
* _resultobj
;
1480 char *_kwnames
[] = { "resource", NULL
};
1484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1487 wxPy_BEGIN_ALLOW_THREADS
;
1488 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1490 wxPy_END_ALLOW_THREADS
;
1491 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1492 _resultobj
= Py_BuildValue("s",_ptemp
);
1496 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1497 PyObject
* _resultobj
;
1498 wxMenuBar
* _result
;
1500 char *_kwnames
[] = { "resource", NULL
};
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1506 wxPy_BEGIN_ALLOW_THREADS
;
1507 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1509 wxPy_END_ALLOW_THREADS
;
1510 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1514 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1515 PyObject
* _resultobj
;
1518 char *_kwnames
[] = { "name", NULL
};
1521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1524 wxPy_BEGIN_ALLOW_THREADS
;
1525 _result
= (int )wxResourceGetIdentifier(_arg0
);
1527 wxPy_END_ALLOW_THREADS
;
1528 } _resultobj
= Py_BuildValue("i",_result
);
1532 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1533 PyObject
* _resultobj
;
1536 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1537 PyObject
* _argo1
= 0;
1538 char *_kwnames
[] = { "resource","table", NULL
};
1541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1544 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1545 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1546 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1551 wxPy_BEGIN_ALLOW_THREADS
;
1552 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1554 wxPy_END_ALLOW_THREADS
;
1555 } _resultobj
= Py_BuildValue("i",_result
);
1559 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1560 PyObject
* _resultobj
;
1563 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1564 PyObject
* _argo1
= 0;
1565 char *_kwnames
[] = { "filename","table", NULL
};
1568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1571 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1572 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1573 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1578 wxPy_BEGIN_ALLOW_THREADS
;
1579 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1581 wxPy_END_ALLOW_THREADS
;
1582 } _resultobj
= Py_BuildValue("i",_result
);
1586 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1587 PyObject
* _resultobj
;
1590 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1591 PyObject
* _argo1
= 0;
1592 char *_kwnames
[] = { "resource","table", NULL
};
1595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1598 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1599 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1600 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1605 wxPy_BEGIN_ALLOW_THREADS
;
1606 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1608 wxPy_END_ALLOW_THREADS
;
1609 } _resultobj
= Py_BuildValue("i",_result
);
1613 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1614 PyObject
* _resultobj
;
1617 char *_kwnames
[] = { "index", NULL
};
1621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1624 wxPy_BEGIN_ALLOW_THREADS
;
1625 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1627 wxPy_END_ALLOW_THREADS
;
1628 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1629 _resultobj
= Py_BuildValue("s",_ptemp
);
1633 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1634 PyObject
* _resultobj
;
1637 char *_kwnames
[] = { "index", NULL
};
1641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1644 wxPy_BEGIN_ALLOW_THREADS
;
1645 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1647 wxPy_END_ALLOW_THREADS
;
1648 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1649 _resultobj
= Py_BuildValue("s",_ptemp
);
1653 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1654 PyObject
* _resultobj
;
1657 char *_kwnames
[] = { "index", NULL
};
1660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1663 wxPy_BEGIN_ALLOW_THREADS
;
1664 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1666 wxPy_END_ALLOW_THREADS
;
1667 } _resultobj
= Py_BuildValue("i",_result
);
1671 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1672 PyObject
* _resultobj
;
1674 char *_kwnames
[] = { NULL
};
1677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1680 wxPy_BEGIN_ALLOW_THREADS
;
1681 _result
= (int )wxCaret_GetBlinkTime();
1683 wxPy_END_ALLOW_THREADS
;
1684 } _resultobj
= Py_BuildValue("i",_result
);
1688 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1689 PyObject
* _resultobj
;
1691 char *_kwnames
[] = { "milliseconds", NULL
};
1694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1697 wxPy_BEGIN_ALLOW_THREADS
;
1698 wxCaret_SetBlinkTime(_arg0
);
1700 wxPy_END_ALLOW_THREADS
;
1701 } Py_INCREF(Py_None
);
1702 _resultobj
= Py_None
;
1706 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1707 PyObject
* _resultobj
;
1709 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1710 PyObject
* _argo0
= 0;
1711 char *_kwnames
[] = { "win", NULL
};
1714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1724 wxPy_BEGIN_ALLOW_THREADS
;
1725 _result
= (bool )wxSafeYield(_arg0
);
1727 wxPy_END_ALLOW_THREADS
;
1728 } _resultobj
= Py_BuildValue("i",_result
);
1732 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1733 PyObject
* _resultobj
;
1734 wxEvtHandler
* _arg0
;
1736 PyObject
* _argo0
= 0;
1737 PyObject
* _argo1
= 0;
1738 char *_kwnames
[] = { "dest","event", NULL
};
1741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1751 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1752 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1758 wxPy_BEGIN_ALLOW_THREADS
;
1759 wxPostEvent(_arg0
,*_arg1
);
1761 wxPy_END_ALLOW_THREADS
;
1762 } Py_INCREF(Py_None
);
1763 _resultobj
= Py_None
;
1767 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1768 PyObject
* _resultobj
;
1769 char *_kwnames
[] = { NULL
};
1772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1775 wxPy_BEGIN_ALLOW_THREADS
;
1778 wxPy_END_ALLOW_THREADS
;
1779 } Py_INCREF(Py_None
);
1780 _resultobj
= Py_None
;
1784 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1785 PyObject
* _resultobj
;
1786 char *_kwnames
[] = { NULL
};
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1792 wxPy_BEGIN_ALLOW_THREADS
;
1795 wxPy_END_ALLOW_THREADS
;
1796 } Py_INCREF(Py_None
);
1797 _resultobj
= Py_None
;
1801 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1802 PyObject
* _resultobj
;
1803 char *_kwnames
[] = { NULL
};
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1809 wxPy_BEGIN_ALLOW_THREADS
;
1812 wxPy_END_ALLOW_THREADS
;
1813 } Py_INCREF(Py_None
);
1814 _resultobj
= Py_None
;
1818 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1819 PyObject
* _resultobj
;
1821 char *_kwnames
[] = { NULL
};
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1827 wxPy_BEGIN_ALLOW_THREADS
;
1828 _result
= (bool )wxThread_IsMain();
1830 wxPy_END_ALLOW_THREADS
;
1831 } _resultobj
= Py_BuildValue("i",_result
);
1835 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
* _resultobj
;
1839 wxTipProvider
* _arg1
;
1840 bool _arg2
= (bool ) TRUE
;
1841 PyObject
* _argo0
= 0;
1842 PyObject
* _argo1
= 0;
1843 int tempbool2
= (int) TRUE
;
1844 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1850 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1851 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1852 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1857 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1858 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1863 _arg2
= (bool ) tempbool2
;
1865 wxPy_BEGIN_ALLOW_THREADS
;
1866 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1868 wxPy_END_ALLOW_THREADS
;
1869 } _resultobj
= Py_BuildValue("i",_result
);
1873 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1874 PyObject
* _resultobj
;
1875 wxTipProvider
* _result
;
1878 PyObject
* _obj0
= 0;
1879 char *_kwnames
[] = { "filename","currentTip", NULL
};
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1886 #if PYTHON_API_VERSION >= 1009
1887 char* tmpPtr
; int tmpSize
;
1888 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1889 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1892 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1894 _arg0
= new wxString(tmpPtr
, tmpSize
);
1896 if (!PyString_Check(_obj0
)) {
1897 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1900 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1904 wxPy_BEGIN_ALLOW_THREADS
;
1905 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1907 wxPy_END_ALLOW_THREADS
;
1909 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1910 _resultobj
= Py_BuildValue("s",_ptemp
);
1913 _resultobj
= Py_None
;
1922 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
* _resultobj
;
1924 unsigned long _result
;
1925 char *_kwnames
[] = { NULL
};
1928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1931 wxPy_BEGIN_ALLOW_THREADS
;
1932 _result
= (unsigned long )wxSysErrorCode();
1934 wxPy_END_ALLOW_THREADS
;
1935 } _resultobj
= Py_BuildValue("l",_result
);
1939 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
* _resultobj
;
1942 unsigned long _arg0
= (unsigned long ) 0;
1943 char *_kwnames
[] = { "nErrCode", NULL
};
1946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1949 wxPy_BEGIN_ALLOW_THREADS
;
1950 _result
= (char *)wxSysErrorMsg(_arg0
);
1952 wxPy_END_ALLOW_THREADS
;
1953 } _resultobj
= Py_BuildValue("s", _result
);
1957 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1958 PyObject
* _resultobj
;
1960 char *_kwnames
[] = { "szFormat", NULL
};
1963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
1966 wxPy_BEGIN_ALLOW_THREADS
;
1967 wxLogFatalError(_arg0
);
1969 wxPy_END_ALLOW_THREADS
;
1970 } Py_INCREF(Py_None
);
1971 _resultobj
= Py_None
;
1975 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1976 PyObject
* _resultobj
;
1978 char *_kwnames
[] = { "szFormat", NULL
};
1981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
1984 wxPy_BEGIN_ALLOW_THREADS
;
1987 wxPy_END_ALLOW_THREADS
;
1988 } Py_INCREF(Py_None
);
1989 _resultobj
= Py_None
;
1993 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1994 PyObject
* _resultobj
;
1996 char *_kwnames
[] = { "szFormat", NULL
};
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
2002 wxPy_BEGIN_ALLOW_THREADS
;
2003 wxLogWarning(_arg0
);
2005 wxPy_END_ALLOW_THREADS
;
2006 } Py_INCREF(Py_None
);
2007 _resultobj
= Py_None
;
2011 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2012 PyObject
* _resultobj
;
2014 char *_kwnames
[] = { "szFormat", NULL
};
2017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
2020 wxPy_BEGIN_ALLOW_THREADS
;
2021 wxLogMessage(_arg0
);
2023 wxPy_END_ALLOW_THREADS
;
2024 } Py_INCREF(Py_None
);
2025 _resultobj
= Py_None
;
2029 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2030 PyObject
* _resultobj
;
2032 char *_kwnames
[] = { "szFormat", NULL
};
2035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
2038 wxPy_BEGIN_ALLOW_THREADS
;
2041 wxPy_END_ALLOW_THREADS
;
2042 } Py_INCREF(Py_None
);
2043 _resultobj
= Py_None
;
2047 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2048 PyObject
* _resultobj
;
2050 char *_kwnames
[] = { "szFormat", NULL
};
2053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
2056 wxPy_BEGIN_ALLOW_THREADS
;
2057 wxLogVerbose(_arg0
);
2059 wxPy_END_ALLOW_THREADS
;
2060 } Py_INCREF(Py_None
);
2061 _resultobj
= Py_None
;
2065 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2066 PyObject
* _resultobj
;
2068 char *_kwnames
[] = { "szFormat", NULL
};
2071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
2074 wxPy_BEGIN_ALLOW_THREADS
;
2077 wxPy_END_ALLOW_THREADS
;
2078 } Py_INCREF(Py_None
);
2079 _resultobj
= Py_None
;
2083 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2084 PyObject
* _resultobj
;
2087 PyObject
* _argo0
= 0;
2088 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
2094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2101 wxPy_BEGIN_ALLOW_THREADS
;
2102 wxLogStatus(_arg0
,_arg1
);
2104 wxPy_END_ALLOW_THREADS
;
2105 } Py_INCREF(Py_None
);
2106 _resultobj
= Py_None
;
2110 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2111 PyObject
* _resultobj
;
2113 char *_kwnames
[] = { "szFormat", NULL
};
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2119 wxPy_BEGIN_ALLOW_THREADS
;
2120 wxLogSysError(_arg0
);
2122 wxPy_END_ALLOW_THREADS
;
2123 } Py_INCREF(Py_None
);
2124 _resultobj
= Py_None
;
2128 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2129 PyObject
* _resultobj
;
2132 int _arg1
= (int ) FALSE
;
2133 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2134 PyObject
* _obj0
= 0;
2135 PyObject
* _argo2
= 0;
2136 char *_kwnames
[] = { "command","sync","process", NULL
};
2139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2142 #if PYTHON_API_VERSION >= 1009
2143 char* tmpPtr
; int tmpSize
;
2144 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2145 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2148 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2150 _arg0
= new wxString(tmpPtr
, tmpSize
);
2152 if (!PyString_Check(_obj0
)) {
2153 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2156 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2160 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2161 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2162 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2167 wxPy_BEGIN_ALLOW_THREADS
;
2168 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2170 wxPy_END_ALLOW_THREADS
;
2171 } _resultobj
= Py_BuildValue("l",_result
);
2179 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2180 PyObject
* _resultobj
;
2183 PyObject
* _obj0
= 0;
2184 char *_kwnames
[] = { "data", NULL
};
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2191 #if PYTHON_API_VERSION >= 1009
2192 char* tmpPtr
; int tmpSize
;
2193 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2194 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2197 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2199 _arg0
= new wxString(tmpPtr
, tmpSize
);
2201 if (!PyString_Check(_obj0
)) {
2202 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2205 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2209 wxPy_BEGIN_ALLOW_THREADS
;
2210 _result
= (wxWave
*)wxWaveData(*_arg0
);
2212 wxPy_END_ALLOW_THREADS
;
2214 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2215 _resultobj
= Py_BuildValue("s",_ptemp
);
2218 _resultobj
= Py_None
;
2227 static void *SwigwxToolTipTowxObject(void *ptr
) {
2230 src
= (wxToolTip
*) ptr
;
2231 dest
= (wxObject
*) src
;
2232 return (void *) dest
;
2235 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2236 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2237 PyObject
* _resultobj
;
2238 wxToolTip
* _result
;
2240 PyObject
* _obj0
= 0;
2241 char *_kwnames
[] = { "tip", NULL
};
2245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2248 #if PYTHON_API_VERSION >= 1009
2249 char* tmpPtr
; int tmpSize
;
2250 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2251 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2254 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2256 _arg0
= new wxString(tmpPtr
, tmpSize
);
2258 if (!PyString_Check(_obj0
)) {
2259 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2262 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2266 wxPy_BEGIN_ALLOW_THREADS
;
2267 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2269 wxPy_END_ALLOW_THREADS
;
2271 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2272 _resultobj
= Py_BuildValue("s",_ptemp
);
2275 _resultobj
= Py_None
;
2284 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2285 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2286 PyObject
* _resultobj
;
2289 PyObject
* _argo0
= 0;
2290 PyObject
* _obj1
= 0;
2291 char *_kwnames
[] = { "self","tip", NULL
};
2294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2304 #if PYTHON_API_VERSION >= 1009
2305 char* tmpPtr
; int tmpSize
;
2306 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2307 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2310 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2312 _arg1
= new wxString(tmpPtr
, tmpSize
);
2314 if (!PyString_Check(_obj1
)) {
2315 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2318 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2322 wxPy_BEGIN_ALLOW_THREADS
;
2323 wxToolTip_SetTip(_arg0
,*_arg1
);
2325 wxPy_END_ALLOW_THREADS
;
2326 } Py_INCREF(Py_None
);
2327 _resultobj
= Py_None
;
2335 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2336 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2337 PyObject
* _resultobj
;
2340 PyObject
* _argo0
= 0;
2341 char *_kwnames
[] = { "self", NULL
};
2344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2354 wxPy_BEGIN_ALLOW_THREADS
;
2355 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2357 wxPy_END_ALLOW_THREADS
;
2359 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2367 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2368 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2369 PyObject
* _resultobj
;
2372 PyObject
* _argo0
= 0;
2373 char *_kwnames
[] = { "self", NULL
};
2376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2379 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2380 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2381 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2386 wxPy_BEGIN_ALLOW_THREADS
;
2387 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2389 wxPy_END_ALLOW_THREADS
;
2390 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2394 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2395 PyObject
* _resultobj
;
2398 char *_kwnames
[] = { "flag", NULL
};
2401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2403 _arg0
= (bool ) tempbool0
;
2405 wxPy_BEGIN_ALLOW_THREADS
;
2406 wxToolTip::Enable(_arg0
);
2408 wxPy_END_ALLOW_THREADS
;
2409 } Py_INCREF(Py_None
);
2410 _resultobj
= Py_None
;
2414 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
* _resultobj
;
2417 char *_kwnames
[] = { "milliseconds", NULL
};
2420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2423 wxPy_BEGIN_ALLOW_THREADS
;
2424 wxToolTip::SetDelay(_arg0
);
2426 wxPy_END_ALLOW_THREADS
;
2427 } Py_INCREF(Py_None
);
2428 _resultobj
= Py_None
;
2432 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2433 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2434 PyObject
* _resultobj
;
2438 PyObject
* _argo0
= 0;
2440 PyObject
* _obj1
= 0;
2441 char *_kwnames
[] = { "window","size", NULL
};
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2456 if (! wxSize_helper(_obj1
, &_arg1
))
2460 wxPy_BEGIN_ALLOW_THREADS
;
2461 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2463 wxPy_END_ALLOW_THREADS
;
2465 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2466 _resultobj
= Py_BuildValue("s",_ptemp
);
2469 _resultobj
= Py_None
;
2474 #define delete_wxCaret(_swigobj) (delete _swigobj)
2475 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2476 PyObject
* _resultobj
;
2478 PyObject
* _argo0
= 0;
2479 char *_kwnames
[] = { "self", NULL
};
2482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2492 wxPy_BEGIN_ALLOW_THREADS
;
2493 delete_wxCaret(_arg0
);
2495 wxPy_END_ALLOW_THREADS
;
2496 } Py_INCREF(Py_None
);
2497 _resultobj
= Py_None
;
2501 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2502 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2503 PyObject
* _resultobj
;
2506 PyObject
* _argo0
= 0;
2507 char *_kwnames
[] = { "self", NULL
};
2510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2520 wxPy_BEGIN_ALLOW_THREADS
;
2521 _result
= (bool )wxCaret_IsOk(_arg0
);
2523 wxPy_END_ALLOW_THREADS
;
2524 } _resultobj
= Py_BuildValue("i",_result
);
2528 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2529 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2530 PyObject
* _resultobj
;
2533 PyObject
* _argo0
= 0;
2534 char *_kwnames
[] = { "self", NULL
};
2537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2547 wxPy_BEGIN_ALLOW_THREADS
;
2548 _result
= (bool )wxCaret_IsVisible(_arg0
);
2550 wxPy_END_ALLOW_THREADS
;
2551 } _resultobj
= Py_BuildValue("i",_result
);
2555 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2556 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2557 PyObject
* _resultobj
;
2563 PyObject
* _argo0
= 0;
2564 char *_kwnames
[] = { "self", NULL
};
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2576 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2577 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2583 wxPy_BEGIN_ALLOW_THREADS
;
2584 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2586 wxPy_END_ALLOW_THREADS
;
2587 } Py_INCREF(Py_None
);
2588 _resultobj
= Py_None
;
2591 o
= PyInt_FromLong((long) (*_arg1
));
2592 _resultobj
= t_output_helper(_resultobj
, o
);
2596 o
= PyInt_FromLong((long) (*_arg2
));
2597 _resultobj
= t_output_helper(_resultobj
, o
);
2602 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2603 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2604 PyObject
* _resultobj
;
2607 PyObject
* _argo0
= 0;
2608 char *_kwnames
[] = { "self", NULL
};
2612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2615 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2616 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2617 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2622 wxPy_BEGIN_ALLOW_THREADS
;
2623 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2625 wxPy_END_ALLOW_THREADS
;
2626 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2627 _resultobj
= Py_BuildValue("s",_ptemp
);
2631 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2632 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2633 PyObject
* _resultobj
;
2639 PyObject
* _argo0
= 0;
2640 char *_kwnames
[] = { "self", NULL
};
2649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2659 wxPy_BEGIN_ALLOW_THREADS
;
2660 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2662 wxPy_END_ALLOW_THREADS
;
2663 } Py_INCREF(Py_None
);
2664 _resultobj
= Py_None
;
2667 o
= PyInt_FromLong((long) (*_arg1
));
2668 _resultobj
= t_output_helper(_resultobj
, o
);
2672 o
= PyInt_FromLong((long) (*_arg2
));
2673 _resultobj
= t_output_helper(_resultobj
, o
);
2678 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2679 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2680 PyObject
* _resultobj
;
2683 PyObject
* _argo0
= 0;
2684 char *_kwnames
[] = { "self", NULL
};
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2698 wxPy_BEGIN_ALLOW_THREADS
;
2699 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2701 wxPy_END_ALLOW_THREADS
;
2702 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2703 _resultobj
= Py_BuildValue("s",_ptemp
);
2707 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2708 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
* _resultobj
;
2712 PyObject
* _argo0
= 0;
2713 char *_kwnames
[] = { "self", NULL
};
2716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2726 wxPy_BEGIN_ALLOW_THREADS
;
2727 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2729 wxPy_END_ALLOW_THREADS
;
2730 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2734 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2735 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2736 PyObject
* _resultobj
;
2740 PyObject
* _argo0
= 0;
2741 char *_kwnames
[] = { "self","x","y", NULL
};
2744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2754 wxPy_BEGIN_ALLOW_THREADS
;
2755 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2757 wxPy_END_ALLOW_THREADS
;
2758 } Py_INCREF(Py_None
);
2759 _resultobj
= Py_None
;
2763 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2764 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2765 PyObject
* _resultobj
;
2768 PyObject
* _argo0
= 0;
2770 PyObject
* _obj1
= 0;
2771 char *_kwnames
[] = { "self","pt", NULL
};
2774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2777 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2778 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2779 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2785 if (! wxPoint_helper(_obj1
, &_arg1
))
2789 wxPy_BEGIN_ALLOW_THREADS
;
2790 wxCaret_Move(_arg0
,*_arg1
);
2792 wxPy_END_ALLOW_THREADS
;
2793 } Py_INCREF(Py_None
);
2794 _resultobj
= Py_None
;
2798 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2799 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2800 PyObject
* _resultobj
;
2804 PyObject
* _argo0
= 0;
2805 char *_kwnames
[] = { "self","width","height", NULL
};
2808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2818 wxPy_BEGIN_ALLOW_THREADS
;
2819 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2821 wxPy_END_ALLOW_THREADS
;
2822 } Py_INCREF(Py_None
);
2823 _resultobj
= Py_None
;
2827 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2828 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
* _resultobj
;
2832 PyObject
* _argo0
= 0;
2834 PyObject
* _obj1
= 0;
2835 char *_kwnames
[] = { "self","size", NULL
};
2838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2841 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2842 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2843 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2849 if (! wxSize_helper(_obj1
, &_arg1
))
2853 wxPy_BEGIN_ALLOW_THREADS
;
2854 wxCaret_SetSize(_arg0
,*_arg1
);
2856 wxPy_END_ALLOW_THREADS
;
2857 } Py_INCREF(Py_None
);
2858 _resultobj
= Py_None
;
2862 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2863 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
* _resultobj
;
2866 int _arg1
= (int ) TRUE
;
2867 PyObject
* _argo0
= 0;
2868 char *_kwnames
[] = { "self","show", NULL
};
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
2874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2881 wxPy_BEGIN_ALLOW_THREADS
;
2882 wxCaret_Show(_arg0
,_arg1
);
2884 wxPy_END_ALLOW_THREADS
;
2885 } Py_INCREF(Py_None
);
2886 _resultobj
= Py_None
;
2890 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2891 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2892 PyObject
* _resultobj
;
2894 PyObject
* _argo0
= 0;
2895 char *_kwnames
[] = { "self", NULL
};
2898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
2901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
2908 wxPy_BEGIN_ALLOW_THREADS
;
2909 wxCaret_Hide(_arg0
);
2911 wxPy_END_ALLOW_THREADS
;
2912 } Py_INCREF(Py_None
);
2913 _resultobj
= Py_None
;
2917 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
2918 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
* _resultobj
;
2920 wxPyFontEnumerator
* _result
;
2921 char *_kwnames
[] = { NULL
};
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
2928 wxPy_BEGIN_ALLOW_THREADS
;
2929 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
2931 wxPy_END_ALLOW_THREADS
;
2933 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
2934 _resultobj
= Py_BuildValue("s",_ptemp
);
2937 _resultobj
= Py_None
;
2942 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
2943 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2944 PyObject
* _resultobj
;
2945 wxPyFontEnumerator
* _arg0
;
2946 PyObject
* _argo0
= 0;
2947 char *_kwnames
[] = { "self", NULL
};
2950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
2953 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2954 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2955 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
2960 wxPy_BEGIN_ALLOW_THREADS
;
2961 delete_wxPyFontEnumerator(_arg0
);
2963 wxPy_END_ALLOW_THREADS
;
2964 } Py_INCREF(Py_None
);
2965 _resultobj
= Py_None
;
2969 #define wxFontEnumerator__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2970 static PyObject
*_wrap_wxFontEnumerator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2971 PyObject
* _resultobj
;
2972 wxPyFontEnumerator
* _arg0
;
2975 PyObject
* _argo0
= 0;
2976 PyObject
* _obj1
= 0;
2977 PyObject
* _obj2
= 0;
2978 char *_kwnames
[] = { "self","self","_class", NULL
};
2981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFontEnumerator__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setCallbackInfo. Expected _wxPyFontEnumerator_p.");
2997 wxPy_BEGIN_ALLOW_THREADS
;
2998 wxFontEnumerator__setCallbackInfo(_arg0
,_arg1
,_arg2
);
3000 wxPy_END_ALLOW_THREADS
;
3001 } Py_INCREF(Py_None
);
3002 _resultobj
= Py_None
;
3006 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
3007 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3008 PyObject
* _resultobj
;
3010 wxPyFontEnumerator
* _arg0
;
3011 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
3012 bool _arg2
= (bool ) FALSE
;
3013 PyObject
* _argo0
= 0;
3014 int tempbool2
= (int) FALSE
;
3015 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
3018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3027 _arg2
= (bool ) tempbool2
;
3029 wxPy_BEGIN_ALLOW_THREADS
;
3030 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
3032 wxPy_END_ALLOW_THREADS
;
3033 } _resultobj
= Py_BuildValue("i",_result
);
3037 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3038 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3039 PyObject
* _resultobj
;
3041 wxPyFontEnumerator
* _arg0
;
3042 char * _arg1
= (char *) "";
3043 PyObject
* _argo0
= 0;
3044 char *_kwnames
[] = { "self","facename", NULL
};
3047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
3050 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3051 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3052 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3057 wxPy_BEGIN_ALLOW_THREADS
;
3058 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
3060 wxPy_END_ALLOW_THREADS
;
3061 } _resultobj
= Py_BuildValue("i",_result
);
3065 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3066 wxArrayString
* arr
= self
->GetEncodings();
3067 PyObject
* list
= PyList_New(0);
3068 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3069 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3072 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3073 PyObject
* _resultobj
;
3075 wxPyFontEnumerator
* _arg0
;
3076 PyObject
* _argo0
= 0;
3077 char *_kwnames
[] = { "self", NULL
};
3080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3083 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3084 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3085 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3090 wxPy_BEGIN_ALLOW_THREADS
;
3091 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3093 wxPy_END_ALLOW_THREADS
;
3095 _resultobj
= _result
;
3100 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3101 wxArrayString
* arr
= self
->GetFacenames();
3102 PyObject
* list
= PyList_New(0);
3103 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3104 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3107 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3108 PyObject
* _resultobj
;
3110 wxPyFontEnumerator
* _arg0
;
3111 PyObject
* _argo0
= 0;
3112 char *_kwnames
[] = { "self", NULL
};
3115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3125 wxPy_BEGIN_ALLOW_THREADS
;
3126 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3128 wxPy_END_ALLOW_THREADS
;
3130 _resultobj
= _result
;
3135 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3136 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3137 PyObject
* _resultobj
;
3138 wxBusyCursor
* _result
;
3139 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3140 PyObject
* _argo0
= 0;
3141 char *_kwnames
[] = { "cursor", NULL
};
3145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3155 wxPy_BEGIN_ALLOW_THREADS
;
3156 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3158 wxPy_END_ALLOW_THREADS
;
3160 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3161 _resultobj
= Py_BuildValue("s",_ptemp
);
3164 _resultobj
= Py_None
;
3169 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3170 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3171 PyObject
* _resultobj
;
3172 wxBusyCursor
* _arg0
;
3173 PyObject
* _argo0
= 0;
3174 char *_kwnames
[] = { "self", NULL
};
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3187 wxPy_BEGIN_ALLOW_THREADS
;
3188 delete_wxBusyCursor(_arg0
);
3190 wxPy_END_ALLOW_THREADS
;
3191 } Py_INCREF(Py_None
);
3192 _resultobj
= Py_None
;
3196 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3197 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3198 PyObject
* _resultobj
;
3199 wxWindowDisabler
* _result
;
3200 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3201 PyObject
* _argo0
= 0;
3202 char *_kwnames
[] = { "winToSkip", NULL
};
3206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3216 wxPy_BEGIN_ALLOW_THREADS
;
3217 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3219 wxPy_END_ALLOW_THREADS
;
3221 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3222 _resultobj
= Py_BuildValue("s",_ptemp
);
3225 _resultobj
= Py_None
;
3230 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3231 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
* _resultobj
;
3233 wxWindowDisabler
* _arg0
;
3234 PyObject
* _argo0
= 0;
3235 char *_kwnames
[] = { "self", NULL
};
3238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3248 wxPy_BEGIN_ALLOW_THREADS
;
3249 delete_wxWindowDisabler(_arg0
);
3251 wxPy_END_ALLOW_THREADS
;
3252 } Py_INCREF(Py_None
);
3253 _resultobj
= Py_None
;
3257 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3258 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
* _resultobj
;
3260 wxMutexGuiLocker
* _result
;
3261 char *_kwnames
[] = { NULL
};
3265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3268 wxPy_BEGIN_ALLOW_THREADS
;
3269 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3271 wxPy_END_ALLOW_THREADS
;
3273 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3274 _resultobj
= Py_BuildValue("s",_ptemp
);
3277 _resultobj
= Py_None
;
3282 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3283 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
* _resultobj
;
3285 wxMutexGuiLocker
* _arg0
;
3286 PyObject
* _argo0
= 0;
3287 char *_kwnames
[] = { "self", NULL
};
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3300 wxPy_BEGIN_ALLOW_THREADS
;
3301 delete_wxMutexGuiLocker(_arg0
);
3303 wxPy_END_ALLOW_THREADS
;
3304 } Py_INCREF(Py_None
);
3305 _resultobj
= Py_None
;
3309 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3310 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
* _resultobj
;
3312 wxTipProvider
* _arg0
;
3313 PyObject
* _argo0
= 0;
3314 char *_kwnames
[] = { "self", NULL
};
3317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3327 wxPy_BEGIN_ALLOW_THREADS
;
3328 delete_wxTipProvider(_arg0
);
3330 wxPy_END_ALLOW_THREADS
;
3331 } Py_INCREF(Py_None
);
3332 _resultobj
= Py_None
;
3336 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3337 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3338 PyObject
* _resultobj
;
3340 wxTipProvider
* _arg0
;
3341 PyObject
* _argo0
= 0;
3342 char *_kwnames
[] = { "self", NULL
};
3345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3348 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3349 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3350 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3355 wxPy_BEGIN_ALLOW_THREADS
;
3356 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3358 wxPy_END_ALLOW_THREADS
;
3360 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3368 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3369 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3370 PyObject
* _resultobj
;
3372 wxTipProvider
* _arg0
;
3373 PyObject
* _argo0
= 0;
3374 char *_kwnames
[] = { "self", NULL
};
3377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3387 wxPy_BEGIN_ALLOW_THREADS
;
3388 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3390 wxPy_END_ALLOW_THREADS
;
3391 } _resultobj
= Py_BuildValue("i",_result
);
3395 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3396 wxPyTipProvider
*src
;
3397 wxTipProvider
*dest
;
3398 src
= (wxPyTipProvider
*) ptr
;
3399 dest
= (wxTipProvider
*) src
;
3400 return (void *) dest
;
3403 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3404 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3405 PyObject
* _resultobj
;
3406 wxPyTipProvider
* _result
;
3408 char *_kwnames
[] = { "currentTip", NULL
};
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3415 wxPy_BEGIN_ALLOW_THREADS
;
3416 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3418 wxPy_END_ALLOW_THREADS
;
3420 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3421 _resultobj
= Py_BuildValue("s",_ptemp
);
3424 _resultobj
= Py_None
;
3429 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3430 wxGenericDragImage
*src
;
3432 src
= (wxGenericDragImage
*) ptr
;
3433 dest
= (wxObject
*) src
;
3434 return (void *) dest
;
3437 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3438 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3439 PyObject
* _resultobj
;
3440 wxGenericDragImage
* _result
;
3442 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3443 PyObject
* _argo0
= 0;
3444 PyObject
* _argo1
= 0;
3445 char *_kwnames
[] = { "image","cursor", NULL
};
3449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3452 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3453 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3454 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3459 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3460 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3466 wxPy_BEGIN_ALLOW_THREADS
;
3467 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3469 wxPy_END_ALLOW_THREADS
;
3471 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3472 _resultobj
= Py_BuildValue("s",_ptemp
);
3475 _resultobj
= Py_None
;
3480 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3481 static PyObject
*_wrap_new_wxDragIcon(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_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3495 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3496 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3497 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_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_wxDragIcon. Expected _wxCursor_p.");
3509 wxPy_BEGIN_ALLOW_THREADS
;
3510 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_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_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3524 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3525 PyObject
* _resultobj
;
3526 wxGenericDragImage
* _result
;
3528 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3529 PyObject
* _obj0
= 0;
3530 PyObject
* _argo1
= 0;
3531 char *_kwnames
[] = { "str","cursor", NULL
};
3535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3538 #if PYTHON_API_VERSION >= 1009
3539 char* tmpPtr
; int tmpSize
;
3540 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3541 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3544 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3546 _arg0
= new wxString(tmpPtr
, tmpSize
);
3548 if (!PyString_Check(_obj0
)) {
3549 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3552 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3556 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3557 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3563 wxPy_BEGIN_ALLOW_THREADS
;
3564 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3566 wxPy_END_ALLOW_THREADS
;
3568 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3569 _resultobj
= Py_BuildValue("s",_ptemp
);
3572 _resultobj
= Py_None
;
3581 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3582 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3583 PyObject
* _resultobj
;
3584 wxGenericDragImage
* _result
;
3586 wxTreeItemId
* _arg1
;
3587 PyObject
* _argo0
= 0;
3588 PyObject
* _argo1
= 0;
3589 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3596 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3597 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3598 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3603 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3604 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3610 wxPy_BEGIN_ALLOW_THREADS
;
3611 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3613 wxPy_END_ALLOW_THREADS
;
3615 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3616 _resultobj
= Py_BuildValue("s",_ptemp
);
3619 _resultobj
= Py_None
;
3624 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3625 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3626 PyObject
* _resultobj
;
3627 wxGenericDragImage
* _result
;
3630 PyObject
* _argo0
= 0;
3631 char *_kwnames
[] = { "listCtrl","id", NULL
};
3635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3645 wxPy_BEGIN_ALLOW_THREADS
;
3646 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3648 wxPy_END_ALLOW_THREADS
;
3650 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3651 _resultobj
= Py_BuildValue("s",_ptemp
);
3654 _resultobj
= Py_None
;
3659 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3660 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
* _resultobj
;
3662 wxGenericDragImage
* _arg0
;
3663 PyObject
* _argo0
= 0;
3664 char *_kwnames
[] = { "self", NULL
};
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3677 wxPy_BEGIN_ALLOW_THREADS
;
3678 delete_wxGenericDragImage(_arg0
);
3680 wxPy_END_ALLOW_THREADS
;
3681 } Py_INCREF(Py_None
);
3682 _resultobj
= Py_None
;
3686 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3687 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3688 PyObject
* _resultobj
;
3689 wxGenericDragImage
* _arg0
;
3691 PyObject
* _argo0
= 0;
3692 PyObject
* _argo1
= 0;
3693 char *_kwnames
[] = { "self","bitmap", NULL
};
3696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3706 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3707 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3708 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3713 wxPy_BEGIN_ALLOW_THREADS
;
3714 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3716 wxPy_END_ALLOW_THREADS
;
3717 } Py_INCREF(Py_None
);
3718 _resultobj
= Py_None
;
3722 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3723 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3724 PyObject
* _resultobj
;
3726 wxGenericDragImage
* _arg0
;
3729 bool _arg3
= (bool ) FALSE
;
3730 wxRect
* _arg4
= (wxRect
*) NULL
;
3731 PyObject
* _argo0
= 0;
3733 PyObject
* _obj1
= 0;
3734 PyObject
* _argo2
= 0;
3735 int tempbool3
= (int) FALSE
;
3737 PyObject
* _obj4
= 0;
3738 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3752 if (! wxPoint_helper(_obj1
, &_arg1
))
3756 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3757 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3762 _arg3
= (bool ) tempbool3
;
3766 if (! wxRect_helper(_obj4
, &_arg4
))
3770 wxPy_BEGIN_ALLOW_THREADS
;
3771 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3773 wxPy_END_ALLOW_THREADS
;
3774 } _resultobj
= Py_BuildValue("i",_result
);
3778 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3779 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3780 PyObject
* _resultobj
;
3782 wxGenericDragImage
* _arg0
;
3786 PyObject
* _argo0
= 0;
3788 PyObject
* _obj1
= 0;
3789 PyObject
* _argo2
= 0;
3790 PyObject
* _argo3
= 0;
3791 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3805 if (! wxPoint_helper(_obj1
, &_arg1
))
3809 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3810 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3816 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3817 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3823 wxPy_BEGIN_ALLOW_THREADS
;
3824 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3826 wxPy_END_ALLOW_THREADS
;
3827 } _resultobj
= Py_BuildValue("i",_result
);
3831 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3832 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3833 PyObject
* _resultobj
;
3835 wxGenericDragImage
* _arg0
;
3836 PyObject
* _argo0
= 0;
3837 char *_kwnames
[] = { "self", NULL
};
3840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3850 wxPy_BEGIN_ALLOW_THREADS
;
3851 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3853 wxPy_END_ALLOW_THREADS
;
3854 } _resultobj
= Py_BuildValue("i",_result
);
3858 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3859 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
* _resultobj
;
3862 wxGenericDragImage
* _arg0
;
3864 PyObject
* _argo0
= 0;
3866 PyObject
* _obj1
= 0;
3867 char *_kwnames
[] = { "self","pt", NULL
};
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3881 if (! wxPoint_helper(_obj1
, &_arg1
))
3885 wxPy_BEGIN_ALLOW_THREADS
;
3886 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3888 wxPy_END_ALLOW_THREADS
;
3889 } _resultobj
= Py_BuildValue("i",_result
);
3893 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3894 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
* _resultobj
;
3897 wxGenericDragImage
* _arg0
;
3898 PyObject
* _argo0
= 0;
3899 char *_kwnames
[] = { "self", NULL
};
3902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3905 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3906 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3907 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3912 wxPy_BEGIN_ALLOW_THREADS
;
3913 _result
= (bool )wxDragImage_Show(_arg0
);
3915 wxPy_END_ALLOW_THREADS
;
3916 } _resultobj
= Py_BuildValue("i",_result
);
3920 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3921 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3922 PyObject
* _resultobj
;
3924 wxGenericDragImage
* _arg0
;
3925 PyObject
* _argo0
= 0;
3926 char *_kwnames
[] = { "self", NULL
};
3929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3932 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3933 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3934 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3939 wxPy_BEGIN_ALLOW_THREADS
;
3940 _result
= (bool )wxDragImage_Hide(_arg0
);
3942 wxPy_END_ALLOW_THREADS
;
3943 } _resultobj
= Py_BuildValue("i",_result
);
3947 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3948 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3949 PyObject
* _resultobj
;
3951 wxGenericDragImage
* _arg0
;
3953 PyObject
* _argo0
= 0;
3955 PyObject
* _obj1
= 0;
3956 char *_kwnames
[] = { "self","pos", NULL
};
3960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
3963 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3964 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3965 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
3971 if (! wxPoint_helper(_obj1
, &_arg1
))
3975 wxPy_BEGIN_ALLOW_THREADS
;
3976 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
3978 wxPy_END_ALLOW_THREADS
;
3979 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3980 _resultobj
= Py_BuildValue("s",_ptemp
);
3984 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3985 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
* _resultobj
;
3988 wxGenericDragImage
* _arg0
;
3993 PyObject
* _argo0
= 0;
3995 PyObject
* _obj1
= 0;
3997 PyObject
* _obj2
= 0;
4000 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
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_RedrawImage. Expected _wxGenericDragImage_p.");
4014 if (! wxPoint_helper(_obj1
, &_arg1
))
4019 if (! wxPoint_helper(_obj2
, &_arg2
))
4022 _arg3
= (bool ) tempbool3
;
4023 _arg4
= (bool ) tempbool4
;
4025 wxPy_BEGIN_ALLOW_THREADS
;
4026 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4028 wxPy_END_ALLOW_THREADS
;
4029 } _resultobj
= Py_BuildValue("i",_result
);
4033 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4036 src
= (wxPyTimer
*) ptr
;
4037 dest
= (wxObject
*) src
;
4038 return (void *) dest
;
4041 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4042 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4043 PyObject
* _resultobj
;
4044 wxPyTimer
* _result
;
4046 PyObject
* _obj0
= 0;
4047 char *_kwnames
[] = { "notify", NULL
};
4051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4057 wxPy_BEGIN_ALLOW_THREADS
;
4058 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4060 wxPy_END_ALLOW_THREADS
;
4062 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4063 _resultobj
= Py_BuildValue("s",_ptemp
);
4066 _resultobj
= Py_None
;
4071 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4072 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4073 PyObject
* _resultobj
;
4075 PyObject
* _argo0
= 0;
4076 char *_kwnames
[] = { "self", NULL
};
4079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4082 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4083 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4084 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4089 wxPy_BEGIN_ALLOW_THREADS
;
4090 delete_wxPyTimer(_arg0
);
4092 wxPy_END_ALLOW_THREADS
;
4093 } Py_INCREF(Py_None
);
4094 _resultobj
= Py_None
;
4098 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4099 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4100 PyObject
* _resultobj
;
4103 PyObject
* _argo0
= 0;
4104 char *_kwnames
[] = { "self", NULL
};
4107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4117 wxPy_BEGIN_ALLOW_THREADS
;
4118 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4120 wxPy_END_ALLOW_THREADS
;
4121 } _resultobj
= Py_BuildValue("i",_result
);
4125 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4126 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4127 PyObject
* _resultobj
;
4130 PyObject
* _argo0
= 0;
4131 char *_kwnames
[] = { "self", NULL
};
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4137 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4138 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4139 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4144 wxPy_BEGIN_ALLOW_THREADS
;
4145 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4147 wxPy_END_ALLOW_THREADS
;
4148 } _resultobj
= Py_BuildValue("i",_result
);
4152 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4153 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
* _resultobj
;
4157 PyObject
* _argo0
= 0;
4158 char *_kwnames
[] = { "self", NULL
};
4161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4164 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4165 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4166 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4171 wxPy_BEGIN_ALLOW_THREADS
;
4172 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4174 wxPy_END_ALLOW_THREADS
;
4175 } _resultobj
= Py_BuildValue("i",_result
);
4179 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4180 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
* _resultobj
;
4183 wxEvtHandler
* _arg1
;
4184 int _arg2
= (int ) -1;
4185 PyObject
* _argo0
= 0;
4186 PyObject
* _argo1
= 0;
4187 char *_kwnames
[] = { "self","owner","id", NULL
};
4190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4200 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4201 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4207 wxPy_BEGIN_ALLOW_THREADS
;
4208 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4210 wxPy_END_ALLOW_THREADS
;
4211 } Py_INCREF(Py_None
);
4212 _resultobj
= Py_None
;
4216 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4217 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
* _resultobj
;
4220 int _arg1
= (int ) -1;
4221 int _arg2
= (int ) FALSE
;
4222 PyObject
* _argo0
= 0;
4223 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4229 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4230 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4231 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4236 wxPy_BEGIN_ALLOW_THREADS
;
4237 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4239 wxPy_END_ALLOW_THREADS
;
4240 } Py_INCREF(Py_None
);
4241 _resultobj
= Py_None
;
4245 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4246 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
* _resultobj
;
4249 PyObject
* _argo0
= 0;
4250 char *_kwnames
[] = { "self", NULL
};
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4263 wxPy_BEGIN_ALLOW_THREADS
;
4264 wxPyTimer_Stop(_arg0
);
4266 wxPy_END_ALLOW_THREADS
;
4267 } Py_INCREF(Py_None
);
4268 _resultobj
= Py_None
;
4272 #define new_wxLog() (new wxLog())
4273 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4274 PyObject
* _resultobj
;
4276 char *_kwnames
[] = { NULL
};
4280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4283 wxPy_BEGIN_ALLOW_THREADS
;
4284 _result
= (wxLog
*)new_wxLog();
4286 wxPy_END_ALLOW_THREADS
;
4288 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4289 _resultobj
= Py_BuildValue("s",_ptemp
);
4292 _resultobj
= Py_None
;
4297 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4298 PyObject
* _resultobj
;
4300 char *_kwnames
[] = { NULL
};
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4306 wxPy_BEGIN_ALLOW_THREADS
;
4307 _result
= (bool )wxLog::IsEnabled();
4309 wxPy_END_ALLOW_THREADS
;
4310 } _resultobj
= Py_BuildValue("i",_result
);
4314 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4315 PyObject
* _resultobj
;
4317 bool _arg0
= (bool ) TRUE
;
4318 int tempbool0
= (int) TRUE
;
4319 char *_kwnames
[] = { "doIt", NULL
};
4322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4324 _arg0
= (bool ) tempbool0
;
4326 wxPy_BEGIN_ALLOW_THREADS
;
4327 _result
= (bool )wxLog::EnableLogging(_arg0
);
4329 wxPy_END_ALLOW_THREADS
;
4330 } _resultobj
= Py_BuildValue("i",_result
);
4334 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
* _resultobj
;
4338 int _arg2
= (int ) 0;
4339 PyObject
* _argo0
= 0;
4340 char *_kwnames
[] = { "level","szString","t", NULL
};
4343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4353 wxPy_BEGIN_ALLOW_THREADS
;
4354 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
4356 wxPy_END_ALLOW_THREADS
;
4357 } Py_INCREF(Py_None
);
4358 _resultobj
= Py_None
;
4362 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4363 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
* _resultobj
;
4366 PyObject
* _argo0
= 0;
4367 char *_kwnames
[] = { "self", NULL
};
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4380 wxPy_BEGIN_ALLOW_THREADS
;
4383 wxPy_END_ALLOW_THREADS
;
4384 } Py_INCREF(Py_None
);
4385 _resultobj
= Py_None
;
4389 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4390 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
* _resultobj
;
4394 PyObject
* _argo0
= 0;
4395 char *_kwnames
[] = { "self", NULL
};
4398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4408 wxPy_BEGIN_ALLOW_THREADS
;
4409 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4411 wxPy_END_ALLOW_THREADS
;
4412 } _resultobj
= Py_BuildValue("i",_result
);
4416 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4417 PyObject
* _resultobj
;
4418 char *_kwnames
[] = { NULL
};
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4424 wxPy_BEGIN_ALLOW_THREADS
;
4425 wxLog::FlushActive();
4427 wxPy_END_ALLOW_THREADS
;
4428 } Py_INCREF(Py_None
);
4429 _resultobj
= Py_None
;
4433 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
* _resultobj
;
4436 char *_kwnames
[] = { NULL
};
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4443 wxPy_BEGIN_ALLOW_THREADS
;
4444 _result
= (wxLog
*)wxLog::GetActiveTarget();
4446 wxPy_END_ALLOW_THREADS
;
4448 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4449 _resultobj
= Py_BuildValue("s",_ptemp
);
4452 _resultobj
= Py_None
;
4457 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4458 PyObject
* _resultobj
;
4461 PyObject
* _argo0
= 0;
4462 char *_kwnames
[] = { "pLogger", NULL
};
4466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4476 wxPy_BEGIN_ALLOW_THREADS
;
4477 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4479 wxPy_END_ALLOW_THREADS
;
4481 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4482 _resultobj
= Py_BuildValue("s",_ptemp
);
4485 _resultobj
= Py_None
;
4490 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
* _resultobj
;
4492 char *_kwnames
[] = { NULL
};
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4498 wxPy_BEGIN_ALLOW_THREADS
;
4501 wxPy_END_ALLOW_THREADS
;
4502 } Py_INCREF(Py_None
);
4503 _resultobj
= Py_None
;
4507 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
* _resultobj
;
4509 char *_kwnames
[] = { NULL
};
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4515 wxPy_BEGIN_ALLOW_THREADS
;
4518 wxPy_END_ALLOW_THREADS
;
4519 } Py_INCREF(Py_None
);
4520 _resultobj
= Py_None
;
4524 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4525 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
* _resultobj
;
4528 bool _arg1
= (bool ) TRUE
;
4529 PyObject
* _argo0
= 0;
4530 int tempbool1
= (int) TRUE
;
4531 char *_kwnames
[] = { "self","bVerbose", NULL
};
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4543 _arg1
= (bool ) tempbool1
;
4545 wxPy_BEGIN_ALLOW_THREADS
;
4546 wxLog_SetVerbose(_arg0
,_arg1
);
4548 wxPy_END_ALLOW_THREADS
;
4549 } Py_INCREF(Py_None
);
4550 _resultobj
= Py_None
;
4554 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
* _resultobj
;
4556 char *_kwnames
[] = { NULL
};
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4562 wxPy_BEGIN_ALLOW_THREADS
;
4563 wxLog::DontCreateOnDemand();
4565 wxPy_END_ALLOW_THREADS
;
4566 } Py_INCREF(Py_None
);
4567 _resultobj
= Py_None
;
4571 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4572 PyObject
* _resultobj
;
4573 wxTraceMask
* _arg0
;
4574 PyObject
* _argo0
= 0;
4575 char *_kwnames
[] = { "ulMask", NULL
};
4578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4581 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4582 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4583 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4588 wxPy_BEGIN_ALLOW_THREADS
;
4589 wxLog::SetTraceMask(*_arg0
);
4591 wxPy_END_ALLOW_THREADS
;
4592 } Py_INCREF(Py_None
);
4593 _resultobj
= Py_None
;
4597 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
* _resultobj
;
4600 PyObject
* _obj0
= 0;
4601 char *_kwnames
[] = { "str", NULL
};
4604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4607 #if PYTHON_API_VERSION >= 1009
4608 char* tmpPtr
; int tmpSize
;
4609 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4610 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4613 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4615 _arg0
= new wxString(tmpPtr
, tmpSize
);
4617 if (!PyString_Check(_obj0
)) {
4618 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4621 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4625 wxPy_BEGIN_ALLOW_THREADS
;
4626 wxLog::AddTraceMask(*_arg0
);
4628 wxPy_END_ALLOW_THREADS
;
4629 } Py_INCREF(Py_None
);
4630 _resultobj
= Py_None
;
4638 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
* _resultobj
;
4641 PyObject
* _obj0
= 0;
4642 char *_kwnames
[] = { "str", NULL
};
4645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4648 #if PYTHON_API_VERSION >= 1009
4649 char* tmpPtr
; int tmpSize
;
4650 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4651 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4654 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4656 _arg0
= new wxString(tmpPtr
, tmpSize
);
4658 if (!PyString_Check(_obj0
)) {
4659 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4662 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4666 wxPy_BEGIN_ALLOW_THREADS
;
4667 wxLog::RemoveTraceMask(*_arg0
);
4669 wxPy_END_ALLOW_THREADS
;
4670 } Py_INCREF(Py_None
);
4671 _resultobj
= Py_None
;
4679 static PyObject
*_wrap_wxLog_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4680 PyObject
* _resultobj
;
4681 char *_kwnames
[] = { NULL
};
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_ClearTraceMasks",_kwnames
))
4687 wxPy_BEGIN_ALLOW_THREADS
;
4688 wxLog::ClearTraceMasks();
4690 wxPy_END_ALLOW_THREADS
;
4691 } Py_INCREF(Py_None
);
4692 _resultobj
= Py_None
;
4696 static PyObject
*_wrap_wxLog_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4697 PyObject
* _resultobj
;
4699 char *_kwnames
[] = { "ts", NULL
};
4702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_SetTimestamp",_kwnames
,&_arg0
))
4705 wxPy_BEGIN_ALLOW_THREADS
;
4706 wxLog::SetTimestamp(_arg0
);
4708 wxPy_END_ALLOW_THREADS
;
4709 } Py_INCREF(Py_None
);
4710 _resultobj
= Py_None
;
4714 static PyObject
*_wrap_wxLog_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4715 PyObject
* _resultobj
;
4717 char *_kwnames
[] = { NULL
};
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTimestamp",_kwnames
))
4723 wxPy_BEGIN_ALLOW_THREADS
;
4724 _result
= (wxChar
*)wxLog::GetTimestamp();
4726 wxPy_END_ALLOW_THREADS
;
4727 } _resultobj
= Py_BuildValue("s", _result
);
4731 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4732 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
* _resultobj
;
4736 PyObject
* _argo0
= 0;
4737 char *_kwnames
[] = { "self", NULL
};
4740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4743 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4744 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4750 wxPy_BEGIN_ALLOW_THREADS
;
4751 _result
= (bool )wxLog_GetVerbose(_arg0
);
4753 wxPy_END_ALLOW_THREADS
;
4754 } _resultobj
= Py_BuildValue("i",_result
);
4758 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4759 PyObject
* _resultobj
;
4760 wxTraceMask
* _result
;
4761 char *_kwnames
[] = { NULL
};
4765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4768 wxPy_BEGIN_ALLOW_THREADS
;
4769 _result
= new wxTraceMask (wxLog::GetTraceMask());
4771 wxPy_END_ALLOW_THREADS
;
4772 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
4773 _resultobj
= Py_BuildValue("s",_ptemp
);
4777 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4778 PyObject
* _resultobj
;
4781 char *_kwnames
[] = { "mask", NULL
};
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
4787 wxPy_BEGIN_ALLOW_THREADS
;
4788 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
4790 wxPy_END_ALLOW_THREADS
;
4791 } _resultobj
= Py_BuildValue("i",_result
);
4795 static wxString
wxLog_TimeStamp(wxLog
*self
) {
4797 wxLog::TimeStamp(&msg
);
4800 static PyObject
*_wrap_wxLog_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
* _resultobj
;
4804 PyObject
* _argo0
= 0;
4805 char *_kwnames
[] = { "self", NULL
};
4808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_TimeStamp",_kwnames
,&_argo0
))
4811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_TimeStamp. Expected _wxLog_p.");
4818 wxPy_BEGIN_ALLOW_THREADS
;
4819 _result
= new wxString (wxLog_TimeStamp(_arg0
));
4821 wxPy_END_ALLOW_THREADS
;
4823 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
4831 static void *SwigwxLogStderrTowxLog(void *ptr
) {
4834 src
= (wxLogStderr
*) ptr
;
4835 dest
= (wxLog
*) src
;
4836 return (void *) dest
;
4839 #define new_wxLogStderr() (new wxLogStderr())
4840 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4841 PyObject
* _resultobj
;
4842 wxLogStderr
* _result
;
4843 char *_kwnames
[] = { NULL
};
4847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
4850 wxPy_BEGIN_ALLOW_THREADS
;
4851 _result
= (wxLogStderr
*)new_wxLogStderr();
4853 wxPy_END_ALLOW_THREADS
;
4855 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
4856 _resultobj
= Py_BuildValue("s",_ptemp
);
4859 _resultobj
= Py_None
;
4864 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
4867 src
= (wxLogTextCtrl
*) ptr
;
4868 dest
= (wxLog
*) src
;
4869 return (void *) dest
;
4872 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
4873 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4874 PyObject
* _resultobj
;
4875 wxLogTextCtrl
* _result
;
4877 PyObject
* _argo0
= 0;
4878 char *_kwnames
[] = { "pTextCtrl", NULL
};
4882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
4885 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4886 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4887 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
4892 wxPy_BEGIN_ALLOW_THREADS
;
4893 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
4895 wxPy_END_ALLOW_THREADS
;
4897 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
4898 _resultobj
= Py_BuildValue("s",_ptemp
);
4901 _resultobj
= Py_None
;
4906 static void *SwigwxLogGuiTowxLog(void *ptr
) {
4909 src
= (wxLogGui
*) ptr
;
4910 dest
= (wxLog
*) src
;
4911 return (void *) dest
;
4914 #define new_wxLogGui() (new wxLogGui())
4915 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
* _resultobj
;
4918 char *_kwnames
[] = { NULL
};
4922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
4925 wxPy_BEGIN_ALLOW_THREADS
;
4926 _result
= (wxLogGui
*)new_wxLogGui();
4928 wxPy_END_ALLOW_THREADS
;
4930 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
4931 _resultobj
= Py_BuildValue("s",_ptemp
);
4934 _resultobj
= Py_None
;
4939 static void *SwigwxLogWindowTowxLog(void *ptr
) {
4942 src
= (wxLogWindow
*) ptr
;
4943 dest
= (wxLog
*) src
;
4944 return (void *) dest
;
4947 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4948 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4949 PyObject
* _resultobj
;
4950 wxLogWindow
* _result
;
4953 bool _arg2
= (bool ) TRUE
;
4954 bool _arg3
= (bool ) TRUE
;
4955 PyObject
* _argo0
= 0;
4956 int tempbool2
= (int) TRUE
;
4957 int tempbool3
= (int) TRUE
;
4958 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
4962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
4965 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4966 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
4967 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
4971 _arg2
= (bool ) tempbool2
;
4972 _arg3
= (bool ) tempbool3
;
4974 wxPy_BEGIN_ALLOW_THREADS
;
4975 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
4977 wxPy_END_ALLOW_THREADS
;
4979 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
4980 _resultobj
= Py_BuildValue("s",_ptemp
);
4983 _resultobj
= Py_None
;
4988 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4989 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
* _resultobj
;
4991 wxLogWindow
* _arg0
;
4992 bool _arg1
= (bool ) TRUE
;
4993 PyObject
* _argo0
= 0;
4994 int tempbool1
= (int) TRUE
;
4995 char *_kwnames
[] = { "self","bShow", NULL
};
4998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
5001 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5002 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5003 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
5007 _arg1
= (bool ) tempbool1
;
5009 wxPy_BEGIN_ALLOW_THREADS
;
5010 wxLogWindow_Show(_arg0
,_arg1
);
5012 wxPy_END_ALLOW_THREADS
;
5013 } Py_INCREF(Py_None
);
5014 _resultobj
= Py_None
;
5018 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
5019 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
* _resultobj
;
5022 wxLogWindow
* _arg0
;
5023 PyObject
* _argo0
= 0;
5024 char *_kwnames
[] = { "self", NULL
};
5027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
5030 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5031 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5032 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
5037 wxPy_BEGIN_ALLOW_THREADS
;
5038 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
5040 wxPy_END_ALLOW_THREADS
;
5041 }{ _resultobj
= wxPyMake_wxObject(_result
); }
5045 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5046 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5047 PyObject
* _resultobj
;
5049 wxLogWindow
* _arg0
;
5050 PyObject
* _argo0
= 0;
5051 char *_kwnames
[] = { "self", NULL
};
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
5058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
5065 wxPy_BEGIN_ALLOW_THREADS
;
5066 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
5068 wxPy_END_ALLOW_THREADS
;
5070 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5071 _resultobj
= Py_BuildValue("s",_ptemp
);
5074 _resultobj
= Py_None
;
5079 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5080 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5081 PyObject
* _resultobj
;
5083 wxLogWindow
* _arg0
;
5084 PyObject
* _argo0
= 0;
5085 char *_kwnames
[] = { "self", NULL
};
5088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5098 wxPy_BEGIN_ALLOW_THREADS
;
5099 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5101 wxPy_END_ALLOW_THREADS
;
5102 } _resultobj
= Py_BuildValue("i",_result
);
5106 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5107 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5108 PyObject
* _resultobj
;
5109 wxLogWindow
* _arg0
;
5111 PyObject
* _argo0
= 0;
5113 char *_kwnames
[] = { "self","bDoPass", NULL
};
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5125 _arg1
= (bool ) tempbool1
;
5127 wxPy_BEGIN_ALLOW_THREADS
;
5128 wxLogWindow_PassMessages(_arg0
,_arg1
);
5130 wxPy_END_ALLOW_THREADS
;
5131 } Py_INCREF(Py_None
);
5132 _resultobj
= Py_None
;
5136 #define new_wxLogNull() (new wxLogNull())
5137 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5138 PyObject
* _resultobj
;
5139 wxLogNull
* _result
;
5140 char *_kwnames
[] = { NULL
};
5144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5147 wxPy_BEGIN_ALLOW_THREADS
;
5148 _result
= (wxLogNull
*)new_wxLogNull();
5150 wxPy_END_ALLOW_THREADS
;
5152 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5153 _resultobj
= Py_BuildValue("s",_ptemp
);
5156 _resultobj
= Py_None
;
5161 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5162 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5163 PyObject
* _resultobj
;
5165 PyObject
* _argo0
= 0;
5166 char *_kwnames
[] = { "self", NULL
};
5169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5179 wxPy_BEGIN_ALLOW_THREADS
;
5180 delete_wxLogNull(_arg0
);
5182 wxPy_END_ALLOW_THREADS
;
5183 } Py_INCREF(Py_None
);
5184 _resultobj
= Py_None
;
5188 static void *SwigwxLogChainTowxLog(void *ptr
) {
5191 src
= (wxLogChain
*) ptr
;
5192 dest
= (wxLog
*) src
;
5193 return (void *) dest
;
5196 #define new_wxLogChain(_swigarg0) (new wxLogChain(_swigarg0))
5197 static PyObject
*_wrap_new_wxLogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5198 PyObject
* _resultobj
;
5199 wxLogChain
* _result
;
5201 PyObject
* _argo0
= 0;
5202 char *_kwnames
[] = { "logger", NULL
};
5206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogChain",_kwnames
,&_argo0
))
5209 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5210 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
5211 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogChain. Expected _wxLog_p.");
5216 wxPy_BEGIN_ALLOW_THREADS
;
5217 _result
= (wxLogChain
*)new_wxLogChain(_arg0
);
5219 wxPy_END_ALLOW_THREADS
;
5221 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogChain_p");
5222 _resultobj
= Py_BuildValue("s",_ptemp
);
5225 _resultobj
= Py_None
;
5230 #define wxLogChain_SetLog(_swigobj,_swigarg0) (_swigobj->SetLog(_swigarg0))
5231 static PyObject
*_wrap_wxLogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5232 PyObject
* _resultobj
;
5235 PyObject
* _argo0
= 0;
5236 PyObject
* _argo1
= 0;
5237 char *_kwnames
[] = { "self","logger", NULL
};
5240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxLogChain_SetLog",_kwnames
,&_argo0
,&_argo1
))
5243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_SetLog. Expected _wxLogChain_p.");
5250 if (_argo1
== Py_None
) { _arg1
= NULL
; }
5251 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxLog_p")) {
5252 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxLogChain_SetLog. Expected _wxLog_p.");
5257 wxPy_BEGIN_ALLOW_THREADS
;
5258 wxLogChain_SetLog(_arg0
,_arg1
);
5260 wxPy_END_ALLOW_THREADS
;
5261 } Py_INCREF(Py_None
);
5262 _resultobj
= Py_None
;
5266 #define wxLogChain_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5267 static PyObject
*_wrap_wxLogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
* _resultobj
;
5271 PyObject
* _argo0
= 0;
5273 char *_kwnames
[] = { "self","bDoPass", NULL
};
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogChain_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_PassMessages. Expected _wxLogChain_p.");
5285 _arg1
= (bool ) tempbool1
;
5287 wxPy_BEGIN_ALLOW_THREADS
;
5288 wxLogChain_PassMessages(_arg0
,_arg1
);
5290 wxPy_END_ALLOW_THREADS
;
5291 } Py_INCREF(Py_None
);
5292 _resultobj
= Py_None
;
5296 #define wxLogChain_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5297 static PyObject
*_wrap_wxLogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
* _resultobj
;
5301 PyObject
* _argo0
= 0;
5302 char *_kwnames
[] = { "self", NULL
};
5305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_IsPassingMessages",_kwnames
,&_argo0
))
5308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_IsPassingMessages. Expected _wxLogChain_p.");
5315 wxPy_BEGIN_ALLOW_THREADS
;
5316 _result
= (bool )wxLogChain_IsPassingMessages(_arg0
);
5318 wxPy_END_ALLOW_THREADS
;
5319 } _resultobj
= Py_BuildValue("i",_result
);
5323 #define wxLogChain_GetOldLog(_swigobj) (_swigobj->GetOldLog())
5324 static PyObject
*_wrap_wxLogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5325 PyObject
* _resultobj
;
5328 PyObject
* _argo0
= 0;
5329 char *_kwnames
[] = { "self", NULL
};
5333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogChain_GetOldLog",_kwnames
,&_argo0
))
5336 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5337 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogChain_p")) {
5338 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogChain_GetOldLog. Expected _wxLogChain_p.");
5343 wxPy_BEGIN_ALLOW_THREADS
;
5344 _result
= (wxLog
*)wxLogChain_GetOldLog(_arg0
);
5346 wxPy_END_ALLOW_THREADS
;
5348 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
5349 _resultobj
= Py_BuildValue("s",_ptemp
);
5352 _resultobj
= Py_None
;
5357 static void *SwigwxPyLogTowxLog(void *ptr
) {
5360 src
= (wxPyLog
*) ptr
;
5361 dest
= (wxLog
*) src
;
5362 return (void *) dest
;
5365 #define new_wxPyLog() (new wxPyLog())
5366 static PyObject
*_wrap_new_wxPyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
* _resultobj
;
5369 char *_kwnames
[] = { NULL
};
5373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxPyLog",_kwnames
))
5376 wxPy_BEGIN_ALLOW_THREADS
;
5377 _result
= (wxPyLog
*)new_wxPyLog();
5379 wxPy_END_ALLOW_THREADS
;
5381 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyLog_p");
5382 _resultobj
= Py_BuildValue("s",_ptemp
);
5385 _resultobj
= Py_None
;
5390 #define wxPyLog__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5391 static PyObject
*_wrap_wxPyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5392 PyObject
* _resultobj
;
5396 PyObject
* _argo0
= 0;
5397 PyObject
* _obj1
= 0;
5398 PyObject
* _obj2
= 0;
5399 char *_kwnames
[] = { "self","self","_class", NULL
};
5402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxPyLog__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog__setCallbackInfo. Expected _wxPyLog_p.");
5418 wxPy_BEGIN_ALLOW_THREADS
;
5419 wxPyLog__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5421 wxPy_END_ALLOW_THREADS
;
5422 } Py_INCREF(Py_None
);
5423 _resultobj
= Py_None
;
5427 static void wxPyLog_Destroy(wxPyLog
*self
) { delete self
; }
5428 static PyObject
*_wrap_wxPyLog_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5429 PyObject
* _resultobj
;
5431 PyObject
* _argo0
= 0;
5432 char *_kwnames
[] = { "self", NULL
};
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyLog_Destroy",_kwnames
,&_argo0
))
5438 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5439 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyLog_p")) {
5440 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyLog_Destroy. Expected _wxPyLog_p.");
5445 wxPy_BEGIN_ALLOW_THREADS
;
5446 wxPyLog_Destroy(_arg0
);
5448 wxPy_END_ALLOW_THREADS
;
5449 } Py_INCREF(Py_None
);
5450 _resultobj
= Py_None
;
5454 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5455 wxProcessEvent
*src
;
5457 src
= (wxProcessEvent
*) ptr
;
5458 dest
= (wxEvent
*) src
;
5459 return (void *) dest
;
5462 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5463 wxProcessEvent
*src
;
5465 src
= (wxProcessEvent
*) ptr
;
5466 dest
= (wxObject
*) src
;
5467 return (void *) dest
;
5470 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5471 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5472 PyObject
* _resultobj
;
5473 wxProcessEvent
* _result
;
5474 int _arg0
= (int ) 0;
5475 int _arg1
= (int ) 0;
5476 int _arg2
= (int ) 0;
5477 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5484 wxPy_BEGIN_ALLOW_THREADS
;
5485 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5487 wxPy_END_ALLOW_THREADS
;
5489 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5490 _resultobj
= Py_BuildValue("s",_ptemp
);
5493 _resultobj
= Py_None
;
5498 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5499 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5500 PyObject
* _resultobj
;
5502 wxProcessEvent
* _arg0
;
5503 PyObject
* _argo0
= 0;
5504 char *_kwnames
[] = { "self", NULL
};
5507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5510 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5511 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5512 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5517 wxPy_BEGIN_ALLOW_THREADS
;
5518 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5520 wxPy_END_ALLOW_THREADS
;
5521 } _resultobj
= Py_BuildValue("i",_result
);
5525 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5526 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5527 PyObject
* _resultobj
;
5529 wxProcessEvent
* _arg0
;
5530 PyObject
* _argo0
= 0;
5531 char *_kwnames
[] = { "self", NULL
};
5534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5544 wxPy_BEGIN_ALLOW_THREADS
;
5545 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5547 wxPy_END_ALLOW_THREADS
;
5548 } _resultobj
= Py_BuildValue("i",_result
);
5552 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5553 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5554 PyObject
* _resultobj
;
5556 wxProcessEvent
* _arg0
;
5558 PyObject
* _argo0
= 0;
5559 char *_kwnames
[] = { "self","m_pid", NULL
};
5562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5572 wxPy_BEGIN_ALLOW_THREADS
;
5573 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5575 wxPy_END_ALLOW_THREADS
;
5576 } _resultobj
= Py_BuildValue("i",_result
);
5580 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5581 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
* _resultobj
;
5584 wxProcessEvent
* _arg0
;
5585 PyObject
* _argo0
= 0;
5586 char *_kwnames
[] = { "self", NULL
};
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5599 wxPy_BEGIN_ALLOW_THREADS
;
5600 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5602 wxPy_END_ALLOW_THREADS
;
5603 } _resultobj
= Py_BuildValue("i",_result
);
5607 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5608 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5609 PyObject
* _resultobj
;
5611 wxProcessEvent
* _arg0
;
5613 PyObject
* _argo0
= 0;
5614 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5620 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5621 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5622 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5627 wxPy_BEGIN_ALLOW_THREADS
;
5628 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5630 wxPy_END_ALLOW_THREADS
;
5631 } _resultobj
= Py_BuildValue("i",_result
);
5635 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5636 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5637 PyObject
* _resultobj
;
5639 wxProcessEvent
* _arg0
;
5640 PyObject
* _argo0
= 0;
5641 char *_kwnames
[] = { "self", NULL
};
5644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5654 wxPy_BEGIN_ALLOW_THREADS
;
5655 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5657 wxPy_END_ALLOW_THREADS
;
5658 } _resultobj
= Py_BuildValue("i",_result
);
5662 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5665 src
= (wxPyProcess
*) ptr
;
5666 dest
= (wxEvtHandler
*) src
;
5667 return (void *) dest
;
5670 static void *SwigwxPyProcessTowxObject(void *ptr
) {
5673 src
= (wxPyProcess
*) ptr
;
5674 dest
= (wxObject
*) src
;
5675 return (void *) dest
;
5678 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5679 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5680 PyObject
* _resultobj
;
5681 wxPyProcess
* _result
;
5682 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
5683 int _arg1
= (int ) -1;
5684 PyObject
* _argo0
= 0;
5685 char *_kwnames
[] = { "parent","id", NULL
};
5689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
5692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
5694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
5699 wxPy_BEGIN_ALLOW_THREADS
;
5700 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
5702 wxPy_END_ALLOW_THREADS
;
5704 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
5705 _resultobj
= Py_BuildValue("s",_ptemp
);
5708 _resultobj
= Py_None
;
5713 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
5714 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5715 PyObject
* _resultobj
;
5716 wxPyProcess
* _arg0
;
5717 PyObject
* _argo0
= 0;
5718 char *_kwnames
[] = { "self", NULL
};
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
5724 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5725 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5726 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
5731 wxPy_BEGIN_ALLOW_THREADS
;
5732 wxPyProcess_Destroy(_arg0
);
5734 wxPy_END_ALLOW_THREADS
;
5735 } Py_INCREF(Py_None
);
5736 _resultobj
= Py_None
;
5740 #define wxProcess__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5741 static PyObject
*_wrap_wxProcess__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5742 PyObject
* _resultobj
;
5743 wxPyProcess
* _arg0
;
5746 PyObject
* _argo0
= 0;
5747 PyObject
* _obj1
= 0;
5748 PyObject
* _obj2
= 0;
5749 char *_kwnames
[] = { "self","self","_class", NULL
};
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setCallbackInfo",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setCallbackInfo. Expected _wxPyProcess_p.");
5768 wxPy_BEGIN_ALLOW_THREADS
;
5769 wxProcess__setCallbackInfo(_arg0
,_arg1
,_arg2
);
5771 wxPy_END_ALLOW_THREADS
;
5772 } Py_INCREF(Py_None
);
5773 _resultobj
= Py_None
;
5777 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
5778 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5779 PyObject
* _resultobj
;
5780 wxPyProcess
* _arg0
;
5783 PyObject
* _argo0
= 0;
5784 char *_kwnames
[] = { "self","pid","status", NULL
};
5787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
5797 wxPy_BEGIN_ALLOW_THREADS
;
5798 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
5800 wxPy_END_ALLOW_THREADS
;
5801 } Py_INCREF(Py_None
);
5802 _resultobj
= Py_None
;
5806 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
5807 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
* _resultobj
;
5809 wxPyProcess
* _arg0
;
5810 PyObject
* _argo0
= 0;
5811 char *_kwnames
[] = { "self", NULL
};
5814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
5817 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5818 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5819 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
5824 wxPy_BEGIN_ALLOW_THREADS
;
5825 wxProcess_Redirect(_arg0
);
5827 wxPy_END_ALLOW_THREADS
;
5828 } Py_INCREF(Py_None
);
5829 _resultobj
= Py_None
;
5833 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
5834 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
* _resultobj
;
5837 wxPyProcess
* _arg0
;
5838 PyObject
* _argo0
= 0;
5839 char *_kwnames
[] = { "self", NULL
};
5842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
5845 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5846 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5847 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
5852 wxPy_BEGIN_ALLOW_THREADS
;
5853 _result
= (bool )wxProcess_IsRedirected(_arg0
);
5855 wxPy_END_ALLOW_THREADS
;
5856 } _resultobj
= Py_BuildValue("i",_result
);
5860 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
5861 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5862 PyObject
* _resultobj
;
5863 wxPyProcess
* _arg0
;
5864 PyObject
* _argo0
= 0;
5865 char *_kwnames
[] = { "self", NULL
};
5868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
5871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
5878 wxPy_BEGIN_ALLOW_THREADS
;
5879 wxProcess_Detach(_arg0
);
5881 wxPy_END_ALLOW_THREADS
;
5882 } Py_INCREF(Py_None
);
5883 _resultobj
= Py_None
;
5887 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
5888 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5889 PyObject
* _resultobj
;
5890 wxInputStream
* _result
;
5891 wxPyProcess
* _arg0
;
5892 PyObject
* _argo0
= 0;
5893 char *_kwnames
[] = { "self", NULL
};
5896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
5899 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5900 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5901 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
5906 wxPy_BEGIN_ALLOW_THREADS
;
5907 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
5909 wxPy_END_ALLOW_THREADS
;
5911 wxPyInputStream
* _ptr
= NULL
;
5914 _ptr
= new wxPyInputStream(_result
);
5916 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
5921 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
5922 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5923 PyObject
* _resultobj
;
5924 wxInputStream
* _result
;
5925 wxPyProcess
* _arg0
;
5926 PyObject
* _argo0
= 0;
5927 char *_kwnames
[] = { "self", NULL
};
5930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
5933 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5934 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5935 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
5940 wxPy_BEGIN_ALLOW_THREADS
;
5941 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
5943 wxPy_END_ALLOW_THREADS
;
5945 wxPyInputStream
* _ptr
= NULL
;
5948 _ptr
= new wxPyInputStream(_result
);
5950 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
5955 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
5956 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
* _resultobj
;
5958 wxOutputStream
* _result
;
5959 wxPyProcess
* _arg0
;
5960 PyObject
* _argo0
= 0;
5961 char *_kwnames
[] = { "self", NULL
};
5965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
5968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
5975 wxPy_BEGIN_ALLOW_THREADS
;
5976 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
5978 wxPy_END_ALLOW_THREADS
;
5980 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
5981 _resultobj
= Py_BuildValue("s",_ptemp
);
5984 _resultobj
= Py_None
;
5989 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
5990 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5991 PyObject
* _resultobj
;
5992 wxPyProcess
* _arg0
;
5993 PyObject
* _argo0
= 0;
5994 char *_kwnames
[] = { "self", NULL
};
5997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
6000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
6002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
6007 wxPy_BEGIN_ALLOW_THREADS
;
6008 wxProcess_CloseOutput(_arg0
);
6010 wxPy_END_ALLOW_THREADS
;
6011 } Py_INCREF(Py_None
);
6012 _resultobj
= Py_None
;
6016 static void *SwigwxJoystickTowxObject(void *ptr
) {
6019 src
= (wxJoystick
*) ptr
;
6020 dest
= (wxObject
*) src
;
6021 return (void *) dest
;
6024 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
6025 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6026 PyObject
* _resultobj
;
6027 wxJoystick
* _result
;
6028 int _arg0
= (int ) wxJOYSTICK1
;
6029 char *_kwnames
[] = { "joystick", NULL
};
6033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
6036 wxPy_BEGIN_ALLOW_THREADS
;
6037 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
6039 wxPy_END_ALLOW_THREADS
;
6041 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
6042 _resultobj
= Py_BuildValue("s",_ptemp
);
6045 _resultobj
= Py_None
;
6050 #define delete_wxJoystick(_swigobj) (delete _swigobj)
6051 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6052 PyObject
* _resultobj
;
6054 PyObject
* _argo0
= 0;
6055 char *_kwnames
[] = { "self", NULL
};
6058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
6061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
6068 wxPy_BEGIN_ALLOW_THREADS
;
6069 delete_wxJoystick(_arg0
);
6071 wxPy_END_ALLOW_THREADS
;
6072 } Py_INCREF(Py_None
);
6073 _resultobj
= Py_None
;
6077 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
6078 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6079 PyObject
* _resultobj
;
6082 PyObject
* _argo0
= 0;
6083 char *_kwnames
[] = { "self", NULL
};
6087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
6090 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6091 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6092 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
6097 wxPy_BEGIN_ALLOW_THREADS
;
6098 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
6100 wxPy_END_ALLOW_THREADS
;
6101 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
6102 _resultobj
= Py_BuildValue("s",_ptemp
);
6106 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
6107 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6108 PyObject
* _resultobj
;
6111 PyObject
* _argo0
= 0;
6112 char *_kwnames
[] = { "self", NULL
};
6115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
6118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
6125 wxPy_BEGIN_ALLOW_THREADS
;
6126 _result
= (int )wxJoystick_GetZPosition(_arg0
);
6128 wxPy_END_ALLOW_THREADS
;
6129 } _resultobj
= Py_BuildValue("i",_result
);
6133 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
6134 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
* _resultobj
;
6138 PyObject
* _argo0
= 0;
6139 char *_kwnames
[] = { "self", NULL
};
6142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
6145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
6152 wxPy_BEGIN_ALLOW_THREADS
;
6153 _result
= (int )wxJoystick_GetButtonState(_arg0
);
6155 wxPy_END_ALLOW_THREADS
;
6156 } _resultobj
= Py_BuildValue("i",_result
);
6160 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
6161 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
* _resultobj
;
6165 PyObject
* _argo0
= 0;
6166 char *_kwnames
[] = { "self", NULL
};
6169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
6172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
6179 wxPy_BEGIN_ALLOW_THREADS
;
6180 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
6182 wxPy_END_ALLOW_THREADS
;
6183 } _resultobj
= Py_BuildValue("i",_result
);
6187 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
6188 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6189 PyObject
* _resultobj
;
6192 PyObject
* _argo0
= 0;
6193 char *_kwnames
[] = { "self", NULL
};
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
6199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
6206 wxPy_BEGIN_ALLOW_THREADS
;
6207 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
6209 wxPy_END_ALLOW_THREADS
;
6210 } _resultobj
= Py_BuildValue("i",_result
);
6214 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
6215 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6216 PyObject
* _resultobj
;
6219 PyObject
* _argo0
= 0;
6220 char *_kwnames
[] = { "self", NULL
};
6223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
6226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
6233 wxPy_BEGIN_ALLOW_THREADS
;
6234 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
6236 wxPy_END_ALLOW_THREADS
;
6237 } _resultobj
= Py_BuildValue("i",_result
);
6241 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
6242 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6243 PyObject
* _resultobj
;
6246 PyObject
* _argo0
= 0;
6247 char *_kwnames
[] = { "self", NULL
};
6250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
6253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
6260 wxPy_BEGIN_ALLOW_THREADS
;
6261 _result
= (int )wxJoystick_GetUPosition(_arg0
);
6263 wxPy_END_ALLOW_THREADS
;
6264 } _resultobj
= Py_BuildValue("i",_result
);
6268 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
6269 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
* _resultobj
;
6273 PyObject
* _argo0
= 0;
6274 char *_kwnames
[] = { "self", NULL
};
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
6280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
6287 wxPy_BEGIN_ALLOW_THREADS
;
6288 _result
= (int )wxJoystick_GetVPosition(_arg0
);
6290 wxPy_END_ALLOW_THREADS
;
6291 } _resultobj
= Py_BuildValue("i",_result
);
6295 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
6296 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6297 PyObject
* _resultobj
;
6300 PyObject
* _argo0
= 0;
6301 char *_kwnames
[] = { "self", NULL
};
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
6307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
6314 wxPy_BEGIN_ALLOW_THREADS
;
6315 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
6317 wxPy_END_ALLOW_THREADS
;
6318 } _resultobj
= Py_BuildValue("i",_result
);
6322 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
6323 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
* _resultobj
;
6327 PyObject
* _argo0
= 0;
6328 char *_kwnames
[] = { "self","threshold", NULL
};
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
6334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6341 wxPy_BEGIN_ALLOW_THREADS
;
6342 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6344 wxPy_END_ALLOW_THREADS
;
6345 } Py_INCREF(Py_None
);
6346 _resultobj
= Py_None
;
6350 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6351 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6352 PyObject
* _resultobj
;
6355 PyObject
* _argo0
= 0;
6356 char *_kwnames
[] = { "self", NULL
};
6359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6369 wxPy_BEGIN_ALLOW_THREADS
;
6370 _result
= (bool )wxJoystick_IsOk(_arg0
);
6372 wxPy_END_ALLOW_THREADS
;
6373 } _resultobj
= Py_BuildValue("i",_result
);
6377 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6378 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
* _resultobj
;
6382 PyObject
* _argo0
= 0;
6383 char *_kwnames
[] = { "self", NULL
};
6386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6396 wxPy_BEGIN_ALLOW_THREADS
;
6397 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6399 wxPy_END_ALLOW_THREADS
;
6400 } _resultobj
= Py_BuildValue("i",_result
);
6404 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6405 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
* _resultobj
;
6409 PyObject
* _argo0
= 0;
6410 char *_kwnames
[] = { "self", NULL
};
6413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6423 wxPy_BEGIN_ALLOW_THREADS
;
6424 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6426 wxPy_END_ALLOW_THREADS
;
6427 } _resultobj
= Py_BuildValue("i",_result
);
6431 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6432 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
* _resultobj
;
6436 PyObject
* _argo0
= 0;
6437 char *_kwnames
[] = { "self", NULL
};
6440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6450 wxPy_BEGIN_ALLOW_THREADS
;
6451 _result
= (int )wxJoystick_GetProductId(_arg0
);
6453 wxPy_END_ALLOW_THREADS
;
6454 } _resultobj
= Py_BuildValue("i",_result
);
6458 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6459 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
* _resultobj
;
6463 PyObject
* _argo0
= 0;
6464 char *_kwnames
[] = { "self", NULL
};
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6477 wxPy_BEGIN_ALLOW_THREADS
;
6478 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6480 wxPy_END_ALLOW_THREADS
;
6482 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6490 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6491 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6492 PyObject
* _resultobj
;
6495 PyObject
* _argo0
= 0;
6496 char *_kwnames
[] = { "self", NULL
};
6499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6509 wxPy_BEGIN_ALLOW_THREADS
;
6510 _result
= (int )wxJoystick_GetXMin(_arg0
);
6512 wxPy_END_ALLOW_THREADS
;
6513 } _resultobj
= Py_BuildValue("i",_result
);
6517 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6518 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6519 PyObject
* _resultobj
;
6522 PyObject
* _argo0
= 0;
6523 char *_kwnames
[] = { "self", NULL
};
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6536 wxPy_BEGIN_ALLOW_THREADS
;
6537 _result
= (int )wxJoystick_GetYMin(_arg0
);
6539 wxPy_END_ALLOW_THREADS
;
6540 } _resultobj
= Py_BuildValue("i",_result
);
6544 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6545 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
* _resultobj
;
6549 PyObject
* _argo0
= 0;
6550 char *_kwnames
[] = { "self", NULL
};
6553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6563 wxPy_BEGIN_ALLOW_THREADS
;
6564 _result
= (int )wxJoystick_GetZMin(_arg0
);
6566 wxPy_END_ALLOW_THREADS
;
6567 } _resultobj
= Py_BuildValue("i",_result
);
6571 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6572 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6573 PyObject
* _resultobj
;
6576 PyObject
* _argo0
= 0;
6577 char *_kwnames
[] = { "self", NULL
};
6580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6590 wxPy_BEGIN_ALLOW_THREADS
;
6591 _result
= (int )wxJoystick_GetXMax(_arg0
);
6593 wxPy_END_ALLOW_THREADS
;
6594 } _resultobj
= Py_BuildValue("i",_result
);
6598 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6599 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
* _resultobj
;
6603 PyObject
* _argo0
= 0;
6604 char *_kwnames
[] = { "self", NULL
};
6607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6617 wxPy_BEGIN_ALLOW_THREADS
;
6618 _result
= (int )wxJoystick_GetYMax(_arg0
);
6620 wxPy_END_ALLOW_THREADS
;
6621 } _resultobj
= Py_BuildValue("i",_result
);
6625 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6626 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6627 PyObject
* _resultobj
;
6630 PyObject
* _argo0
= 0;
6631 char *_kwnames
[] = { "self", NULL
};
6634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
6637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6644 wxPy_BEGIN_ALLOW_THREADS
;
6645 _result
= (int )wxJoystick_GetZMax(_arg0
);
6647 wxPy_END_ALLOW_THREADS
;
6648 } _resultobj
= Py_BuildValue("i",_result
);
6652 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6653 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6654 PyObject
* _resultobj
;
6657 PyObject
* _argo0
= 0;
6658 char *_kwnames
[] = { "self", NULL
};
6661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
6664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
6671 wxPy_BEGIN_ALLOW_THREADS
;
6672 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
6674 wxPy_END_ALLOW_THREADS
;
6675 } _resultobj
= Py_BuildValue("i",_result
);
6679 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
6680 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6681 PyObject
* _resultobj
;
6684 PyObject
* _argo0
= 0;
6685 char *_kwnames
[] = { "self", NULL
};
6688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
6691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
6698 wxPy_BEGIN_ALLOW_THREADS
;
6699 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
6701 wxPy_END_ALLOW_THREADS
;
6702 } _resultobj
= Py_BuildValue("i",_result
);
6706 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
6707 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
* _resultobj
;
6711 PyObject
* _argo0
= 0;
6712 char *_kwnames
[] = { "self", NULL
};
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
6718 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6719 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6720 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
6725 wxPy_BEGIN_ALLOW_THREADS
;
6726 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
6728 wxPy_END_ALLOW_THREADS
;
6729 } _resultobj
= Py_BuildValue("i",_result
);
6733 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
6734 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6735 PyObject
* _resultobj
;
6738 PyObject
* _argo0
= 0;
6739 char *_kwnames
[] = { "self", NULL
};
6742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
6745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
6752 wxPy_BEGIN_ALLOW_THREADS
;
6753 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
6755 wxPy_END_ALLOW_THREADS
;
6756 } _resultobj
= Py_BuildValue("i",_result
);
6760 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
6761 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6762 PyObject
* _resultobj
;
6765 PyObject
* _argo0
= 0;
6766 char *_kwnames
[] = { "self", NULL
};
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
6772 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6773 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6774 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
6779 wxPy_BEGIN_ALLOW_THREADS
;
6780 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
6782 wxPy_END_ALLOW_THREADS
;
6783 } _resultobj
= Py_BuildValue("i",_result
);
6787 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
6788 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
* _resultobj
;
6792 PyObject
* _argo0
= 0;
6793 char *_kwnames
[] = { "self", NULL
};
6796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
6799 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6800 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6801 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
6806 wxPy_BEGIN_ALLOW_THREADS
;
6807 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
6809 wxPy_END_ALLOW_THREADS
;
6810 } _resultobj
= Py_BuildValue("i",_result
);
6814 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
6815 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6816 PyObject
* _resultobj
;
6819 PyObject
* _argo0
= 0;
6820 char *_kwnames
[] = { "self", NULL
};
6823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
6826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
6833 wxPy_BEGIN_ALLOW_THREADS
;
6834 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
6836 wxPy_END_ALLOW_THREADS
;
6837 } _resultobj
= Py_BuildValue("i",_result
);
6841 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
6842 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
* _resultobj
;
6846 PyObject
* _argo0
= 0;
6847 char *_kwnames
[] = { "self", NULL
};
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
6853 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6854 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
6860 wxPy_BEGIN_ALLOW_THREADS
;
6861 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
6863 wxPy_END_ALLOW_THREADS
;
6864 } _resultobj
= Py_BuildValue("i",_result
);
6868 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
6869 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6870 PyObject
* _resultobj
;
6873 PyObject
* _argo0
= 0;
6874 char *_kwnames
[] = { "self", NULL
};
6877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
6880 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6881 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6882 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
6887 wxPy_BEGIN_ALLOW_THREADS
;
6888 _result
= (int )wxJoystick_GetUMin(_arg0
);
6890 wxPy_END_ALLOW_THREADS
;
6891 } _resultobj
= Py_BuildValue("i",_result
);
6895 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
6896 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6897 PyObject
* _resultobj
;
6900 PyObject
* _argo0
= 0;
6901 char *_kwnames
[] = { "self", NULL
};
6904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
6907 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6908 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6909 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
6914 wxPy_BEGIN_ALLOW_THREADS
;
6915 _result
= (int )wxJoystick_GetUMax(_arg0
);
6917 wxPy_END_ALLOW_THREADS
;
6918 } _resultobj
= Py_BuildValue("i",_result
);
6922 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
6923 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
* _resultobj
;
6927 PyObject
* _argo0
= 0;
6928 char *_kwnames
[] = { "self", NULL
};
6931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
6934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
6941 wxPy_BEGIN_ALLOW_THREADS
;
6942 _result
= (int )wxJoystick_GetVMin(_arg0
);
6944 wxPy_END_ALLOW_THREADS
;
6945 } _resultobj
= Py_BuildValue("i",_result
);
6949 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
6950 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6951 PyObject
* _resultobj
;
6954 PyObject
* _argo0
= 0;
6955 char *_kwnames
[] = { "self", NULL
};
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
6961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
6968 wxPy_BEGIN_ALLOW_THREADS
;
6969 _result
= (int )wxJoystick_GetVMax(_arg0
);
6971 wxPy_END_ALLOW_THREADS
;
6972 } _resultobj
= Py_BuildValue("i",_result
);
6976 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
6977 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
* _resultobj
;
6981 PyObject
* _argo0
= 0;
6982 char *_kwnames
[] = { "self", NULL
};
6985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
6988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
6995 wxPy_BEGIN_ALLOW_THREADS
;
6996 _result
= (bool )wxJoystick_HasRudder(_arg0
);
6998 wxPy_END_ALLOW_THREADS
;
6999 } _resultobj
= Py_BuildValue("i",_result
);
7003 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
7004 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7005 PyObject
* _resultobj
;
7008 PyObject
* _argo0
= 0;
7009 char *_kwnames
[] = { "self", NULL
};
7012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
7015 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7016 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7017 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
7022 wxPy_BEGIN_ALLOW_THREADS
;
7023 _result
= (bool )wxJoystick_HasZ(_arg0
);
7025 wxPy_END_ALLOW_THREADS
;
7026 } _resultobj
= Py_BuildValue("i",_result
);
7030 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
7031 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7032 PyObject
* _resultobj
;
7035 PyObject
* _argo0
= 0;
7036 char *_kwnames
[] = { "self", NULL
};
7039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
7042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
7049 wxPy_BEGIN_ALLOW_THREADS
;
7050 _result
= (bool )wxJoystick_HasU(_arg0
);
7052 wxPy_END_ALLOW_THREADS
;
7053 } _resultobj
= Py_BuildValue("i",_result
);
7057 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
7058 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
* _resultobj
;
7062 PyObject
* _argo0
= 0;
7063 char *_kwnames
[] = { "self", NULL
};
7066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
7069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
7076 wxPy_BEGIN_ALLOW_THREADS
;
7077 _result
= (bool )wxJoystick_HasV(_arg0
);
7079 wxPy_END_ALLOW_THREADS
;
7080 } _resultobj
= Py_BuildValue("i",_result
);
7084 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
7085 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
* _resultobj
;
7089 PyObject
* _argo0
= 0;
7090 char *_kwnames
[] = { "self", NULL
};
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
7096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
7103 wxPy_BEGIN_ALLOW_THREADS
;
7104 _result
= (bool )wxJoystick_HasPOV(_arg0
);
7106 wxPy_END_ALLOW_THREADS
;
7107 } _resultobj
= Py_BuildValue("i",_result
);
7111 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
7112 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
* _resultobj
;
7116 PyObject
* _argo0
= 0;
7117 char *_kwnames
[] = { "self", NULL
};
7120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
7123 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7124 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7125 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
7130 wxPy_BEGIN_ALLOW_THREADS
;
7131 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
7133 wxPy_END_ALLOW_THREADS
;
7134 } _resultobj
= Py_BuildValue("i",_result
);
7138 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
7139 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7140 PyObject
* _resultobj
;
7143 PyObject
* _argo0
= 0;
7144 char *_kwnames
[] = { "self", NULL
};
7147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
7150 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7151 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7152 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
7157 wxPy_BEGIN_ALLOW_THREADS
;
7158 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
7160 wxPy_END_ALLOW_THREADS
;
7161 } _resultobj
= Py_BuildValue("i",_result
);
7165 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
7166 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
* _resultobj
;
7171 int _arg2
= (int ) 0;
7172 PyObject
* _argo0
= 0;
7173 PyObject
* _argo1
= 0;
7174 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
7177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
7180 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7181 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7182 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
7187 if (_argo1
== Py_None
) { _arg1
= NULL
; }
7188 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
7189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
7194 wxPy_BEGIN_ALLOW_THREADS
;
7195 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
7197 wxPy_END_ALLOW_THREADS
;
7198 } _resultobj
= Py_BuildValue("i",_result
);
7202 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
7203 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
* _resultobj
;
7207 PyObject
* _argo0
= 0;
7208 char *_kwnames
[] = { "self", NULL
};
7211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
7214 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7215 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
7216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
7221 wxPy_BEGIN_ALLOW_THREADS
;
7222 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
7224 wxPy_END_ALLOW_THREADS
;
7225 } _resultobj
= Py_BuildValue("i",_result
);
7229 static void *SwigwxWaveTowxObject(void *ptr
) {
7232 src
= (wxWave
*) ptr
;
7233 dest
= (wxObject
*) src
;
7234 return (void *) dest
;
7237 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
7238 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7239 PyObject
* _resultobj
;
7242 bool _arg1
= (bool ) FALSE
;
7243 PyObject
* _obj0
= 0;
7244 int tempbool1
= (int) FALSE
;
7245 char *_kwnames
[] = { "fileName","isResource", NULL
};
7249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
7252 #if PYTHON_API_VERSION >= 1009
7253 char* tmpPtr
; int tmpSize
;
7254 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
7255 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7258 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
7260 _arg0
= new wxString(tmpPtr
, tmpSize
);
7262 if (!PyString_Check(_obj0
)) {
7263 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
7266 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
7269 _arg1
= (bool ) tempbool1
;
7271 wxPy_BEGIN_ALLOW_THREADS
;
7272 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
7274 wxPy_END_ALLOW_THREADS
;
7276 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
7277 _resultobj
= Py_BuildValue("s",_ptemp
);
7280 _resultobj
= Py_None
;
7289 #define delete_wxWave(_swigobj) (delete _swigobj)
7290 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7291 PyObject
* _resultobj
;
7293 PyObject
* _argo0
= 0;
7294 char *_kwnames
[] = { "self", NULL
};
7297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
7300 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7301 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
7307 wxPy_BEGIN_ALLOW_THREADS
;
7308 delete_wxWave(_arg0
);
7310 wxPy_END_ALLOW_THREADS
;
7311 } Py_INCREF(Py_None
);
7312 _resultobj
= Py_None
;
7316 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
7317 static PyObject
*_wrap_wxWave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7318 PyObject
* _resultobj
;
7321 PyObject
* _argo0
= 0;
7322 char *_kwnames
[] = { "self", NULL
};
7325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWave_IsOk",_kwnames
,&_argo0
))
7328 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7329 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7330 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
7335 wxPy_BEGIN_ALLOW_THREADS
;
7336 _result
= (bool )wxWave_IsOk(_arg0
);
7338 wxPy_END_ALLOW_THREADS
;
7339 } _resultobj
= Py_BuildValue("i",_result
);
7343 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7344 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7345 PyObject
* _resultobj
;
7348 bool _arg1
= (bool ) TRUE
;
7349 bool _arg2
= (bool ) FALSE
;
7350 PyObject
* _argo0
= 0;
7351 int tempbool1
= (int) TRUE
;
7352 int tempbool2
= (int) FALSE
;
7353 char *_kwnames
[] = { "self","async","looped", NULL
};
7356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7359 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7360 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7361 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7365 _arg1
= (bool ) tempbool1
;
7366 _arg2
= (bool ) tempbool2
;
7368 wxPy_BEGIN_ALLOW_THREADS
;
7369 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7371 wxPy_END_ALLOW_THREADS
;
7372 } _resultobj
= Py_BuildValue("i",_result
);
7376 static PyMethodDef misc2cMethods
[] = {
7377 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
7378 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7379 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
7380 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
7381 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
7382 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
7383 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
7384 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
7385 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
7386 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
7387 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
7388 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
7389 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
7390 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
7391 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
7392 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
7393 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
7394 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
7395 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
7396 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
7397 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
7398 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
7399 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
7400 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
7401 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
7402 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
7403 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
7404 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
7405 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
7406 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
7407 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
7408 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
7409 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
7410 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
7411 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
7412 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7413 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
7414 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
7415 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
7416 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
7417 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
7418 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
7419 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
7420 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
7421 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
7422 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7423 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7424 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7425 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
7426 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
7427 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
7428 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
7429 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
7430 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
7431 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
7432 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
7433 { "wxProcess__setCallbackInfo", (PyCFunction
) _wrap_wxProcess__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
7434 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7435 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
7436 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
7437 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
7438 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
7439 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
7440 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
7441 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
7442 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
7443 { "wxPyLog_Destroy", (PyCFunction
) _wrap_wxPyLog_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7444 { "wxPyLog__setCallbackInfo", (PyCFunction
) _wrap_wxPyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
7445 { "new_wxPyLog", (PyCFunction
) _wrap_new_wxPyLog
, METH_VARARGS
| METH_KEYWORDS
},
7446 { "wxLogChain_GetOldLog", (PyCFunction
) _wrap_wxLogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
7447 { "wxLogChain_IsPassingMessages", (PyCFunction
) _wrap_wxLogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
7448 { "wxLogChain_PassMessages", (PyCFunction
) _wrap_wxLogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
7449 { "wxLogChain_SetLog", (PyCFunction
) _wrap_wxLogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
7450 { "new_wxLogChain", (PyCFunction
) _wrap_new_wxLogChain
, METH_VARARGS
| METH_KEYWORDS
},
7451 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
7452 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
7453 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
7454 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
7455 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
7456 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
7457 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
7458 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
7459 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
7460 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
7461 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
7462 { "wxLog_TimeStamp", (PyCFunction
) _wrap_wxLog_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
7463 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7464 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7465 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7466 { "wxLog_GetTimestamp", (PyCFunction
) _wrap_wxLog_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
7467 { "wxLog_SetTimestamp", (PyCFunction
) _wrap_wxLog_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
7468 { "wxLog_ClearTraceMasks", (PyCFunction
) _wrap_wxLog_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
7469 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7470 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7471 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7472 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
7473 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7474 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
7475 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
7476 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
7477 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
7478 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
7479 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
7480 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
7481 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
7482 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
7483 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7484 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
7485 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
7486 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
7487 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
7488 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
7489 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
7490 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
7491 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
7492 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
7493 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
7494 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
7495 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
7496 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
7497 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
7498 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
7499 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
7500 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
7501 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7502 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
7503 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
7504 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
7505 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
7506 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
7507 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
7508 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7509 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
7510 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
7511 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7512 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
7513 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
7514 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
7515 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
7516 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7517 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7518 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
7519 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
7520 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
7521 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
7522 { "wxFontEnumerator__setCallbackInfo", (PyCFunction
) _wrap_wxFontEnumerator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
7523 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
7524 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
7525 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
7526 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
7527 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
7528 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
7529 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
7530 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
7531 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7532 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
7533 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
7534 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7535 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
7536 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
7537 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7538 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
7539 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
7540 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
7541 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7542 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7543 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
7544 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
7545 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
7546 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
7547 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
7548 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
7549 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
7550 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
7551 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7552 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
7553 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
7554 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
7555 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
7556 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
7557 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
7558 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
7559 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7560 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
7561 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
7562 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
7563 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
7564 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
7565 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
7566 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
7567 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
7568 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
7569 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
7570 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
7571 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
7572 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
7573 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
7574 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
7575 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
7576 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
7577 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
7578 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7579 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
7580 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
7581 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
7582 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
7583 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
7584 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7585 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
7586 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
7587 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
7588 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
7589 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
7590 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
7591 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
7592 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
7593 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
7594 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
7595 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
7596 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
7597 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7598 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
7599 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
7600 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
7601 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7602 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7603 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
7610 * This table is used by the pointer type-checker
7612 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7613 { "_wxEvent","_class_wxProcessEvent",SwigwxProcessEventTowxEvent
},
7614 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
7615 { "_signed_long","_long",0},
7616 { "_wxPrintQuality","_wxCoord",0},
7617 { "_wxPrintQuality","_int",0},
7618 { "_wxPrintQuality","_signed_int",0},
7619 { "_wxPrintQuality","_unsigned_int",0},
7620 { "_wxPrintQuality","_wxWindowID",0},
7621 { "_wxPrintQuality","_uint",0},
7622 { "_wxPrintQuality","_EBool",0},
7623 { "_wxPrintQuality","_size_t",0},
7624 { "_wxPrintQuality","_time_t",0},
7625 { "_class_wxEvtHandler","_class_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7626 { "_class_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7627 { "_wxLog","_class_wxPyLog",SwigwxPyLogTowxLog
},
7628 { "_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
7629 { "_wxLog","_class_wxLogChain",SwigwxLogChainTowxLog
},
7630 { "_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
7631 { "_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog
},
7632 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
7633 { "_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog
},
7634 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
7635 { "_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7636 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7637 { "_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog
},
7638 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
7639 { "_byte","_unsigned_char",0},
7640 { "_long","_unsigned_long",0},
7641 { "_long","_signed_long",0},
7642 { "_class_wxObject","_class_wxWave",SwigwxWaveTowxObject
},
7643 { "_class_wxObject","_wxWave",SwigwxWaveTowxObject
},
7644 { "_class_wxObject","_class_wxJoystick",SwigwxJoystickTowxObject
},
7645 { "_class_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
7646 { "_class_wxObject","_class_wxPyProcess",SwigwxPyProcessTowxObject
},
7647 { "_class_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
7648 { "_class_wxObject","_class_wxProcessEvent",SwigwxProcessEventTowxObject
},
7649 { "_class_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
7650 { "_class_wxObject","_class_wxPyTimer",SwigwxPyTimerTowxObject
},
7651 { "_class_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
7652 { "_class_wxObject","_class_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
7653 { "_class_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
7654 { "_class_wxObject","_class_wxToolTip",SwigwxToolTipTowxObject
},
7655 { "_class_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
7656 { "_size_t","_wxCoord",0},
7657 { "_size_t","_wxPrintQuality",0},
7658 { "_size_t","_time_t",0},
7659 { "_size_t","_unsigned_int",0},
7660 { "_size_t","_int",0},
7661 { "_size_t","_wxWindowID",0},
7662 { "_size_t","_uint",0},
7663 { "_uint","_wxCoord",0},
7664 { "_uint","_wxPrintQuality",0},
7665 { "_uint","_time_t",0},
7666 { "_uint","_size_t",0},
7667 { "_uint","_unsigned_int",0},
7668 { "_uint","_int",0},
7669 { "_uint","_wxWindowID",0},
7670 { "_wxChar","_char",0},
7671 { "_class_wxEvent","_class_wxProcessEvent",SwigwxProcessEventTowxEvent
},
7672 { "_class_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
7673 { "_char","_wxChar",0},
7674 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
7675 { "_EBool","_wxCoord",0},
7676 { "_EBool","_wxPrintQuality",0},
7677 { "_EBool","_signed_int",0},
7678 { "_EBool","_int",0},
7679 { "_EBool","_wxWindowID",0},
7680 { "_unsigned_long","_long",0},
7681 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
7682 { "_signed_int","_wxCoord",0},
7683 { "_signed_int","_wxPrintQuality",0},
7684 { "_signed_int","_EBool",0},
7685 { "_signed_int","_wxWindowID",0},
7686 { "_signed_int","_int",0},
7687 { "_WXTYPE","_short",0},
7688 { "_WXTYPE","_signed_short",0},
7689 { "_WXTYPE","_unsigned_short",0},
7690 { "_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7691 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7692 { "_unsigned_short","_WXTYPE",0},
7693 { "_unsigned_short","_short",0},
7694 { "_wxObject","_class_wxWave",SwigwxWaveTowxObject
},
7695 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
7696 { "_wxObject","_class_wxJoystick",SwigwxJoystickTowxObject
},
7697 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
7698 { "_wxObject","_class_wxPyProcess",SwigwxPyProcessTowxObject
},
7699 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
7700 { "_wxObject","_class_wxProcessEvent",SwigwxProcessEventTowxObject
},
7701 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
7702 { "_wxObject","_class_wxPyTimer",SwigwxPyTimerTowxObject
},
7703 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
7704 { "_wxObject","_class_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
7705 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
7706 { "_wxObject","_class_wxToolTip",SwigwxToolTipTowxObject
},
7707 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
7708 { "_signed_short","_WXTYPE",0},
7709 { "_signed_short","_short",0},
7710 { "_class_wxLog","_class_wxPyLog",SwigwxPyLogTowxLog
},
7711 { "_class_wxLog","_wxPyLog",SwigwxPyLogTowxLog
},
7712 { "_class_wxLog","_class_wxLogChain",SwigwxLogChainTowxLog
},
7713 { "_class_wxLog","_wxLogChain",SwigwxLogChainTowxLog
},
7714 { "_class_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog
},
7715 { "_class_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
7716 { "_class_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog
},
7717 { "_class_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
7718 { "_class_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7719 { "_class_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7720 { "_class_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog
},
7721 { "_class_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
7722 { "_unsigned_char","_byte",0},
7723 { "_unsigned_int","_wxCoord",0},
7724 { "_unsigned_int","_wxPrintQuality",0},
7725 { "_unsigned_int","_time_t",0},
7726 { "_unsigned_int","_size_t",0},
7727 { "_unsigned_int","_uint",0},
7728 { "_unsigned_int","_wxWindowID",0},
7729 { "_unsigned_int","_int",0},
7730 { "_short","_WXTYPE",0},
7731 { "_short","_unsigned_short",0},
7732 { "_short","_signed_short",0},
7733 { "_wxWindowID","_wxCoord",0},
7734 { "_wxWindowID","_wxPrintQuality",0},
7735 { "_wxWindowID","_time_t",0},
7736 { "_wxWindowID","_size_t",0},
7737 { "_wxWindowID","_EBool",0},
7738 { "_wxWindowID","_uint",0},
7739 { "_wxWindowID","_int",0},
7740 { "_wxWindowID","_signed_int",0},
7741 { "_wxWindowID","_unsigned_int",0},
7742 { "_int","_wxCoord",0},
7743 { "_int","_wxPrintQuality",0},
7744 { "_int","_time_t",0},
7745 { "_int","_size_t",0},
7746 { "_int","_EBool",0},
7747 { "_int","_uint",0},
7748 { "_int","_wxWindowID",0},
7749 { "_int","_unsigned_int",0},
7750 { "_int","_signed_int",0},
7751 { "_time_t","_wxCoord",0},
7752 { "_time_t","_wxPrintQuality",0},
7753 { "_time_t","_unsigned_int",0},
7754 { "_time_t","_int",0},
7755 { "_time_t","_wxWindowID",0},
7756 { "_time_t","_uint",0},
7757 { "_time_t","_size_t",0},
7758 { "_wxCoord","_int",0},
7759 { "_wxCoord","_signed_int",0},
7760 { "_wxCoord","_unsigned_int",0},
7761 { "_wxCoord","_wxWindowID",0},
7762 { "_wxCoord","_uint",0},
7763 { "_wxCoord","_EBool",0},
7764 { "_wxCoord","_size_t",0},
7765 { "_wxCoord","_time_t",0},
7766 { "_wxCoord","_wxPrintQuality",0},
7767 { "_class_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7768 { "_class_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7769 { "_wxEvtHandler","_class_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7770 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7773 static PyObject
*SWIG_globals
;
7777 SWIGEXPORT(void) initmisc2c() {
7779 SWIG_globals
= SWIG_newvarlink();
7780 m
= Py_InitModule("misc2c", misc2cMethods
);
7781 d
= PyModule_GetDict(m
);
7782 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
7783 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
7784 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
7785 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
7786 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
7787 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
7788 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
7789 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
7790 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
7791 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
7792 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
7793 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
7794 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
7795 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
7796 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
7797 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
7798 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
7799 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
7800 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
7801 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
7802 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
7803 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
7804 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
7805 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
7806 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
7807 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
7808 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
7809 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
7810 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
7811 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
7812 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
7813 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
7814 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
7815 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
7816 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
7817 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
7818 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
7819 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
7820 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
7821 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
7822 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
7823 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
7824 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
7825 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
7826 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
7827 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
7828 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
7829 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
7830 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
7831 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
7832 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
7833 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
7834 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
7835 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
7836 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
7837 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
7838 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
7839 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
7840 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
7841 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
7842 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
7843 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
7844 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
7845 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
7846 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
7847 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
7848 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
7849 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
7850 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
7851 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
7852 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
7853 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
7854 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
7855 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
7856 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
7857 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
7858 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
7859 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
7860 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
7861 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
7862 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
7863 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
7864 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
7865 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
7866 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
7867 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
7868 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
7869 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
7870 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
7871 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
7872 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
7873 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
7874 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
7875 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
7876 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
7877 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
7878 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
7880 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
7881 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
7882 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
7885 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7886 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);