2 * FILE : src/msw/misc2.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initmisc2c
56 #define SWIG_name "misc2c"
59 #include <wx/resource.h>
60 #include <wx/tooltip.h>
62 #include <wx/fontenum.h>
63 #include <wx/tipdlg.h>
64 #include <wx/process.h>
66 #if wxUSE_JOYSTICK || defined(__WXMSW__)
67 #include <wx/joystick.h>
70 #if wxUSE_WAVE || defined(__WXMSW__)
75 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
81 } else if (target
== Py_None
) {
85 if (!PyTuple_Check(target
)) {
87 target
= PyTuple_New(1);
88 PyTuple_SetItem(target
, 0, o2
);
91 PyTuple_SetItem(o3
, 0, o
);
94 target
= PySequence_Concat(o2
, o3
);
101 #if PYTHON_API_VERSION >= 1009
102 static char* wxStringErrorMsg
= "String or Unicode type required";
104 static char* wxStringErrorMsg
= "string type is required for parameter";
107 static wxString
wxPyEmptyStr("");
110 wxColour
wxSystemSettings_GetSystemColour(int index
) {
111 return wxSystemSettings::GetSystemColour(index
);
114 wxFont
wxSystemSettings_GetSystemFont(int index
) {
115 return wxSystemSettings::GetSystemFont(index
);
118 int wxSystemSettings_GetSystemMetric(int index
) {
119 return wxSystemSettings::GetSystemMetric(index
);
122 int wxCaret_GetBlinkTime() {
123 return wxCaret::GetBlinkTime();
126 void wxCaret_SetBlinkTime(int milliseconds
) {
127 wxCaret::SetBlinkTime(milliseconds
);
130 class wxPyFontEnumerator
: public wxFontEnumerator
{
132 wxPyFontEnumerator() {}
133 ~wxPyFontEnumerator() {}
135 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
136 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
141 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
142 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
145 bool wxThread_IsMain() {
146 return wxThread::IsMain();
149 class wxPyTipProvider
: public wxTipProvider
{
151 wxPyTipProvider(size_t currentTip
)
152 : wxTipProvider(currentTip
) {}
154 DEC_PYCALLBACK_STRING__pure(GetTip
);
159 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
162 #include <wx/generic/dragimgg.h>
163 // C++ version of wxProcess derived class
165 class wxPyProcess
: public wxProcess
{
167 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
168 : wxProcess(parent
, id
)
171 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
176 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
178 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
179 // A C++ stub class for wxJoystick for platforms that don't have it.
180 class wxJoystick
: public wxObject
{
182 wxJoystick(int joystick
= wxJOYSTICK1
) {
183 bool doSave
= wxPyRestoreThread();
184 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
185 wxPySaveThread(doSave
);
187 wxPoint
GetPosition() { return wxPoint(-1,-1); }
188 int GetZPosition() { return -1; }
189 int GetButtonState() { return -1; }
190 int GetPOVPosition() { return -1; }
191 int GetPOVCTSPosition() { return -1; }
192 int GetRudderPosition() { return -1; }
193 int GetUPosition() { return -1; }
194 int GetVPosition() { return -1; }
195 int GetMovementThreshold() { return -1; }
196 void SetMovementThreshold(int threshold
) {}
198 bool IsOk(void) { return FALSE
; }
199 int GetNumberJoysticks() { return -1; }
200 int GetManufacturerId() { return -1; }
201 int GetProductId() { return -1; }
202 wxString
GetProductName() { return ""; }
203 int GetXMin() { return -1; }
204 int GetYMin() { return -1; }
205 int GetZMin() { return -1; }
206 int GetXMax() { return -1; }
207 int GetYMax() { return -1; }
208 int GetZMax() { return -1; }
209 int GetNumberButtons() { return -1; }
210 int GetNumberAxes() { return -1; }
211 int GetMaxButtons() { return -1; }
212 int GetMaxAxes() { return -1; }
213 int GetPollingMin() { return -1; }
214 int GetPollingMax() { return -1; }
215 int GetRudderMin() { return -1; }
216 int GetRudderMax() { return -1; }
217 int GetUMin() { return -1; }
218 int GetUMax() { return -1; }
219 int GetVMin() { return -1; }
220 int GetVMax() { return -1; }
222 bool HasRudder() { return FALSE
; }
223 bool HasZ() { return FALSE
; }
224 bool HasU() { return FALSE
; }
225 bool HasV() { return FALSE
; }
226 bool HasPOV() { return FALSE
; }
227 bool HasPOV4Dir() { return FALSE
; }
228 bool HasPOVCTS() { return FALSE
; }
230 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
231 bool ReleaseCapture() { return FALSE
; }
236 // A C++ stub class for wxWave for platforms that don't have it.
237 class wxWave
: public wxObject
240 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
241 bool doSave
= wxPyRestoreThread();
242 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
243 wxPySaveThread(doSave
);
245 wxWave(int size
, const wxByte
* data
) {
246 bool doSave
= wxPyRestoreThread();
247 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
248 wxPySaveThread(doSave
);
253 bool IsOk() const { return FALSE
; }
254 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
258 // Implementations of some alternate "constructors"
259 wxWave
* wxWaveData(const wxString
& data
) {
260 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
265 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
266 PyObject
* _resultobj
;
269 char * _arg1
= (char *) NULL
;
270 char * _arg2
= (char *) NULL
;
271 char * _arg3
= (char *) NULL
;
272 char * _arg4
= (char *) "*.*";
273 int _arg5
= (int ) 0;
274 wxWindow
* _arg6
= (wxWindow
*) NULL
;
275 int _arg7
= (int ) -1;
276 int _arg8
= (int ) -1;
277 PyObject
* _argo6
= 0;
278 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|ssssiOii:wxFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
284 if (_argo6
== Py_None
) { _arg6
= NULL
; }
285 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
286 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
291 wxPy_BEGIN_ALLOW_THREADS
;
292 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
294 wxPy_END_ALLOW_THREADS
;
296 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
304 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
305 PyObject
* _resultobj
;
308 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
309 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
310 wxWindow
* _arg3
= (wxWindow
*) NULL
;
311 int _arg4
= (int ) -1;
312 int _arg5
= (int ) -1;
313 bool _arg6
= (bool ) TRUE
;
314 PyObject
* _obj0
= 0;
315 PyObject
* _obj1
= 0;
316 PyObject
* _obj2
= 0;
317 PyObject
* _argo3
= 0;
318 int tempbool6
= (int) TRUE
;
319 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
325 #if PYTHON_API_VERSION >= 1009
326 char* tmpPtr
; int tmpSize
;
327 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
328 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
331 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
333 _arg0
= new wxString(tmpPtr
, tmpSize
);
335 if (!PyString_Check(_obj0
)) {
336 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
339 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
344 #if PYTHON_API_VERSION >= 1009
345 char* tmpPtr
; int tmpSize
;
346 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
347 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
350 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
352 _arg1
= new wxString(tmpPtr
, tmpSize
);
354 if (!PyString_Check(_obj1
)) {
355 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
358 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
363 #if PYTHON_API_VERSION >= 1009
364 char* tmpPtr
; int tmpSize
;
365 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
366 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
369 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
371 _arg2
= new wxString(tmpPtr
, tmpSize
);
373 if (!PyString_Check(_obj2
)) {
374 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
377 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
381 if (_argo3
== Py_None
) { _arg3
= NULL
; }
382 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
387 _arg6
= (bool ) tempbool6
;
389 wxPy_BEGIN_ALLOW_THREADS
;
390 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
392 wxPy_END_ALLOW_THREADS
;
394 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
414 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
415 PyObject
* _resultobj
;
418 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
419 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
420 wxWindow
* _arg3
= (wxWindow
*) NULL
;
421 PyObject
* _obj0
= 0;
422 PyObject
* _obj1
= 0;
423 PyObject
* _obj2
= 0;
424 PyObject
* _argo3
= 0;
425 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
431 #if PYTHON_API_VERSION >= 1009
432 char* tmpPtr
; int tmpSize
;
433 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
434 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
437 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
439 _arg0
= new wxString(tmpPtr
, tmpSize
);
441 if (!PyString_Check(_obj0
)) {
442 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
445 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
450 #if PYTHON_API_VERSION >= 1009
451 char* tmpPtr
; int tmpSize
;
452 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
453 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
456 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
458 _arg1
= new wxString(tmpPtr
, tmpSize
);
460 if (!PyString_Check(_obj1
)) {
461 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
464 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
469 #if PYTHON_API_VERSION >= 1009
470 char* tmpPtr
; int tmpSize
;
471 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
472 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
475 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
477 _arg2
= new wxString(tmpPtr
, tmpSize
);
479 if (!PyString_Check(_obj2
)) {
480 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
483 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
487 if (_argo3
== Py_None
) { _arg3
= NULL
; }
488 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
489 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
494 wxPy_BEGIN_ALLOW_THREADS
;
495 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
497 wxPy_END_ALLOW_THREADS
;
499 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
519 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
520 PyObject
* _resultobj
;
526 wxWindow
* _arg4
= (wxWindow
*) NULL
;
527 int _arg5
= (int ) -1;
528 int _arg6
= (int ) -1;
529 bool _arg7
= (bool ) TRUE
;
530 int _arg8
= (int ) 150;
531 int _arg9
= (int ) 200;
532 PyObject
* _obj0
= 0;
533 PyObject
* _obj1
= 0;
534 PyObject
* _obj3
= 0;
535 PyObject
* _argo4
= 0;
536 int tempbool7
= (int) TRUE
;
537 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
543 #if PYTHON_API_VERSION >= 1009
544 char* tmpPtr
; int tmpSize
;
545 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
546 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
549 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
551 _arg0
= new wxString(tmpPtr
, tmpSize
);
553 if (!PyString_Check(_obj0
)) {
554 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
557 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
561 #if PYTHON_API_VERSION >= 1009
562 char* tmpPtr
; int tmpSize
;
563 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
564 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
567 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
569 _arg1
= new wxString(tmpPtr
, tmpSize
);
571 if (!PyString_Check(_obj1
)) {
572 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
575 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
580 _arg3
= wxString_LIST_helper(_obj3
);
586 if (_argo4
== Py_None
) { _arg4
= NULL
; }
587 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
592 _arg7
= (bool ) tempbool7
;
595 _arg2
= PyList_Size(_obj3
);
602 wxPy_BEGIN_ALLOW_THREADS
;
603 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
605 wxPy_END_ALLOW_THREADS
;
607 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
626 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
627 PyObject
* _resultobj
;
633 wxWindow
* _arg4
= (wxWindow
*) NULL
;
634 int _arg5
= (int ) -1;
635 int _arg6
= (int ) -1;
636 bool _arg7
= (bool ) TRUE
;
637 int _arg8
= (int ) 150;
638 int _arg9
= (int ) 200;
639 PyObject
* _obj0
= 0;
640 PyObject
* _obj1
= 0;
641 PyObject
* _obj3
= 0;
642 PyObject
* _argo4
= 0;
643 int tempbool7
= (int) TRUE
;
644 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
650 #if PYTHON_API_VERSION >= 1009
651 char* tmpPtr
; int tmpSize
;
652 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
653 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
656 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
658 _arg0
= new wxString(tmpPtr
, tmpSize
);
660 if (!PyString_Check(_obj0
)) {
661 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
664 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
668 #if PYTHON_API_VERSION >= 1009
669 char* tmpPtr
; int tmpSize
;
670 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
671 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
674 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
676 _arg1
= new wxString(tmpPtr
, tmpSize
);
678 if (!PyString_Check(_obj1
)) {
679 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
682 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
687 _arg3
= wxString_LIST_helper(_obj3
);
693 if (_argo4
== Py_None
) { _arg4
= NULL
; }
694 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
699 _arg7
= (bool ) tempbool7
;
702 _arg2
= PyList_Size(_obj3
);
709 wxPy_BEGIN_ALLOW_THREADS
;
710 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
712 wxPy_END_ALLOW_THREADS
;
713 } _resultobj
= Py_BuildValue("i",_result
);
728 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
729 PyObject
* _resultobj
;
732 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
733 int _arg2
= (int ) wxOK
|wxCENTRE
;
734 wxWindow
* _arg3
= (wxWindow
*) NULL
;
735 int _arg4
= (int ) -1;
736 int _arg5
= (int ) -1;
737 PyObject
* _obj0
= 0;
738 PyObject
* _obj1
= 0;
739 PyObject
* _argo3
= 0;
740 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
746 #if PYTHON_API_VERSION >= 1009
747 char* tmpPtr
; int tmpSize
;
748 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
749 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
752 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
754 _arg0
= new wxString(tmpPtr
, tmpSize
);
756 if (!PyString_Check(_obj0
)) {
757 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
760 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
765 #if PYTHON_API_VERSION >= 1009
766 char* tmpPtr
; int tmpSize
;
767 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
768 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
771 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
773 _arg1
= new wxString(tmpPtr
, tmpSize
);
775 if (!PyString_Check(_obj1
)) {
776 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
779 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
783 if (_argo3
== Py_None
) { _arg3
= NULL
; }
784 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
790 wxPy_BEGIN_ALLOW_THREADS
;
791 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
793 wxPy_END_ALLOW_THREADS
;
794 } _resultobj
= Py_BuildValue("i",_result
);
806 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
807 PyObject
* _resultobj
;
813 long _arg4
= (long ) 0;
814 long _arg5
= (long ) 100;
815 wxWindow
* _arg6
= (wxWindow
*) NULL
;
816 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
817 PyObject
* _obj0
= 0;
818 PyObject
* _obj1
= 0;
819 PyObject
* _obj2
= 0;
820 PyObject
* _argo6
= 0;
822 PyObject
* _obj7
= 0;
823 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
829 #if PYTHON_API_VERSION >= 1009
830 char* tmpPtr
; int tmpSize
;
831 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
832 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
835 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
837 _arg0
= new wxString(tmpPtr
, tmpSize
);
839 if (!PyString_Check(_obj0
)) {
840 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
843 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
847 #if PYTHON_API_VERSION >= 1009
848 char* tmpPtr
; int tmpSize
;
849 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
850 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
853 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
855 _arg1
= new wxString(tmpPtr
, tmpSize
);
857 if (!PyString_Check(_obj1
)) {
858 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
861 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
865 #if PYTHON_API_VERSION >= 1009
866 char* tmpPtr
; int tmpSize
;
867 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
868 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
871 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
873 _arg2
= new wxString(tmpPtr
, tmpSize
);
875 if (!PyString_Check(_obj2
)) {
876 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
879 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
883 if (_argo6
== Py_None
) { _arg6
= NULL
; }
884 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
885 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
892 if (! wxPoint_helper(_obj7
, &_arg7
))
896 wxPy_BEGIN_ALLOW_THREADS
;
897 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
899 wxPy_END_ALLOW_THREADS
;
900 } _resultobj
= Py_BuildValue("l",_result
);
916 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
917 PyObject
* _resultobj
;
919 char *_kwnames
[] = { NULL
};
922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
925 wxPy_BEGIN_ALLOW_THREADS
;
926 _result
= (bool )wxColourDisplay();
928 wxPy_END_ALLOW_THREADS
;
929 } _resultobj
= Py_BuildValue("i",_result
);
933 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
934 PyObject
* _resultobj
;
936 char *_kwnames
[] = { NULL
};
939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
942 wxPy_BEGIN_ALLOW_THREADS
;
943 _result
= (int )wxDisplayDepth();
945 wxPy_END_ALLOW_THREADS
;
946 } _resultobj
= Py_BuildValue("i",_result
);
950 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
951 PyObject
* _resultobj
;
953 char *_kwnames
[] = { NULL
};
956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
959 wxPy_BEGIN_ALLOW_THREADS
;
960 _result
= (int )wxGetDisplayDepth();
962 wxPy_END_ALLOW_THREADS
;
963 } _resultobj
= Py_BuildValue("i",_result
);
967 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
968 PyObject
* _resultobj
;
973 char *_kwnames
[] = { NULL
};
982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
985 wxPy_BEGIN_ALLOW_THREADS
;
986 wxDisplaySize(_arg0
,_arg1
);
988 wxPy_END_ALLOW_THREADS
;
989 } Py_INCREF(Py_None
);
990 _resultobj
= Py_None
;
993 o
= PyInt_FromLong((long) (*_arg0
));
994 _resultobj
= t_output_helper(_resultobj
, o
);
998 o
= PyInt_FromLong((long) (*_arg1
));
999 _resultobj
= t_output_helper(_resultobj
, o
);
1004 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1005 PyObject
* _resultobj
;
1007 char *_kwnames
[] = { NULL
};
1011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
1014 wxPy_BEGIN_ALLOW_THREADS
;
1015 _result
= new wxSize (wxGetDisplaySize());
1017 wxPy_END_ALLOW_THREADS
;
1018 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1019 _resultobj
= Py_BuildValue("s",_ptemp
);
1023 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1024 PyObject
* _resultobj
;
1029 char *_kwnames
[] = { NULL
};
1038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1041 wxPy_BEGIN_ALLOW_THREADS
;
1042 wxDisplaySizeMM(_arg0
,_arg1
);
1044 wxPy_END_ALLOW_THREADS
;
1045 } Py_INCREF(Py_None
);
1046 _resultobj
= Py_None
;
1049 o
= PyInt_FromLong((long) (*_arg0
));
1050 _resultobj
= t_output_helper(_resultobj
, o
);
1054 o
= PyInt_FromLong((long) (*_arg1
));
1055 _resultobj
= t_output_helper(_resultobj
, o
);
1060 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1061 PyObject
* _resultobj
;
1063 char *_kwnames
[] = { NULL
};
1067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1070 wxPy_BEGIN_ALLOW_THREADS
;
1071 _result
= new wxSize (wxGetDisplaySizeMM());
1073 wxPy_END_ALLOW_THREADS
;
1074 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1075 _resultobj
= Py_BuildValue("s",_ptemp
);
1079 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1080 PyObject
* _resultobj
;
1089 char *_kwnames
[] = { NULL
};
1104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1107 wxPy_BEGIN_ALLOW_THREADS
;
1108 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1110 wxPy_END_ALLOW_THREADS
;
1111 } Py_INCREF(Py_None
);
1112 _resultobj
= Py_None
;
1115 o
= PyInt_FromLong((long) (*_arg0
));
1116 _resultobj
= t_output_helper(_resultobj
, o
);
1120 o
= PyInt_FromLong((long) (*_arg1
));
1121 _resultobj
= t_output_helper(_resultobj
, o
);
1125 o
= PyInt_FromLong((long) (*_arg2
));
1126 _resultobj
= t_output_helper(_resultobj
, o
);
1130 o
= PyInt_FromLong((long) (*_arg3
));
1131 _resultobj
= t_output_helper(_resultobj
, o
);
1136 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1137 PyObject
* _resultobj
;
1139 char *_kwnames
[] = { NULL
};
1143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1146 wxPy_BEGIN_ALLOW_THREADS
;
1147 _result
= new wxRect (wxGetClientDisplayRect());
1149 wxPy_END_ALLOW_THREADS
;
1150 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1151 _resultobj
= Py_BuildValue("s",_ptemp
);
1155 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1156 PyObject
* _resultobj
;
1158 PyObject
* _argo0
= 0;
1159 char *_kwnames
[] = { "cursor", NULL
};
1162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1165 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1166 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1167 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1172 wxPy_BEGIN_ALLOW_THREADS
;
1173 wxSetCursor(*_arg0
);
1175 wxPy_END_ALLOW_THREADS
;
1176 } Py_INCREF(Py_None
);
1177 _resultobj
= Py_None
;
1181 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1182 PyObject
* _resultobj
;
1185 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1186 PyObject
* _obj0
= 0;
1187 PyObject
* _argo1
= 0;
1188 char *_kwnames
[] = { "label","parent", NULL
};
1191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
1194 #if PYTHON_API_VERSION >= 1009
1195 char* tmpPtr
; int tmpSize
;
1196 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1197 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1200 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1202 _arg0
= new wxString(tmpPtr
, tmpSize
);
1204 if (!PyString_Check(_obj0
)) {
1205 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1208 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1212 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1213 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1214 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1219 wxPy_BEGIN_ALLOW_THREADS
;
1220 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
1222 wxPy_END_ALLOW_THREADS
;
1223 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1231 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1232 PyObject
* _resultobj
;
1235 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1236 PyObject
* _obj0
= 0;
1237 PyObject
* _argo1
= 0;
1238 char *_kwnames
[] = { "name","parent", NULL
};
1241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1244 #if PYTHON_API_VERSION >= 1009
1245 char* tmpPtr
; int tmpSize
;
1246 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1247 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1250 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1252 _arg0
= new wxString(tmpPtr
, tmpSize
);
1254 if (!PyString_Check(_obj0
)) {
1255 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1258 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1262 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1263 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1264 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1269 wxPy_BEGIN_ALLOW_THREADS
;
1270 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1272 wxPy_END_ALLOW_THREADS
;
1273 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1281 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1282 PyObject
* _resultobj
;
1283 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1284 PyObject
* _argo0
= 0;
1285 char *_kwnames
[] = { "cursor", NULL
};
1288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1298 wxPy_BEGIN_ALLOW_THREADS
;
1299 wxBeginBusyCursor(_arg0
);
1301 wxPy_END_ALLOW_THREADS
;
1302 } Py_INCREF(Py_None
);
1303 _resultobj
= Py_None
;
1307 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1308 PyObject
* _resultobj
;
1310 char *_kwnames
[] = { NULL
};
1313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1316 wxPy_BEGIN_ALLOW_THREADS
;
1317 _result
= (wxWindow
*)wxGetActiveWindow();
1319 wxPy_END_ALLOW_THREADS
;
1320 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1324 static PyObject
*_wrap_wxGenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
* _resultobj
;
1329 PyObject
* _obj0
= 0;
1330 char *_kwnames
[] = { "pt", NULL
};
1333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGenericFindWindowAtPoint",_kwnames
,&_obj0
))
1337 if (! wxPoint_helper(_obj0
, &_arg0
))
1341 wxPy_BEGIN_ALLOW_THREADS
;
1342 _result
= (wxWindow
*)wxGenericFindWindowAtPoint(*_arg0
);
1344 wxPy_END_ALLOW_THREADS
;
1345 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1349 static PyObject
*_wrap_wxFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1350 PyObject
* _resultobj
;
1354 PyObject
* _obj0
= 0;
1355 char *_kwnames
[] = { "pt", NULL
};
1358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFindWindowAtPoint",_kwnames
,&_obj0
))
1362 if (! wxPoint_helper(_obj0
, &_arg0
))
1366 wxPy_BEGIN_ALLOW_THREADS
;
1367 _result
= (wxWindow
*)wxFindWindowAtPoint(*_arg0
);
1369 wxPy_END_ALLOW_THREADS
;
1370 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1374 static PyObject
*_wrap_wxCheckForInterrupt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1375 PyObject
* _resultobj
;
1378 PyObject
* _argo0
= 0;
1379 char *_kwnames
[] = { "wnd", NULL
};
1382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCheckForInterrupt",_kwnames
,&_argo0
))
1385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCheckForInterrupt. Expected _wxWindow_p.");
1392 wxPy_BEGIN_ALLOW_THREADS
;
1393 _result
= (bool )wxCheckForInterrupt(_arg0
);
1395 wxPy_END_ALLOW_THREADS
;
1396 } _resultobj
= Py_BuildValue("i",_result
);
1400 static PyObject
*_wrap_wxFlushEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1401 PyObject
* _resultobj
;
1402 char *_kwnames
[] = { NULL
};
1405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxFlushEvents",_kwnames
))
1408 wxPy_BEGIN_ALLOW_THREADS
;
1411 wxPy_END_ALLOW_THREADS
;
1412 } Py_INCREF(Py_None
);
1413 _resultobj
= Py_None
;
1417 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1418 PyObject
* _resultobj
;
1422 char *_kwnames
[] = { "name","value", NULL
};
1425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1428 wxPy_BEGIN_ALLOW_THREADS
;
1429 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1431 wxPy_END_ALLOW_THREADS
;
1432 } _resultobj
= Py_BuildValue("i",_result
);
1436 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1437 PyObject
* _resultobj
;
1438 char *_kwnames
[] = { NULL
};
1441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1444 wxPy_BEGIN_ALLOW_THREADS
;
1447 wxPy_END_ALLOW_THREADS
;
1448 } Py_INCREF(Py_None
);
1449 _resultobj
= Py_None
;
1453 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1454 PyObject
* _resultobj
;
1457 char *_kwnames
[] = { "resource", NULL
};
1461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1464 wxPy_BEGIN_ALLOW_THREADS
;
1465 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1467 wxPy_END_ALLOW_THREADS
;
1468 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1469 _resultobj
= Py_BuildValue("s",_ptemp
);
1473 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1474 PyObject
* _resultobj
;
1477 char *_kwnames
[] = { "resource", NULL
};
1481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1484 wxPy_BEGIN_ALLOW_THREADS
;
1485 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1487 wxPy_END_ALLOW_THREADS
;
1488 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1489 _resultobj
= Py_BuildValue("s",_ptemp
);
1493 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1494 PyObject
* _resultobj
;
1495 wxMenuBar
* _result
;
1497 char *_kwnames
[] = { "resource", NULL
};
1500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1503 wxPy_BEGIN_ALLOW_THREADS
;
1504 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1506 wxPy_END_ALLOW_THREADS
;
1507 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1511 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1512 PyObject
* _resultobj
;
1515 char *_kwnames
[] = { "name", NULL
};
1518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1521 wxPy_BEGIN_ALLOW_THREADS
;
1522 _result
= (int )wxResourceGetIdentifier(_arg0
);
1524 wxPy_END_ALLOW_THREADS
;
1525 } _resultobj
= Py_BuildValue("i",_result
);
1529 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1530 PyObject
* _resultobj
;
1533 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1534 PyObject
* _argo1
= 0;
1535 char *_kwnames
[] = { "resource","table", NULL
};
1538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1541 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1542 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1548 wxPy_BEGIN_ALLOW_THREADS
;
1549 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1551 wxPy_END_ALLOW_THREADS
;
1552 } _resultobj
= Py_BuildValue("i",_result
);
1556 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1557 PyObject
* _resultobj
;
1560 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1561 PyObject
* _argo1
= 0;
1562 char *_kwnames
[] = { "filename","table", NULL
};
1565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1568 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1569 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1570 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1575 wxPy_BEGIN_ALLOW_THREADS
;
1576 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1578 wxPy_END_ALLOW_THREADS
;
1579 } _resultobj
= Py_BuildValue("i",_result
);
1583 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1584 PyObject
* _resultobj
;
1587 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1588 PyObject
* _argo1
= 0;
1589 char *_kwnames
[] = { "resource","table", NULL
};
1592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1595 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1596 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1602 wxPy_BEGIN_ALLOW_THREADS
;
1603 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1605 wxPy_END_ALLOW_THREADS
;
1606 } _resultobj
= Py_BuildValue("i",_result
);
1610 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1611 PyObject
* _resultobj
;
1614 char *_kwnames
[] = { "index", NULL
};
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1621 wxPy_BEGIN_ALLOW_THREADS
;
1622 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1624 wxPy_END_ALLOW_THREADS
;
1625 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1626 _resultobj
= Py_BuildValue("s",_ptemp
);
1630 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1631 PyObject
* _resultobj
;
1634 char *_kwnames
[] = { "index", NULL
};
1638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1641 wxPy_BEGIN_ALLOW_THREADS
;
1642 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1644 wxPy_END_ALLOW_THREADS
;
1645 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1646 _resultobj
= Py_BuildValue("s",_ptemp
);
1650 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1651 PyObject
* _resultobj
;
1654 char *_kwnames
[] = { "index", NULL
};
1657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1660 wxPy_BEGIN_ALLOW_THREADS
;
1661 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1663 wxPy_END_ALLOW_THREADS
;
1664 } _resultobj
= Py_BuildValue("i",_result
);
1668 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
* _resultobj
;
1671 char *_kwnames
[] = { NULL
};
1674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1677 wxPy_BEGIN_ALLOW_THREADS
;
1678 _result
= (int )wxCaret_GetBlinkTime();
1680 wxPy_END_ALLOW_THREADS
;
1681 } _resultobj
= Py_BuildValue("i",_result
);
1685 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1686 PyObject
* _resultobj
;
1688 char *_kwnames
[] = { "milliseconds", NULL
};
1691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1694 wxPy_BEGIN_ALLOW_THREADS
;
1695 wxCaret_SetBlinkTime(_arg0
);
1697 wxPy_END_ALLOW_THREADS
;
1698 } Py_INCREF(Py_None
);
1699 _resultobj
= Py_None
;
1703 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1704 PyObject
* _resultobj
;
1706 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1707 PyObject
* _argo0
= 0;
1708 char *_kwnames
[] = { "win", NULL
};
1711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1721 wxPy_BEGIN_ALLOW_THREADS
;
1722 _result
= (bool )wxSafeYield(_arg0
);
1724 wxPy_END_ALLOW_THREADS
;
1725 } _resultobj
= Py_BuildValue("i",_result
);
1729 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1730 PyObject
* _resultobj
;
1731 wxEvtHandler
* _arg0
;
1733 PyObject
* _argo0
= 0;
1734 PyObject
* _argo1
= 0;
1735 char *_kwnames
[] = { "dest","event", NULL
};
1738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1748 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1749 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1755 wxPy_BEGIN_ALLOW_THREADS
;
1756 wxPostEvent(_arg0
,*_arg1
);
1758 wxPy_END_ALLOW_THREADS
;
1759 } Py_INCREF(Py_None
);
1760 _resultobj
= Py_None
;
1764 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
* _resultobj
;
1766 char *_kwnames
[] = { NULL
};
1769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1772 wxPy_BEGIN_ALLOW_THREADS
;
1775 wxPy_END_ALLOW_THREADS
;
1776 } Py_INCREF(Py_None
);
1777 _resultobj
= Py_None
;
1781 static PyObject
*_wrap_wxWakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
* _resultobj
;
1783 char *_kwnames
[] = { NULL
};
1786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpMainThread",_kwnames
))
1789 wxPy_BEGIN_ALLOW_THREADS
;
1790 wxWakeUpMainThread();
1792 wxPy_END_ALLOW_THREADS
;
1793 } Py_INCREF(Py_None
);
1794 _resultobj
= Py_None
;
1798 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
* _resultobj
;
1800 char *_kwnames
[] = { NULL
};
1803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1806 wxPy_BEGIN_ALLOW_THREADS
;
1809 wxPy_END_ALLOW_THREADS
;
1810 } Py_INCREF(Py_None
);
1811 _resultobj
= Py_None
;
1815 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1816 PyObject
* _resultobj
;
1817 char *_kwnames
[] = { NULL
};
1820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1823 wxPy_BEGIN_ALLOW_THREADS
;
1826 wxPy_END_ALLOW_THREADS
;
1827 } Py_INCREF(Py_None
);
1828 _resultobj
= Py_None
;
1832 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
* _resultobj
;
1835 char *_kwnames
[] = { NULL
};
1838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1841 wxPy_BEGIN_ALLOW_THREADS
;
1842 _result
= (bool )wxThread_IsMain();
1844 wxPy_END_ALLOW_THREADS
;
1845 } _resultobj
= Py_BuildValue("i",_result
);
1849 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1850 PyObject
* _resultobj
;
1853 wxTipProvider
* _arg1
;
1854 bool _arg2
= (bool ) TRUE
;
1855 PyObject
* _argo0
= 0;
1856 PyObject
* _argo1
= 0;
1857 int tempbool2
= (int) TRUE
;
1858 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1864 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1865 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1866 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1871 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1872 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1877 _arg2
= (bool ) tempbool2
;
1879 wxPy_BEGIN_ALLOW_THREADS
;
1880 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1882 wxPy_END_ALLOW_THREADS
;
1883 } _resultobj
= Py_BuildValue("i",_result
);
1887 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1888 PyObject
* _resultobj
;
1889 wxTipProvider
* _result
;
1892 PyObject
* _obj0
= 0;
1893 char *_kwnames
[] = { "filename","currentTip", NULL
};
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1900 #if PYTHON_API_VERSION >= 1009
1901 char* tmpPtr
; int tmpSize
;
1902 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1903 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1906 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1908 _arg0
= new wxString(tmpPtr
, tmpSize
);
1910 if (!PyString_Check(_obj0
)) {
1911 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1914 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1918 wxPy_BEGIN_ALLOW_THREADS
;
1919 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1921 wxPy_END_ALLOW_THREADS
;
1923 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1924 _resultobj
= Py_BuildValue("s",_ptemp
);
1927 _resultobj
= Py_None
;
1936 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1937 PyObject
* _resultobj
;
1938 unsigned long _result
;
1939 char *_kwnames
[] = { NULL
};
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1945 wxPy_BEGIN_ALLOW_THREADS
;
1946 _result
= (unsigned long )wxSysErrorCode();
1948 wxPy_END_ALLOW_THREADS
;
1949 } _resultobj
= Py_BuildValue("l",_result
);
1953 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1954 PyObject
* _resultobj
;
1956 unsigned long _arg0
= (unsigned long ) 0;
1957 char *_kwnames
[] = { "nErrCode", NULL
};
1960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1963 wxPy_BEGIN_ALLOW_THREADS
;
1964 _result
= (char *)wxSysErrorMsg(_arg0
);
1966 wxPy_END_ALLOW_THREADS
;
1967 } _resultobj
= Py_BuildValue("s", _result
);
1971 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1972 PyObject
* _resultobj
;
1974 char *_kwnames
[] = { "szFormat", NULL
};
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
1980 wxPy_BEGIN_ALLOW_THREADS
;
1981 wxLogFatalError(_arg0
);
1983 wxPy_END_ALLOW_THREADS
;
1984 } Py_INCREF(Py_None
);
1985 _resultobj
= Py_None
;
1989 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
* _resultobj
;
1992 char *_kwnames
[] = { "szFormat", NULL
};
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
1998 wxPy_BEGIN_ALLOW_THREADS
;
2001 wxPy_END_ALLOW_THREADS
;
2002 } Py_INCREF(Py_None
);
2003 _resultobj
= Py_None
;
2007 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2008 PyObject
* _resultobj
;
2010 char *_kwnames
[] = { "szFormat", NULL
};
2013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
2016 wxPy_BEGIN_ALLOW_THREADS
;
2017 wxLogWarning(_arg0
);
2019 wxPy_END_ALLOW_THREADS
;
2020 } Py_INCREF(Py_None
);
2021 _resultobj
= Py_None
;
2025 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
* _resultobj
;
2028 char *_kwnames
[] = { "szFormat", NULL
};
2031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
2034 wxPy_BEGIN_ALLOW_THREADS
;
2035 wxLogMessage(_arg0
);
2037 wxPy_END_ALLOW_THREADS
;
2038 } Py_INCREF(Py_None
);
2039 _resultobj
= Py_None
;
2043 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2044 PyObject
* _resultobj
;
2046 char *_kwnames
[] = { "szFormat", NULL
};
2049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
2052 wxPy_BEGIN_ALLOW_THREADS
;
2055 wxPy_END_ALLOW_THREADS
;
2056 } Py_INCREF(Py_None
);
2057 _resultobj
= Py_None
;
2061 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2062 PyObject
* _resultobj
;
2064 char *_kwnames
[] = { "szFormat", NULL
};
2067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
2070 wxPy_BEGIN_ALLOW_THREADS
;
2071 wxLogVerbose(_arg0
);
2073 wxPy_END_ALLOW_THREADS
;
2074 } Py_INCREF(Py_None
);
2075 _resultobj
= Py_None
;
2079 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2080 PyObject
* _resultobj
;
2082 char *_kwnames
[] = { "szFormat", NULL
};
2085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
2088 wxPy_BEGIN_ALLOW_THREADS
;
2091 wxPy_END_ALLOW_THREADS
;
2092 } Py_INCREF(Py_None
);
2093 _resultobj
= Py_None
;
2097 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2098 PyObject
* _resultobj
;
2101 PyObject
* _argo0
= 0;
2102 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
2108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2115 wxPy_BEGIN_ALLOW_THREADS
;
2116 wxLogStatus(_arg0
,_arg1
);
2118 wxPy_END_ALLOW_THREADS
;
2119 } Py_INCREF(Py_None
);
2120 _resultobj
= Py_None
;
2124 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2125 PyObject
* _resultobj
;
2127 char *_kwnames
[] = { "szFormat", NULL
};
2130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2133 wxPy_BEGIN_ALLOW_THREADS
;
2134 wxLogSysError(_arg0
);
2136 wxPy_END_ALLOW_THREADS
;
2137 } Py_INCREF(Py_None
);
2138 _resultobj
= Py_None
;
2142 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2143 PyObject
* _resultobj
;
2146 int _arg1
= (int ) FALSE
;
2147 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2148 PyObject
* _obj0
= 0;
2149 PyObject
* _argo2
= 0;
2150 char *_kwnames
[] = { "command","sync","process", NULL
};
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2156 #if PYTHON_API_VERSION >= 1009
2157 char* tmpPtr
; int tmpSize
;
2158 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2159 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2162 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2164 _arg0
= new wxString(tmpPtr
, tmpSize
);
2166 if (!PyString_Check(_obj0
)) {
2167 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2170 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2174 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2175 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2181 wxPy_BEGIN_ALLOW_THREADS
;
2182 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2184 wxPy_END_ALLOW_THREADS
;
2185 } _resultobj
= Py_BuildValue("l",_result
);
2193 static PyObject
*_wrap_wxWaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2194 PyObject
* _resultobj
;
2197 PyObject
* _obj0
= 0;
2198 char *_kwnames
[] = { "data", NULL
};
2202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxWaveData",_kwnames
,&_obj0
))
2205 #if PYTHON_API_VERSION >= 1009
2206 char* tmpPtr
; int tmpSize
;
2207 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2208 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2211 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2213 _arg0
= new wxString(tmpPtr
, tmpSize
);
2215 if (!PyString_Check(_obj0
)) {
2216 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2219 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2223 wxPy_BEGIN_ALLOW_THREADS
;
2224 _result
= (wxWave
*)wxWaveData(*_arg0
);
2226 wxPy_END_ALLOW_THREADS
;
2228 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
2229 _resultobj
= Py_BuildValue("s",_ptemp
);
2232 _resultobj
= Py_None
;
2241 static void *SwigwxToolTipTowxObject(void *ptr
) {
2244 src
= (wxToolTip
*) ptr
;
2245 dest
= (wxObject
*) src
;
2246 return (void *) dest
;
2249 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2250 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
* _resultobj
;
2252 wxToolTip
* _result
;
2254 PyObject
* _obj0
= 0;
2255 char *_kwnames
[] = { "tip", NULL
};
2259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2262 #if PYTHON_API_VERSION >= 1009
2263 char* tmpPtr
; int tmpSize
;
2264 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2265 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2268 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2270 _arg0
= new wxString(tmpPtr
, tmpSize
);
2272 if (!PyString_Check(_obj0
)) {
2273 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2276 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2280 wxPy_BEGIN_ALLOW_THREADS
;
2281 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2283 wxPy_END_ALLOW_THREADS
;
2285 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2286 _resultobj
= Py_BuildValue("s",_ptemp
);
2289 _resultobj
= Py_None
;
2298 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2299 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2300 PyObject
* _resultobj
;
2303 PyObject
* _argo0
= 0;
2304 PyObject
* _obj1
= 0;
2305 char *_kwnames
[] = { "self","tip", NULL
};
2308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2318 #if PYTHON_API_VERSION >= 1009
2319 char* tmpPtr
; int tmpSize
;
2320 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2321 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2324 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2326 _arg1
= new wxString(tmpPtr
, tmpSize
);
2328 if (!PyString_Check(_obj1
)) {
2329 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2332 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2336 wxPy_BEGIN_ALLOW_THREADS
;
2337 wxToolTip_SetTip(_arg0
,*_arg1
);
2339 wxPy_END_ALLOW_THREADS
;
2340 } Py_INCREF(Py_None
);
2341 _resultobj
= Py_None
;
2349 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2350 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2351 PyObject
* _resultobj
;
2354 PyObject
* _argo0
= 0;
2355 char *_kwnames
[] = { "self", NULL
};
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2368 wxPy_BEGIN_ALLOW_THREADS
;
2369 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2371 wxPy_END_ALLOW_THREADS
;
2373 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2381 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2382 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2383 PyObject
* _resultobj
;
2386 PyObject
* _argo0
= 0;
2387 char *_kwnames
[] = { "self", NULL
};
2390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2393 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2394 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2395 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2400 wxPy_BEGIN_ALLOW_THREADS
;
2401 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2403 wxPy_END_ALLOW_THREADS
;
2404 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2408 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2409 PyObject
* _resultobj
;
2412 char *_kwnames
[] = { "flag", NULL
};
2415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
2417 _arg0
= (bool ) tempbool0
;
2419 wxPy_BEGIN_ALLOW_THREADS
;
2420 wxToolTip::Enable(_arg0
);
2422 wxPy_END_ALLOW_THREADS
;
2423 } Py_INCREF(Py_None
);
2424 _resultobj
= Py_None
;
2428 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2429 PyObject
* _resultobj
;
2431 char *_kwnames
[] = { "milliseconds", NULL
};
2434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
2437 wxPy_BEGIN_ALLOW_THREADS
;
2438 wxToolTip::SetDelay(_arg0
);
2440 wxPy_END_ALLOW_THREADS
;
2441 } Py_INCREF(Py_None
);
2442 _resultobj
= Py_None
;
2446 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2447 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2448 PyObject
* _resultobj
;
2452 PyObject
* _argo0
= 0;
2454 PyObject
* _obj1
= 0;
2455 char *_kwnames
[] = { "window","size", NULL
};
2459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2462 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2463 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2470 if (! wxSize_helper(_obj1
, &_arg1
))
2474 wxPy_BEGIN_ALLOW_THREADS
;
2475 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2477 wxPy_END_ALLOW_THREADS
;
2479 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2480 _resultobj
= Py_BuildValue("s",_ptemp
);
2483 _resultobj
= Py_None
;
2488 #define delete_wxCaret(_swigobj) (delete _swigobj)
2489 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2490 PyObject
* _resultobj
;
2492 PyObject
* _argo0
= 0;
2493 char *_kwnames
[] = { "self", NULL
};
2496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2499 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2500 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2501 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2506 wxPy_BEGIN_ALLOW_THREADS
;
2507 delete_wxCaret(_arg0
);
2509 wxPy_END_ALLOW_THREADS
;
2510 } Py_INCREF(Py_None
);
2511 _resultobj
= Py_None
;
2515 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2516 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2517 PyObject
* _resultobj
;
2520 PyObject
* _argo0
= 0;
2521 char *_kwnames
[] = { "self", NULL
};
2524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2527 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2528 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2529 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2534 wxPy_BEGIN_ALLOW_THREADS
;
2535 _result
= (bool )wxCaret_IsOk(_arg0
);
2537 wxPy_END_ALLOW_THREADS
;
2538 } _resultobj
= Py_BuildValue("i",_result
);
2542 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2543 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2544 PyObject
* _resultobj
;
2547 PyObject
* _argo0
= 0;
2548 char *_kwnames
[] = { "self", NULL
};
2551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2554 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2555 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2556 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2561 wxPy_BEGIN_ALLOW_THREADS
;
2562 _result
= (bool )wxCaret_IsVisible(_arg0
);
2564 wxPy_END_ALLOW_THREADS
;
2565 } _resultobj
= Py_BuildValue("i",_result
);
2569 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2570 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2571 PyObject
* _resultobj
;
2577 PyObject
* _argo0
= 0;
2578 char *_kwnames
[] = { "self", NULL
};
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2597 wxPy_BEGIN_ALLOW_THREADS
;
2598 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2600 wxPy_END_ALLOW_THREADS
;
2601 } Py_INCREF(Py_None
);
2602 _resultobj
= Py_None
;
2605 o
= PyInt_FromLong((long) (*_arg1
));
2606 _resultobj
= t_output_helper(_resultobj
, o
);
2610 o
= PyInt_FromLong((long) (*_arg2
));
2611 _resultobj
= t_output_helper(_resultobj
, o
);
2616 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2617 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
* _resultobj
;
2621 PyObject
* _argo0
= 0;
2622 char *_kwnames
[] = { "self", NULL
};
2626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2636 wxPy_BEGIN_ALLOW_THREADS
;
2637 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2639 wxPy_END_ALLOW_THREADS
;
2640 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2641 _resultobj
= Py_BuildValue("s",_ptemp
);
2645 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2646 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2647 PyObject
* _resultobj
;
2653 PyObject
* _argo0
= 0;
2654 char *_kwnames
[] = { "self", NULL
};
2663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2666 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2667 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2668 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2673 wxPy_BEGIN_ALLOW_THREADS
;
2674 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2676 wxPy_END_ALLOW_THREADS
;
2677 } Py_INCREF(Py_None
);
2678 _resultobj
= Py_None
;
2681 o
= PyInt_FromLong((long) (*_arg1
));
2682 _resultobj
= t_output_helper(_resultobj
, o
);
2686 o
= PyInt_FromLong((long) (*_arg2
));
2687 _resultobj
= t_output_helper(_resultobj
, o
);
2692 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2693 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2694 PyObject
* _resultobj
;
2697 PyObject
* _argo0
= 0;
2698 char *_kwnames
[] = { "self", NULL
};
2702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2712 wxPy_BEGIN_ALLOW_THREADS
;
2713 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2715 wxPy_END_ALLOW_THREADS
;
2716 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2717 _resultobj
= Py_BuildValue("s",_ptemp
);
2721 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2722 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2723 PyObject
* _resultobj
;
2726 PyObject
* _argo0
= 0;
2727 char *_kwnames
[] = { "self", NULL
};
2730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2740 wxPy_BEGIN_ALLOW_THREADS
;
2741 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2743 wxPy_END_ALLOW_THREADS
;
2744 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2748 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2749 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2750 PyObject
* _resultobj
;
2754 PyObject
* _argo0
= 0;
2755 char *_kwnames
[] = { "self","x","y", NULL
};
2758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2761 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2762 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2763 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2768 wxPy_BEGIN_ALLOW_THREADS
;
2769 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2771 wxPy_END_ALLOW_THREADS
;
2772 } Py_INCREF(Py_None
);
2773 _resultobj
= Py_None
;
2777 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2778 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2779 PyObject
* _resultobj
;
2782 PyObject
* _argo0
= 0;
2784 PyObject
* _obj1
= 0;
2785 char *_kwnames
[] = { "self","pt", NULL
};
2788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2791 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2792 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2793 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2799 if (! wxPoint_helper(_obj1
, &_arg1
))
2803 wxPy_BEGIN_ALLOW_THREADS
;
2804 wxCaret_Move(_arg0
,*_arg1
);
2806 wxPy_END_ALLOW_THREADS
;
2807 } Py_INCREF(Py_None
);
2808 _resultobj
= Py_None
;
2812 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2813 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2814 PyObject
* _resultobj
;
2818 PyObject
* _argo0
= 0;
2819 char *_kwnames
[] = { "self","width","height", NULL
};
2822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2832 wxPy_BEGIN_ALLOW_THREADS
;
2833 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2835 wxPy_END_ALLOW_THREADS
;
2836 } Py_INCREF(Py_None
);
2837 _resultobj
= Py_None
;
2841 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2842 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2843 PyObject
* _resultobj
;
2846 PyObject
* _argo0
= 0;
2848 PyObject
* _obj1
= 0;
2849 char *_kwnames
[] = { "self","size", NULL
};
2852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2863 if (! wxSize_helper(_obj1
, &_arg1
))
2867 wxPy_BEGIN_ALLOW_THREADS
;
2868 wxCaret_SetSize(_arg0
,*_arg1
);
2870 wxPy_END_ALLOW_THREADS
;
2871 } Py_INCREF(Py_None
);
2872 _resultobj
= Py_None
;
2876 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2877 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2878 PyObject
* _resultobj
;
2880 int _arg1
= (int ) TRUE
;
2881 PyObject
* _argo0
= 0;
2882 char *_kwnames
[] = { "self","show", NULL
};
2885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
2888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2895 wxPy_BEGIN_ALLOW_THREADS
;
2896 wxCaret_Show(_arg0
,_arg1
);
2898 wxPy_END_ALLOW_THREADS
;
2899 } Py_INCREF(Py_None
);
2900 _resultobj
= Py_None
;
2904 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2905 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2906 PyObject
* _resultobj
;
2908 PyObject
* _argo0
= 0;
2909 char *_kwnames
[] = { "self", NULL
};
2912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
2915 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2916 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2917 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
2922 wxPy_BEGIN_ALLOW_THREADS
;
2923 wxCaret_Hide(_arg0
);
2925 wxPy_END_ALLOW_THREADS
;
2926 } Py_INCREF(Py_None
);
2927 _resultobj
= Py_None
;
2931 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
2932 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2933 PyObject
* _resultobj
;
2934 wxPyFontEnumerator
* _result
;
2935 char *_kwnames
[] = { NULL
};
2939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
2942 wxPy_BEGIN_ALLOW_THREADS
;
2943 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
2945 wxPy_END_ALLOW_THREADS
;
2947 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
2948 _resultobj
= Py_BuildValue("s",_ptemp
);
2951 _resultobj
= Py_None
;
2956 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
2957 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2958 PyObject
* _resultobj
;
2959 wxPyFontEnumerator
* _arg0
;
2960 PyObject
* _argo0
= 0;
2961 char *_kwnames
[] = { "self", NULL
};
2964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
2967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
2974 wxPy_BEGIN_ALLOW_THREADS
;
2975 delete_wxPyFontEnumerator(_arg0
);
2977 wxPy_END_ALLOW_THREADS
;
2978 } Py_INCREF(Py_None
);
2979 _resultobj
= Py_None
;
2983 #define wxFontEnumerator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2984 static PyObject
*_wrap_wxFontEnumerator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2985 PyObject
* _resultobj
;
2986 wxPyFontEnumerator
* _arg0
;
2989 PyObject
* _argo0
= 0;
2990 PyObject
* _obj1
= 0;
2991 PyObject
* _obj2
= 0;
2992 char *_kwnames
[] = { "self","self","_class", NULL
};
2995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFontEnumerator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2998 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2999 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3000 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setSelf. Expected _wxPyFontEnumerator_p.");
3011 wxPy_BEGIN_ALLOW_THREADS
;
3012 wxFontEnumerator__setSelf(_arg0
,_arg1
,_arg2
);
3014 wxPy_END_ALLOW_THREADS
;
3015 } Py_INCREF(Py_None
);
3016 _resultobj
= Py_None
;
3020 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
3021 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3022 PyObject
* _resultobj
;
3024 wxPyFontEnumerator
* _arg0
;
3025 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
3026 bool _arg2
= (bool ) FALSE
;
3027 PyObject
* _argo0
= 0;
3028 int tempbool2
= (int) FALSE
;
3029 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
3032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3041 _arg2
= (bool ) tempbool2
;
3043 wxPy_BEGIN_ALLOW_THREADS
;
3044 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
3046 wxPy_END_ALLOW_THREADS
;
3047 } _resultobj
= Py_BuildValue("i",_result
);
3051 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3052 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3053 PyObject
* _resultobj
;
3055 wxPyFontEnumerator
* _arg0
;
3056 char * _arg1
= (char *) "";
3057 PyObject
* _argo0
= 0;
3058 char *_kwnames
[] = { "self","facename", NULL
};
3061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
3064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3071 wxPy_BEGIN_ALLOW_THREADS
;
3072 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
3074 wxPy_END_ALLOW_THREADS
;
3075 } _resultobj
= Py_BuildValue("i",_result
);
3079 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3080 wxArrayString
* arr
= self
->GetEncodings();
3081 PyObject
* list
= PyList_New(0);
3082 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3083 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3086 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3087 PyObject
* _resultobj
;
3089 wxPyFontEnumerator
* _arg0
;
3090 PyObject
* _argo0
= 0;
3091 char *_kwnames
[] = { "self", NULL
};
3094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3104 wxPy_BEGIN_ALLOW_THREADS
;
3105 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3107 wxPy_END_ALLOW_THREADS
;
3109 _resultobj
= _result
;
3114 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3115 wxArrayString
* arr
= self
->GetFacenames();
3116 PyObject
* list
= PyList_New(0);
3117 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3118 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3121 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3122 PyObject
* _resultobj
;
3124 wxPyFontEnumerator
* _arg0
;
3125 PyObject
* _argo0
= 0;
3126 char *_kwnames
[] = { "self", NULL
};
3129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3139 wxPy_BEGIN_ALLOW_THREADS
;
3140 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3142 wxPy_END_ALLOW_THREADS
;
3144 _resultobj
= _result
;
3149 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3150 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3151 PyObject
* _resultobj
;
3152 wxBusyCursor
* _result
;
3153 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3154 PyObject
* _argo0
= 0;
3155 char *_kwnames
[] = { "cursor", NULL
};
3159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3169 wxPy_BEGIN_ALLOW_THREADS
;
3170 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3172 wxPy_END_ALLOW_THREADS
;
3174 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3175 _resultobj
= Py_BuildValue("s",_ptemp
);
3178 _resultobj
= Py_None
;
3183 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3184 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3185 PyObject
* _resultobj
;
3186 wxBusyCursor
* _arg0
;
3187 PyObject
* _argo0
= 0;
3188 char *_kwnames
[] = { "self", NULL
};
3191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3194 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3195 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3196 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3201 wxPy_BEGIN_ALLOW_THREADS
;
3202 delete_wxBusyCursor(_arg0
);
3204 wxPy_END_ALLOW_THREADS
;
3205 } Py_INCREF(Py_None
);
3206 _resultobj
= Py_None
;
3210 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3211 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3212 PyObject
* _resultobj
;
3213 wxWindowDisabler
* _result
;
3214 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3215 PyObject
* _argo0
= 0;
3216 char *_kwnames
[] = { "winToSkip", NULL
};
3220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3230 wxPy_BEGIN_ALLOW_THREADS
;
3231 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3233 wxPy_END_ALLOW_THREADS
;
3235 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3236 _resultobj
= Py_BuildValue("s",_ptemp
);
3239 _resultobj
= Py_None
;
3244 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3245 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3246 PyObject
* _resultobj
;
3247 wxWindowDisabler
* _arg0
;
3248 PyObject
* _argo0
= 0;
3249 char *_kwnames
[] = { "self", NULL
};
3252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3255 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3256 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3257 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3262 wxPy_BEGIN_ALLOW_THREADS
;
3263 delete_wxWindowDisabler(_arg0
);
3265 wxPy_END_ALLOW_THREADS
;
3266 } Py_INCREF(Py_None
);
3267 _resultobj
= Py_None
;
3271 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3272 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3273 PyObject
* _resultobj
;
3274 wxMutexGuiLocker
* _result
;
3275 char *_kwnames
[] = { NULL
};
3279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3282 wxPy_BEGIN_ALLOW_THREADS
;
3283 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3285 wxPy_END_ALLOW_THREADS
;
3287 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3288 _resultobj
= Py_BuildValue("s",_ptemp
);
3291 _resultobj
= Py_None
;
3296 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3297 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3298 PyObject
* _resultobj
;
3299 wxMutexGuiLocker
* _arg0
;
3300 PyObject
* _argo0
= 0;
3301 char *_kwnames
[] = { "self", NULL
};
3304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3314 wxPy_BEGIN_ALLOW_THREADS
;
3315 delete_wxMutexGuiLocker(_arg0
);
3317 wxPy_END_ALLOW_THREADS
;
3318 } Py_INCREF(Py_None
);
3319 _resultobj
= Py_None
;
3323 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3324 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3325 PyObject
* _resultobj
;
3326 wxTipProvider
* _arg0
;
3327 PyObject
* _argo0
= 0;
3328 char *_kwnames
[] = { "self", NULL
};
3331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3341 wxPy_BEGIN_ALLOW_THREADS
;
3342 delete_wxTipProvider(_arg0
);
3344 wxPy_END_ALLOW_THREADS
;
3345 } Py_INCREF(Py_None
);
3346 _resultobj
= Py_None
;
3350 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3351 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3352 PyObject
* _resultobj
;
3354 wxTipProvider
* _arg0
;
3355 PyObject
* _argo0
= 0;
3356 char *_kwnames
[] = { "self", NULL
};
3359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3369 wxPy_BEGIN_ALLOW_THREADS
;
3370 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3372 wxPy_END_ALLOW_THREADS
;
3374 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3382 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3383 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3384 PyObject
* _resultobj
;
3386 wxTipProvider
* _arg0
;
3387 PyObject
* _argo0
= 0;
3388 char *_kwnames
[] = { "self", NULL
};
3391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3401 wxPy_BEGIN_ALLOW_THREADS
;
3402 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3404 wxPy_END_ALLOW_THREADS
;
3405 } _resultobj
= Py_BuildValue("i",_result
);
3409 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3410 wxPyTipProvider
*src
;
3411 wxTipProvider
*dest
;
3412 src
= (wxPyTipProvider
*) ptr
;
3413 dest
= (wxTipProvider
*) src
;
3414 return (void *) dest
;
3417 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3418 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3419 PyObject
* _resultobj
;
3420 wxPyTipProvider
* _result
;
3422 char *_kwnames
[] = { "currentTip", NULL
};
3426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3429 wxPy_BEGIN_ALLOW_THREADS
;
3430 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3432 wxPy_END_ALLOW_THREADS
;
3434 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3435 _resultobj
= Py_BuildValue("s",_ptemp
);
3438 _resultobj
= Py_None
;
3443 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3444 wxGenericDragImage
*src
;
3446 src
= (wxGenericDragImage
*) ptr
;
3447 dest
= (wxObject
*) src
;
3448 return (void *) dest
;
3451 #define new_wxDragImage(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3452 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
* _resultobj
;
3454 wxGenericDragImage
* _result
;
3456 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3457 PyObject
* _argo0
= 0;
3458 PyObject
* _argo1
= 0;
3459 char *_kwnames
[] = { "image","cursor", NULL
};
3463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
))
3466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3473 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3474 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3475 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3480 wxPy_BEGIN_ALLOW_THREADS
;
3481 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
);
3483 wxPy_END_ALLOW_THREADS
;
3485 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3486 _resultobj
= Py_BuildValue("s",_ptemp
);
3489 _resultobj
= Py_None
;
3494 #define new_wxDragIcon(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3495 static PyObject
*_wrap_new_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3496 PyObject
* _resultobj
;
3497 wxGenericDragImage
* _result
;
3499 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3500 PyObject
* _argo0
= 0;
3501 PyObject
* _argo1
= 0;
3502 char *_kwnames
[] = { "image","cursor", NULL
};
3506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragIcon",_kwnames
,&_argo0
,&_argo1
))
3509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
3511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragIcon. Expected _wxIcon_p.");
3516 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3517 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3518 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragIcon. Expected _wxCursor_p.");
3523 wxPy_BEGIN_ALLOW_THREADS
;
3524 _result
= (wxGenericDragImage
*)new_wxDragIcon(*_arg0
,*_arg1
);
3526 wxPy_END_ALLOW_THREADS
;
3528 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3529 _resultobj
= Py_BuildValue("s",_ptemp
);
3532 _resultobj
= Py_None
;
3537 #define new_wxDragString(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3538 static PyObject
*_wrap_new_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3539 PyObject
* _resultobj
;
3540 wxGenericDragImage
* _result
;
3542 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3543 PyObject
* _obj0
= 0;
3544 PyObject
* _argo1
= 0;
3545 char *_kwnames
[] = { "str","cursor", NULL
};
3549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:new_wxDragString",_kwnames
,&_obj0
,&_argo1
))
3552 #if PYTHON_API_VERSION >= 1009
3553 char* tmpPtr
; int tmpSize
;
3554 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
3555 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3558 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
3560 _arg0
= new wxString(tmpPtr
, tmpSize
);
3562 if (!PyString_Check(_obj0
)) {
3563 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
3566 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
3570 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3571 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3572 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragString. Expected _wxCursor_p.");
3577 wxPy_BEGIN_ALLOW_THREADS
;
3578 _result
= (wxGenericDragImage
*)new_wxDragString(*_arg0
,*_arg1
);
3580 wxPy_END_ALLOW_THREADS
;
3582 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3583 _resultobj
= Py_BuildValue("s",_ptemp
);
3586 _resultobj
= Py_None
;
3595 #define new_wxDragTreeItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3596 static PyObject
*_wrap_new_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3597 PyObject
* _resultobj
;
3598 wxGenericDragImage
* _result
;
3600 wxTreeItemId
* _arg1
;
3601 PyObject
* _argo0
= 0;
3602 PyObject
* _argo1
= 0;
3603 char *_kwnames
[] = { "treeCtrl","id", NULL
};
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
3610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
3612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragTreeItem. Expected _wxTreeCtrl_p.");
3617 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3618 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
3619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragTreeItem. Expected _wxTreeItemId_p.");
3624 wxPy_BEGIN_ALLOW_THREADS
;
3625 _result
= (wxGenericDragImage
*)new_wxDragTreeItem(*_arg0
,*_arg1
);
3627 wxPy_END_ALLOW_THREADS
;
3629 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3630 _resultobj
= Py_BuildValue("s",_ptemp
);
3633 _resultobj
= Py_None
;
3638 #define new_wxDragListItem(_swigarg0,_swigarg1) (new wxGenericDragImage(_swigarg0,_swigarg1))
3639 static PyObject
*_wrap_new_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3640 PyObject
* _resultobj
;
3641 wxGenericDragImage
* _result
;
3644 PyObject
* _argo0
= 0;
3645 char *_kwnames
[] = { "listCtrl","id", NULL
};
3649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:new_wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
3652 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3653 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
3654 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragListItem. Expected _wxListCtrl_p.");
3659 wxPy_BEGIN_ALLOW_THREADS
;
3660 _result
= (wxGenericDragImage
*)new_wxDragListItem(*_arg0
,_arg1
);
3662 wxPy_END_ALLOW_THREADS
;
3664 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3665 _resultobj
= Py_BuildValue("s",_ptemp
);
3668 _resultobj
= Py_None
;
3673 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3674 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3675 PyObject
* _resultobj
;
3676 wxGenericDragImage
* _arg0
;
3677 PyObject
* _argo0
= 0;
3678 char *_kwnames
[] = { "self", NULL
};
3681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3684 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3685 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3686 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3691 wxPy_BEGIN_ALLOW_THREADS
;
3692 delete_wxGenericDragImage(_arg0
);
3694 wxPy_END_ALLOW_THREADS
;
3695 } Py_INCREF(Py_None
);
3696 _resultobj
= Py_None
;
3700 #define wxDragImage_SetBackingBitmap(_swigobj,_swigarg0) (_swigobj->SetBackingBitmap(_swigarg0))
3701 static PyObject
*_wrap_wxDragImage_SetBackingBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3702 PyObject
* _resultobj
;
3703 wxGenericDragImage
* _arg0
;
3705 PyObject
* _argo0
= 0;
3706 PyObject
* _argo1
= 0;
3707 char *_kwnames
[] = { "self","bitmap", NULL
};
3710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_SetBackingBitmap",_kwnames
,&_argo0
,&_argo1
))
3713 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3714 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3715 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_SetBackingBitmap. Expected _wxGenericDragImage_p.");
3720 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3721 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxBitmap_p")) {
3722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragImage_SetBackingBitmap. Expected _wxBitmap_p.");
3727 wxPy_BEGIN_ALLOW_THREADS
;
3728 wxDragImage_SetBackingBitmap(_arg0
,_arg1
);
3730 wxPy_END_ALLOW_THREADS
;
3731 } Py_INCREF(Py_None
);
3732 _resultobj
= Py_None
;
3736 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3737 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
* _resultobj
;
3740 wxGenericDragImage
* _arg0
;
3743 bool _arg3
= (bool ) FALSE
;
3744 wxRect
* _arg4
= (wxRect
*) NULL
;
3745 PyObject
* _argo0
= 0;
3747 PyObject
* _obj1
= 0;
3748 PyObject
* _argo2
= 0;
3749 int tempbool3
= (int) FALSE
;
3751 PyObject
* _obj4
= 0;
3752 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3758 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3759 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3760 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3766 if (! wxPoint_helper(_obj1
, &_arg1
))
3770 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3771 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3776 _arg3
= (bool ) tempbool3
;
3780 if (! wxRect_helper(_obj4
, &_arg4
))
3784 wxPy_BEGIN_ALLOW_THREADS
;
3785 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3787 wxPy_END_ALLOW_THREADS
;
3788 } _resultobj
= Py_BuildValue("i",_result
);
3792 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3793 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
* _resultobj
;
3796 wxGenericDragImage
* _arg0
;
3800 PyObject
* _argo0
= 0;
3802 PyObject
* _obj1
= 0;
3803 PyObject
* _argo2
= 0;
3804 PyObject
* _argo3
= 0;
3805 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3819 if (! wxPoint_helper(_obj1
, &_arg1
))
3823 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3824 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3830 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3831 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3832 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3837 wxPy_BEGIN_ALLOW_THREADS
;
3838 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3840 wxPy_END_ALLOW_THREADS
;
3841 } _resultobj
= Py_BuildValue("i",_result
);
3845 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3846 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
* _resultobj
;
3849 wxGenericDragImage
* _arg0
;
3850 PyObject
* _argo0
= 0;
3851 char *_kwnames
[] = { "self", NULL
};
3854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3857 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3858 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3859 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3864 wxPy_BEGIN_ALLOW_THREADS
;
3865 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3867 wxPy_END_ALLOW_THREADS
;
3868 } _resultobj
= Py_BuildValue("i",_result
);
3872 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3873 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
* _resultobj
;
3876 wxGenericDragImage
* _arg0
;
3878 PyObject
* _argo0
= 0;
3880 PyObject
* _obj1
= 0;
3881 char *_kwnames
[] = { "self","pt", NULL
};
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3895 if (! wxPoint_helper(_obj1
, &_arg1
))
3899 wxPy_BEGIN_ALLOW_THREADS
;
3900 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3902 wxPy_END_ALLOW_THREADS
;
3903 } _resultobj
= Py_BuildValue("i",_result
);
3907 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3908 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3909 PyObject
* _resultobj
;
3911 wxGenericDragImage
* _arg0
;
3912 PyObject
* _argo0
= 0;
3913 char *_kwnames
[] = { "self", NULL
};
3916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3926 wxPy_BEGIN_ALLOW_THREADS
;
3927 _result
= (bool )wxDragImage_Show(_arg0
);
3929 wxPy_END_ALLOW_THREADS
;
3930 } _resultobj
= Py_BuildValue("i",_result
);
3934 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3935 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3936 PyObject
* _resultobj
;
3938 wxGenericDragImage
* _arg0
;
3939 PyObject
* _argo0
= 0;
3940 char *_kwnames
[] = { "self", NULL
};
3943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3946 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3947 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3948 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3953 wxPy_BEGIN_ALLOW_THREADS
;
3954 _result
= (bool )wxDragImage_Hide(_arg0
);
3956 wxPy_END_ALLOW_THREADS
;
3957 } _resultobj
= Py_BuildValue("i",_result
);
3961 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3962 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3963 PyObject
* _resultobj
;
3965 wxGenericDragImage
* _arg0
;
3967 PyObject
* _argo0
= 0;
3969 PyObject
* _obj1
= 0;
3970 char *_kwnames
[] = { "self","pos", NULL
};
3974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
3977 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3978 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3979 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
3985 if (! wxPoint_helper(_obj1
, &_arg1
))
3989 wxPy_BEGIN_ALLOW_THREADS
;
3990 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
3992 wxPy_END_ALLOW_THREADS
;
3993 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3994 _resultobj
= Py_BuildValue("s",_ptemp
);
3998 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3999 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
* _resultobj
;
4002 wxGenericDragImage
* _arg0
;
4007 PyObject
* _argo0
= 0;
4009 PyObject
* _obj1
= 0;
4011 PyObject
* _obj2
= 0;
4014 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
4020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
4022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
4028 if (! wxPoint_helper(_obj1
, &_arg1
))
4033 if (! wxPoint_helper(_obj2
, &_arg2
))
4036 _arg3
= (bool ) tempbool3
;
4037 _arg4
= (bool ) tempbool4
;
4039 wxPy_BEGIN_ALLOW_THREADS
;
4040 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
4042 wxPy_END_ALLOW_THREADS
;
4043 } _resultobj
= Py_BuildValue("i",_result
);
4047 static void *SwigwxPyTimerTowxObject(void *ptr
) {
4050 src
= (wxPyTimer
*) ptr
;
4051 dest
= (wxObject
*) src
;
4052 return (void *) dest
;
4055 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
4056 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4057 PyObject
* _resultobj
;
4058 wxPyTimer
* _result
;
4060 PyObject
* _obj0
= 0;
4061 char *_kwnames
[] = { "notify", NULL
};
4065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
4071 wxPy_BEGIN_ALLOW_THREADS
;
4072 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
4074 wxPy_END_ALLOW_THREADS
;
4076 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
4077 _resultobj
= Py_BuildValue("s",_ptemp
);
4080 _resultobj
= Py_None
;
4085 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
4086 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4087 PyObject
* _resultobj
;
4089 PyObject
* _argo0
= 0;
4090 char *_kwnames
[] = { "self", NULL
};
4093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
4096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
4103 wxPy_BEGIN_ALLOW_THREADS
;
4104 delete_wxPyTimer(_arg0
);
4106 wxPy_END_ALLOW_THREADS
;
4107 } Py_INCREF(Py_None
);
4108 _resultobj
= Py_None
;
4112 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
4113 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4114 PyObject
* _resultobj
;
4117 PyObject
* _argo0
= 0;
4118 char *_kwnames
[] = { "self", NULL
};
4121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
4124 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4125 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4126 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
4131 wxPy_BEGIN_ALLOW_THREADS
;
4132 _result
= (int )wxPyTimer_GetInterval(_arg0
);
4134 wxPy_END_ALLOW_THREADS
;
4135 } _resultobj
= Py_BuildValue("i",_result
);
4139 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
4140 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4141 PyObject
* _resultobj
;
4144 PyObject
* _argo0
= 0;
4145 char *_kwnames
[] = { "self", NULL
};
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
4151 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4152 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4153 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
4158 wxPy_BEGIN_ALLOW_THREADS
;
4159 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
4161 wxPy_END_ALLOW_THREADS
;
4162 } _resultobj
= Py_BuildValue("i",_result
);
4166 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
4167 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
* _resultobj
;
4171 PyObject
* _argo0
= 0;
4172 char *_kwnames
[] = { "self", NULL
};
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4185 wxPy_BEGIN_ALLOW_THREADS
;
4186 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4188 wxPy_END_ALLOW_THREADS
;
4189 } _resultobj
= Py_BuildValue("i",_result
);
4193 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4194 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
* _resultobj
;
4197 wxEvtHandler
* _arg1
;
4198 int _arg2
= (int ) -1;
4199 PyObject
* _argo0
= 0;
4200 PyObject
* _argo1
= 0;
4201 char *_kwnames
[] = { "self","owner","id", NULL
};
4204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4207 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4208 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4209 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4214 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4215 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4216 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4221 wxPy_BEGIN_ALLOW_THREADS
;
4222 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4224 wxPy_END_ALLOW_THREADS
;
4225 } Py_INCREF(Py_None
);
4226 _resultobj
= Py_None
;
4230 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4231 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
* _resultobj
;
4234 int _arg1
= (int ) -1;
4235 int _arg2
= (int ) FALSE
;
4236 PyObject
* _argo0
= 0;
4237 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4250 wxPy_BEGIN_ALLOW_THREADS
;
4251 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4253 wxPy_END_ALLOW_THREADS
;
4254 } Py_INCREF(Py_None
);
4255 _resultobj
= Py_None
;
4259 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4260 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
* _resultobj
;
4263 PyObject
* _argo0
= 0;
4264 char *_kwnames
[] = { "self", NULL
};
4267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4277 wxPy_BEGIN_ALLOW_THREADS
;
4278 wxPyTimer_Stop(_arg0
);
4280 wxPy_END_ALLOW_THREADS
;
4281 } Py_INCREF(Py_None
);
4282 _resultobj
= Py_None
;
4286 #define new_wxLog() (new wxLog())
4287 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
* _resultobj
;
4290 char *_kwnames
[] = { NULL
};
4294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4297 wxPy_BEGIN_ALLOW_THREADS
;
4298 _result
= (wxLog
*)new_wxLog();
4300 wxPy_END_ALLOW_THREADS
;
4302 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4303 _resultobj
= Py_BuildValue("s",_ptemp
);
4306 _resultobj
= Py_None
;
4311 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
* _resultobj
;
4314 char *_kwnames
[] = { NULL
};
4317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4320 wxPy_BEGIN_ALLOW_THREADS
;
4321 _result
= (bool )wxLog::IsEnabled();
4323 wxPy_END_ALLOW_THREADS
;
4324 } _resultobj
= Py_BuildValue("i",_result
);
4328 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4329 PyObject
* _resultobj
;
4331 bool _arg0
= (bool ) TRUE
;
4332 int tempbool0
= (int) TRUE
;
4333 char *_kwnames
[] = { "doIt", NULL
};
4336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4338 _arg0
= (bool ) tempbool0
;
4340 wxPy_BEGIN_ALLOW_THREADS
;
4341 _result
= (bool )wxLog::EnableLogging(_arg0
);
4343 wxPy_END_ALLOW_THREADS
;
4344 } _resultobj
= Py_BuildValue("i",_result
);
4348 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
* _resultobj
;
4352 int _arg2
= (int ) 0;
4353 PyObject
* _argo0
= 0;
4354 char *_kwnames
[] = { "level","szString","t", NULL
};
4357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4360 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4361 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4362 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4367 wxPy_BEGIN_ALLOW_THREADS
;
4368 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
4370 wxPy_END_ALLOW_THREADS
;
4371 } Py_INCREF(Py_None
);
4372 _resultobj
= Py_None
;
4376 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4377 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4378 PyObject
* _resultobj
;
4380 PyObject
* _argo0
= 0;
4381 char *_kwnames
[] = { "self", NULL
};
4384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4387 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4388 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4389 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4394 wxPy_BEGIN_ALLOW_THREADS
;
4397 wxPy_END_ALLOW_THREADS
;
4398 } Py_INCREF(Py_None
);
4399 _resultobj
= Py_None
;
4403 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4404 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4405 PyObject
* _resultobj
;
4408 PyObject
* _argo0
= 0;
4409 char *_kwnames
[] = { "self", NULL
};
4412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4422 wxPy_BEGIN_ALLOW_THREADS
;
4423 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4425 wxPy_END_ALLOW_THREADS
;
4426 } _resultobj
= Py_BuildValue("i",_result
);
4430 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
* _resultobj
;
4432 char *_kwnames
[] = { NULL
};
4435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4438 wxPy_BEGIN_ALLOW_THREADS
;
4439 wxLog::FlushActive();
4441 wxPy_END_ALLOW_THREADS
;
4442 } Py_INCREF(Py_None
);
4443 _resultobj
= Py_None
;
4447 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4448 PyObject
* _resultobj
;
4450 char *_kwnames
[] = { NULL
};
4454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4457 wxPy_BEGIN_ALLOW_THREADS
;
4458 _result
= (wxLog
*)wxLog::GetActiveTarget();
4460 wxPy_END_ALLOW_THREADS
;
4462 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4463 _resultobj
= Py_BuildValue("s",_ptemp
);
4466 _resultobj
= Py_None
;
4471 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
* _resultobj
;
4475 PyObject
* _argo0
= 0;
4476 char *_kwnames
[] = { "pLogger", NULL
};
4480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4490 wxPy_BEGIN_ALLOW_THREADS
;
4491 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4493 wxPy_END_ALLOW_THREADS
;
4495 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4496 _resultobj
= Py_BuildValue("s",_ptemp
);
4499 _resultobj
= Py_None
;
4504 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
* _resultobj
;
4506 char *_kwnames
[] = { NULL
};
4509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4512 wxPy_BEGIN_ALLOW_THREADS
;
4515 wxPy_END_ALLOW_THREADS
;
4516 } Py_INCREF(Py_None
);
4517 _resultobj
= Py_None
;
4521 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
* _resultobj
;
4523 char *_kwnames
[] = { NULL
};
4526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4529 wxPy_BEGIN_ALLOW_THREADS
;
4532 wxPy_END_ALLOW_THREADS
;
4533 } Py_INCREF(Py_None
);
4534 _resultobj
= Py_None
;
4538 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4539 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4540 PyObject
* _resultobj
;
4542 bool _arg1
= (bool ) TRUE
;
4543 PyObject
* _argo0
= 0;
4544 int tempbool1
= (int) TRUE
;
4545 char *_kwnames
[] = { "self","bVerbose", NULL
};
4548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4557 _arg1
= (bool ) tempbool1
;
4559 wxPy_BEGIN_ALLOW_THREADS
;
4560 wxLog_SetVerbose(_arg0
,_arg1
);
4562 wxPy_END_ALLOW_THREADS
;
4563 } Py_INCREF(Py_None
);
4564 _resultobj
= Py_None
;
4568 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4569 PyObject
* _resultobj
;
4570 char *_kwnames
[] = { NULL
};
4573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4576 wxPy_BEGIN_ALLOW_THREADS
;
4577 wxLog::DontCreateOnDemand();
4579 wxPy_END_ALLOW_THREADS
;
4580 } Py_INCREF(Py_None
);
4581 _resultobj
= Py_None
;
4585 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4586 PyObject
* _resultobj
;
4587 wxTraceMask
* _arg0
;
4588 PyObject
* _argo0
= 0;
4589 char *_kwnames
[] = { "ulMask", NULL
};
4592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4595 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4596 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4597 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4602 wxPy_BEGIN_ALLOW_THREADS
;
4603 wxLog::SetTraceMask(*_arg0
);
4605 wxPy_END_ALLOW_THREADS
;
4606 } Py_INCREF(Py_None
);
4607 _resultobj
= Py_None
;
4611 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4612 PyObject
* _resultobj
;
4614 PyObject
* _obj0
= 0;
4615 char *_kwnames
[] = { "str", NULL
};
4618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4621 #if PYTHON_API_VERSION >= 1009
4622 char* tmpPtr
; int tmpSize
;
4623 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4624 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4627 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4629 _arg0
= new wxString(tmpPtr
, tmpSize
);
4631 if (!PyString_Check(_obj0
)) {
4632 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4635 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4639 wxPy_BEGIN_ALLOW_THREADS
;
4640 wxLog::AddTraceMask(*_arg0
);
4642 wxPy_END_ALLOW_THREADS
;
4643 } Py_INCREF(Py_None
);
4644 _resultobj
= Py_None
;
4652 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4653 PyObject
* _resultobj
;
4655 PyObject
* _obj0
= 0;
4656 char *_kwnames
[] = { "str", NULL
};
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4662 #if PYTHON_API_VERSION >= 1009
4663 char* tmpPtr
; int tmpSize
;
4664 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4665 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4668 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4670 _arg0
= new wxString(tmpPtr
, tmpSize
);
4672 if (!PyString_Check(_obj0
)) {
4673 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4676 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4680 wxPy_BEGIN_ALLOW_THREADS
;
4681 wxLog::RemoveTraceMask(*_arg0
);
4683 wxPy_END_ALLOW_THREADS
;
4684 } Py_INCREF(Py_None
);
4685 _resultobj
= Py_None
;
4693 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4694 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4695 PyObject
* _resultobj
;
4698 PyObject
* _argo0
= 0;
4699 char *_kwnames
[] = { "self", NULL
};
4702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4712 wxPy_BEGIN_ALLOW_THREADS
;
4713 _result
= (bool )wxLog_GetVerbose(_arg0
);
4715 wxPy_END_ALLOW_THREADS
;
4716 } _resultobj
= Py_BuildValue("i",_result
);
4720 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4721 PyObject
* _resultobj
;
4722 wxTraceMask
* _result
;
4723 char *_kwnames
[] = { NULL
};
4727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4730 wxPy_BEGIN_ALLOW_THREADS
;
4731 _result
= new wxTraceMask (wxLog::GetTraceMask());
4733 wxPy_END_ALLOW_THREADS
;
4734 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
4735 _resultobj
= Py_BuildValue("s",_ptemp
);
4739 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
* _resultobj
;
4743 char *_kwnames
[] = { "mask", NULL
};
4746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
4749 wxPy_BEGIN_ALLOW_THREADS
;
4750 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
4752 wxPy_END_ALLOW_THREADS
;
4753 } _resultobj
= Py_BuildValue("i",_result
);
4757 static void *SwigwxLogStderrTowxLog(void *ptr
) {
4760 src
= (wxLogStderr
*) ptr
;
4761 dest
= (wxLog
*) src
;
4762 return (void *) dest
;
4765 #define new_wxLogStderr() (new wxLogStderr())
4766 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4767 PyObject
* _resultobj
;
4768 wxLogStderr
* _result
;
4769 char *_kwnames
[] = { NULL
};
4773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
4776 wxPy_BEGIN_ALLOW_THREADS
;
4777 _result
= (wxLogStderr
*)new_wxLogStderr();
4779 wxPy_END_ALLOW_THREADS
;
4781 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
4782 _resultobj
= Py_BuildValue("s",_ptemp
);
4785 _resultobj
= Py_None
;
4790 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
4793 src
= (wxLogTextCtrl
*) ptr
;
4794 dest
= (wxLog
*) src
;
4795 return (void *) dest
;
4798 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
4799 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4800 PyObject
* _resultobj
;
4801 wxLogTextCtrl
* _result
;
4803 PyObject
* _argo0
= 0;
4804 char *_kwnames
[] = { "pTextCtrl", NULL
};
4808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
4811 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4812 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
4818 wxPy_BEGIN_ALLOW_THREADS
;
4819 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
4821 wxPy_END_ALLOW_THREADS
;
4823 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
4824 _resultobj
= Py_BuildValue("s",_ptemp
);
4827 _resultobj
= Py_None
;
4832 static void *SwigwxLogGuiTowxLog(void *ptr
) {
4835 src
= (wxLogGui
*) ptr
;
4836 dest
= (wxLog
*) src
;
4837 return (void *) dest
;
4840 #define new_wxLogGui() (new wxLogGui())
4841 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
* _resultobj
;
4844 char *_kwnames
[] = { NULL
};
4848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
4851 wxPy_BEGIN_ALLOW_THREADS
;
4852 _result
= (wxLogGui
*)new_wxLogGui();
4854 wxPy_END_ALLOW_THREADS
;
4856 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
4857 _resultobj
= Py_BuildValue("s",_ptemp
);
4860 _resultobj
= Py_None
;
4865 static void *SwigwxLogWindowTowxLog(void *ptr
) {
4868 src
= (wxLogWindow
*) ptr
;
4869 dest
= (wxLog
*) src
;
4870 return (void *) dest
;
4873 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4874 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
* _resultobj
;
4876 wxLogWindow
* _result
;
4879 bool _arg2
= (bool ) TRUE
;
4880 bool _arg3
= (bool ) TRUE
;
4881 PyObject
* _argo0
= 0;
4882 int tempbool2
= (int) TRUE
;
4883 int tempbool3
= (int) TRUE
;
4884 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
4888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
4891 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4892 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
4893 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
4897 _arg2
= (bool ) tempbool2
;
4898 _arg3
= (bool ) tempbool3
;
4900 wxPy_BEGIN_ALLOW_THREADS
;
4901 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
4903 wxPy_END_ALLOW_THREADS
;
4905 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
4906 _resultobj
= Py_BuildValue("s",_ptemp
);
4909 _resultobj
= Py_None
;
4914 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4915 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
* _resultobj
;
4917 wxLogWindow
* _arg0
;
4918 bool _arg1
= (bool ) TRUE
;
4919 PyObject
* _argo0
= 0;
4920 int tempbool1
= (int) TRUE
;
4921 char *_kwnames
[] = { "self","bShow", NULL
};
4924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
4933 _arg1
= (bool ) tempbool1
;
4935 wxPy_BEGIN_ALLOW_THREADS
;
4936 wxLogWindow_Show(_arg0
,_arg1
);
4938 wxPy_END_ALLOW_THREADS
;
4939 } Py_INCREF(Py_None
);
4940 _resultobj
= Py_None
;
4944 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
4945 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4946 PyObject
* _resultobj
;
4948 wxLogWindow
* _arg0
;
4949 PyObject
* _argo0
= 0;
4950 char *_kwnames
[] = { "self", NULL
};
4953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
4956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
4963 wxPy_BEGIN_ALLOW_THREADS
;
4964 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
4966 wxPy_END_ALLOW_THREADS
;
4967 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4971 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
4972 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4973 PyObject
* _resultobj
;
4975 wxLogWindow
* _arg0
;
4976 PyObject
* _argo0
= 0;
4977 char *_kwnames
[] = { "self", NULL
};
4981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
4984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
4991 wxPy_BEGIN_ALLOW_THREADS
;
4992 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
4994 wxPy_END_ALLOW_THREADS
;
4996 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4997 _resultobj
= Py_BuildValue("s",_ptemp
);
5000 _resultobj
= Py_None
;
5005 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
5006 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5007 PyObject
* _resultobj
;
5009 wxLogWindow
* _arg0
;
5010 PyObject
* _argo0
= 0;
5011 char *_kwnames
[] = { "self", NULL
};
5014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
5017 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5018 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5019 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
5024 wxPy_BEGIN_ALLOW_THREADS
;
5025 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
5027 wxPy_END_ALLOW_THREADS
;
5028 } _resultobj
= Py_BuildValue("i",_result
);
5032 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
5033 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5034 PyObject
* _resultobj
;
5035 wxLogWindow
* _arg0
;
5037 PyObject
* _argo0
= 0;
5039 char *_kwnames
[] = { "self","bDoPass", NULL
};
5042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
5045 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5046 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
5047 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
5051 _arg1
= (bool ) tempbool1
;
5053 wxPy_BEGIN_ALLOW_THREADS
;
5054 wxLogWindow_PassMessages(_arg0
,_arg1
);
5056 wxPy_END_ALLOW_THREADS
;
5057 } Py_INCREF(Py_None
);
5058 _resultobj
= Py_None
;
5062 #define new_wxLogNull() (new wxLogNull())
5063 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
* _resultobj
;
5065 wxLogNull
* _result
;
5066 char *_kwnames
[] = { NULL
};
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
5073 wxPy_BEGIN_ALLOW_THREADS
;
5074 _result
= (wxLogNull
*)new_wxLogNull();
5076 wxPy_END_ALLOW_THREADS
;
5078 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
5079 _resultobj
= Py_BuildValue("s",_ptemp
);
5082 _resultobj
= Py_None
;
5087 #define delete_wxLogNull(_swigobj) (delete _swigobj)
5088 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
* _resultobj
;
5091 PyObject
* _argo0
= 0;
5092 char *_kwnames
[] = { "self", NULL
};
5095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
5098 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5099 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
5100 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
5105 wxPy_BEGIN_ALLOW_THREADS
;
5106 delete_wxLogNull(_arg0
);
5108 wxPy_END_ALLOW_THREADS
;
5109 } Py_INCREF(Py_None
);
5110 _resultobj
= Py_None
;
5114 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
5115 wxProcessEvent
*src
;
5117 src
= (wxProcessEvent
*) ptr
;
5118 dest
= (wxEvent
*) src
;
5119 return (void *) dest
;
5122 static void *SwigwxProcessEventTowxObject(void *ptr
) {
5123 wxProcessEvent
*src
;
5125 src
= (wxProcessEvent
*) ptr
;
5126 dest
= (wxObject
*) src
;
5127 return (void *) dest
;
5130 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
5131 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5132 PyObject
* _resultobj
;
5133 wxProcessEvent
* _result
;
5134 int _arg0
= (int ) 0;
5135 int _arg1
= (int ) 0;
5136 int _arg2
= (int ) 0;
5137 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
5141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
5144 wxPy_BEGIN_ALLOW_THREADS
;
5145 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
5147 wxPy_END_ALLOW_THREADS
;
5149 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
5150 _resultobj
= Py_BuildValue("s",_ptemp
);
5153 _resultobj
= Py_None
;
5158 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
5159 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5160 PyObject
* _resultobj
;
5162 wxProcessEvent
* _arg0
;
5163 PyObject
* _argo0
= 0;
5164 char *_kwnames
[] = { "self", NULL
};
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
5170 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5171 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5172 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5177 wxPy_BEGIN_ALLOW_THREADS
;
5178 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5180 wxPy_END_ALLOW_THREADS
;
5181 } _resultobj
= Py_BuildValue("i",_result
);
5185 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5186 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5187 PyObject
* _resultobj
;
5189 wxProcessEvent
* _arg0
;
5190 PyObject
* _argo0
= 0;
5191 char *_kwnames
[] = { "self", NULL
};
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5197 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5198 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5199 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5204 wxPy_BEGIN_ALLOW_THREADS
;
5205 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5207 wxPy_END_ALLOW_THREADS
;
5208 } _resultobj
= Py_BuildValue("i",_result
);
5212 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5213 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
* _resultobj
;
5216 wxProcessEvent
* _arg0
;
5218 PyObject
* _argo0
= 0;
5219 char *_kwnames
[] = { "self","m_pid", NULL
};
5222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5232 wxPy_BEGIN_ALLOW_THREADS
;
5233 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5235 wxPy_END_ALLOW_THREADS
;
5236 } _resultobj
= Py_BuildValue("i",_result
);
5240 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5241 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
* _resultobj
;
5244 wxProcessEvent
* _arg0
;
5245 PyObject
* _argo0
= 0;
5246 char *_kwnames
[] = { "self", NULL
};
5249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5252 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5253 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5254 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5259 wxPy_BEGIN_ALLOW_THREADS
;
5260 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5262 wxPy_END_ALLOW_THREADS
;
5263 } _resultobj
= Py_BuildValue("i",_result
);
5267 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5268 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5269 PyObject
* _resultobj
;
5271 wxProcessEvent
* _arg0
;
5273 PyObject
* _argo0
= 0;
5274 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5287 wxPy_BEGIN_ALLOW_THREADS
;
5288 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5290 wxPy_END_ALLOW_THREADS
;
5291 } _resultobj
= Py_BuildValue("i",_result
);
5295 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5296 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5297 PyObject
* _resultobj
;
5299 wxProcessEvent
* _arg0
;
5300 PyObject
* _argo0
= 0;
5301 char *_kwnames
[] = { "self", NULL
};
5304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5314 wxPy_BEGIN_ALLOW_THREADS
;
5315 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5317 wxPy_END_ALLOW_THREADS
;
5318 } _resultobj
= Py_BuildValue("i",_result
);
5322 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5325 src
= (wxPyProcess
*) ptr
;
5326 dest
= (wxEvtHandler
*) src
;
5327 return (void *) dest
;
5330 static void *SwigwxPyProcessTowxObject(void *ptr
) {
5333 src
= (wxPyProcess
*) ptr
;
5334 dest
= (wxObject
*) src
;
5335 return (void *) dest
;
5338 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5339 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5340 PyObject
* _resultobj
;
5341 wxPyProcess
* _result
;
5342 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
5343 int _arg1
= (int ) -1;
5344 PyObject
* _argo0
= 0;
5345 char *_kwnames
[] = { "parent","id", NULL
};
5349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
5352 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5353 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
5354 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
5359 wxPy_BEGIN_ALLOW_THREADS
;
5360 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
5362 wxPy_END_ALLOW_THREADS
;
5364 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
5365 _resultobj
= Py_BuildValue("s",_ptemp
);
5368 _resultobj
= Py_None
;
5373 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
5374 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
* _resultobj
;
5376 wxPyProcess
* _arg0
;
5377 PyObject
* _argo0
= 0;
5378 char *_kwnames
[] = { "self", NULL
};
5381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
5384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
5391 wxPy_BEGIN_ALLOW_THREADS
;
5392 wxPyProcess_Destroy(_arg0
);
5394 wxPy_END_ALLOW_THREADS
;
5395 } Py_INCREF(Py_None
);
5396 _resultobj
= Py_None
;
5400 #define wxProcess__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5401 static PyObject
*_wrap_wxProcess__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5402 PyObject
* _resultobj
;
5403 wxPyProcess
* _arg0
;
5406 PyObject
* _argo0
= 0;
5407 PyObject
* _obj1
= 0;
5408 PyObject
* _obj2
= 0;
5409 char *_kwnames
[] = { "self","self","_class", NULL
};
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setSelf. Expected _wxPyProcess_p.");
5428 wxPy_BEGIN_ALLOW_THREADS
;
5429 wxProcess__setSelf(_arg0
,_arg1
,_arg2
);
5431 wxPy_END_ALLOW_THREADS
;
5432 } Py_INCREF(Py_None
);
5433 _resultobj
= Py_None
;
5437 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
5438 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5439 PyObject
* _resultobj
;
5440 wxPyProcess
* _arg0
;
5443 PyObject
* _argo0
= 0;
5444 char *_kwnames
[] = { "self","pid","status", NULL
};
5447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5450 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5451 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5452 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
5457 wxPy_BEGIN_ALLOW_THREADS
;
5458 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
5460 wxPy_END_ALLOW_THREADS
;
5461 } Py_INCREF(Py_None
);
5462 _resultobj
= Py_None
;
5466 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
5467 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5468 PyObject
* _resultobj
;
5469 wxPyProcess
* _arg0
;
5470 PyObject
* _argo0
= 0;
5471 char *_kwnames
[] = { "self", NULL
};
5474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
5477 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5478 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5479 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
5484 wxPy_BEGIN_ALLOW_THREADS
;
5485 wxProcess_Redirect(_arg0
);
5487 wxPy_END_ALLOW_THREADS
;
5488 } Py_INCREF(Py_None
);
5489 _resultobj
= Py_None
;
5493 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
5494 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
* _resultobj
;
5497 wxPyProcess
* _arg0
;
5498 PyObject
* _argo0
= 0;
5499 char *_kwnames
[] = { "self", NULL
};
5502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
5505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
5512 wxPy_BEGIN_ALLOW_THREADS
;
5513 _result
= (bool )wxProcess_IsRedirected(_arg0
);
5515 wxPy_END_ALLOW_THREADS
;
5516 } _resultobj
= Py_BuildValue("i",_result
);
5520 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
5521 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
* _resultobj
;
5523 wxPyProcess
* _arg0
;
5524 PyObject
* _argo0
= 0;
5525 char *_kwnames
[] = { "self", NULL
};
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
5531 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5532 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5533 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
5538 wxPy_BEGIN_ALLOW_THREADS
;
5539 wxProcess_Detach(_arg0
);
5541 wxPy_END_ALLOW_THREADS
;
5542 } Py_INCREF(Py_None
);
5543 _resultobj
= Py_None
;
5547 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
5548 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
* _resultobj
;
5550 wxInputStream
* _result
;
5551 wxPyProcess
* _arg0
;
5552 PyObject
* _argo0
= 0;
5553 char *_kwnames
[] = { "self", NULL
};
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
5559 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5560 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5561 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
5566 wxPy_BEGIN_ALLOW_THREADS
;
5567 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
5569 wxPy_END_ALLOW_THREADS
;
5571 wxPyInputStream
* _ptr
= NULL
;
5574 _ptr
= new wxPyInputStream(_result
);
5576 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
5581 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
5582 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5583 PyObject
* _resultobj
;
5584 wxInputStream
* _result
;
5585 wxPyProcess
* _arg0
;
5586 PyObject
* _argo0
= 0;
5587 char *_kwnames
[] = { "self", NULL
};
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
5593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
5600 wxPy_BEGIN_ALLOW_THREADS
;
5601 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
5603 wxPy_END_ALLOW_THREADS
;
5605 wxPyInputStream
* _ptr
= NULL
;
5608 _ptr
= new wxPyInputStream(_result
);
5610 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
5615 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
5616 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
* _resultobj
;
5618 wxOutputStream
* _result
;
5619 wxPyProcess
* _arg0
;
5620 PyObject
* _argo0
= 0;
5621 char *_kwnames
[] = { "self", NULL
};
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
5628 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5629 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
5635 wxPy_BEGIN_ALLOW_THREADS
;
5636 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
5638 wxPy_END_ALLOW_THREADS
;
5640 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
5641 _resultobj
= Py_BuildValue("s",_ptemp
);
5644 _resultobj
= Py_None
;
5649 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
5650 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
* _resultobj
;
5652 wxPyProcess
* _arg0
;
5653 PyObject
* _argo0
= 0;
5654 char *_kwnames
[] = { "self", NULL
};
5657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
5660 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5661 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5662 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
5667 wxPy_BEGIN_ALLOW_THREADS
;
5668 wxProcess_CloseOutput(_arg0
);
5670 wxPy_END_ALLOW_THREADS
;
5671 } Py_INCREF(Py_None
);
5672 _resultobj
= Py_None
;
5676 static void *SwigwxJoystickTowxObject(void *ptr
) {
5679 src
= (wxJoystick
*) ptr
;
5680 dest
= (wxObject
*) src
;
5681 return (void *) dest
;
5684 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
5685 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
* _resultobj
;
5687 wxJoystick
* _result
;
5688 int _arg0
= (int ) wxJOYSTICK1
;
5689 char *_kwnames
[] = { "joystick", NULL
};
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
5696 wxPy_BEGIN_ALLOW_THREADS
;
5697 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
5699 wxPy_END_ALLOW_THREADS
;
5701 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
5702 _resultobj
= Py_BuildValue("s",_ptemp
);
5705 _resultobj
= Py_None
;
5710 #define delete_wxJoystick(_swigobj) (delete _swigobj)
5711 static PyObject
*_wrap_delete_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
* _resultobj
;
5714 PyObject
* _argo0
= 0;
5715 char *_kwnames
[] = { "self", NULL
};
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxJoystick",_kwnames
,&_argo0
))
5721 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5722 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5723 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxJoystick. Expected _wxJoystick_p.");
5728 wxPy_BEGIN_ALLOW_THREADS
;
5729 delete_wxJoystick(_arg0
);
5731 wxPy_END_ALLOW_THREADS
;
5732 } Py_INCREF(Py_None
);
5733 _resultobj
= Py_None
;
5737 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
5738 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5739 PyObject
* _resultobj
;
5742 PyObject
* _argo0
= 0;
5743 char *_kwnames
[] = { "self", NULL
};
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
5750 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5751 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5752 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
5757 wxPy_BEGIN_ALLOW_THREADS
;
5758 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
5760 wxPy_END_ALLOW_THREADS
;
5761 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5762 _resultobj
= Py_BuildValue("s",_ptemp
);
5766 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
5767 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5768 PyObject
* _resultobj
;
5771 PyObject
* _argo0
= 0;
5772 char *_kwnames
[] = { "self", NULL
};
5775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
5778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
5785 wxPy_BEGIN_ALLOW_THREADS
;
5786 _result
= (int )wxJoystick_GetZPosition(_arg0
);
5788 wxPy_END_ALLOW_THREADS
;
5789 } _resultobj
= Py_BuildValue("i",_result
);
5793 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
5794 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
* _resultobj
;
5798 PyObject
* _argo0
= 0;
5799 char *_kwnames
[] = { "self", NULL
};
5802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
5805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
5812 wxPy_BEGIN_ALLOW_THREADS
;
5813 _result
= (int )wxJoystick_GetButtonState(_arg0
);
5815 wxPy_END_ALLOW_THREADS
;
5816 } _resultobj
= Py_BuildValue("i",_result
);
5820 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
5821 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5822 PyObject
* _resultobj
;
5825 PyObject
* _argo0
= 0;
5826 char *_kwnames
[] = { "self", NULL
};
5829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
5832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
5839 wxPy_BEGIN_ALLOW_THREADS
;
5840 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
5842 wxPy_END_ALLOW_THREADS
;
5843 } _resultobj
= Py_BuildValue("i",_result
);
5847 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
5848 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5849 PyObject
* _resultobj
;
5852 PyObject
* _argo0
= 0;
5853 char *_kwnames
[] = { "self", NULL
};
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
5859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
5866 wxPy_BEGIN_ALLOW_THREADS
;
5867 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
5869 wxPy_END_ALLOW_THREADS
;
5870 } _resultobj
= Py_BuildValue("i",_result
);
5874 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
5875 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
* _resultobj
;
5879 PyObject
* _argo0
= 0;
5880 char *_kwnames
[] = { "self", NULL
};
5883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
5886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
5893 wxPy_BEGIN_ALLOW_THREADS
;
5894 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
5896 wxPy_END_ALLOW_THREADS
;
5897 } _resultobj
= Py_BuildValue("i",_result
);
5901 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
5902 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5903 PyObject
* _resultobj
;
5906 PyObject
* _argo0
= 0;
5907 char *_kwnames
[] = { "self", NULL
};
5910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
5913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
5920 wxPy_BEGIN_ALLOW_THREADS
;
5921 _result
= (int )wxJoystick_GetUPosition(_arg0
);
5923 wxPy_END_ALLOW_THREADS
;
5924 } _resultobj
= Py_BuildValue("i",_result
);
5928 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
5929 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5930 PyObject
* _resultobj
;
5933 PyObject
* _argo0
= 0;
5934 char *_kwnames
[] = { "self", NULL
};
5937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
5940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
5947 wxPy_BEGIN_ALLOW_THREADS
;
5948 _result
= (int )wxJoystick_GetVPosition(_arg0
);
5950 wxPy_END_ALLOW_THREADS
;
5951 } _resultobj
= Py_BuildValue("i",_result
);
5955 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
5956 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
* _resultobj
;
5960 PyObject
* _argo0
= 0;
5961 char *_kwnames
[] = { "self", NULL
};
5964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
5967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
5974 wxPy_BEGIN_ALLOW_THREADS
;
5975 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
5977 wxPy_END_ALLOW_THREADS
;
5978 } _resultobj
= Py_BuildValue("i",_result
);
5982 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
5983 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
* _resultobj
;
5987 PyObject
* _argo0
= 0;
5988 char *_kwnames
[] = { "self","threshold", NULL
};
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
5994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
6001 wxPy_BEGIN_ALLOW_THREADS
;
6002 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
6004 wxPy_END_ALLOW_THREADS
;
6005 } Py_INCREF(Py_None
);
6006 _resultobj
= Py_None
;
6010 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
6011 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
* _resultobj
;
6015 PyObject
* _argo0
= 0;
6016 char *_kwnames
[] = { "self", NULL
};
6019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
6022 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6023 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6024 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
6029 wxPy_BEGIN_ALLOW_THREADS
;
6030 _result
= (bool )wxJoystick_IsOk(_arg0
);
6032 wxPy_END_ALLOW_THREADS
;
6033 } _resultobj
= Py_BuildValue("i",_result
);
6037 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
6038 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6039 PyObject
* _resultobj
;
6042 PyObject
* _argo0
= 0;
6043 char *_kwnames
[] = { "self", NULL
};
6046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
6049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
6056 wxPy_BEGIN_ALLOW_THREADS
;
6057 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
6059 wxPy_END_ALLOW_THREADS
;
6060 } _resultobj
= Py_BuildValue("i",_result
);
6064 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
6065 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6066 PyObject
* _resultobj
;
6069 PyObject
* _argo0
= 0;
6070 char *_kwnames
[] = { "self", NULL
};
6073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
6076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
6083 wxPy_BEGIN_ALLOW_THREADS
;
6084 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
6086 wxPy_END_ALLOW_THREADS
;
6087 } _resultobj
= Py_BuildValue("i",_result
);
6091 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
6092 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6093 PyObject
* _resultobj
;
6096 PyObject
* _argo0
= 0;
6097 char *_kwnames
[] = { "self", NULL
};
6100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
6103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
6110 wxPy_BEGIN_ALLOW_THREADS
;
6111 _result
= (int )wxJoystick_GetProductId(_arg0
);
6113 wxPy_END_ALLOW_THREADS
;
6114 } _resultobj
= Py_BuildValue("i",_result
);
6118 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
6119 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
* _resultobj
;
6123 PyObject
* _argo0
= 0;
6124 char *_kwnames
[] = { "self", NULL
};
6127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
6130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
6137 wxPy_BEGIN_ALLOW_THREADS
;
6138 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
6140 wxPy_END_ALLOW_THREADS
;
6142 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
6150 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
6151 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6152 PyObject
* _resultobj
;
6155 PyObject
* _argo0
= 0;
6156 char *_kwnames
[] = { "self", NULL
};
6159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
6162 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6163 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6164 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
6169 wxPy_BEGIN_ALLOW_THREADS
;
6170 _result
= (int )wxJoystick_GetXMin(_arg0
);
6172 wxPy_END_ALLOW_THREADS
;
6173 } _resultobj
= Py_BuildValue("i",_result
);
6177 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6178 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6179 PyObject
* _resultobj
;
6182 PyObject
* _argo0
= 0;
6183 char *_kwnames
[] = { "self", NULL
};
6186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6189 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6190 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6191 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6196 wxPy_BEGIN_ALLOW_THREADS
;
6197 _result
= (int )wxJoystick_GetYMin(_arg0
);
6199 wxPy_END_ALLOW_THREADS
;
6200 } _resultobj
= Py_BuildValue("i",_result
);
6204 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6205 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6206 PyObject
* _resultobj
;
6209 PyObject
* _argo0
= 0;
6210 char *_kwnames
[] = { "self", NULL
};
6213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6216 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6217 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6218 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6223 wxPy_BEGIN_ALLOW_THREADS
;
6224 _result
= (int )wxJoystick_GetZMin(_arg0
);
6226 wxPy_END_ALLOW_THREADS
;
6227 } _resultobj
= Py_BuildValue("i",_result
);
6231 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6232 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6233 PyObject
* _resultobj
;
6236 PyObject
* _argo0
= 0;
6237 char *_kwnames
[] = { "self", NULL
};
6240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6243 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6244 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6245 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6250 wxPy_BEGIN_ALLOW_THREADS
;
6251 _result
= (int )wxJoystick_GetXMax(_arg0
);
6253 wxPy_END_ALLOW_THREADS
;
6254 } _resultobj
= Py_BuildValue("i",_result
);
6258 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6259 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
* _resultobj
;
6263 PyObject
* _argo0
= 0;
6264 char *_kwnames
[] = { "self", NULL
};
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6270 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6271 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6272 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6277 wxPy_BEGIN_ALLOW_THREADS
;
6278 _result
= (int )wxJoystick_GetYMax(_arg0
);
6280 wxPy_END_ALLOW_THREADS
;
6281 } _resultobj
= Py_BuildValue("i",_result
);
6285 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6286 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6287 PyObject
* _resultobj
;
6290 PyObject
* _argo0
= 0;
6291 char *_kwnames
[] = { "self", NULL
};
6294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
6297 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6298 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6299 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6304 wxPy_BEGIN_ALLOW_THREADS
;
6305 _result
= (int )wxJoystick_GetZMax(_arg0
);
6307 wxPy_END_ALLOW_THREADS
;
6308 } _resultobj
= Py_BuildValue("i",_result
);
6312 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6313 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
* _resultobj
;
6317 PyObject
* _argo0
= 0;
6318 char *_kwnames
[] = { "self", NULL
};
6321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
6324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
6331 wxPy_BEGIN_ALLOW_THREADS
;
6332 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
6334 wxPy_END_ALLOW_THREADS
;
6335 } _resultobj
= Py_BuildValue("i",_result
);
6339 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
6340 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6341 PyObject
* _resultobj
;
6344 PyObject
* _argo0
= 0;
6345 char *_kwnames
[] = { "self", NULL
};
6348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
6351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
6358 wxPy_BEGIN_ALLOW_THREADS
;
6359 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
6361 wxPy_END_ALLOW_THREADS
;
6362 } _resultobj
= Py_BuildValue("i",_result
);
6366 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
6367 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
* _resultobj
;
6371 PyObject
* _argo0
= 0;
6372 char *_kwnames
[] = { "self", NULL
};
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
6378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
6385 wxPy_BEGIN_ALLOW_THREADS
;
6386 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
6388 wxPy_END_ALLOW_THREADS
;
6389 } _resultobj
= Py_BuildValue("i",_result
);
6393 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
6394 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6395 PyObject
* _resultobj
;
6398 PyObject
* _argo0
= 0;
6399 char *_kwnames
[] = { "self", NULL
};
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
6405 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6406 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6407 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
6412 wxPy_BEGIN_ALLOW_THREADS
;
6413 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
6415 wxPy_END_ALLOW_THREADS
;
6416 } _resultobj
= Py_BuildValue("i",_result
);
6420 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
6421 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6422 PyObject
* _resultobj
;
6425 PyObject
* _argo0
= 0;
6426 char *_kwnames
[] = { "self", NULL
};
6429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
6432 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6433 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
6439 wxPy_BEGIN_ALLOW_THREADS
;
6440 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
6442 wxPy_END_ALLOW_THREADS
;
6443 } _resultobj
= Py_BuildValue("i",_result
);
6447 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
6448 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6449 PyObject
* _resultobj
;
6452 PyObject
* _argo0
= 0;
6453 char *_kwnames
[] = { "self", NULL
};
6456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
6459 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6460 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6461 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
6466 wxPy_BEGIN_ALLOW_THREADS
;
6467 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
6469 wxPy_END_ALLOW_THREADS
;
6470 } _resultobj
= Py_BuildValue("i",_result
);
6474 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
6475 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6476 PyObject
* _resultobj
;
6479 PyObject
* _argo0
= 0;
6480 char *_kwnames
[] = { "self", NULL
};
6483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
6486 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6487 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6488 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
6493 wxPy_BEGIN_ALLOW_THREADS
;
6494 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
6496 wxPy_END_ALLOW_THREADS
;
6497 } _resultobj
= Py_BuildValue("i",_result
);
6501 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
6502 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
* _resultobj
;
6506 PyObject
* _argo0
= 0;
6507 char *_kwnames
[] = { "self", NULL
};
6510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
6513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
6520 wxPy_BEGIN_ALLOW_THREADS
;
6521 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
6523 wxPy_END_ALLOW_THREADS
;
6524 } _resultobj
= Py_BuildValue("i",_result
);
6528 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
6529 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6530 PyObject
* _resultobj
;
6533 PyObject
* _argo0
= 0;
6534 char *_kwnames
[] = { "self", NULL
};
6537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
6540 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6541 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
6547 wxPy_BEGIN_ALLOW_THREADS
;
6548 _result
= (int )wxJoystick_GetUMin(_arg0
);
6550 wxPy_END_ALLOW_THREADS
;
6551 } _resultobj
= Py_BuildValue("i",_result
);
6555 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
6556 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
* _resultobj
;
6560 PyObject
* _argo0
= 0;
6561 char *_kwnames
[] = { "self", NULL
};
6564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
6567 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6568 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6569 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
6574 wxPy_BEGIN_ALLOW_THREADS
;
6575 _result
= (int )wxJoystick_GetUMax(_arg0
);
6577 wxPy_END_ALLOW_THREADS
;
6578 } _resultobj
= Py_BuildValue("i",_result
);
6582 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
6583 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
* _resultobj
;
6587 PyObject
* _argo0
= 0;
6588 char *_kwnames
[] = { "self", NULL
};
6591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
6594 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6595 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6596 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
6601 wxPy_BEGIN_ALLOW_THREADS
;
6602 _result
= (int )wxJoystick_GetVMin(_arg0
);
6604 wxPy_END_ALLOW_THREADS
;
6605 } _resultobj
= Py_BuildValue("i",_result
);
6609 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
6610 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6611 PyObject
* _resultobj
;
6614 PyObject
* _argo0
= 0;
6615 char *_kwnames
[] = { "self", NULL
};
6618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
6621 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6622 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6623 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
6628 wxPy_BEGIN_ALLOW_THREADS
;
6629 _result
= (int )wxJoystick_GetVMax(_arg0
);
6631 wxPy_END_ALLOW_THREADS
;
6632 } _resultobj
= Py_BuildValue("i",_result
);
6636 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
6637 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
* _resultobj
;
6641 PyObject
* _argo0
= 0;
6642 char *_kwnames
[] = { "self", NULL
};
6645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
6648 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6649 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6650 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
6655 wxPy_BEGIN_ALLOW_THREADS
;
6656 _result
= (bool )wxJoystick_HasRudder(_arg0
);
6658 wxPy_END_ALLOW_THREADS
;
6659 } _resultobj
= Py_BuildValue("i",_result
);
6663 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
6664 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6665 PyObject
* _resultobj
;
6668 PyObject
* _argo0
= 0;
6669 char *_kwnames
[] = { "self", NULL
};
6672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
6675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
6682 wxPy_BEGIN_ALLOW_THREADS
;
6683 _result
= (bool )wxJoystick_HasZ(_arg0
);
6685 wxPy_END_ALLOW_THREADS
;
6686 } _resultobj
= Py_BuildValue("i",_result
);
6690 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
6691 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6692 PyObject
* _resultobj
;
6695 PyObject
* _argo0
= 0;
6696 char *_kwnames
[] = { "self", NULL
};
6699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
6702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
6709 wxPy_BEGIN_ALLOW_THREADS
;
6710 _result
= (bool )wxJoystick_HasU(_arg0
);
6712 wxPy_END_ALLOW_THREADS
;
6713 } _resultobj
= Py_BuildValue("i",_result
);
6717 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
6718 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6719 PyObject
* _resultobj
;
6722 PyObject
* _argo0
= 0;
6723 char *_kwnames
[] = { "self", NULL
};
6726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
6729 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6730 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6731 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
6736 wxPy_BEGIN_ALLOW_THREADS
;
6737 _result
= (bool )wxJoystick_HasV(_arg0
);
6739 wxPy_END_ALLOW_THREADS
;
6740 } _resultobj
= Py_BuildValue("i",_result
);
6744 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
6745 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
* _resultobj
;
6749 PyObject
* _argo0
= 0;
6750 char *_kwnames
[] = { "self", NULL
};
6753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
6756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
6763 wxPy_BEGIN_ALLOW_THREADS
;
6764 _result
= (bool )wxJoystick_HasPOV(_arg0
);
6766 wxPy_END_ALLOW_THREADS
;
6767 } _resultobj
= Py_BuildValue("i",_result
);
6771 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
6772 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6773 PyObject
* _resultobj
;
6776 PyObject
* _argo0
= 0;
6777 char *_kwnames
[] = { "self", NULL
};
6780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
6783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
6790 wxPy_BEGIN_ALLOW_THREADS
;
6791 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
6793 wxPy_END_ALLOW_THREADS
;
6794 } _resultobj
= Py_BuildValue("i",_result
);
6798 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
6799 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
* _resultobj
;
6803 PyObject
* _argo0
= 0;
6804 char *_kwnames
[] = { "self", NULL
};
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
6810 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6811 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6812 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
6817 wxPy_BEGIN_ALLOW_THREADS
;
6818 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
6820 wxPy_END_ALLOW_THREADS
;
6821 } _resultobj
= Py_BuildValue("i",_result
);
6825 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
6826 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6827 PyObject
* _resultobj
;
6831 int _arg2
= (int ) 0;
6832 PyObject
* _argo0
= 0;
6833 PyObject
* _argo1
= 0;
6834 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
6837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6840 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6841 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6842 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
6847 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6848 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
6854 wxPy_BEGIN_ALLOW_THREADS
;
6855 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
6857 wxPy_END_ALLOW_THREADS
;
6858 } _resultobj
= Py_BuildValue("i",_result
);
6862 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
6863 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6864 PyObject
* _resultobj
;
6867 PyObject
* _argo0
= 0;
6868 char *_kwnames
[] = { "self", NULL
};
6871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
6874 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6875 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6876 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
6881 wxPy_BEGIN_ALLOW_THREADS
;
6882 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
6884 wxPy_END_ALLOW_THREADS
;
6885 } _resultobj
= Py_BuildValue("i",_result
);
6889 static void *SwigwxWaveTowxObject(void *ptr
) {
6892 src
= (wxWave
*) ptr
;
6893 dest
= (wxObject
*) src
;
6894 return (void *) dest
;
6897 #define new_wxWave(_swigarg0,_swigarg1) (new wxWave(_swigarg0,_swigarg1))
6898 static PyObject
*_wrap_new_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6899 PyObject
* _resultobj
;
6902 bool _arg1
= (bool ) FALSE
;
6903 PyObject
* _obj0
= 0;
6904 int tempbool1
= (int) FALSE
;
6905 char *_kwnames
[] = { "fileName","isResource", NULL
};
6909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:new_wxWave",_kwnames
,&_obj0
,&tempbool1
))
6912 #if PYTHON_API_VERSION >= 1009
6913 char* tmpPtr
; int tmpSize
;
6914 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
6915 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6918 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
6920 _arg0
= new wxString(tmpPtr
, tmpSize
);
6922 if (!PyString_Check(_obj0
)) {
6923 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
6926 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
6929 _arg1
= (bool ) tempbool1
;
6931 wxPy_BEGIN_ALLOW_THREADS
;
6932 _result
= (wxWave
*)new_wxWave(*_arg0
,_arg1
);
6934 wxPy_END_ALLOW_THREADS
;
6936 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWave_p");
6937 _resultobj
= Py_BuildValue("s",_ptemp
);
6940 _resultobj
= Py_None
;
6949 #define delete_wxWave(_swigobj) (delete _swigobj)
6950 static PyObject
*_wrap_delete_wxWave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6951 PyObject
* _resultobj
;
6953 PyObject
* _argo0
= 0;
6954 char *_kwnames
[] = { "self", NULL
};
6957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWave",_kwnames
,&_argo0
))
6960 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6961 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
6962 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWave. Expected _wxWave_p.");
6967 wxPy_BEGIN_ALLOW_THREADS
;
6968 delete_wxWave(_arg0
);
6970 wxPy_END_ALLOW_THREADS
;
6971 } Py_INCREF(Py_None
);
6972 _resultobj
= Py_None
;
6976 #define wxWave_IsOk(_swigobj) (_swigobj->IsOk())
6977 static PyObject
*_wrap_wxWave_IsOk(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:wxWave_IsOk",_kwnames
,&_argo0
))
6988 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6989 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
6990 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_IsOk. Expected _wxWave_p.");
6995 wxPy_BEGIN_ALLOW_THREADS
;
6996 _result
= (bool )wxWave_IsOk(_arg0
);
6998 wxPy_END_ALLOW_THREADS
;
6999 } _resultobj
= Py_BuildValue("i",_result
);
7003 #define wxWave_Play(_swigobj,_swigarg0,_swigarg1) (_swigobj->Play(_swigarg0,_swigarg1))
7004 static PyObject
*_wrap_wxWave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7005 PyObject
* _resultobj
;
7008 bool _arg1
= (bool ) TRUE
;
7009 bool _arg2
= (bool ) FALSE
;
7010 PyObject
* _argo0
= 0;
7011 int tempbool1
= (int) TRUE
;
7012 int tempbool2
= (int) FALSE
;
7013 char *_kwnames
[] = { "self","async","looped", NULL
};
7016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxWave_Play",_kwnames
,&_argo0
,&tempbool1
,&tempbool2
))
7019 if (_argo0
== Py_None
) { _arg0
= NULL
; }
7020 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWave_p")) {
7021 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxWave_Play. Expected _wxWave_p.");
7025 _arg1
= (bool ) tempbool1
;
7026 _arg2
= (bool ) tempbool2
;
7028 wxPy_BEGIN_ALLOW_THREADS
;
7029 _result
= (bool )wxWave_Play(_arg0
,_arg1
,_arg2
);
7031 wxPy_END_ALLOW_THREADS
;
7032 } _resultobj
= Py_BuildValue("i",_result
);
7036 static PyMethodDef misc2cMethods
[] = {
7037 { "wxWave_Play", (PyCFunction
) _wrap_wxWave_Play
, METH_VARARGS
| METH_KEYWORDS
},
7038 { "wxWave_IsOk", (PyCFunction
) _wrap_wxWave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7039 { "delete_wxWave", (PyCFunction
) _wrap_delete_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
7040 { "new_wxWave", (PyCFunction
) _wrap_new_wxWave
, METH_VARARGS
| METH_KEYWORDS
},
7041 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
7042 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
7043 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
7044 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
7045 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
7046 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
7047 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
7048 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
7049 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
7050 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
7051 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
7052 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
7053 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
7054 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
7055 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
7056 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
7057 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
7058 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
7059 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
7060 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
7061 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
7062 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
7063 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
7064 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
7065 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
7066 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
7067 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
7068 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
7069 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
7070 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
7071 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
7072 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7073 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
7074 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
7075 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
7076 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
7077 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
7078 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
7079 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
7080 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
7081 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
7082 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7083 { "delete_wxJoystick", (PyCFunction
) _wrap_delete_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7084 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
7085 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
7086 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
7087 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
7088 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
7089 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
7090 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
7091 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
7092 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
7093 { "wxProcess__setSelf", (PyCFunction
) _wrap_wxProcess__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
7094 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
7095 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
7096 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
7097 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
7098 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
7099 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
7100 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
7101 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
7102 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
7103 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
7104 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
7105 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
7106 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
7107 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
7108 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
7109 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
7110 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
7111 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
7112 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
7113 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
7114 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7115 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7116 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7117 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7118 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7119 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
7120 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
7121 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7122 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
7123 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
7124 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
7125 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
7126 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
7127 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
7128 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
7129 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
7130 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
7131 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
7132 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
7133 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
7134 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
7135 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
7136 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
7137 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
7138 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
7139 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
7140 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
7141 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
7142 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
7143 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
7144 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
7145 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
7146 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
7147 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
7148 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
7149 { "wxDragImage_SetBackingBitmap", (PyCFunction
) _wrap_wxDragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7150 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
7151 { "new_wxDragListItem", (PyCFunction
) _wrap_new_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
7152 { "new_wxDragTreeItem", (PyCFunction
) _wrap_new_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
7153 { "new_wxDragString", (PyCFunction
) _wrap_new_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
7154 { "new_wxDragIcon", (PyCFunction
) _wrap_new_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
7155 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
7156 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7157 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
7158 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
7159 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7160 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
7161 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
7162 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
7163 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
7164 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7165 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7166 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
7167 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
7168 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
7169 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
7170 { "wxFontEnumerator__setSelf", (PyCFunction
) _wrap_wxFontEnumerator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
7171 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
7172 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
7173 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
7174 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
7175 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
7176 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
7177 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
7178 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
7179 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7180 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
7181 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
7182 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
7183 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
7184 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
7185 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
7186 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
7187 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
7188 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
7189 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
7190 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
7191 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
7192 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
7193 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
7194 { "wxWaveData", (PyCFunction
) _wrap_wxWaveData
, METH_VARARGS
| METH_KEYWORDS
},
7195 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
7196 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
7197 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
7198 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
7199 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
7200 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
7201 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
7202 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
7203 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
7204 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
7205 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
7206 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
7207 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
7208 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
7209 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
7210 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
7211 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
7212 { "wxWakeUpMainThread", (PyCFunction
) _wrap_wxWakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
7213 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
7214 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
7215 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
7216 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
7217 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
7218 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
7219 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
7220 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
7221 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
7222 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
7223 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
7224 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
7225 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
7226 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
7227 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
7228 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
7229 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
7230 { "wxFlushEvents", (PyCFunction
) _wrap_wxFlushEvents
, METH_VARARGS
| METH_KEYWORDS
},
7231 { "wxCheckForInterrupt", (PyCFunction
) _wrap_wxCheckForInterrupt
, METH_VARARGS
| METH_KEYWORDS
},
7232 { "wxFindWindowAtPoint", (PyCFunction
) _wrap_wxFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
7233 { "wxGenericFindWindowAtPoint", (PyCFunction
) _wrap_wxGenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
7234 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
7235 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
7236 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
7237 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
7238 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
7239 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
7240 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
7241 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
7242 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
7243 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
7244 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
7245 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
7246 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
7247 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
7248 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7249 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
7250 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
7251 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
7252 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7253 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
7254 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
7261 * This table is used by the pointer type-checker
7263 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
7264 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
7265 { "_signed_long","_long",0},
7266 { "_wxPrintQuality","_wxCoord",0},
7267 { "_wxPrintQuality","_int",0},
7268 { "_wxPrintQuality","_signed_int",0},
7269 { "_wxPrintQuality","_unsigned_int",0},
7270 { "_wxPrintQuality","_wxWindowID",0},
7271 { "_wxPrintQuality","_uint",0},
7272 { "_wxPrintQuality","_EBool",0},
7273 { "_wxPrintQuality","_size_t",0},
7274 { "_wxPrintQuality","_time_t",0},
7275 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
7276 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
7277 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7278 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
7279 { "_byte","_unsigned_char",0},
7280 { "_long","_unsigned_long",0},
7281 { "_long","_signed_long",0},
7282 { "_size_t","_wxCoord",0},
7283 { "_size_t","_wxPrintQuality",0},
7284 { "_size_t","_time_t",0},
7285 { "_size_t","_unsigned_int",0},
7286 { "_size_t","_int",0},
7287 { "_size_t","_wxWindowID",0},
7288 { "_size_t","_uint",0},
7289 { "_uint","_wxCoord",0},
7290 { "_uint","_wxPrintQuality",0},
7291 { "_uint","_time_t",0},
7292 { "_uint","_size_t",0},
7293 { "_uint","_unsigned_int",0},
7294 { "_uint","_int",0},
7295 { "_uint","_wxWindowID",0},
7296 { "_wxChar","_char",0},
7297 { "_char","_wxChar",0},
7298 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
7299 { "_EBool","_wxCoord",0},
7300 { "_EBool","_wxPrintQuality",0},
7301 { "_EBool","_signed_int",0},
7302 { "_EBool","_int",0},
7303 { "_EBool","_wxWindowID",0},
7304 { "_unsigned_long","_long",0},
7305 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
7306 { "_signed_int","_wxCoord",0},
7307 { "_signed_int","_wxPrintQuality",0},
7308 { "_signed_int","_EBool",0},
7309 { "_signed_int","_wxWindowID",0},
7310 { "_signed_int","_int",0},
7311 { "_WXTYPE","_short",0},
7312 { "_WXTYPE","_signed_short",0},
7313 { "_WXTYPE","_unsigned_short",0},
7314 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7315 { "_unsigned_short","_WXTYPE",0},
7316 { "_unsigned_short","_short",0},
7317 { "_wxObject","_wxWave",SwigwxWaveTowxObject
},
7318 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
7319 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
7320 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
7321 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
7322 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
7323 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
7324 { "_signed_short","_WXTYPE",0},
7325 { "_signed_short","_short",0},
7326 { "_unsigned_char","_byte",0},
7327 { "_unsigned_int","_wxCoord",0},
7328 { "_unsigned_int","_wxPrintQuality",0},
7329 { "_unsigned_int","_time_t",0},
7330 { "_unsigned_int","_size_t",0},
7331 { "_unsigned_int","_uint",0},
7332 { "_unsigned_int","_wxWindowID",0},
7333 { "_unsigned_int","_int",0},
7334 { "_short","_WXTYPE",0},
7335 { "_short","_unsigned_short",0},
7336 { "_short","_signed_short",0},
7337 { "_wxWindowID","_wxCoord",0},
7338 { "_wxWindowID","_wxPrintQuality",0},
7339 { "_wxWindowID","_time_t",0},
7340 { "_wxWindowID","_size_t",0},
7341 { "_wxWindowID","_EBool",0},
7342 { "_wxWindowID","_uint",0},
7343 { "_wxWindowID","_int",0},
7344 { "_wxWindowID","_signed_int",0},
7345 { "_wxWindowID","_unsigned_int",0},
7346 { "_int","_wxCoord",0},
7347 { "_int","_wxPrintQuality",0},
7348 { "_int","_time_t",0},
7349 { "_int","_size_t",0},
7350 { "_int","_EBool",0},
7351 { "_int","_uint",0},
7352 { "_int","_wxWindowID",0},
7353 { "_int","_unsigned_int",0},
7354 { "_int","_signed_int",0},
7355 { "_time_t","_wxCoord",0},
7356 { "_time_t","_wxPrintQuality",0},
7357 { "_time_t","_unsigned_int",0},
7358 { "_time_t","_int",0},
7359 { "_time_t","_wxWindowID",0},
7360 { "_time_t","_uint",0},
7361 { "_time_t","_size_t",0},
7362 { "_wxCoord","_int",0},
7363 { "_wxCoord","_signed_int",0},
7364 { "_wxCoord","_unsigned_int",0},
7365 { "_wxCoord","_wxWindowID",0},
7366 { "_wxCoord","_uint",0},
7367 { "_wxCoord","_EBool",0},
7368 { "_wxCoord","_size_t",0},
7369 { "_wxCoord","_time_t",0},
7370 { "_wxCoord","_wxPrintQuality",0},
7371 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7374 static PyObject
*SWIG_globals
;
7378 SWIGEXPORT(void) initmisc2c() {
7380 SWIG_globals
= SWIG_newvarlink();
7381 m
= Py_InitModule("misc2c", misc2cMethods
);
7382 d
= PyModule_GetDict(m
);
7383 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
7384 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
7385 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
7386 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
7387 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
7388 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
7389 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
7390 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
7391 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
7392 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
7393 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
7394 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
7395 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
7396 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
7397 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
7398 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
7399 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
7400 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
7401 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
7402 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
7403 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
7404 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
7405 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
7406 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
7407 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
7408 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
7409 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
7410 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
7411 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
7412 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
7413 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
7414 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
7415 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
7416 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
7417 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
7418 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
7419 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
7420 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
7421 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
7422 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
7423 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
7424 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
7425 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
7426 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
7427 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
7428 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
7429 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
7430 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
7431 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
7432 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
7433 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
7434 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
7435 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
7436 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
7437 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
7438 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
7439 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
7440 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
7441 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
7442 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
7443 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
7444 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
7445 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
7446 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
7447 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
7448 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
7449 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
7450 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
7451 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
7452 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
7453 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
7454 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
7455 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
7456 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
7457 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
7458 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
7459 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
7460 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
7461 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
7462 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
7463 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
7464 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
7465 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
7466 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
7467 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
7468 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
7469 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
7470 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
7471 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
7472 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
7473 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
7474 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
7475 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
7476 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
7477 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
7478 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
7479 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
7481 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
7482 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
7483 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
7486 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7487 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);