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 #include <wx/joystick.h>
69 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
73 } else if (target
== Py_None
) {
77 if (!PyList_Check(target
)) {
79 target
= PyList_New(0);
80 PyList_Append(target
, o2
);
83 PyList_Append(target
,o
);
89 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
95 } else if (target
== Py_None
) {
99 if (!PyTuple_Check(target
)) {
101 target
= PyTuple_New(1);
102 PyTuple_SetItem(target
, 0, o2
);
105 PyTuple_SetItem(o3
, 0, o
);
108 target
= PySequence_Concat(o2
, o3
);
115 #if PYTHON_API_VERSION >= 1009
116 static char* wxStringErrorMsg
= "String or Unicode type required";
118 static char* wxStringErrorMsg
= "string type is required for parameter";
121 static wxString
wxPyEmptyStr("");
124 wxColour
wxSystemSettings_GetSystemColour(int index
) {
125 return wxSystemSettings::GetSystemColour(index
);
128 wxFont
wxSystemSettings_GetSystemFont(int index
) {
129 return wxSystemSettings::GetSystemFont(index
);
132 int wxSystemSettings_GetSystemMetric(int index
) {
133 return wxSystemSettings::GetSystemMetric(index
);
136 void wxToolTip_Enable(bool flag
) {
137 wxToolTip::Enable(flag
);
140 void wxToolTip_SetDelay(long milliseconds
) {
141 wxToolTip::SetDelay(milliseconds
);
144 int wxCaret_GetBlinkTime() {
145 return wxCaret::GetBlinkTime();
148 void wxCaret_SetBlinkTime(int milliseconds
) {
149 wxCaret::SetBlinkTime(milliseconds
);
152 class wxPyFontEnumerator
: public wxFontEnumerator
{
154 wxPyFontEnumerator() {}
155 ~wxPyFontEnumerator() {}
157 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
158 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
163 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
164 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
167 bool wxThread_IsMain() {
168 return wxThread::IsMain();
171 class wxPyTipProvider
: public wxTipProvider
{
173 wxPyTipProvider(size_t currentTip
)
174 : wxTipProvider(currentTip
) {}
176 DEC_PYCALLBACK_STRING__pure(GetTip
);
181 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
184 #include <wx/generic/dragimgg.h>
185 static wxPoint wxPyNullPoint
;
188 wxGenericDragImage
* wxDragIcon(const wxIcon
& image
,
189 const wxCursor
& cursor
,
190 const wxPoint
& hotspot
) {
191 return new wxGenericDragImage(image
, cursor
, hotspot
);
194 wxGenericDragImage
* wxDragString(const wxString
& str
,
195 const wxCursor
& cursor
,
196 const wxPoint
& hotspot
) {
197 return new wxGenericDragImage(str
, cursor
, hotspot
);
200 wxGenericDragImage
* wxDragTreeItem(const wxTreeCtrl
& treeCtrl
, wxTreeItemId
& id
) {
201 return new wxGenericDragImage(treeCtrl
, id
);
204 wxGenericDragImage
* wxDragListItem(const wxListCtrl
& listCtrl
, long id
) {
205 return new wxGenericDragImage(listCtrl
, id
);
208 // C++ version of wxProcess derived class
210 class wxPyProcess
: public wxProcess
{
212 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
213 : wxProcess(parent
, id
)
216 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
221 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
225 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
226 PyObject
* _resultobj
;
229 char * _arg1
= (char *) NULL
;
230 char * _arg2
= (char *) NULL
;
231 char * _arg3
= (char *) NULL
;
232 char * _arg4
= (char *) "*.*";
233 int _arg5
= (int ) 0;
234 wxWindow
* _arg6
= (wxWindow
*) NULL
;
235 int _arg7
= (int ) -1;
236 int _arg8
= (int ) -1;
237 PyObject
* _argo6
= 0;
238 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|ssssiOii:wxFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
244 if (_argo6
== Py_None
) { _arg6
= NULL
; }
245 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
246 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
251 wxPy_BEGIN_ALLOW_THREADS
;
252 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
254 wxPy_END_ALLOW_THREADS
;
256 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
264 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
265 PyObject
* _resultobj
;
268 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
269 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
270 wxWindow
* _arg3
= (wxWindow
*) NULL
;
271 int _arg4
= (int ) -1;
272 int _arg5
= (int ) -1;
273 bool _arg6
= (bool ) TRUE
;
274 PyObject
* _obj0
= 0;
275 PyObject
* _obj1
= 0;
276 PyObject
* _obj2
= 0;
277 PyObject
* _argo3
= 0;
278 int tempbool6
= (int) TRUE
;
279 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
285 #if PYTHON_API_VERSION >= 1009
286 char* tmpPtr
; int tmpSize
;
287 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
288 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
291 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
293 _arg0
= new wxString(tmpPtr
, tmpSize
);
295 if (!PyString_Check(_obj0
)) {
296 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
299 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
304 #if PYTHON_API_VERSION >= 1009
305 char* tmpPtr
; int tmpSize
;
306 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
307 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
310 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
312 _arg1
= new wxString(tmpPtr
, tmpSize
);
314 if (!PyString_Check(_obj1
)) {
315 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
318 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
323 #if PYTHON_API_VERSION >= 1009
324 char* tmpPtr
; int tmpSize
;
325 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
326 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
329 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
331 _arg2
= new wxString(tmpPtr
, tmpSize
);
333 if (!PyString_Check(_obj2
)) {
334 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
337 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
341 if (_argo3
== Py_None
) { _arg3
= NULL
; }
342 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
343 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
347 _arg6
= (bool ) tempbool6
;
349 wxPy_BEGIN_ALLOW_THREADS
;
350 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
352 wxPy_END_ALLOW_THREADS
;
354 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
374 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
375 PyObject
* _resultobj
;
378 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
379 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
380 wxWindow
* _arg3
= (wxWindow
*) NULL
;
381 PyObject
* _obj0
= 0;
382 PyObject
* _obj1
= 0;
383 PyObject
* _obj2
= 0;
384 PyObject
* _argo3
= 0;
385 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
391 #if PYTHON_API_VERSION >= 1009
392 char* tmpPtr
; int tmpSize
;
393 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
394 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
397 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
399 _arg0
= new wxString(tmpPtr
, tmpSize
);
401 if (!PyString_Check(_obj0
)) {
402 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
405 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
410 #if PYTHON_API_VERSION >= 1009
411 char* tmpPtr
; int tmpSize
;
412 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
413 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
416 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
418 _arg1
= new wxString(tmpPtr
, tmpSize
);
420 if (!PyString_Check(_obj1
)) {
421 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
424 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
429 #if PYTHON_API_VERSION >= 1009
430 char* tmpPtr
; int tmpSize
;
431 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
432 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
435 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
437 _arg2
= new wxString(tmpPtr
, tmpSize
);
439 if (!PyString_Check(_obj2
)) {
440 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
443 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
447 if (_argo3
== Py_None
) { _arg3
= NULL
; }
448 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
454 wxPy_BEGIN_ALLOW_THREADS
;
455 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
457 wxPy_END_ALLOW_THREADS
;
459 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
479 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
480 PyObject
* _resultobj
;
486 wxWindow
* _arg4
= (wxWindow
*) NULL
;
487 int _arg5
= (int ) -1;
488 int _arg6
= (int ) -1;
489 bool _arg7
= (bool ) TRUE
;
490 int _arg8
= (int ) 150;
491 int _arg9
= (int ) 200;
492 PyObject
* _obj0
= 0;
493 PyObject
* _obj1
= 0;
494 PyObject
* _obj3
= 0;
495 PyObject
* _argo4
= 0;
496 int tempbool7
= (int) TRUE
;
497 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
503 #if PYTHON_API_VERSION >= 1009
504 char* tmpPtr
; int tmpSize
;
505 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
506 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
509 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
511 _arg0
= new wxString(tmpPtr
, tmpSize
);
513 if (!PyString_Check(_obj0
)) {
514 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
517 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
521 #if PYTHON_API_VERSION >= 1009
522 char* tmpPtr
; int tmpSize
;
523 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
524 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
527 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
529 _arg1
= new wxString(tmpPtr
, tmpSize
);
531 if (!PyString_Check(_obj1
)) {
532 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
535 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
540 _arg3
= wxString_LIST_helper(_obj3
);
546 if (_argo4
== Py_None
) { _arg4
= NULL
; }
547 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
548 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
552 _arg7
= (bool ) tempbool7
;
555 _arg2
= PyList_Size(_obj3
);
562 wxPy_BEGIN_ALLOW_THREADS
;
563 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
565 wxPy_END_ALLOW_THREADS
;
567 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
586 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
587 PyObject
* _resultobj
;
593 wxWindow
* _arg4
= (wxWindow
*) NULL
;
594 int _arg5
= (int ) -1;
595 int _arg6
= (int ) -1;
596 bool _arg7
= (bool ) TRUE
;
597 int _arg8
= (int ) 150;
598 int _arg9
= (int ) 200;
599 PyObject
* _obj0
= 0;
600 PyObject
* _obj1
= 0;
601 PyObject
* _obj3
= 0;
602 PyObject
* _argo4
= 0;
603 int tempbool7
= (int) TRUE
;
604 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
610 #if PYTHON_API_VERSION >= 1009
611 char* tmpPtr
; int tmpSize
;
612 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
613 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
616 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
618 _arg0
= new wxString(tmpPtr
, tmpSize
);
620 if (!PyString_Check(_obj0
)) {
621 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
624 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
628 #if PYTHON_API_VERSION >= 1009
629 char* tmpPtr
; int tmpSize
;
630 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
631 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
634 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
636 _arg1
= new wxString(tmpPtr
, tmpSize
);
638 if (!PyString_Check(_obj1
)) {
639 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
642 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
647 _arg3
= wxString_LIST_helper(_obj3
);
653 if (_argo4
== Py_None
) { _arg4
= NULL
; }
654 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
659 _arg7
= (bool ) tempbool7
;
662 _arg2
= PyList_Size(_obj3
);
669 wxPy_BEGIN_ALLOW_THREADS
;
670 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
672 wxPy_END_ALLOW_THREADS
;
673 } _resultobj
= Py_BuildValue("i",_result
);
688 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
689 PyObject
* _resultobj
;
692 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
693 int _arg2
= (int ) wxOK
|wxCENTRE
;
694 wxWindow
* _arg3
= (wxWindow
*) NULL
;
695 int _arg4
= (int ) -1;
696 int _arg5
= (int ) -1;
697 PyObject
* _obj0
= 0;
698 PyObject
* _obj1
= 0;
699 PyObject
* _argo3
= 0;
700 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
706 #if PYTHON_API_VERSION >= 1009
707 char* tmpPtr
; int tmpSize
;
708 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
709 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
712 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
714 _arg0
= new wxString(tmpPtr
, tmpSize
);
716 if (!PyString_Check(_obj0
)) {
717 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
720 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
725 #if PYTHON_API_VERSION >= 1009
726 char* tmpPtr
; int tmpSize
;
727 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
728 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
731 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
733 _arg1
= new wxString(tmpPtr
, tmpSize
);
735 if (!PyString_Check(_obj1
)) {
736 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
739 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
743 if (_argo3
== Py_None
) { _arg3
= NULL
; }
744 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
745 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
750 wxPy_BEGIN_ALLOW_THREADS
;
751 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
753 wxPy_END_ALLOW_THREADS
;
754 } _resultobj
= Py_BuildValue("i",_result
);
766 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
767 PyObject
* _resultobj
;
773 long _arg4
= (long ) 0;
774 long _arg5
= (long ) 100;
775 wxWindow
* _arg6
= (wxWindow
*) NULL
;
776 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
777 PyObject
* _obj0
= 0;
778 PyObject
* _obj1
= 0;
779 PyObject
* _obj2
= 0;
780 PyObject
* _argo6
= 0;
782 PyObject
* _obj7
= 0;
783 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
789 #if PYTHON_API_VERSION >= 1009
790 char* tmpPtr
; int tmpSize
;
791 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
792 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
795 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
797 _arg0
= new wxString(tmpPtr
, tmpSize
);
799 if (!PyString_Check(_obj0
)) {
800 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
803 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
807 #if PYTHON_API_VERSION >= 1009
808 char* tmpPtr
; int tmpSize
;
809 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
810 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
813 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
815 _arg1
= new wxString(tmpPtr
, tmpSize
);
817 if (!PyString_Check(_obj1
)) {
818 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
821 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
825 #if PYTHON_API_VERSION >= 1009
826 char* tmpPtr
; int tmpSize
;
827 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
828 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
831 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
833 _arg2
= new wxString(tmpPtr
, tmpSize
);
835 if (!PyString_Check(_obj2
)) {
836 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
839 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
843 if (_argo6
== Py_None
) { _arg6
= NULL
; }
844 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
852 if (! wxPoint_helper(_obj7
, &_arg7
))
856 wxPy_BEGIN_ALLOW_THREADS
;
857 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
859 wxPy_END_ALLOW_THREADS
;
860 } _resultobj
= Py_BuildValue("l",_result
);
876 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
877 PyObject
* _resultobj
;
879 char *_kwnames
[] = { NULL
};
882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
885 wxPy_BEGIN_ALLOW_THREADS
;
886 _result
= (bool )wxColourDisplay();
888 wxPy_END_ALLOW_THREADS
;
889 } _resultobj
= Py_BuildValue("i",_result
);
893 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
894 PyObject
* _resultobj
;
896 char *_kwnames
[] = { NULL
};
899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
902 wxPy_BEGIN_ALLOW_THREADS
;
903 _result
= (int )wxDisplayDepth();
905 wxPy_END_ALLOW_THREADS
;
906 } _resultobj
= Py_BuildValue("i",_result
);
910 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
911 PyObject
* _resultobj
;
913 char *_kwnames
[] = { NULL
};
916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
919 wxPy_BEGIN_ALLOW_THREADS
;
920 _result
= (int )wxGetDisplayDepth();
922 wxPy_END_ALLOW_THREADS
;
923 } _resultobj
= Py_BuildValue("i",_result
);
927 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
928 PyObject
* _resultobj
;
933 char *_kwnames
[] = { NULL
};
942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
945 wxPy_BEGIN_ALLOW_THREADS
;
946 wxDisplaySize(_arg0
,_arg1
);
948 wxPy_END_ALLOW_THREADS
;
949 } Py_INCREF(Py_None
);
950 _resultobj
= Py_None
;
953 o
= PyInt_FromLong((long) (*_arg0
));
954 _resultobj
= t_output_helper(_resultobj
, o
);
958 o
= PyInt_FromLong((long) (*_arg1
));
959 _resultobj
= t_output_helper(_resultobj
, o
);
964 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
965 PyObject
* _resultobj
;
967 char *_kwnames
[] = { NULL
};
971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
974 wxPy_BEGIN_ALLOW_THREADS
;
975 _result
= new wxSize (wxGetDisplaySize());
977 wxPy_END_ALLOW_THREADS
;
978 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
979 _resultobj
= Py_BuildValue("s",_ptemp
);
983 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
984 PyObject
* _resultobj
;
989 char *_kwnames
[] = { NULL
};
998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
1001 wxPy_BEGIN_ALLOW_THREADS
;
1002 wxDisplaySizeMM(_arg0
,_arg1
);
1004 wxPy_END_ALLOW_THREADS
;
1005 } Py_INCREF(Py_None
);
1006 _resultobj
= Py_None
;
1009 o
= PyInt_FromLong((long) (*_arg0
));
1010 _resultobj
= t_output_helper(_resultobj
, o
);
1014 o
= PyInt_FromLong((long) (*_arg1
));
1015 _resultobj
= t_output_helper(_resultobj
, o
);
1020 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1021 PyObject
* _resultobj
;
1023 char *_kwnames
[] = { NULL
};
1027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1030 wxPy_BEGIN_ALLOW_THREADS
;
1031 _result
= new wxSize (wxGetDisplaySizeMM());
1033 wxPy_END_ALLOW_THREADS
;
1034 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1035 _resultobj
= Py_BuildValue("s",_ptemp
);
1039 static PyObject
*_wrap_wxClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1040 PyObject
* _resultobj
;
1049 char *_kwnames
[] = { NULL
};
1064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxClientDisplayRect",_kwnames
))
1067 wxPy_BEGIN_ALLOW_THREADS
;
1068 wxClientDisplayRect(_arg0
,_arg1
,_arg2
,_arg3
);
1070 wxPy_END_ALLOW_THREADS
;
1071 } Py_INCREF(Py_None
);
1072 _resultobj
= Py_None
;
1075 o
= PyInt_FromLong((long) (*_arg0
));
1076 _resultobj
= t_output_helper(_resultobj
, o
);
1080 o
= PyInt_FromLong((long) (*_arg1
));
1081 _resultobj
= t_output_helper(_resultobj
, o
);
1085 o
= PyInt_FromLong((long) (*_arg2
));
1086 _resultobj
= t_output_helper(_resultobj
, o
);
1090 o
= PyInt_FromLong((long) (*_arg3
));
1091 _resultobj
= t_output_helper(_resultobj
, o
);
1096 static PyObject
*_wrap_wxGetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1097 PyObject
* _resultobj
;
1099 char *_kwnames
[] = { NULL
};
1103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetClientDisplayRect",_kwnames
))
1106 wxPy_BEGIN_ALLOW_THREADS
;
1107 _result
= new wxRect (wxGetClientDisplayRect());
1109 wxPy_END_ALLOW_THREADS
;
1110 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
1111 _resultobj
= Py_BuildValue("s",_ptemp
);
1115 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1116 PyObject
* _resultobj
;
1118 PyObject
* _argo0
= 0;
1119 char *_kwnames
[] = { "cursor", NULL
};
1122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1125 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1126 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1127 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1132 wxPy_BEGIN_ALLOW_THREADS
;
1133 wxSetCursor(*_arg0
);
1135 wxPy_END_ALLOW_THREADS
;
1136 } Py_INCREF(Py_None
);
1137 _resultobj
= Py_None
;
1141 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1142 PyObject
* _resultobj
;
1145 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1146 PyObject
* _obj0
= 0;
1147 PyObject
* _argo1
= 0;
1148 char *_kwnames
[] = { "label","parent", NULL
};
1151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
1154 #if PYTHON_API_VERSION >= 1009
1155 char* tmpPtr
; int tmpSize
;
1156 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1157 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1160 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1162 _arg0
= new wxString(tmpPtr
, tmpSize
);
1164 if (!PyString_Check(_obj0
)) {
1165 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1168 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1172 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1173 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1179 wxPy_BEGIN_ALLOW_THREADS
;
1180 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
1182 wxPy_END_ALLOW_THREADS
;
1183 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1191 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1192 PyObject
* _resultobj
;
1195 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1196 PyObject
* _obj0
= 0;
1197 PyObject
* _argo1
= 0;
1198 char *_kwnames
[] = { "name","parent", NULL
};
1201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1204 #if PYTHON_API_VERSION >= 1009
1205 char* tmpPtr
; int tmpSize
;
1206 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1207 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1210 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1212 _arg0
= new wxString(tmpPtr
, tmpSize
);
1214 if (!PyString_Check(_obj0
)) {
1215 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1218 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1222 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1223 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1224 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1229 wxPy_BEGIN_ALLOW_THREADS
;
1230 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1232 wxPy_END_ALLOW_THREADS
;
1233 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1241 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1242 PyObject
* _resultobj
;
1243 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1244 PyObject
* _argo0
= 0;
1245 char *_kwnames
[] = { "cursor", NULL
};
1248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1251 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1252 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1253 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1258 wxPy_BEGIN_ALLOW_THREADS
;
1259 wxBeginBusyCursor(_arg0
);
1261 wxPy_END_ALLOW_THREADS
;
1262 } Py_INCREF(Py_None
);
1263 _resultobj
= Py_None
;
1267 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1268 PyObject
* _resultobj
;
1270 char *_kwnames
[] = { NULL
};
1273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1276 wxPy_BEGIN_ALLOW_THREADS
;
1277 _result
= (wxWindow
*)wxGetActiveWindow();
1279 wxPy_END_ALLOW_THREADS
;
1280 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1284 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1285 PyObject
* _resultobj
;
1289 char *_kwnames
[] = { "name","value", NULL
};
1292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1295 wxPy_BEGIN_ALLOW_THREADS
;
1296 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1298 wxPy_END_ALLOW_THREADS
;
1299 } _resultobj
= Py_BuildValue("i",_result
);
1303 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1304 PyObject
* _resultobj
;
1305 char *_kwnames
[] = { NULL
};
1308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1311 wxPy_BEGIN_ALLOW_THREADS
;
1314 wxPy_END_ALLOW_THREADS
;
1315 } Py_INCREF(Py_None
);
1316 _resultobj
= Py_None
;
1320 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1321 PyObject
* _resultobj
;
1324 char *_kwnames
[] = { "resource", NULL
};
1328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1331 wxPy_BEGIN_ALLOW_THREADS
;
1332 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1334 wxPy_END_ALLOW_THREADS
;
1335 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1336 _resultobj
= Py_BuildValue("s",_ptemp
);
1340 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1341 PyObject
* _resultobj
;
1344 char *_kwnames
[] = { "resource", NULL
};
1348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1351 wxPy_BEGIN_ALLOW_THREADS
;
1352 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1354 wxPy_END_ALLOW_THREADS
;
1355 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1356 _resultobj
= Py_BuildValue("s",_ptemp
);
1360 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1361 PyObject
* _resultobj
;
1362 wxMenuBar
* _result
;
1364 char *_kwnames
[] = { "resource", NULL
};
1367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1370 wxPy_BEGIN_ALLOW_THREADS
;
1371 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1373 wxPy_END_ALLOW_THREADS
;
1374 }{ _resultobj
= wxPyMake_wxObject(_result
); }
1378 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1379 PyObject
* _resultobj
;
1382 char *_kwnames
[] = { "name", NULL
};
1385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1388 wxPy_BEGIN_ALLOW_THREADS
;
1389 _result
= (int )wxResourceGetIdentifier(_arg0
);
1391 wxPy_END_ALLOW_THREADS
;
1392 } _resultobj
= Py_BuildValue("i",_result
);
1396 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1397 PyObject
* _resultobj
;
1400 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1401 PyObject
* _argo1
= 0;
1402 char *_kwnames
[] = { "resource","table", NULL
};
1405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1408 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1409 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1415 wxPy_BEGIN_ALLOW_THREADS
;
1416 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1418 wxPy_END_ALLOW_THREADS
;
1419 } _resultobj
= Py_BuildValue("i",_result
);
1423 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1424 PyObject
* _resultobj
;
1427 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1428 PyObject
* _argo1
= 0;
1429 char *_kwnames
[] = { "filename","table", NULL
};
1432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1435 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1436 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1442 wxPy_BEGIN_ALLOW_THREADS
;
1443 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1445 wxPy_END_ALLOW_THREADS
;
1446 } _resultobj
= Py_BuildValue("i",_result
);
1450 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1451 PyObject
* _resultobj
;
1454 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1455 PyObject
* _argo1
= 0;
1456 char *_kwnames
[] = { "resource","table", NULL
};
1459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1462 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1463 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1464 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1469 wxPy_BEGIN_ALLOW_THREADS
;
1470 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1472 wxPy_END_ALLOW_THREADS
;
1473 } _resultobj
= Py_BuildValue("i",_result
);
1477 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1478 PyObject
* _resultobj
;
1481 char *_kwnames
[] = { "index", NULL
};
1485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1488 wxPy_BEGIN_ALLOW_THREADS
;
1489 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1491 wxPy_END_ALLOW_THREADS
;
1492 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1493 _resultobj
= Py_BuildValue("s",_ptemp
);
1497 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1498 PyObject
* _resultobj
;
1501 char *_kwnames
[] = { "index", NULL
};
1505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1508 wxPy_BEGIN_ALLOW_THREADS
;
1509 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1511 wxPy_END_ALLOW_THREADS
;
1512 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1513 _resultobj
= Py_BuildValue("s",_ptemp
);
1517 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1518 PyObject
* _resultobj
;
1521 char *_kwnames
[] = { "index", NULL
};
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1527 wxPy_BEGIN_ALLOW_THREADS
;
1528 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1530 wxPy_END_ALLOW_THREADS
;
1531 } _resultobj
= Py_BuildValue("i",_result
);
1535 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1536 PyObject
* _resultobj
;
1539 char *_kwnames
[] = { "flag", NULL
};
1542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
1544 _arg0
= (bool ) tempbool0
;
1546 wxPy_BEGIN_ALLOW_THREADS
;
1547 wxToolTip_Enable(_arg0
);
1549 wxPy_END_ALLOW_THREADS
;
1550 } Py_INCREF(Py_None
);
1551 _resultobj
= Py_None
;
1555 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1556 PyObject
* _resultobj
;
1558 char *_kwnames
[] = { "milliseconds", NULL
};
1561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
1564 wxPy_BEGIN_ALLOW_THREADS
;
1565 wxToolTip_SetDelay(_arg0
);
1567 wxPy_END_ALLOW_THREADS
;
1568 } Py_INCREF(Py_None
);
1569 _resultobj
= Py_None
;
1573 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
* _resultobj
;
1576 char *_kwnames
[] = { NULL
};
1579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1582 wxPy_BEGIN_ALLOW_THREADS
;
1583 _result
= (int )wxCaret_GetBlinkTime();
1585 wxPy_END_ALLOW_THREADS
;
1586 } _resultobj
= Py_BuildValue("i",_result
);
1590 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1591 PyObject
* _resultobj
;
1593 char *_kwnames
[] = { "milliseconds", NULL
};
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1599 wxPy_BEGIN_ALLOW_THREADS
;
1600 wxCaret_SetBlinkTime(_arg0
);
1602 wxPy_END_ALLOW_THREADS
;
1603 } Py_INCREF(Py_None
);
1604 _resultobj
= Py_None
;
1608 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1609 PyObject
* _resultobj
;
1611 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1612 PyObject
* _argo0
= 0;
1613 char *_kwnames
[] = { "win", NULL
};
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1626 wxPy_BEGIN_ALLOW_THREADS
;
1627 _result
= (bool )wxSafeYield(_arg0
);
1629 wxPy_END_ALLOW_THREADS
;
1630 } _resultobj
= Py_BuildValue("i",_result
);
1634 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1635 PyObject
* _resultobj
;
1636 wxEvtHandler
* _arg0
;
1638 PyObject
* _argo0
= 0;
1639 PyObject
* _argo1
= 0;
1640 char *_kwnames
[] = { "dest","event", NULL
};
1643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1653 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1654 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1660 wxPy_BEGIN_ALLOW_THREADS
;
1661 wxPostEvent(_arg0
,*_arg1
);
1663 wxPy_END_ALLOW_THREADS
;
1664 } Py_INCREF(Py_None
);
1665 _resultobj
= Py_None
;
1669 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
* _resultobj
;
1671 char *_kwnames
[] = { NULL
};
1674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1677 wxPy_BEGIN_ALLOW_THREADS
;
1680 wxPy_END_ALLOW_THREADS
;
1681 } Py_INCREF(Py_None
);
1682 _resultobj
= Py_None
;
1686 static PyObject
*_wrap_wxWakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1687 PyObject
* _resultobj
;
1688 char *_kwnames
[] = { NULL
};
1691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpMainThread",_kwnames
))
1694 wxPy_BEGIN_ALLOW_THREADS
;
1695 wxWakeUpMainThread();
1697 wxPy_END_ALLOW_THREADS
;
1698 } Py_INCREF(Py_None
);
1699 _resultobj
= Py_None
;
1703 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1704 PyObject
* _resultobj
;
1705 char *_kwnames
[] = { NULL
};
1708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1711 wxPy_BEGIN_ALLOW_THREADS
;
1714 wxPy_END_ALLOW_THREADS
;
1715 } Py_INCREF(Py_None
);
1716 _resultobj
= Py_None
;
1720 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1721 PyObject
* _resultobj
;
1722 char *_kwnames
[] = { NULL
};
1725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1728 wxPy_BEGIN_ALLOW_THREADS
;
1731 wxPy_END_ALLOW_THREADS
;
1732 } Py_INCREF(Py_None
);
1733 _resultobj
= Py_None
;
1737 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1738 PyObject
* _resultobj
;
1740 char *_kwnames
[] = { NULL
};
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1746 wxPy_BEGIN_ALLOW_THREADS
;
1747 _result
= (bool )wxThread_IsMain();
1749 wxPy_END_ALLOW_THREADS
;
1750 } _resultobj
= Py_BuildValue("i",_result
);
1754 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1755 PyObject
* _resultobj
;
1758 wxTipProvider
* _arg1
;
1759 bool _arg2
= (bool ) TRUE
;
1760 PyObject
* _argo0
= 0;
1761 PyObject
* _argo1
= 0;
1762 int tempbool2
= (int) TRUE
;
1763 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1776 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1777 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1778 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1782 _arg2
= (bool ) tempbool2
;
1784 wxPy_BEGIN_ALLOW_THREADS
;
1785 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1787 wxPy_END_ALLOW_THREADS
;
1788 } _resultobj
= Py_BuildValue("i",_result
);
1792 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
* _resultobj
;
1794 wxTipProvider
* _result
;
1797 PyObject
* _obj0
= 0;
1798 char *_kwnames
[] = { "filename","currentTip", NULL
};
1802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1805 #if PYTHON_API_VERSION >= 1009
1806 char* tmpPtr
; int tmpSize
;
1807 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1808 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1811 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1813 _arg0
= new wxString(tmpPtr
, tmpSize
);
1815 if (!PyString_Check(_obj0
)) {
1816 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1819 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1823 wxPy_BEGIN_ALLOW_THREADS
;
1824 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1826 wxPy_END_ALLOW_THREADS
;
1828 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1829 _resultobj
= Py_BuildValue("s",_ptemp
);
1832 _resultobj
= Py_None
;
1841 static PyObject
*_wrap_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1842 PyObject
* _resultobj
;
1843 wxGenericDragImage
* _result
;
1845 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
1846 wxPoint
* _arg2
= (wxPoint
*) &wxPyNullPoint
;
1847 PyObject
* _argo0
= 0;
1848 PyObject
* _argo1
= 0;
1850 PyObject
* _obj2
= 0;
1851 char *_kwnames
[] = { "image","cursor","hotspot", NULL
};
1855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxDragIcon",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1858 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1859 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1860 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragIcon. Expected _wxIcon_p.");
1865 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1866 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
1867 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragIcon. Expected _wxCursor_p.");
1874 if (! wxPoint_helper(_obj2
, &_arg2
))
1878 wxPy_BEGIN_ALLOW_THREADS
;
1879 _result
= (wxGenericDragImage
*)wxDragIcon(*_arg0
,*_arg1
,*_arg2
);
1881 wxPy_END_ALLOW_THREADS
;
1883 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1884 _resultobj
= Py_BuildValue("s",_ptemp
);
1887 _resultobj
= Py_None
;
1892 static PyObject
*_wrap_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1893 PyObject
* _resultobj
;
1894 wxGenericDragImage
* _result
;
1896 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
1897 wxPoint
* _arg2
= (wxPoint
*) &wxPyNullPoint
;
1898 PyObject
* _obj0
= 0;
1899 PyObject
* _argo1
= 0;
1901 PyObject
* _obj2
= 0;
1902 char *_kwnames
[] = { "str","cursor","hotspot", NULL
};
1906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxDragString",_kwnames
,&_obj0
,&_argo1
,&_obj2
))
1909 #if PYTHON_API_VERSION >= 1009
1910 char* tmpPtr
; int tmpSize
;
1911 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1912 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1915 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1917 _arg0
= new wxString(tmpPtr
, tmpSize
);
1919 if (!PyString_Check(_obj0
)) {
1920 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1923 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1927 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1928 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
1929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragString. Expected _wxCursor_p.");
1936 if (! wxPoint_helper(_obj2
, &_arg2
))
1940 wxPy_BEGIN_ALLOW_THREADS
;
1941 _result
= (wxGenericDragImage
*)wxDragString(*_arg0
,*_arg1
,*_arg2
);
1943 wxPy_END_ALLOW_THREADS
;
1945 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1946 _resultobj
= Py_BuildValue("s",_ptemp
);
1949 _resultobj
= Py_None
;
1958 static PyObject
*_wrap_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1959 PyObject
* _resultobj
;
1960 wxGenericDragImage
* _result
;
1962 wxTreeItemId
* _arg1
;
1963 PyObject
* _argo0
= 0;
1964 PyObject
* _argo1
= 0;
1965 char *_kwnames
[] = { "treeCtrl","id", NULL
};
1969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
1972 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1973 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
1974 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragTreeItem. Expected _wxTreeCtrl_p.");
1979 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1980 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
1981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragTreeItem. Expected _wxTreeItemId_p.");
1986 wxPy_BEGIN_ALLOW_THREADS
;
1987 _result
= (wxGenericDragImage
*)wxDragTreeItem(*_arg0
,*_arg1
);
1989 wxPy_END_ALLOW_THREADS
;
1991 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1992 _resultobj
= Py_BuildValue("s",_ptemp
);
1995 _resultobj
= Py_None
;
2000 static PyObject
*_wrap_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2001 PyObject
* _resultobj
;
2002 wxGenericDragImage
* _result
;
2005 PyObject
* _argo0
= 0;
2006 char *_kwnames
[] = { "listCtrl","id", NULL
};
2010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
2013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragListItem. Expected _wxListCtrl_p.");
2020 wxPy_BEGIN_ALLOW_THREADS
;
2021 _result
= (wxGenericDragImage
*)wxDragListItem(*_arg0
,_arg1
);
2023 wxPy_END_ALLOW_THREADS
;
2025 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
2026 _resultobj
= Py_BuildValue("s",_ptemp
);
2029 _resultobj
= Py_None
;
2034 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2035 PyObject
* _resultobj
;
2036 unsigned long _result
;
2037 char *_kwnames
[] = { NULL
};
2040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
2043 wxPy_BEGIN_ALLOW_THREADS
;
2044 _result
= (unsigned long )wxSysErrorCode();
2046 wxPy_END_ALLOW_THREADS
;
2047 } _resultobj
= Py_BuildValue("l",_result
);
2051 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2052 PyObject
* _resultobj
;
2054 unsigned long _arg0
= (unsigned long ) 0;
2055 char *_kwnames
[] = { "nErrCode", NULL
};
2058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
2061 wxPy_BEGIN_ALLOW_THREADS
;
2062 _result
= (char *)wxSysErrorMsg(_arg0
);
2064 wxPy_END_ALLOW_THREADS
;
2065 } _resultobj
= Py_BuildValue("s", _result
);
2069 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2070 PyObject
* _resultobj
;
2072 char *_kwnames
[] = { "szFormat", NULL
};
2075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
2078 wxPy_BEGIN_ALLOW_THREADS
;
2079 wxLogFatalError(_arg0
);
2081 wxPy_END_ALLOW_THREADS
;
2082 } Py_INCREF(Py_None
);
2083 _resultobj
= Py_None
;
2087 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2088 PyObject
* _resultobj
;
2090 char *_kwnames
[] = { "szFormat", NULL
};
2093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
2096 wxPy_BEGIN_ALLOW_THREADS
;
2099 wxPy_END_ALLOW_THREADS
;
2100 } Py_INCREF(Py_None
);
2101 _resultobj
= Py_None
;
2105 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2106 PyObject
* _resultobj
;
2108 char *_kwnames
[] = { "szFormat", NULL
};
2111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
2114 wxPy_BEGIN_ALLOW_THREADS
;
2115 wxLogWarning(_arg0
);
2117 wxPy_END_ALLOW_THREADS
;
2118 } Py_INCREF(Py_None
);
2119 _resultobj
= Py_None
;
2123 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2124 PyObject
* _resultobj
;
2126 char *_kwnames
[] = { "szFormat", NULL
};
2129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
2132 wxPy_BEGIN_ALLOW_THREADS
;
2133 wxLogMessage(_arg0
);
2135 wxPy_END_ALLOW_THREADS
;
2136 } Py_INCREF(Py_None
);
2137 _resultobj
= Py_None
;
2141 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
* _resultobj
;
2144 char *_kwnames
[] = { "szFormat", NULL
};
2147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
2150 wxPy_BEGIN_ALLOW_THREADS
;
2153 wxPy_END_ALLOW_THREADS
;
2154 } Py_INCREF(Py_None
);
2155 _resultobj
= Py_None
;
2159 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
* _resultobj
;
2162 char *_kwnames
[] = { "szFormat", NULL
};
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
2168 wxPy_BEGIN_ALLOW_THREADS
;
2169 wxLogVerbose(_arg0
);
2171 wxPy_END_ALLOW_THREADS
;
2172 } Py_INCREF(Py_None
);
2173 _resultobj
= Py_None
;
2177 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2178 PyObject
* _resultobj
;
2180 char *_kwnames
[] = { "szFormat", NULL
};
2183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
2186 wxPy_BEGIN_ALLOW_THREADS
;
2189 wxPy_END_ALLOW_THREADS
;
2190 } Py_INCREF(Py_None
);
2191 _resultobj
= Py_None
;
2195 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2196 PyObject
* _resultobj
;
2199 PyObject
* _argo0
= 0;
2200 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
2206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2213 wxPy_BEGIN_ALLOW_THREADS
;
2214 wxLogStatus(_arg0
,_arg1
);
2216 wxPy_END_ALLOW_THREADS
;
2217 } Py_INCREF(Py_None
);
2218 _resultobj
= Py_None
;
2222 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
* _resultobj
;
2225 char *_kwnames
[] = { "szFormat", NULL
};
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2231 wxPy_BEGIN_ALLOW_THREADS
;
2232 wxLogSysError(_arg0
);
2234 wxPy_END_ALLOW_THREADS
;
2235 } Py_INCREF(Py_None
);
2236 _resultobj
= Py_None
;
2240 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2241 PyObject
* _resultobj
;
2244 int _arg1
= (int ) FALSE
;
2245 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2246 PyObject
* _obj0
= 0;
2247 PyObject
* _argo2
= 0;
2248 char *_kwnames
[] = { "command","sync","process", NULL
};
2251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2254 #if PYTHON_API_VERSION >= 1009
2255 char* tmpPtr
; int tmpSize
;
2256 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2257 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2260 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2262 _arg0
= new wxString(tmpPtr
, tmpSize
);
2264 if (!PyString_Check(_obj0
)) {
2265 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2268 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2272 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2273 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2279 wxPy_BEGIN_ALLOW_THREADS
;
2280 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2282 wxPy_END_ALLOW_THREADS
;
2283 } _resultobj
= Py_BuildValue("l",_result
);
2291 static void *SwigwxToolTipTowxObject(void *ptr
) {
2294 src
= (wxToolTip
*) ptr
;
2295 dest
= (wxObject
*) src
;
2296 return (void *) dest
;
2299 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2300 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2301 PyObject
* _resultobj
;
2302 wxToolTip
* _result
;
2304 PyObject
* _obj0
= 0;
2305 char *_kwnames
[] = { "tip", NULL
};
2309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2312 #if PYTHON_API_VERSION >= 1009
2313 char* tmpPtr
; int tmpSize
;
2314 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2315 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2318 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2320 _arg0
= new wxString(tmpPtr
, tmpSize
);
2322 if (!PyString_Check(_obj0
)) {
2323 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2326 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2330 wxPy_BEGIN_ALLOW_THREADS
;
2331 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2333 wxPy_END_ALLOW_THREADS
;
2335 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2336 _resultobj
= Py_BuildValue("s",_ptemp
);
2339 _resultobj
= Py_None
;
2348 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2349 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2350 PyObject
* _resultobj
;
2353 PyObject
* _argo0
= 0;
2354 PyObject
* _obj1
= 0;
2355 char *_kwnames
[] = { "self","tip", NULL
};
2358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
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_SetTip. Expected _wxToolTip_p.");
2368 #if PYTHON_API_VERSION >= 1009
2369 char* tmpPtr
; int tmpSize
;
2370 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2371 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2374 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2376 _arg1
= new wxString(tmpPtr
, tmpSize
);
2378 if (!PyString_Check(_obj1
)) {
2379 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2382 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2386 wxPy_BEGIN_ALLOW_THREADS
;
2387 wxToolTip_SetTip(_arg0
,*_arg1
);
2389 wxPy_END_ALLOW_THREADS
;
2390 } Py_INCREF(Py_None
);
2391 _resultobj
= Py_None
;
2399 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2400 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2401 PyObject
* _resultobj
;
2404 PyObject
* _argo0
= 0;
2405 char *_kwnames
[] = { "self", NULL
};
2408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2411 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2412 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2413 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2418 wxPy_BEGIN_ALLOW_THREADS
;
2419 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2421 wxPy_END_ALLOW_THREADS
;
2423 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2431 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2432 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2433 PyObject
* _resultobj
;
2436 PyObject
* _argo0
= 0;
2437 char *_kwnames
[] = { "self", NULL
};
2440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2450 wxPy_BEGIN_ALLOW_THREADS
;
2451 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2453 wxPy_END_ALLOW_THREADS
;
2454 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2458 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2459 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2460 PyObject
* _resultobj
;
2464 PyObject
* _argo0
= 0;
2466 PyObject
* _obj1
= 0;
2467 char *_kwnames
[] = { "window","size", NULL
};
2471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2474 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2475 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2476 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2482 if (! wxSize_helper(_obj1
, &_arg1
))
2486 wxPy_BEGIN_ALLOW_THREADS
;
2487 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2489 wxPy_END_ALLOW_THREADS
;
2491 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2492 _resultobj
= Py_BuildValue("s",_ptemp
);
2495 _resultobj
= Py_None
;
2500 #define delete_wxCaret(_swigobj) (delete _swigobj)
2501 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2502 PyObject
* _resultobj
;
2504 PyObject
* _argo0
= 0;
2505 char *_kwnames
[] = { "self", NULL
};
2508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2518 wxPy_BEGIN_ALLOW_THREADS
;
2519 delete_wxCaret(_arg0
);
2521 wxPy_END_ALLOW_THREADS
;
2522 } Py_INCREF(Py_None
);
2523 _resultobj
= Py_None
;
2527 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2528 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2529 PyObject
* _resultobj
;
2532 PyObject
* _argo0
= 0;
2533 char *_kwnames
[] = { "self", NULL
};
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2539 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2540 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2541 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2546 wxPy_BEGIN_ALLOW_THREADS
;
2547 _result
= (bool )wxCaret_IsOk(_arg0
);
2549 wxPy_END_ALLOW_THREADS
;
2550 } _resultobj
= Py_BuildValue("i",_result
);
2554 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2555 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
* _resultobj
;
2559 PyObject
* _argo0
= 0;
2560 char *_kwnames
[] = { "self", NULL
};
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2566 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2567 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2568 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2573 wxPy_BEGIN_ALLOW_THREADS
;
2574 _result
= (bool )wxCaret_IsVisible(_arg0
);
2576 wxPy_END_ALLOW_THREADS
;
2577 } _resultobj
= Py_BuildValue("i",_result
);
2581 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2582 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
* _resultobj
;
2589 PyObject
* _argo0
= 0;
2590 char *_kwnames
[] = { "self", NULL
};
2599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2602 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2603 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2609 wxPy_BEGIN_ALLOW_THREADS
;
2610 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2612 wxPy_END_ALLOW_THREADS
;
2613 } Py_INCREF(Py_None
);
2614 _resultobj
= Py_None
;
2617 o
= PyInt_FromLong((long) (*_arg1
));
2618 _resultobj
= t_output_helper(_resultobj
, o
);
2622 o
= PyInt_FromLong((long) (*_arg2
));
2623 _resultobj
= t_output_helper(_resultobj
, o
);
2628 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2629 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2630 PyObject
* _resultobj
;
2633 PyObject
* _argo0
= 0;
2634 char *_kwnames
[] = { "self", NULL
};
2638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2648 wxPy_BEGIN_ALLOW_THREADS
;
2649 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2651 wxPy_END_ALLOW_THREADS
;
2652 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2653 _resultobj
= Py_BuildValue("s",_ptemp
);
2657 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2658 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2659 PyObject
* _resultobj
;
2665 PyObject
* _argo0
= 0;
2666 char *_kwnames
[] = { "self", NULL
};
2675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2678 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2679 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2680 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2685 wxPy_BEGIN_ALLOW_THREADS
;
2686 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2688 wxPy_END_ALLOW_THREADS
;
2689 } Py_INCREF(Py_None
);
2690 _resultobj
= Py_None
;
2693 o
= PyInt_FromLong((long) (*_arg1
));
2694 _resultobj
= t_output_helper(_resultobj
, o
);
2698 o
= PyInt_FromLong((long) (*_arg2
));
2699 _resultobj
= t_output_helper(_resultobj
, o
);
2704 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2705 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2706 PyObject
* _resultobj
;
2709 PyObject
* _argo0
= 0;
2710 char *_kwnames
[] = { "self", NULL
};
2714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2724 wxPy_BEGIN_ALLOW_THREADS
;
2725 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2727 wxPy_END_ALLOW_THREADS
;
2728 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2729 _resultobj
= Py_BuildValue("s",_ptemp
);
2733 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2734 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
* _resultobj
;
2738 PyObject
* _argo0
= 0;
2739 char *_kwnames
[] = { "self", NULL
};
2742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2745 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2746 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2747 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2752 wxPy_BEGIN_ALLOW_THREADS
;
2753 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2755 wxPy_END_ALLOW_THREADS
;
2756 }{ _resultobj
= wxPyMake_wxObject(_result
); }
2760 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2761 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2762 PyObject
* _resultobj
;
2766 PyObject
* _argo0
= 0;
2767 char *_kwnames
[] = { "self","x","y", NULL
};
2770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2780 wxPy_BEGIN_ALLOW_THREADS
;
2781 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2783 wxPy_END_ALLOW_THREADS
;
2784 } Py_INCREF(Py_None
);
2785 _resultobj
= Py_None
;
2789 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2790 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2791 PyObject
* _resultobj
;
2794 PyObject
* _argo0
= 0;
2796 PyObject
* _obj1
= 0;
2797 char *_kwnames
[] = { "self","pt", NULL
};
2800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2803 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2804 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2805 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2811 if (! wxPoint_helper(_obj1
, &_arg1
))
2815 wxPy_BEGIN_ALLOW_THREADS
;
2816 wxCaret_Move(_arg0
,*_arg1
);
2818 wxPy_END_ALLOW_THREADS
;
2819 } Py_INCREF(Py_None
);
2820 _resultobj
= Py_None
;
2824 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2825 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2826 PyObject
* _resultobj
;
2830 PyObject
* _argo0
= 0;
2831 char *_kwnames
[] = { "self","width","height", NULL
};
2834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2837 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2838 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2844 wxPy_BEGIN_ALLOW_THREADS
;
2845 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2847 wxPy_END_ALLOW_THREADS
;
2848 } Py_INCREF(Py_None
);
2849 _resultobj
= Py_None
;
2853 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2854 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2855 PyObject
* _resultobj
;
2858 PyObject
* _argo0
= 0;
2860 PyObject
* _obj1
= 0;
2861 char *_kwnames
[] = { "self","size", NULL
};
2864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2867 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2868 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2869 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2875 if (! wxSize_helper(_obj1
, &_arg1
))
2879 wxPy_BEGIN_ALLOW_THREADS
;
2880 wxCaret_SetSize(_arg0
,*_arg1
);
2882 wxPy_END_ALLOW_THREADS
;
2883 } Py_INCREF(Py_None
);
2884 _resultobj
= Py_None
;
2888 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2889 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2890 PyObject
* _resultobj
;
2892 int _arg1
= (int ) TRUE
;
2893 PyObject
* _argo0
= 0;
2894 char *_kwnames
[] = { "self","show", NULL
};
2897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
2900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2907 wxPy_BEGIN_ALLOW_THREADS
;
2908 wxCaret_Show(_arg0
,_arg1
);
2910 wxPy_END_ALLOW_THREADS
;
2911 } Py_INCREF(Py_None
);
2912 _resultobj
= Py_None
;
2916 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2917 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2918 PyObject
* _resultobj
;
2920 PyObject
* _argo0
= 0;
2921 char *_kwnames
[] = { "self", NULL
};
2924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
2927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
2934 wxPy_BEGIN_ALLOW_THREADS
;
2935 wxCaret_Hide(_arg0
);
2937 wxPy_END_ALLOW_THREADS
;
2938 } Py_INCREF(Py_None
);
2939 _resultobj
= Py_None
;
2943 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
2944 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
* _resultobj
;
2946 wxPyFontEnumerator
* _result
;
2947 char *_kwnames
[] = { NULL
};
2951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
2954 wxPy_BEGIN_ALLOW_THREADS
;
2955 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
2957 wxPy_END_ALLOW_THREADS
;
2959 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
2960 _resultobj
= Py_BuildValue("s",_ptemp
);
2963 _resultobj
= Py_None
;
2968 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
2969 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2970 PyObject
* _resultobj
;
2971 wxPyFontEnumerator
* _arg0
;
2972 PyObject
* _argo0
= 0;
2973 char *_kwnames
[] = { "self", NULL
};
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
2979 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2980 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2981 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
2986 wxPy_BEGIN_ALLOW_THREADS
;
2987 delete_wxPyFontEnumerator(_arg0
);
2989 wxPy_END_ALLOW_THREADS
;
2990 } Py_INCREF(Py_None
);
2991 _resultobj
= Py_None
;
2995 #define wxFontEnumerator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2996 static PyObject
*_wrap_wxFontEnumerator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2997 PyObject
* _resultobj
;
2998 wxPyFontEnumerator
* _arg0
;
3001 PyObject
* _argo0
= 0;
3002 PyObject
* _obj1
= 0;
3003 PyObject
* _obj2
= 0;
3004 char *_kwnames
[] = { "self","self","_class", NULL
};
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFontEnumerator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setSelf. Expected _wxPyFontEnumerator_p.");
3023 wxPy_BEGIN_ALLOW_THREADS
;
3024 wxFontEnumerator__setSelf(_arg0
,_arg1
,_arg2
);
3026 wxPy_END_ALLOW_THREADS
;
3027 } Py_INCREF(Py_None
);
3028 _resultobj
= Py_None
;
3032 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
3033 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3034 PyObject
* _resultobj
;
3036 wxPyFontEnumerator
* _arg0
;
3037 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
3038 bool _arg2
= (bool ) FALSE
;
3039 PyObject
* _argo0
= 0;
3040 int tempbool2
= (int) FALSE
;
3041 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
3044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3047 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3048 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3049 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3053 _arg2
= (bool ) tempbool2
;
3055 wxPy_BEGIN_ALLOW_THREADS
;
3056 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
3058 wxPy_END_ALLOW_THREADS
;
3059 } _resultobj
= Py_BuildValue("i",_result
);
3063 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3064 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3065 PyObject
* _resultobj
;
3067 wxPyFontEnumerator
* _arg0
;
3068 char * _arg1
= (char *) "";
3069 PyObject
* _argo0
= 0;
3070 char *_kwnames
[] = { "self","facename", NULL
};
3073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
3076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3083 wxPy_BEGIN_ALLOW_THREADS
;
3084 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
3086 wxPy_END_ALLOW_THREADS
;
3087 } _resultobj
= Py_BuildValue("i",_result
);
3091 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3092 wxArrayString
* arr
= self
->GetEncodings();
3093 PyObject
* list
= PyList_New(0);
3094 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3095 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3098 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
* _resultobj
;
3101 wxPyFontEnumerator
* _arg0
;
3102 PyObject
* _argo0
= 0;
3103 char *_kwnames
[] = { "self", NULL
};
3106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3109 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3110 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3111 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3116 wxPy_BEGIN_ALLOW_THREADS
;
3117 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3119 wxPy_END_ALLOW_THREADS
;
3121 _resultobj
= _result
;
3126 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3127 wxArrayString
* arr
= self
->GetFacenames();
3128 PyObject
* list
= PyList_New(0);
3129 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3130 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3133 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3134 PyObject
* _resultobj
;
3136 wxPyFontEnumerator
* _arg0
;
3137 PyObject
* _argo0
= 0;
3138 char *_kwnames
[] = { "self", NULL
};
3141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3144 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3145 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3151 wxPy_BEGIN_ALLOW_THREADS
;
3152 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3154 wxPy_END_ALLOW_THREADS
;
3156 _resultobj
= _result
;
3161 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3162 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3163 PyObject
* _resultobj
;
3164 wxBusyCursor
* _result
;
3165 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3166 PyObject
* _argo0
= 0;
3167 char *_kwnames
[] = { "cursor", NULL
};
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3181 wxPy_BEGIN_ALLOW_THREADS
;
3182 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3184 wxPy_END_ALLOW_THREADS
;
3186 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3187 _resultobj
= Py_BuildValue("s",_ptemp
);
3190 _resultobj
= Py_None
;
3195 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3196 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
* _resultobj
;
3198 wxBusyCursor
* _arg0
;
3199 PyObject
* _argo0
= 0;
3200 char *_kwnames
[] = { "self", NULL
};
3203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3213 wxPy_BEGIN_ALLOW_THREADS
;
3214 delete_wxBusyCursor(_arg0
);
3216 wxPy_END_ALLOW_THREADS
;
3217 } Py_INCREF(Py_None
);
3218 _resultobj
= Py_None
;
3222 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3223 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
* _resultobj
;
3225 wxWindowDisabler
* _result
;
3226 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3227 PyObject
* _argo0
= 0;
3228 char *_kwnames
[] = { "winToSkip", NULL
};
3232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3235 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3236 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3237 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3242 wxPy_BEGIN_ALLOW_THREADS
;
3243 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3245 wxPy_END_ALLOW_THREADS
;
3247 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3248 _resultobj
= Py_BuildValue("s",_ptemp
);
3251 _resultobj
= Py_None
;
3256 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3257 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3258 PyObject
* _resultobj
;
3259 wxWindowDisabler
* _arg0
;
3260 PyObject
* _argo0
= 0;
3261 char *_kwnames
[] = { "self", NULL
};
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3274 wxPy_BEGIN_ALLOW_THREADS
;
3275 delete_wxWindowDisabler(_arg0
);
3277 wxPy_END_ALLOW_THREADS
;
3278 } Py_INCREF(Py_None
);
3279 _resultobj
= Py_None
;
3283 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3284 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
* _resultobj
;
3286 wxMutexGuiLocker
* _result
;
3287 char *_kwnames
[] = { NULL
};
3291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3294 wxPy_BEGIN_ALLOW_THREADS
;
3295 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3297 wxPy_END_ALLOW_THREADS
;
3299 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3300 _resultobj
= Py_BuildValue("s",_ptemp
);
3303 _resultobj
= Py_None
;
3308 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3309 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3310 PyObject
* _resultobj
;
3311 wxMutexGuiLocker
* _arg0
;
3312 PyObject
* _argo0
= 0;
3313 char *_kwnames
[] = { "self", NULL
};
3316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3326 wxPy_BEGIN_ALLOW_THREADS
;
3327 delete_wxMutexGuiLocker(_arg0
);
3329 wxPy_END_ALLOW_THREADS
;
3330 } Py_INCREF(Py_None
);
3331 _resultobj
= Py_None
;
3335 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3336 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3337 PyObject
* _resultobj
;
3338 wxTipProvider
* _arg0
;
3339 PyObject
* _argo0
= 0;
3340 char *_kwnames
[] = { "self", NULL
};
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3353 wxPy_BEGIN_ALLOW_THREADS
;
3354 delete_wxTipProvider(_arg0
);
3356 wxPy_END_ALLOW_THREADS
;
3357 } Py_INCREF(Py_None
);
3358 _resultobj
= Py_None
;
3362 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3363 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3364 PyObject
* _resultobj
;
3366 wxTipProvider
* _arg0
;
3367 PyObject
* _argo0
= 0;
3368 char *_kwnames
[] = { "self", NULL
};
3371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3381 wxPy_BEGIN_ALLOW_THREADS
;
3382 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3384 wxPy_END_ALLOW_THREADS
;
3386 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3394 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3395 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
* _resultobj
;
3398 wxTipProvider
* _arg0
;
3399 PyObject
* _argo0
= 0;
3400 char *_kwnames
[] = { "self", NULL
};
3403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3406 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3407 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3408 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3413 wxPy_BEGIN_ALLOW_THREADS
;
3414 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3416 wxPy_END_ALLOW_THREADS
;
3417 } _resultobj
= Py_BuildValue("i",_result
);
3421 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3422 wxPyTipProvider
*src
;
3423 wxTipProvider
*dest
;
3424 src
= (wxPyTipProvider
*) ptr
;
3425 dest
= (wxTipProvider
*) src
;
3426 return (void *) dest
;
3429 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3430 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3431 PyObject
* _resultobj
;
3432 wxPyTipProvider
* _result
;
3434 char *_kwnames
[] = { "currentTip", NULL
};
3438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3441 wxPy_BEGIN_ALLOW_THREADS
;
3442 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3444 wxPy_END_ALLOW_THREADS
;
3446 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3447 _resultobj
= Py_BuildValue("s",_ptemp
);
3450 _resultobj
= Py_None
;
3455 static void *SwigwxGenericDragImageTowxObject(void *ptr
) {
3456 wxGenericDragImage
*src
;
3458 src
= (wxGenericDragImage
*) ptr
;
3459 dest
= (wxObject
*) src
;
3460 return (void *) dest
;
3463 #define new_wxDragImage(_swigarg0,_swigarg1,_swigarg2) (new wxGenericDragImage(_swigarg0,_swigarg1,_swigarg2))
3464 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
* _resultobj
;
3466 wxGenericDragImage
* _result
;
3468 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3469 wxPoint
* _arg2
= (wxPoint
*) &wxPyNullPoint
;
3470 PyObject
* _argo0
= 0;
3471 PyObject
* _argo1
= 0;
3473 PyObject
* _obj2
= 0;
3474 char *_kwnames
[] = { "image","cursor","hotspot", NULL
};
3478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3488 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3489 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3490 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3497 if (! wxPoint_helper(_obj2
, &_arg2
))
3501 wxPy_BEGIN_ALLOW_THREADS
;
3502 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
,*_arg2
);
3504 wxPy_END_ALLOW_THREADS
;
3506 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3507 _resultobj
= Py_BuildValue("s",_ptemp
);
3510 _resultobj
= Py_None
;
3515 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3516 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
* _resultobj
;
3518 wxGenericDragImage
* _arg0
;
3519 PyObject
* _argo0
= 0;
3520 char *_kwnames
[] = { "self", NULL
};
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3526 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3527 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3528 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3533 wxPy_BEGIN_ALLOW_THREADS
;
3534 delete_wxGenericDragImage(_arg0
);
3536 wxPy_END_ALLOW_THREADS
;
3537 } Py_INCREF(Py_None
);
3538 _resultobj
= Py_None
;
3542 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3543 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
* _resultobj
;
3546 wxGenericDragImage
* _arg0
;
3549 bool _arg3
= (bool ) FALSE
;
3550 wxRect
* _arg4
= (wxRect
*) NULL
;
3551 PyObject
* _argo0
= 0;
3553 PyObject
* _obj1
= 0;
3554 PyObject
* _argo2
= 0;
3555 int tempbool3
= (int) FALSE
;
3557 PyObject
* _obj4
= 0;
3558 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3564 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3565 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3566 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3572 if (! wxPoint_helper(_obj1
, &_arg1
))
3576 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3577 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3578 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3582 _arg3
= (bool ) tempbool3
;
3586 if (! wxRect_helper(_obj4
, &_arg4
))
3590 wxPy_BEGIN_ALLOW_THREADS
;
3591 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3593 wxPy_END_ALLOW_THREADS
;
3594 } _resultobj
= Py_BuildValue("i",_result
);
3598 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3599 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3600 PyObject
* _resultobj
;
3602 wxGenericDragImage
* _arg0
;
3606 PyObject
* _argo0
= 0;
3608 PyObject
* _obj1
= 0;
3609 PyObject
* _argo2
= 0;
3610 PyObject
* _argo3
= 0;
3611 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3625 if (! wxPoint_helper(_obj1
, &_arg1
))
3629 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3630 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3636 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3637 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3638 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3643 wxPy_BEGIN_ALLOW_THREADS
;
3644 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3646 wxPy_END_ALLOW_THREADS
;
3647 } _resultobj
= Py_BuildValue("i",_result
);
3651 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3652 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
* _resultobj
;
3655 wxGenericDragImage
* _arg0
;
3656 PyObject
* _argo0
= 0;
3657 char *_kwnames
[] = { "self", NULL
};
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3663 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3664 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3665 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3670 wxPy_BEGIN_ALLOW_THREADS
;
3671 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3673 wxPy_END_ALLOW_THREADS
;
3674 } _resultobj
= Py_BuildValue("i",_result
);
3678 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3679 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3680 PyObject
* _resultobj
;
3682 wxGenericDragImage
* _arg0
;
3684 PyObject
* _argo0
= 0;
3686 PyObject
* _obj1
= 0;
3687 char *_kwnames
[] = { "self","pt", NULL
};
3690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3693 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3694 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3695 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3701 if (! wxPoint_helper(_obj1
, &_arg1
))
3705 wxPy_BEGIN_ALLOW_THREADS
;
3706 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3708 wxPy_END_ALLOW_THREADS
;
3709 } _resultobj
= Py_BuildValue("i",_result
);
3713 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3714 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3715 PyObject
* _resultobj
;
3717 wxGenericDragImage
* _arg0
;
3718 PyObject
* _argo0
= 0;
3719 char *_kwnames
[] = { "self", NULL
};
3722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3732 wxPy_BEGIN_ALLOW_THREADS
;
3733 _result
= (bool )wxDragImage_Show(_arg0
);
3735 wxPy_END_ALLOW_THREADS
;
3736 } _resultobj
= Py_BuildValue("i",_result
);
3740 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3741 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
* _resultobj
;
3744 wxGenericDragImage
* _arg0
;
3745 PyObject
* _argo0
= 0;
3746 char *_kwnames
[] = { "self", NULL
};
3749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3752 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3753 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3754 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3759 wxPy_BEGIN_ALLOW_THREADS
;
3760 _result
= (bool )wxDragImage_Hide(_arg0
);
3762 wxPy_END_ALLOW_THREADS
;
3763 } _resultobj
= Py_BuildValue("i",_result
);
3767 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3768 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
* _resultobj
;
3771 wxGenericDragImage
* _arg0
;
3773 PyObject
* _argo0
= 0;
3775 PyObject
* _obj1
= 0;
3776 char *_kwnames
[] = { "self","pos", NULL
};
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
3783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
3791 if (! wxPoint_helper(_obj1
, &_arg1
))
3795 wxPy_BEGIN_ALLOW_THREADS
;
3796 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
3798 wxPy_END_ALLOW_THREADS
;
3799 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3800 _resultobj
= Py_BuildValue("s",_ptemp
);
3804 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3805 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3806 PyObject
* _resultobj
;
3808 wxGenericDragImage
* _arg0
;
3813 PyObject
* _argo0
= 0;
3815 PyObject
* _obj1
= 0;
3817 PyObject
* _obj2
= 0;
3820 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
3823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
3826 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3827 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3828 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
3834 if (! wxPoint_helper(_obj1
, &_arg1
))
3839 if (! wxPoint_helper(_obj2
, &_arg2
))
3842 _arg3
= (bool ) tempbool3
;
3843 _arg4
= (bool ) tempbool4
;
3845 wxPy_BEGIN_ALLOW_THREADS
;
3846 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
3848 wxPy_END_ALLOW_THREADS
;
3849 } _resultobj
= Py_BuildValue("i",_result
);
3853 static void *SwigwxPyTimerTowxObject(void *ptr
) {
3856 src
= (wxPyTimer
*) ptr
;
3857 dest
= (wxObject
*) src
;
3858 return (void *) dest
;
3861 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
3862 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
* _resultobj
;
3864 wxPyTimer
* _result
;
3866 PyObject
* _obj0
= 0;
3867 char *_kwnames
[] = { "notify", NULL
};
3871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
3877 wxPy_BEGIN_ALLOW_THREADS
;
3878 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
3880 wxPy_END_ALLOW_THREADS
;
3882 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
3883 _resultobj
= Py_BuildValue("s",_ptemp
);
3886 _resultobj
= Py_None
;
3891 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
3892 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3893 PyObject
* _resultobj
;
3895 PyObject
* _argo0
= 0;
3896 char *_kwnames
[] = { "self", NULL
};
3899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
3902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
3909 wxPy_BEGIN_ALLOW_THREADS
;
3910 delete_wxPyTimer(_arg0
);
3912 wxPy_END_ALLOW_THREADS
;
3913 } Py_INCREF(Py_None
);
3914 _resultobj
= Py_None
;
3918 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
3919 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3920 PyObject
* _resultobj
;
3923 PyObject
* _argo0
= 0;
3924 char *_kwnames
[] = { "self", NULL
};
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
3930 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3931 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3932 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
3937 wxPy_BEGIN_ALLOW_THREADS
;
3938 _result
= (int )wxPyTimer_GetInterval(_arg0
);
3940 wxPy_END_ALLOW_THREADS
;
3941 } _resultobj
= Py_BuildValue("i",_result
);
3945 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
3946 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
* _resultobj
;
3950 PyObject
* _argo0
= 0;
3951 char *_kwnames
[] = { "self", NULL
};
3954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
3957 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3958 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3959 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
3964 wxPy_BEGIN_ALLOW_THREADS
;
3965 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
3967 wxPy_END_ALLOW_THREADS
;
3968 } _resultobj
= Py_BuildValue("i",_result
);
3972 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
3973 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3974 PyObject
* _resultobj
;
3977 PyObject
* _argo0
= 0;
3978 char *_kwnames
[] = { "self", NULL
};
3981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
3984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
3991 wxPy_BEGIN_ALLOW_THREADS
;
3992 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
3994 wxPy_END_ALLOW_THREADS
;
3995 } _resultobj
= Py_BuildValue("i",_result
);
3999 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4000 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4001 PyObject
* _resultobj
;
4003 wxEvtHandler
* _arg1
;
4004 int _arg2
= (int ) -1;
4005 PyObject
* _argo0
= 0;
4006 PyObject
* _argo1
= 0;
4007 char *_kwnames
[] = { "self","owner","id", NULL
};
4010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4020 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4021 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4027 wxPy_BEGIN_ALLOW_THREADS
;
4028 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4030 wxPy_END_ALLOW_THREADS
;
4031 } Py_INCREF(Py_None
);
4032 _resultobj
= Py_None
;
4036 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4037 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4038 PyObject
* _resultobj
;
4040 int _arg1
= (int ) -1;
4041 int _arg2
= (int ) FALSE
;
4042 PyObject
* _argo0
= 0;
4043 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4049 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4050 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4051 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4056 wxPy_BEGIN_ALLOW_THREADS
;
4057 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4059 wxPy_END_ALLOW_THREADS
;
4060 } Py_INCREF(Py_None
);
4061 _resultobj
= Py_None
;
4065 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4066 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4067 PyObject
* _resultobj
;
4069 PyObject
* _argo0
= 0;
4070 char *_kwnames
[] = { "self", NULL
};
4073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4076 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4077 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4078 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4083 wxPy_BEGIN_ALLOW_THREADS
;
4084 wxPyTimer_Stop(_arg0
);
4086 wxPy_END_ALLOW_THREADS
;
4087 } Py_INCREF(Py_None
);
4088 _resultobj
= Py_None
;
4092 #define new_wxLog() (new wxLog())
4093 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
* _resultobj
;
4096 char *_kwnames
[] = { NULL
};
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4103 wxPy_BEGIN_ALLOW_THREADS
;
4104 _result
= (wxLog
*)new_wxLog();
4106 wxPy_END_ALLOW_THREADS
;
4108 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4109 _resultobj
= Py_BuildValue("s",_ptemp
);
4112 _resultobj
= Py_None
;
4117 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4118 PyObject
* _resultobj
;
4120 char *_kwnames
[] = { NULL
};
4123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4126 wxPy_BEGIN_ALLOW_THREADS
;
4127 _result
= (bool )wxLog::IsEnabled();
4129 wxPy_END_ALLOW_THREADS
;
4130 } _resultobj
= Py_BuildValue("i",_result
);
4134 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4135 PyObject
* _resultobj
;
4137 bool _arg0
= (bool ) TRUE
;
4138 int tempbool0
= (int) TRUE
;
4139 char *_kwnames
[] = { "doIt", NULL
};
4142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4144 _arg0
= (bool ) tempbool0
;
4146 wxPy_BEGIN_ALLOW_THREADS
;
4147 _result
= (bool )wxLog::EnableLogging(_arg0
);
4149 wxPy_END_ALLOW_THREADS
;
4150 } _resultobj
= Py_BuildValue("i",_result
);
4154 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
* _resultobj
;
4158 int _arg2
= (int ) 0;
4159 PyObject
* _argo0
= 0;
4160 char *_kwnames
[] = { "level","szString","t", NULL
};
4163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4173 wxPy_BEGIN_ALLOW_THREADS
;
4174 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
4176 wxPy_END_ALLOW_THREADS
;
4177 } Py_INCREF(Py_None
);
4178 _resultobj
= Py_None
;
4182 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4183 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4184 PyObject
* _resultobj
;
4186 PyObject
* _argo0
= 0;
4187 char *_kwnames
[] = { "self", NULL
};
4190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4200 wxPy_BEGIN_ALLOW_THREADS
;
4203 wxPy_END_ALLOW_THREADS
;
4204 } Py_INCREF(Py_None
);
4205 _resultobj
= Py_None
;
4209 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4210 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4211 PyObject
* _resultobj
;
4214 PyObject
* _argo0
= 0;
4215 char *_kwnames
[] = { "self", NULL
};
4218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4228 wxPy_BEGIN_ALLOW_THREADS
;
4229 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4231 wxPy_END_ALLOW_THREADS
;
4232 } _resultobj
= Py_BuildValue("i",_result
);
4236 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
* _resultobj
;
4238 char *_kwnames
[] = { NULL
};
4241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4244 wxPy_BEGIN_ALLOW_THREADS
;
4245 wxLog::FlushActive();
4247 wxPy_END_ALLOW_THREADS
;
4248 } Py_INCREF(Py_None
);
4249 _resultobj
= Py_None
;
4253 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
* _resultobj
;
4256 char *_kwnames
[] = { NULL
};
4260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4263 wxPy_BEGIN_ALLOW_THREADS
;
4264 _result
= (wxLog
*)wxLog::GetActiveTarget();
4266 wxPy_END_ALLOW_THREADS
;
4268 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4269 _resultobj
= Py_BuildValue("s",_ptemp
);
4272 _resultobj
= Py_None
;
4277 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
* _resultobj
;
4281 PyObject
* _argo0
= 0;
4282 char *_kwnames
[] = { "pLogger", NULL
};
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4296 wxPy_BEGIN_ALLOW_THREADS
;
4297 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4299 wxPy_END_ALLOW_THREADS
;
4301 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4302 _resultobj
= Py_BuildValue("s",_ptemp
);
4305 _resultobj
= Py_None
;
4310 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
* _resultobj
;
4312 char *_kwnames
[] = { NULL
};
4315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4318 wxPy_BEGIN_ALLOW_THREADS
;
4321 wxPy_END_ALLOW_THREADS
;
4322 } Py_INCREF(Py_None
);
4323 _resultobj
= Py_None
;
4327 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
* _resultobj
;
4329 char *_kwnames
[] = { NULL
};
4332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4335 wxPy_BEGIN_ALLOW_THREADS
;
4338 wxPy_END_ALLOW_THREADS
;
4339 } Py_INCREF(Py_None
);
4340 _resultobj
= Py_None
;
4344 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4345 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
* _resultobj
;
4348 bool _arg1
= (bool ) TRUE
;
4349 PyObject
* _argo0
= 0;
4350 int tempbool1
= (int) TRUE
;
4351 char *_kwnames
[] = { "self","bVerbose", NULL
};
4354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4357 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4358 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4359 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4363 _arg1
= (bool ) tempbool1
;
4365 wxPy_BEGIN_ALLOW_THREADS
;
4366 wxLog_SetVerbose(_arg0
,_arg1
);
4368 wxPy_END_ALLOW_THREADS
;
4369 } Py_INCREF(Py_None
);
4370 _resultobj
= Py_None
;
4374 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4375 PyObject
* _resultobj
;
4376 char *_kwnames
[] = { NULL
};
4379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4382 wxPy_BEGIN_ALLOW_THREADS
;
4383 wxLog::DontCreateOnDemand();
4385 wxPy_END_ALLOW_THREADS
;
4386 } Py_INCREF(Py_None
);
4387 _resultobj
= Py_None
;
4391 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4392 PyObject
* _resultobj
;
4393 wxTraceMask
* _arg0
;
4394 PyObject
* _argo0
= 0;
4395 char *_kwnames
[] = { "ulMask", NULL
};
4398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4401 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4402 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4403 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4408 wxPy_BEGIN_ALLOW_THREADS
;
4409 wxLog::SetTraceMask(*_arg0
);
4411 wxPy_END_ALLOW_THREADS
;
4412 } Py_INCREF(Py_None
);
4413 _resultobj
= Py_None
;
4417 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4418 PyObject
* _resultobj
;
4420 PyObject
* _obj0
= 0;
4421 char *_kwnames
[] = { "str", NULL
};
4424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4427 #if PYTHON_API_VERSION >= 1009
4428 char* tmpPtr
; int tmpSize
;
4429 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4430 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4433 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4435 _arg0
= new wxString(tmpPtr
, tmpSize
);
4437 if (!PyString_Check(_obj0
)) {
4438 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4441 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4445 wxPy_BEGIN_ALLOW_THREADS
;
4446 wxLog::AddTraceMask(*_arg0
);
4448 wxPy_END_ALLOW_THREADS
;
4449 } Py_INCREF(Py_None
);
4450 _resultobj
= Py_None
;
4458 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
* _resultobj
;
4461 PyObject
* _obj0
= 0;
4462 char *_kwnames
[] = { "str", NULL
};
4465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4468 #if PYTHON_API_VERSION >= 1009
4469 char* tmpPtr
; int tmpSize
;
4470 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4471 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4474 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4476 _arg0
= new wxString(tmpPtr
, tmpSize
);
4478 if (!PyString_Check(_obj0
)) {
4479 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4482 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4486 wxPy_BEGIN_ALLOW_THREADS
;
4487 wxLog::RemoveTraceMask(*_arg0
);
4489 wxPy_END_ALLOW_THREADS
;
4490 } Py_INCREF(Py_None
);
4491 _resultobj
= Py_None
;
4499 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4500 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4501 PyObject
* _resultobj
;
4504 PyObject
* _argo0
= 0;
4505 char *_kwnames
[] = { "self", NULL
};
4508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4518 wxPy_BEGIN_ALLOW_THREADS
;
4519 _result
= (bool )wxLog_GetVerbose(_arg0
);
4521 wxPy_END_ALLOW_THREADS
;
4522 } _resultobj
= Py_BuildValue("i",_result
);
4526 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
* _resultobj
;
4528 wxTraceMask
* _result
;
4529 char *_kwnames
[] = { NULL
};
4533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4536 wxPy_BEGIN_ALLOW_THREADS
;
4537 _result
= new wxTraceMask (wxLog::GetTraceMask());
4539 wxPy_END_ALLOW_THREADS
;
4540 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
4541 _resultobj
= Py_BuildValue("s",_ptemp
);
4545 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4546 PyObject
* _resultobj
;
4549 char *_kwnames
[] = { "mask", NULL
};
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
4555 wxPy_BEGIN_ALLOW_THREADS
;
4556 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
4558 wxPy_END_ALLOW_THREADS
;
4559 } _resultobj
= Py_BuildValue("i",_result
);
4563 static void *SwigwxLogStderrTowxLog(void *ptr
) {
4566 src
= (wxLogStderr
*) ptr
;
4567 dest
= (wxLog
*) src
;
4568 return (void *) dest
;
4571 #define new_wxLogStderr() (new wxLogStderr())
4572 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
* _resultobj
;
4574 wxLogStderr
* _result
;
4575 char *_kwnames
[] = { NULL
};
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
4582 wxPy_BEGIN_ALLOW_THREADS
;
4583 _result
= (wxLogStderr
*)new_wxLogStderr();
4585 wxPy_END_ALLOW_THREADS
;
4587 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
4588 _resultobj
= Py_BuildValue("s",_ptemp
);
4591 _resultobj
= Py_None
;
4596 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
4599 src
= (wxLogTextCtrl
*) ptr
;
4600 dest
= (wxLog
*) src
;
4601 return (void *) dest
;
4604 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
4605 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4606 PyObject
* _resultobj
;
4607 wxLogTextCtrl
* _result
;
4609 PyObject
* _argo0
= 0;
4610 char *_kwnames
[] = { "pTextCtrl", NULL
};
4614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
4617 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4618 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4619 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
4624 wxPy_BEGIN_ALLOW_THREADS
;
4625 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
4627 wxPy_END_ALLOW_THREADS
;
4629 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
4630 _resultobj
= Py_BuildValue("s",_ptemp
);
4633 _resultobj
= Py_None
;
4638 static void *SwigwxLogGuiTowxLog(void *ptr
) {
4641 src
= (wxLogGui
*) ptr
;
4642 dest
= (wxLog
*) src
;
4643 return (void *) dest
;
4646 #define new_wxLogGui() (new wxLogGui())
4647 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
* _resultobj
;
4650 char *_kwnames
[] = { NULL
};
4654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
4657 wxPy_BEGIN_ALLOW_THREADS
;
4658 _result
= (wxLogGui
*)new_wxLogGui();
4660 wxPy_END_ALLOW_THREADS
;
4662 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
4663 _resultobj
= Py_BuildValue("s",_ptemp
);
4666 _resultobj
= Py_None
;
4671 static void *SwigwxLogWindowTowxLog(void *ptr
) {
4674 src
= (wxLogWindow
*) ptr
;
4675 dest
= (wxLog
*) src
;
4676 return (void *) dest
;
4679 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4680 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4681 PyObject
* _resultobj
;
4682 wxLogWindow
* _result
;
4685 bool _arg2
= (bool ) TRUE
;
4686 bool _arg3
= (bool ) TRUE
;
4687 PyObject
* _argo0
= 0;
4688 int tempbool2
= (int) TRUE
;
4689 int tempbool3
= (int) TRUE
;
4690 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
4694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
4697 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4698 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
4699 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
4703 _arg2
= (bool ) tempbool2
;
4704 _arg3
= (bool ) tempbool3
;
4706 wxPy_BEGIN_ALLOW_THREADS
;
4707 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
4709 wxPy_END_ALLOW_THREADS
;
4711 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
4712 _resultobj
= Py_BuildValue("s",_ptemp
);
4715 _resultobj
= Py_None
;
4720 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4721 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4722 PyObject
* _resultobj
;
4723 wxLogWindow
* _arg0
;
4724 bool _arg1
= (bool ) TRUE
;
4725 PyObject
* _argo0
= 0;
4726 int tempbool1
= (int) TRUE
;
4727 char *_kwnames
[] = { "self","bShow", NULL
};
4730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
4739 _arg1
= (bool ) tempbool1
;
4741 wxPy_BEGIN_ALLOW_THREADS
;
4742 wxLogWindow_Show(_arg0
,_arg1
);
4744 wxPy_END_ALLOW_THREADS
;
4745 } Py_INCREF(Py_None
);
4746 _resultobj
= Py_None
;
4750 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
4751 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
* _resultobj
;
4754 wxLogWindow
* _arg0
;
4755 PyObject
* _argo0
= 0;
4756 char *_kwnames
[] = { "self", NULL
};
4759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
4762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
4769 wxPy_BEGIN_ALLOW_THREADS
;
4770 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
4772 wxPy_END_ALLOW_THREADS
;
4773 }{ _resultobj
= wxPyMake_wxObject(_result
); }
4777 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
4778 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4779 PyObject
* _resultobj
;
4781 wxLogWindow
* _arg0
;
4782 PyObject
* _argo0
= 0;
4783 char *_kwnames
[] = { "self", NULL
};
4787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
4790 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4791 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4792 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
4797 wxPy_BEGIN_ALLOW_THREADS
;
4798 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
4800 wxPy_END_ALLOW_THREADS
;
4802 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4803 _resultobj
= Py_BuildValue("s",_ptemp
);
4806 _resultobj
= Py_None
;
4811 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
4812 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4813 PyObject
* _resultobj
;
4815 wxLogWindow
* _arg0
;
4816 PyObject
* _argo0
= 0;
4817 char *_kwnames
[] = { "self", NULL
};
4820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
4823 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4824 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4825 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
4830 wxPy_BEGIN_ALLOW_THREADS
;
4831 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
4833 wxPy_END_ALLOW_THREADS
;
4834 } _resultobj
= Py_BuildValue("i",_result
);
4838 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
4839 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4840 PyObject
* _resultobj
;
4841 wxLogWindow
* _arg0
;
4843 PyObject
* _argo0
= 0;
4845 char *_kwnames
[] = { "self","bDoPass", NULL
};
4848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
4851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
4857 _arg1
= (bool ) tempbool1
;
4859 wxPy_BEGIN_ALLOW_THREADS
;
4860 wxLogWindow_PassMessages(_arg0
,_arg1
);
4862 wxPy_END_ALLOW_THREADS
;
4863 } Py_INCREF(Py_None
);
4864 _resultobj
= Py_None
;
4868 #define new_wxLogNull() (new wxLogNull())
4869 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4870 PyObject
* _resultobj
;
4871 wxLogNull
* _result
;
4872 char *_kwnames
[] = { NULL
};
4876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
4879 wxPy_BEGIN_ALLOW_THREADS
;
4880 _result
= (wxLogNull
*)new_wxLogNull();
4882 wxPy_END_ALLOW_THREADS
;
4884 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
4885 _resultobj
= Py_BuildValue("s",_ptemp
);
4888 _resultobj
= Py_None
;
4893 #define delete_wxLogNull(_swigobj) (delete _swigobj)
4894 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
* _resultobj
;
4897 PyObject
* _argo0
= 0;
4898 char *_kwnames
[] = { "self", NULL
};
4901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
4904 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4905 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
4906 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
4911 wxPy_BEGIN_ALLOW_THREADS
;
4912 delete_wxLogNull(_arg0
);
4914 wxPy_END_ALLOW_THREADS
;
4915 } Py_INCREF(Py_None
);
4916 _resultobj
= Py_None
;
4920 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
4921 wxProcessEvent
*src
;
4923 src
= (wxProcessEvent
*) ptr
;
4924 dest
= (wxEvent
*) src
;
4925 return (void *) dest
;
4928 static void *SwigwxProcessEventTowxObject(void *ptr
) {
4929 wxProcessEvent
*src
;
4931 src
= (wxProcessEvent
*) ptr
;
4932 dest
= (wxObject
*) src
;
4933 return (void *) dest
;
4936 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
4937 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4938 PyObject
* _resultobj
;
4939 wxProcessEvent
* _result
;
4940 int _arg0
= (int ) 0;
4941 int _arg1
= (int ) 0;
4942 int _arg2
= (int ) 0;
4943 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
4947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4950 wxPy_BEGIN_ALLOW_THREADS
;
4951 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
4953 wxPy_END_ALLOW_THREADS
;
4955 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
4956 _resultobj
= Py_BuildValue("s",_ptemp
);
4959 _resultobj
= Py_None
;
4964 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
4965 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
* _resultobj
;
4968 wxProcessEvent
* _arg0
;
4969 PyObject
* _argo0
= 0;
4970 char *_kwnames
[] = { "self", NULL
};
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
4976 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4977 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4978 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
4983 wxPy_BEGIN_ALLOW_THREADS
;
4984 _result
= (int )wxProcessEvent_GetPid(_arg0
);
4986 wxPy_END_ALLOW_THREADS
;
4987 } _resultobj
= Py_BuildValue("i",_result
);
4991 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
4992 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4993 PyObject
* _resultobj
;
4995 wxProcessEvent
* _arg0
;
4996 PyObject
* _argo0
= 0;
4997 char *_kwnames
[] = { "self", NULL
};
5000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5003 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5004 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5005 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5010 wxPy_BEGIN_ALLOW_THREADS
;
5011 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5013 wxPy_END_ALLOW_THREADS
;
5014 } _resultobj
= Py_BuildValue("i",_result
);
5018 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5019 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
* _resultobj
;
5022 wxProcessEvent
* _arg0
;
5024 PyObject
* _argo0
= 0;
5025 char *_kwnames
[] = { "self","m_pid", NULL
};
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5038 wxPy_BEGIN_ALLOW_THREADS
;
5039 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5041 wxPy_END_ALLOW_THREADS
;
5042 } _resultobj
= Py_BuildValue("i",_result
);
5046 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5047 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
* _resultobj
;
5050 wxProcessEvent
* _arg0
;
5051 PyObject
* _argo0
= 0;
5052 char *_kwnames
[] = { "self", NULL
};
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5058 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5059 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5060 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5065 wxPy_BEGIN_ALLOW_THREADS
;
5066 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5068 wxPy_END_ALLOW_THREADS
;
5069 } _resultobj
= Py_BuildValue("i",_result
);
5073 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5074 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5075 PyObject
* _resultobj
;
5077 wxProcessEvent
* _arg0
;
5079 PyObject
* _argo0
= 0;
5080 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5093 wxPy_BEGIN_ALLOW_THREADS
;
5094 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5096 wxPy_END_ALLOW_THREADS
;
5097 } _resultobj
= Py_BuildValue("i",_result
);
5101 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5102 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5103 PyObject
* _resultobj
;
5105 wxProcessEvent
* _arg0
;
5106 PyObject
* _argo0
= 0;
5107 char *_kwnames
[] = { "self", NULL
};
5110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5113 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5114 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5115 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5120 wxPy_BEGIN_ALLOW_THREADS
;
5121 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5123 wxPy_END_ALLOW_THREADS
;
5124 } _resultobj
= Py_BuildValue("i",_result
);
5128 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5131 src
= (wxPyProcess
*) ptr
;
5132 dest
= (wxEvtHandler
*) src
;
5133 return (void *) dest
;
5136 static void *SwigwxPyProcessTowxObject(void *ptr
) {
5139 src
= (wxPyProcess
*) ptr
;
5140 dest
= (wxObject
*) src
;
5141 return (void *) dest
;
5144 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5145 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
* _resultobj
;
5147 wxPyProcess
* _result
;
5148 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
5149 int _arg1
= (int ) -1;
5150 PyObject
* _argo0
= 0;
5151 char *_kwnames
[] = { "parent","id", NULL
};
5155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
5158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
5160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
5165 wxPy_BEGIN_ALLOW_THREADS
;
5166 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
5168 wxPy_END_ALLOW_THREADS
;
5170 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
5171 _resultobj
= Py_BuildValue("s",_ptemp
);
5174 _resultobj
= Py_None
;
5179 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
5180 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
* _resultobj
;
5182 wxPyProcess
* _arg0
;
5183 PyObject
* _argo0
= 0;
5184 char *_kwnames
[] = { "self", NULL
};
5187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
5190 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5191 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5192 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
5197 wxPy_BEGIN_ALLOW_THREADS
;
5198 wxPyProcess_Destroy(_arg0
);
5200 wxPy_END_ALLOW_THREADS
;
5201 } Py_INCREF(Py_None
);
5202 _resultobj
= Py_None
;
5206 #define wxProcess__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5207 static PyObject
*_wrap_wxProcess__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
* _resultobj
;
5209 wxPyProcess
* _arg0
;
5212 PyObject
* _argo0
= 0;
5213 PyObject
* _obj1
= 0;
5214 PyObject
* _obj2
= 0;
5215 char *_kwnames
[] = { "self","self","_class", NULL
};
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setSelf. Expected _wxPyProcess_p.");
5234 wxPy_BEGIN_ALLOW_THREADS
;
5235 wxProcess__setSelf(_arg0
,_arg1
,_arg2
);
5237 wxPy_END_ALLOW_THREADS
;
5238 } Py_INCREF(Py_None
);
5239 _resultobj
= Py_None
;
5243 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
5244 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
* _resultobj
;
5246 wxPyProcess
* _arg0
;
5249 PyObject
* _argo0
= 0;
5250 char *_kwnames
[] = { "self","pid","status", NULL
};
5253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5256 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5257 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5258 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
5263 wxPy_BEGIN_ALLOW_THREADS
;
5264 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
5266 wxPy_END_ALLOW_THREADS
;
5267 } Py_INCREF(Py_None
);
5268 _resultobj
= Py_None
;
5272 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
5273 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5274 PyObject
* _resultobj
;
5275 wxPyProcess
* _arg0
;
5276 PyObject
* _argo0
= 0;
5277 char *_kwnames
[] = { "self", NULL
};
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
5283 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5284 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5285 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
5290 wxPy_BEGIN_ALLOW_THREADS
;
5291 wxProcess_Redirect(_arg0
);
5293 wxPy_END_ALLOW_THREADS
;
5294 } Py_INCREF(Py_None
);
5295 _resultobj
= Py_None
;
5299 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
5300 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5301 PyObject
* _resultobj
;
5303 wxPyProcess
* _arg0
;
5304 PyObject
* _argo0
= 0;
5305 char *_kwnames
[] = { "self", NULL
};
5308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
5311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
5318 wxPy_BEGIN_ALLOW_THREADS
;
5319 _result
= (bool )wxProcess_IsRedirected(_arg0
);
5321 wxPy_END_ALLOW_THREADS
;
5322 } _resultobj
= Py_BuildValue("i",_result
);
5326 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
5327 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5328 PyObject
* _resultobj
;
5329 wxPyProcess
* _arg0
;
5330 PyObject
* _argo0
= 0;
5331 char *_kwnames
[] = { "self", NULL
};
5334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
5337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
5344 wxPy_BEGIN_ALLOW_THREADS
;
5345 wxProcess_Detach(_arg0
);
5347 wxPy_END_ALLOW_THREADS
;
5348 } Py_INCREF(Py_None
);
5349 _resultobj
= Py_None
;
5353 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
5354 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5355 PyObject
* _resultobj
;
5356 wxInputStream
* _result
;
5357 wxPyProcess
* _arg0
;
5358 PyObject
* _argo0
= 0;
5359 char *_kwnames
[] = { "self", NULL
};
5362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
5365 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5366 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5367 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
5372 wxPy_BEGIN_ALLOW_THREADS
;
5373 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
5375 wxPy_END_ALLOW_THREADS
;
5377 wxPyInputStream
* _ptr
= NULL
;
5380 _ptr
= new wxPyInputStream(_result
);
5382 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
5387 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
5388 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5389 PyObject
* _resultobj
;
5390 wxInputStream
* _result
;
5391 wxPyProcess
* _arg0
;
5392 PyObject
* _argo0
= 0;
5393 char *_kwnames
[] = { "self", NULL
};
5396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
5399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
5406 wxPy_BEGIN_ALLOW_THREADS
;
5407 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
5409 wxPy_END_ALLOW_THREADS
;
5411 wxPyInputStream
* _ptr
= NULL
;
5414 _ptr
= new wxPyInputStream(_result
);
5416 _resultobj
= wxPyConstructObject(_ptr
, "wxInputStream", TRUE
);
5421 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
5422 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
* _resultobj
;
5424 wxOutputStream
* _result
;
5425 wxPyProcess
* _arg0
;
5426 PyObject
* _argo0
= 0;
5427 char *_kwnames
[] = { "self", NULL
};
5431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
5434 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5435 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5436 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
5441 wxPy_BEGIN_ALLOW_THREADS
;
5442 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
5444 wxPy_END_ALLOW_THREADS
;
5446 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
5447 _resultobj
= Py_BuildValue("s",_ptemp
);
5450 _resultobj
= Py_None
;
5455 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
5456 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5457 PyObject
* _resultobj
;
5458 wxPyProcess
* _arg0
;
5459 PyObject
* _argo0
= 0;
5460 char *_kwnames
[] = { "self", NULL
};
5463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
5466 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5467 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5468 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
5473 wxPy_BEGIN_ALLOW_THREADS
;
5474 wxProcess_CloseOutput(_arg0
);
5476 wxPy_END_ALLOW_THREADS
;
5477 } Py_INCREF(Py_None
);
5478 _resultobj
= Py_None
;
5482 static void *SwigwxJoystickTowxObject(void *ptr
) {
5485 src
= (wxJoystick
*) ptr
;
5486 dest
= (wxObject
*) src
;
5487 return (void *) dest
;
5490 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
5491 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
* _resultobj
;
5493 wxJoystick
* _result
;
5494 int _arg0
= (int ) wxJOYSTICK1
;
5495 char *_kwnames
[] = { "joystick", NULL
};
5499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
5502 wxPy_BEGIN_ALLOW_THREADS
;
5503 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
5505 wxPy_END_ALLOW_THREADS
;
5507 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
5508 _resultobj
= Py_BuildValue("s",_ptemp
);
5511 _resultobj
= Py_None
;
5516 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
5517 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5518 PyObject
* _resultobj
;
5521 PyObject
* _argo0
= 0;
5522 char *_kwnames
[] = { "self", NULL
};
5526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
5529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
5536 wxPy_BEGIN_ALLOW_THREADS
;
5537 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
5539 wxPy_END_ALLOW_THREADS
;
5540 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5541 _resultobj
= Py_BuildValue("s",_ptemp
);
5545 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
5546 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
* _resultobj
;
5550 PyObject
* _argo0
= 0;
5551 char *_kwnames
[] = { "self", NULL
};
5554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
5557 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5558 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5559 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
5564 wxPy_BEGIN_ALLOW_THREADS
;
5565 _result
= (int )wxJoystick_GetZPosition(_arg0
);
5567 wxPy_END_ALLOW_THREADS
;
5568 } _resultobj
= Py_BuildValue("i",_result
);
5572 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
5573 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
* _resultobj
;
5577 PyObject
* _argo0
= 0;
5578 char *_kwnames
[] = { "self", NULL
};
5581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
5584 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5585 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5586 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
5591 wxPy_BEGIN_ALLOW_THREADS
;
5592 _result
= (int )wxJoystick_GetButtonState(_arg0
);
5594 wxPy_END_ALLOW_THREADS
;
5595 } _resultobj
= Py_BuildValue("i",_result
);
5599 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
5600 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5601 PyObject
* _resultobj
;
5604 PyObject
* _argo0
= 0;
5605 char *_kwnames
[] = { "self", NULL
};
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
5611 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5612 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5613 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
5618 wxPy_BEGIN_ALLOW_THREADS
;
5619 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
5621 wxPy_END_ALLOW_THREADS
;
5622 } _resultobj
= Py_BuildValue("i",_result
);
5626 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
5627 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
* _resultobj
;
5631 PyObject
* _argo0
= 0;
5632 char *_kwnames
[] = { "self", NULL
};
5635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
5638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
5645 wxPy_BEGIN_ALLOW_THREADS
;
5646 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
5648 wxPy_END_ALLOW_THREADS
;
5649 } _resultobj
= Py_BuildValue("i",_result
);
5653 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
5654 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5655 PyObject
* _resultobj
;
5658 PyObject
* _argo0
= 0;
5659 char *_kwnames
[] = { "self", NULL
};
5662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
5665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
5672 wxPy_BEGIN_ALLOW_THREADS
;
5673 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
5675 wxPy_END_ALLOW_THREADS
;
5676 } _resultobj
= Py_BuildValue("i",_result
);
5680 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
5681 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
* _resultobj
;
5685 PyObject
* _argo0
= 0;
5686 char *_kwnames
[] = { "self", NULL
};
5689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
5692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
5699 wxPy_BEGIN_ALLOW_THREADS
;
5700 _result
= (int )wxJoystick_GetUPosition(_arg0
);
5702 wxPy_END_ALLOW_THREADS
;
5703 } _resultobj
= Py_BuildValue("i",_result
);
5707 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
5708 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
* _resultobj
;
5712 PyObject
* _argo0
= 0;
5713 char *_kwnames
[] = { "self", NULL
};
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
5719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
5726 wxPy_BEGIN_ALLOW_THREADS
;
5727 _result
= (int )wxJoystick_GetVPosition(_arg0
);
5729 wxPy_END_ALLOW_THREADS
;
5730 } _resultobj
= Py_BuildValue("i",_result
);
5734 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
5735 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
* _resultobj
;
5739 PyObject
* _argo0
= 0;
5740 char *_kwnames
[] = { "self", NULL
};
5743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
5746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
5753 wxPy_BEGIN_ALLOW_THREADS
;
5754 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
5756 wxPy_END_ALLOW_THREADS
;
5757 } _resultobj
= Py_BuildValue("i",_result
);
5761 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
5762 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5763 PyObject
* _resultobj
;
5766 PyObject
* _argo0
= 0;
5767 char *_kwnames
[] = { "self","threshold", NULL
};
5770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
5773 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5774 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5775 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
5780 wxPy_BEGIN_ALLOW_THREADS
;
5781 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
5783 wxPy_END_ALLOW_THREADS
;
5784 } Py_INCREF(Py_None
);
5785 _resultobj
= Py_None
;
5789 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
5790 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
* _resultobj
;
5794 PyObject
* _argo0
= 0;
5795 char *_kwnames
[] = { "self", NULL
};
5798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
5801 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5802 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
5808 wxPy_BEGIN_ALLOW_THREADS
;
5809 _result
= (bool )wxJoystick_IsOk(_arg0
);
5811 wxPy_END_ALLOW_THREADS
;
5812 } _resultobj
= Py_BuildValue("i",_result
);
5816 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
5817 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
* _resultobj
;
5821 PyObject
* _argo0
= 0;
5822 char *_kwnames
[] = { "self", NULL
};
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
5828 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5829 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5830 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
5835 wxPy_BEGIN_ALLOW_THREADS
;
5836 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
5838 wxPy_END_ALLOW_THREADS
;
5839 } _resultobj
= Py_BuildValue("i",_result
);
5843 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
5844 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5845 PyObject
* _resultobj
;
5848 PyObject
* _argo0
= 0;
5849 char *_kwnames
[] = { "self", NULL
};
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
5855 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5856 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5857 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
5862 wxPy_BEGIN_ALLOW_THREADS
;
5863 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
5865 wxPy_END_ALLOW_THREADS
;
5866 } _resultobj
= Py_BuildValue("i",_result
);
5870 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
5871 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5872 PyObject
* _resultobj
;
5875 PyObject
* _argo0
= 0;
5876 char *_kwnames
[] = { "self", NULL
};
5879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
5882 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5883 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5884 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
5889 wxPy_BEGIN_ALLOW_THREADS
;
5890 _result
= (int )wxJoystick_GetProductId(_arg0
);
5892 wxPy_END_ALLOW_THREADS
;
5893 } _resultobj
= Py_BuildValue("i",_result
);
5897 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
5898 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5899 PyObject
* _resultobj
;
5902 PyObject
* _argo0
= 0;
5903 char *_kwnames
[] = { "self", NULL
};
5906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
5909 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5910 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5911 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
5916 wxPy_BEGIN_ALLOW_THREADS
;
5917 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
5919 wxPy_END_ALLOW_THREADS
;
5921 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5929 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
5930 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5931 PyObject
* _resultobj
;
5934 PyObject
* _argo0
= 0;
5935 char *_kwnames
[] = { "self", NULL
};
5938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
5941 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5942 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5943 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
5948 wxPy_BEGIN_ALLOW_THREADS
;
5949 _result
= (int )wxJoystick_GetXMin(_arg0
);
5951 wxPy_END_ALLOW_THREADS
;
5952 } _resultobj
= Py_BuildValue("i",_result
);
5956 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
5957 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5958 PyObject
* _resultobj
;
5961 PyObject
* _argo0
= 0;
5962 char *_kwnames
[] = { "self", NULL
};
5965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
5968 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5969 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5970 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
5975 wxPy_BEGIN_ALLOW_THREADS
;
5976 _result
= (int )wxJoystick_GetYMin(_arg0
);
5978 wxPy_END_ALLOW_THREADS
;
5979 } _resultobj
= Py_BuildValue("i",_result
);
5983 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
5984 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
* _resultobj
;
5988 PyObject
* _argo0
= 0;
5989 char *_kwnames
[] = { "self", NULL
};
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
5995 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5996 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5997 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6002 wxPy_BEGIN_ALLOW_THREADS
;
6003 _result
= (int )wxJoystick_GetZMin(_arg0
);
6005 wxPy_END_ALLOW_THREADS
;
6006 } _resultobj
= Py_BuildValue("i",_result
);
6010 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6011 static PyObject
*_wrap_wxJoystick_GetXMax(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_GetXMax",_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_GetXMax. Expected _wxJoystick_p.");
6029 wxPy_BEGIN_ALLOW_THREADS
;
6030 _result
= (int )wxJoystick_GetXMax(_arg0
);
6032 wxPy_END_ALLOW_THREADS
;
6033 } _resultobj
= Py_BuildValue("i",_result
);
6037 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6038 static PyObject
*_wrap_wxJoystick_GetYMax(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_GetYMax",_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_GetYMax. Expected _wxJoystick_p.");
6056 wxPy_BEGIN_ALLOW_THREADS
;
6057 _result
= (int )wxJoystick_GetYMax(_arg0
);
6059 wxPy_END_ALLOW_THREADS
;
6060 } _resultobj
= Py_BuildValue("i",_result
);
6064 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6065 static PyObject
*_wrap_wxJoystick_GetZMax(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_GetZMax",_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_GetZMax. Expected _wxJoystick_p.");
6083 wxPy_BEGIN_ALLOW_THREADS
;
6084 _result
= (int )wxJoystick_GetZMax(_arg0
);
6086 wxPy_END_ALLOW_THREADS
;
6087 } _resultobj
= Py_BuildValue("i",_result
);
6091 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6092 static PyObject
*_wrap_wxJoystick_GetNumberButtons(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_GetNumberButtons",_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_GetNumberButtons. Expected _wxJoystick_p.");
6110 wxPy_BEGIN_ALLOW_THREADS
;
6111 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
6113 wxPy_END_ALLOW_THREADS
;
6114 } _resultobj
= Py_BuildValue("i",_result
);
6118 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
6119 static PyObject
*_wrap_wxJoystick_GetNumberAxes(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_GetNumberAxes",_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_GetNumberAxes. Expected _wxJoystick_p.");
6137 wxPy_BEGIN_ALLOW_THREADS
;
6138 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
6140 wxPy_END_ALLOW_THREADS
;
6141 } _resultobj
= Py_BuildValue("i",_result
);
6145 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
6146 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
* _resultobj
;
6150 PyObject
* _argo0
= 0;
6151 char *_kwnames
[] = { "self", NULL
};
6154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
6157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
6164 wxPy_BEGIN_ALLOW_THREADS
;
6165 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
6167 wxPy_END_ALLOW_THREADS
;
6168 } _resultobj
= Py_BuildValue("i",_result
);
6172 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
6173 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6174 PyObject
* _resultobj
;
6177 PyObject
* _argo0
= 0;
6178 char *_kwnames
[] = { "self", NULL
};
6181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
6184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
6191 wxPy_BEGIN_ALLOW_THREADS
;
6192 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
6194 wxPy_END_ALLOW_THREADS
;
6195 } _resultobj
= Py_BuildValue("i",_result
);
6199 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
6200 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6201 PyObject
* _resultobj
;
6204 PyObject
* _argo0
= 0;
6205 char *_kwnames
[] = { "self", NULL
};
6208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
6211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
6218 wxPy_BEGIN_ALLOW_THREADS
;
6219 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
6221 wxPy_END_ALLOW_THREADS
;
6222 } _resultobj
= Py_BuildValue("i",_result
);
6226 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
6227 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6228 PyObject
* _resultobj
;
6231 PyObject
* _argo0
= 0;
6232 char *_kwnames
[] = { "self", NULL
};
6235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
6238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
6245 wxPy_BEGIN_ALLOW_THREADS
;
6246 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
6248 wxPy_END_ALLOW_THREADS
;
6249 } _resultobj
= Py_BuildValue("i",_result
);
6253 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
6254 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6255 PyObject
* _resultobj
;
6258 PyObject
* _argo0
= 0;
6259 char *_kwnames
[] = { "self", NULL
};
6262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
6265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
6272 wxPy_BEGIN_ALLOW_THREADS
;
6273 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
6275 wxPy_END_ALLOW_THREADS
;
6276 } _resultobj
= Py_BuildValue("i",_result
);
6280 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
6281 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
* _resultobj
;
6285 PyObject
* _argo0
= 0;
6286 char *_kwnames
[] = { "self", NULL
};
6289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
6292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
6299 wxPy_BEGIN_ALLOW_THREADS
;
6300 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
6302 wxPy_END_ALLOW_THREADS
;
6303 } _resultobj
= Py_BuildValue("i",_result
);
6307 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
6308 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
* _resultobj
;
6312 PyObject
* _argo0
= 0;
6313 char *_kwnames
[] = { "self", NULL
};
6316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
6319 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6320 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6321 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
6326 wxPy_BEGIN_ALLOW_THREADS
;
6327 _result
= (int )wxJoystick_GetUMin(_arg0
);
6329 wxPy_END_ALLOW_THREADS
;
6330 } _resultobj
= Py_BuildValue("i",_result
);
6334 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
6335 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
* _resultobj
;
6339 PyObject
* _argo0
= 0;
6340 char *_kwnames
[] = { "self", NULL
};
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
6346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
6353 wxPy_BEGIN_ALLOW_THREADS
;
6354 _result
= (int )wxJoystick_GetUMax(_arg0
);
6356 wxPy_END_ALLOW_THREADS
;
6357 } _resultobj
= Py_BuildValue("i",_result
);
6361 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
6362 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
* _resultobj
;
6366 PyObject
* _argo0
= 0;
6367 char *_kwnames
[] = { "self", NULL
};
6370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
6373 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6374 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6375 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
6380 wxPy_BEGIN_ALLOW_THREADS
;
6381 _result
= (int )wxJoystick_GetVMin(_arg0
);
6383 wxPy_END_ALLOW_THREADS
;
6384 } _resultobj
= Py_BuildValue("i",_result
);
6388 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
6389 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
* _resultobj
;
6393 PyObject
* _argo0
= 0;
6394 char *_kwnames
[] = { "self", NULL
};
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
6400 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6401 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6402 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
6407 wxPy_BEGIN_ALLOW_THREADS
;
6408 _result
= (int )wxJoystick_GetVMax(_arg0
);
6410 wxPy_END_ALLOW_THREADS
;
6411 } _resultobj
= Py_BuildValue("i",_result
);
6415 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
6416 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6417 PyObject
* _resultobj
;
6420 PyObject
* _argo0
= 0;
6421 char *_kwnames
[] = { "self", NULL
};
6424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
6427 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6428 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6429 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
6434 wxPy_BEGIN_ALLOW_THREADS
;
6435 _result
= (bool )wxJoystick_HasRudder(_arg0
);
6437 wxPy_END_ALLOW_THREADS
;
6438 } _resultobj
= Py_BuildValue("i",_result
);
6442 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
6443 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
* _resultobj
;
6447 PyObject
* _argo0
= 0;
6448 char *_kwnames
[] = { "self", NULL
};
6451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
6454 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6455 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6456 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
6461 wxPy_BEGIN_ALLOW_THREADS
;
6462 _result
= (bool )wxJoystick_HasZ(_arg0
);
6464 wxPy_END_ALLOW_THREADS
;
6465 } _resultobj
= Py_BuildValue("i",_result
);
6469 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
6470 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6471 PyObject
* _resultobj
;
6474 PyObject
* _argo0
= 0;
6475 char *_kwnames
[] = { "self", NULL
};
6478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
6481 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6482 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6483 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
6488 wxPy_BEGIN_ALLOW_THREADS
;
6489 _result
= (bool )wxJoystick_HasU(_arg0
);
6491 wxPy_END_ALLOW_THREADS
;
6492 } _resultobj
= Py_BuildValue("i",_result
);
6496 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
6497 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
* _resultobj
;
6501 PyObject
* _argo0
= 0;
6502 char *_kwnames
[] = { "self", NULL
};
6505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
6508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
6515 wxPy_BEGIN_ALLOW_THREADS
;
6516 _result
= (bool )wxJoystick_HasV(_arg0
);
6518 wxPy_END_ALLOW_THREADS
;
6519 } _resultobj
= Py_BuildValue("i",_result
);
6523 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
6524 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
* _resultobj
;
6528 PyObject
* _argo0
= 0;
6529 char *_kwnames
[] = { "self", NULL
};
6532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
6535 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6536 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6537 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
6542 wxPy_BEGIN_ALLOW_THREADS
;
6543 _result
= (bool )wxJoystick_HasPOV(_arg0
);
6545 wxPy_END_ALLOW_THREADS
;
6546 } _resultobj
= Py_BuildValue("i",_result
);
6550 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
6551 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
* _resultobj
;
6555 PyObject
* _argo0
= 0;
6556 char *_kwnames
[] = { "self", NULL
};
6559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
6562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
6569 wxPy_BEGIN_ALLOW_THREADS
;
6570 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
6572 wxPy_END_ALLOW_THREADS
;
6573 } _resultobj
= Py_BuildValue("i",_result
);
6577 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
6578 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6579 PyObject
* _resultobj
;
6582 PyObject
* _argo0
= 0;
6583 char *_kwnames
[] = { "self", NULL
};
6586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
6589 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6590 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6591 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
6596 wxPy_BEGIN_ALLOW_THREADS
;
6597 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
6599 wxPy_END_ALLOW_THREADS
;
6600 } _resultobj
= Py_BuildValue("i",_result
);
6604 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
6605 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6606 PyObject
* _resultobj
;
6610 int _arg2
= (int ) 0;
6611 PyObject
* _argo0
= 0;
6612 PyObject
* _argo1
= 0;
6613 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
6616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
6626 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6627 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
6633 wxPy_BEGIN_ALLOW_THREADS
;
6634 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
6636 wxPy_END_ALLOW_THREADS
;
6637 } _resultobj
= Py_BuildValue("i",_result
);
6641 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
6642 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
* _resultobj
;
6646 PyObject
* _argo0
= 0;
6647 char *_kwnames
[] = { "self", NULL
};
6650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
6653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
6660 wxPy_BEGIN_ALLOW_THREADS
;
6661 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
6663 wxPy_END_ALLOW_THREADS
;
6664 } _resultobj
= Py_BuildValue("i",_result
);
6668 static PyMethodDef misc2cMethods
[] = {
6669 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
6670 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
6671 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
6672 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
6673 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
6674 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
6675 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
6676 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
6677 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
6678 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
6679 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
6680 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
6681 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
6682 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
6683 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
6684 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
6685 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
6686 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
6687 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
6688 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
6689 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
6690 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
6691 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
6692 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
6693 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
6694 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
6695 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
6696 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
6697 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
6698 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
6699 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
6700 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
6701 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
6702 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
6703 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
6704 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
6705 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
6706 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
6707 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
6708 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
6709 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
6710 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6711 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
6712 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
6713 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
6714 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
6715 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
6716 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
6717 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
6718 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
6719 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
6720 { "wxProcess__setSelf", (PyCFunction
) _wrap_wxProcess__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
6721 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
6722 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
6723 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
6724 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
6725 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
6726 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
6727 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
6728 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
6729 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
6730 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
6731 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
6732 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
6733 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
6734 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
6735 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
6736 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
6737 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
6738 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
6739 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
6740 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
6741 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
6742 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
6743 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
6744 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
6745 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
6746 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
6747 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
6748 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
6749 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
6750 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
6751 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
6752 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
6753 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
6754 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
6755 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
6756 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
6757 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
6758 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
6759 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
6760 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
6761 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
6762 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
6763 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
6764 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
6765 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
6766 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
6767 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
6768 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
6769 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
6770 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
6771 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
6772 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
6773 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
6774 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
6775 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
6776 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
6777 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
6778 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
6779 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
6780 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
6781 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
6782 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
6783 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
6784 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
6785 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
6786 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
6787 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
6788 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
6789 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
6790 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
6791 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
6792 { "wxFontEnumerator__setSelf", (PyCFunction
) _wrap_wxFontEnumerator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
6793 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
6794 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
6795 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
6796 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
6797 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
6798 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
6799 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
6800 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
6801 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6802 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
6803 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
6804 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6805 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
6806 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
6807 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
6808 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
6809 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
6810 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6811 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
6812 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
6813 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
6814 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
6815 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
6816 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
6817 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
6818 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
6819 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
6820 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
6821 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
6822 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
6823 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
6824 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
6825 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
6826 { "wxDragListItem", (PyCFunction
) _wrap_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
6827 { "wxDragTreeItem", (PyCFunction
) _wrap_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
6828 { "wxDragString", (PyCFunction
) _wrap_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
6829 { "wxDragIcon", (PyCFunction
) _wrap_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
6830 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
6831 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
6832 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
6833 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
6834 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
6835 { "wxWakeUpMainThread", (PyCFunction
) _wrap_wxWakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
6836 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
6837 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
6838 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
6839 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
6840 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
6841 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
6842 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
6843 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
6844 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
6845 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
6846 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
6847 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
6848 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
6849 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
6850 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
6851 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
6852 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
6853 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
6854 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
6855 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
6856 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
6857 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
6858 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
6859 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
6860 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
6861 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
6862 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
6863 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
6864 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
6865 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
6866 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
6867 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
6868 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
6869 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
6870 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
6871 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
6872 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
6873 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
6874 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
6875 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
6882 * This table is used by the pointer type-checker
6884 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6885 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
6886 { "_wxEvent","_class_wxProcessEvent",SwigwxProcessEventTowxEvent
},
6887 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
6888 { "_wxEvent","_class_wxEvent",0},
6889 { "_class_wxActivateEvent","_wxActivateEvent",0},
6890 { "_signed_long","_long",0},
6891 { "_wxMenuEvent","_class_wxMenuEvent",0},
6892 { "_class_wxProcessEvent","_wxProcessEvent",0},
6893 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
6894 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
6895 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
6896 { "_wxWindowDisabler","_class_wxWindowDisabler",0},
6897 { "_wxPrintQuality","_wxCoord",0},
6898 { "_wxPrintQuality","_int",0},
6899 { "_wxPrintQuality","_signed_int",0},
6900 { "_wxPrintQuality","_unsigned_int",0},
6901 { "_wxPrintQuality","_wxWindowID",0},
6902 { "_wxPrintQuality","_uint",0},
6903 { "_wxPrintQuality","_EBool",0},
6904 { "_wxPrintQuality","_size_t",0},
6905 { "_wxPrintQuality","_time_t",0},
6906 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
6907 { "_class_wxRegionIterator","_wxRegionIterator",0},
6908 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
6909 { "_class_wxMenuBar","_wxMenuBar",0},
6910 { "_class_wxEvtHandler","_class_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
6911 { "_class_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
6912 { "_class_wxEvtHandler","_wxEvtHandler",0},
6913 { "_wxPaintEvent","_class_wxPaintEvent",0},
6914 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
6915 { "_wxCursor","_class_wxCursor",0},
6916 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
6917 { "_wxPyProcess","_class_wxPyProcess",0},
6918 { "_wxMutexGuiLocker","_class_wxMutexGuiLocker",0},
6919 { "_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog
},
6920 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
6921 { "_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog
},
6922 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
6923 { "_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
6924 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
6925 { "_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog
},
6926 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
6927 { "_wxLog","_class_wxLog",0},
6928 { "_wxMask","_class_wxMask",0},
6929 { "_wxToolTip","_class_wxToolTip",0},
6930 { "_wxPen","_class_wxPen",0},
6931 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
6932 { "_byte","_unsigned_char",0},
6933 { "_wxDataObject","_class_wxDataObject",0},
6934 { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
6935 { "_wxColourDatabase","_class_wxColourDatabase",0},
6936 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
6937 { "_wxPyDropSource","_class_wxPyDropSource",0},
6938 { "_long","_unsigned_long",0},
6939 { "_long","_signed_long",0},
6940 { "_wxImageList","_class_wxImageList",0},
6941 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
6942 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
6943 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
6944 { "_class_wxClipboard","_wxClipboard",0},
6945 { "_wxGDIObject","_class_wxGDIObject",0},
6946 { "_wxDC","_class_wxDC",0},
6947 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
6948 { "_class_wxObject","_class_wxJoystick",SwigwxJoystickTowxObject
},
6949 { "_class_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
6950 { "_class_wxObject","_class_wxPyProcess",SwigwxPyProcessTowxObject
},
6951 { "_class_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
6952 { "_class_wxObject","_class_wxProcessEvent",SwigwxProcessEventTowxObject
},
6953 { "_class_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
6954 { "_class_wxObject","_class_wxPyTimer",SwigwxPyTimerTowxObject
},
6955 { "_class_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
6956 { "_class_wxObject","_class_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
6957 { "_class_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
6958 { "_class_wxObject","_class_wxToolTip",SwigwxToolTipTowxObject
},
6959 { "_class_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
6960 { "_class_wxObject","_wxObject",0},
6961 { "_wxSpinEvent","_class_wxSpinEvent",0},
6962 { "_size_t","_wxCoord",0},
6963 { "_size_t","_wxPrintQuality",0},
6964 { "_size_t","_time_t",0},
6965 { "_size_t","_unsigned_int",0},
6966 { "_size_t","_int",0},
6967 { "_size_t","_wxWindowID",0},
6968 { "_size_t","_uint",0},
6969 { "_class_wxRealPoint","_wxRealPoint",0},
6970 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
6971 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
6972 { "_wxLogGui","_class_wxLogGui",0},
6973 { "_class_wxMenuItem","_wxMenuItem",0},
6974 { "_class_wxPaintEvent","_wxPaintEvent",0},
6975 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
6976 { "_wxPanel","_class_wxPanel",0},
6977 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
6978 { "_wxPyEvent","_class_wxPyEvent",0},
6979 { "_class_wxMask","_wxMask",0},
6980 { "_wxTextDataObject","_class_wxTextDataObject",0},
6981 { "_class_wxKeyEvent","_wxKeyEvent",0},
6982 { "_class_wxToolTip","_wxToolTip",0},
6983 { "_wxColour","_class_wxColour",0},
6984 { "_class_wxDialog","_wxDialog",0},
6985 { "_wxBusyCursor","_class_wxBusyCursor",0},
6986 { "_class_wxFileDataObject","_wxFileDataObject",0},
6987 { "_wxIdleEvent","_class_wxIdleEvent",0},
6988 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
6989 { "_class_wxDataObject","_wxDataObject",0},
6990 { "_wxCaret","_class_wxCaret",0},
6991 { "_wxBrush","_class_wxBrush",0},
6992 { "_wxDataFormat","_class_wxDataFormat",0},
6993 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
6994 { "_wxShowEvent","_class_wxShowEvent",0},
6995 { "_uint","_wxCoord",0},
6996 { "_uint","_wxPrintQuality",0},
6997 { "_uint","_time_t",0},
6998 { "_uint","_size_t",0},
6999 { "_uint","_unsigned_int",0},
7000 { "_uint","_int",0},
7001 { "_uint","_wxWindowID",0},
7002 { "_wxChar","_char",0},
7003 { "_wxPyValidator","_class_wxPyValidator",0},
7004 { "_class_wxEvent","_class_wxProcessEvent",SwigwxProcessEventTowxEvent
},
7005 { "_class_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
7006 { "_class_wxEvent","_wxEvent",0},
7007 { "_wxRect","_class_wxRect",0},
7008 { "_wxCommandEvent","_class_wxCommandEvent",0},
7009 { "_wxSizeEvent","_class_wxSizeEvent",0},
7010 { "_class_wxLogWindow","_wxLogWindow",0},
7011 { "_wxPoint","_class_wxPoint",0},
7012 { "_class_wxWindowDisabler","_wxWindowDisabler",0},
7013 { "_char","_wxChar",0},
7014 { "_wxBitmap","_class_wxBitmap",0},
7015 { "_wxPenList","_class_wxPenList",0},
7016 { "_wxWindowDC","_class_wxWindowDC",0},
7017 { "_wxTimerEvent","_class_wxTimerEvent",0},
7018 { "_wxPyTimer","_class_wxPyTimer",0},
7019 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
7020 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
7021 { "_class_wxValidator","_wxValidator",0},
7022 { "_class_wxPyEvent","_wxPyEvent",0},
7023 { "_class_wxMutexGuiLocker","_wxMutexGuiLocker",0},
7024 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
7025 { "_class_wxBusyCursor","_wxBusyCursor",0},
7026 { "_wxDropTarget","_class_wxDropTarget",0},
7027 { "_class_wxColourDatabase","_wxColourDatabase",0},
7028 { "_wxScrollEvent","_class_wxScrollEvent",0},
7029 { "_EBool","_wxCoord",0},
7030 { "_EBool","_wxPrintQuality",0},
7031 { "_EBool","_signed_int",0},
7032 { "_EBool","_int",0},
7033 { "_EBool","_wxWindowID",0},
7034 { "_class_wxRegion","_wxRegion",0},
7035 { "_class_wxDataFormat","_wxDataFormat",0},
7036 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
7037 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
7038 { "_wxFont","_class_wxFont",0},
7039 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
7040 { "_wxCloseEvent","_class_wxCloseEvent",0},
7041 { "_wxProcessEvent","_class_wxProcessEvent",0},
7042 { "_unsigned_long","_long",0},
7043 { "_class_wxRect","_wxRect",0},
7044 { "_class_wxDC","_wxDC",0},
7045 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
7046 { "_wxGenericDragImage","_class_wxGenericDragImage",0},
7047 { "_class_wxBrushList","_wxBrushList",0},
7048 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
7049 { "_wxPyInputStream","_class_wxPyInputStream",0},
7050 { "_class_wxPenList","_wxPenList",0},
7051 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
7052 { "_class_wxOutputStream","_wxOutputStream",0},
7053 { "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
7054 { "_wxFocusEvent","_class_wxFocusEvent",0},
7055 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
7056 { "_class_wxTimerEvent","_wxTimerEvent",0},
7057 { "_class_wxPyTimer","_wxPyTimer",0},
7058 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
7059 { "_class_wxPanel","_wxPanel",0},
7060 { "_signed_int","_wxCoord",0},
7061 { "_signed_int","_wxPrintQuality",0},
7062 { "_signed_int","_EBool",0},
7063 { "_signed_int","_wxWindowID",0},
7064 { "_signed_int","_int",0},
7065 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
7066 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
7067 { "_class_wxTextDataObject","_wxTextDataObject",0},
7068 { "_wxMenu","_class_wxMenu",0},
7069 { "_class_wxMoveEvent","_wxMoveEvent",0},
7070 { "_wxScreenDC","_class_wxScreenDC",0},
7071 { "_WXTYPE","_short",0},
7072 { "_WXTYPE","_signed_short",0},
7073 { "_WXTYPE","_unsigned_short",0},
7074 { "_class_wxDropTarget","_wxDropTarget",0},
7075 { "_class_wxCaret","_wxCaret",0},
7076 { "_class_wxBrush","_wxBrush",0},
7077 { "_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7078 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7079 { "_wxTipProvider","_class_wxTipProvider",0},
7080 { "_unsigned_short","_WXTYPE",0},
7081 { "_unsigned_short","_short",0},
7082 { "_class_wxWindow","_wxWindow",0},
7083 { "_class_wxLogStderr","_wxLogStderr",0},
7084 { "_class_wxFont","_wxFont",0},
7085 { "_wxClipboard","_class_wxClipboard",0},
7086 { "_class_wxPyValidator","_wxPyValidator",0},
7087 { "_class_wxCloseEvent","_wxCloseEvent",0},
7088 { "_wxBusyInfo","_class_wxBusyInfo",0},
7089 { "_wxFontList","_class_wxFontList",0},
7090 { "_class_wxMenuEvent","_wxMenuEvent",0},
7091 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
7092 { "_wxJoystick","_class_wxJoystick",0},
7093 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
7094 { "_wxClientDC","_class_wxClientDC",0},
7095 { "_wxMouseEvent","_class_wxMouseEvent",0},
7096 { "_class_wxGenericDragImage","_wxGenericDragImage",0},
7097 { "_wxObject","_class_wxJoystick",SwigwxJoystickTowxObject
},
7098 { "_wxObject","_wxJoystick",SwigwxJoystickTowxObject
},
7099 { "_wxObject","_class_wxPyProcess",SwigwxPyProcessTowxObject
},
7100 { "_wxObject","_wxPyProcess",SwigwxPyProcessTowxObject
},
7101 { "_wxObject","_class_wxProcessEvent",SwigwxProcessEventTowxObject
},
7102 { "_wxObject","_wxProcessEvent",SwigwxProcessEventTowxObject
},
7103 { "_wxObject","_class_wxPyTimer",SwigwxPyTimerTowxObject
},
7104 { "_wxObject","_wxPyTimer",SwigwxPyTimerTowxObject
},
7105 { "_wxObject","_class_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
7106 { "_wxObject","_wxGenericDragImage",SwigwxGenericDragImageTowxObject
},
7107 { "_wxObject","_class_wxToolTip",SwigwxToolTipTowxObject
},
7108 { "_wxObject","_wxToolTip",SwigwxToolTipTowxObject
},
7109 { "_wxObject","_class_wxObject",0},
7110 { "_class_wxPoint","_wxPoint",0},
7111 { "_class_wxPyInputStream","_wxPyInputStream",0},
7112 { "_wxRealPoint","_class_wxRealPoint",0},
7113 { "_signed_short","_WXTYPE",0},
7114 { "_signed_short","_short",0},
7115 { "_wxMemoryDC","_class_wxMemoryDC",0},
7116 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
7117 { "_wxPaintDC","_class_wxPaintDC",0},
7118 { "_class_wxWindowDC","_wxWindowDC",0},
7119 { "_class_wxFocusEvent","_wxFocusEvent",0},
7120 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
7121 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
7122 { "_class_wxCursor","_wxCursor",0},
7123 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
7124 { "_class_wxPyProcess","_wxPyProcess",0},
7125 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
7126 { "_class_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog
},
7127 { "_class_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
7128 { "_class_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog
},
7129 { "_class_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
7130 { "_class_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7131 { "_class_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7132 { "_class_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog
},
7133 { "_class_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
7134 { "_class_wxLog","_wxLog",0},
7135 { "_unsigned_char","_byte",0},
7136 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
7137 { "_class_wxMenu","_wxMenu",0},
7138 { "_unsigned_int","_wxCoord",0},
7139 { "_unsigned_int","_wxPrintQuality",0},
7140 { "_unsigned_int","_time_t",0},
7141 { "_unsigned_int","_size_t",0},
7142 { "_unsigned_int","_uint",0},
7143 { "_unsigned_int","_wxWindowID",0},
7144 { "_unsigned_int","_int",0},
7145 { "_wxIcon","_class_wxIcon",0},
7146 { "_wxDialog","_class_wxDialog",0},
7147 { "_class_wxPen","_wxPen",0},
7148 { "_short","_WXTYPE",0},
7149 { "_short","_unsigned_short",0},
7150 { "_short","_signed_short",0},
7151 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
7152 { "_class_wxPyDropSource","_wxPyDropSource",0},
7153 { "_class_wxScrollEvent","_wxScrollEvent",0},
7154 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
7155 { "_class_wxImageList","_wxImageList",0},
7156 { "_wxPyTipProvider","_class_wxPyTipProvider",0},
7157 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
7158 { "_wxWindowID","_wxCoord",0},
7159 { "_wxWindowID","_wxPrintQuality",0},
7160 { "_wxWindowID","_time_t",0},
7161 { "_wxWindowID","_size_t",0},
7162 { "_wxWindowID","_EBool",0},
7163 { "_wxWindowID","_uint",0},
7164 { "_wxWindowID","_int",0},
7165 { "_wxWindowID","_signed_int",0},
7166 { "_wxWindowID","_unsigned_int",0},
7167 { "_class_wxGDIObject","_wxGDIObject",0},
7168 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
7169 { "_int","_wxCoord",0},
7170 { "_int","_wxPrintQuality",0},
7171 { "_int","_time_t",0},
7172 { "_int","_size_t",0},
7173 { "_int","_EBool",0},
7174 { "_int","_uint",0},
7175 { "_int","_wxWindowID",0},
7176 { "_int","_unsigned_int",0},
7177 { "_int","_signed_int",0},
7178 { "_class_wxMouseEvent","_wxMouseEvent",0},
7179 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
7180 { "_wxLogWindow","_class_wxLogWindow",0},
7181 { "_class_wxSpinEvent","_wxSpinEvent",0},
7182 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
7183 { "_time_t","_wxCoord",0},
7184 { "_time_t","_wxPrintQuality",0},
7185 { "_time_t","_unsigned_int",0},
7186 { "_time_t","_int",0},
7187 { "_time_t","_wxWindowID",0},
7188 { "_time_t","_uint",0},
7189 { "_time_t","_size_t",0},
7190 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
7191 { "_wxLogNull","_class_wxLogNull",0},
7192 { "_wxSize","_class_wxSize",0},
7193 { "_wxRegionIterator","_class_wxRegionIterator",0},
7194 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
7195 { "_class_wxLogTextCtrl","_wxLogTextCtrl",0},
7196 { "_class_wxLogGui","_wxLogGui",0},
7197 { "_class_wxPaintDC","_wxPaintDC",0},
7198 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
7199 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
7200 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
7201 { "_wxValidator","_class_wxValidator",0},
7202 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
7203 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
7204 { "_class_wxIcon","_wxIcon",0},
7205 { "_class_wxColour","_wxColour",0},
7206 { "_class_wxScreenDC","_wxScreenDC",0},
7207 { "_wxPalette","_class_wxPalette",0},
7208 { "_class_wxIdleEvent","_wxIdleEvent",0},
7209 { "_wxCoord","_int",0},
7210 { "_wxCoord","_signed_int",0},
7211 { "_wxCoord","_unsigned_int",0},
7212 { "_wxCoord","_wxWindowID",0},
7213 { "_wxCoord","_uint",0},
7214 { "_wxCoord","_EBool",0},
7215 { "_wxCoord","_size_t",0},
7216 { "_wxCoord","_time_t",0},
7217 { "_wxCoord","_wxPrintQuality",0},
7218 { "_wxEraseEvent","_class_wxEraseEvent",0},
7219 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
7220 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
7221 { "_class_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7222 { "_class_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7223 { "_class_wxTipProvider","_wxTipProvider",0},
7224 { "_wxRegion","_class_wxRegion",0},
7225 { "_class_wxShowEvent","_wxShowEvent",0},
7226 { "_class_wxPyTipProvider","_wxPyTipProvider",0},
7227 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
7228 { "_wxActivateEvent","_class_wxActivateEvent",0},
7229 { "_class_wxBusyInfo","_wxBusyInfo",0},
7230 { "_class_wxFontList","_wxFontList",0},
7231 { "_class_wxJoystick","_wxJoystick",0},
7232 { "_class_wxCommandEvent","_wxCommandEvent",0},
7233 { "_class_wxClientDC","_wxClientDC",0},
7234 { "_class_wxSizeEvent","_wxSizeEvent",0},
7235 { "_wxBrushList","_class_wxBrushList",0},
7236 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
7237 { "_class_wxLogNull","_wxLogNull",0},
7238 { "_class_wxSize","_wxSize",0},
7239 { "_class_wxBitmap","_wxBitmap",0},
7240 { "_class_wxMemoryDC","_wxMemoryDC",0},
7241 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
7242 { "_wxMenuBar","_class_wxMenuBar",0},
7243 { "_wxOutputStream","_class_wxOutputStream",0},
7244 { "_wxEvtHandler","_class_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7245 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7246 { "_wxEvtHandler","_class_wxEvtHandler",0},
7247 { "_wxMenuItem","_class_wxMenuItem",0},
7248 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
7249 { "_wxKeyEvent","_class_wxKeyEvent",0},
7250 { "_wxMoveEvent","_class_wxMoveEvent",0},
7251 { "_class_wxPalette","_wxPalette",0},
7252 { "_wxFileDataObject","_class_wxFileDataObject",0},
7253 { "_class_wxEraseEvent","_wxEraseEvent",0},
7254 { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
7255 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
7256 { "_wxWindow","_class_wxWindow",0},
7257 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
7258 { "_wxLogStderr","_class_wxLogStderr",0},
7261 static PyObject
*SWIG_globals
;
7265 SWIGEXPORT(void) initmisc2c() {
7267 SWIG_globals
= SWIG_newvarlink();
7268 m
= Py_InitModule("misc2c", misc2cMethods
);
7269 d
= PyModule_GetDict(m
);
7270 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
7271 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
7272 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
7273 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
7274 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
7275 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
7276 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
7277 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
7278 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
7279 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
7280 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
7281 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
7282 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
7283 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
7284 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
7285 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
7286 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
7287 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
7288 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
7289 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
7290 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
7291 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
7292 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
7293 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
7294 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
7295 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
7296 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
7297 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
7298 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
7299 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
7300 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
7301 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
7302 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
7303 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
7304 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
7305 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
7306 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
7307 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
7308 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
7309 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
7310 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
7311 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
7312 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
7313 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
7314 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
7315 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
7316 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
7317 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
7318 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
7319 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
7320 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
7321 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
7322 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
7323 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
7324 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
7325 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
7326 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
7327 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
7328 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
7329 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
7330 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
7331 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
7332 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
7333 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
7334 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
7335 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
7336 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
7337 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
7338 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
7339 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
7340 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
7341 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
7342 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
7343 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
7344 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
7345 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
7346 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
7347 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
7348 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
7349 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
7350 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
7351 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
7352 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
7353 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
7354 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
7355 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
7356 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
7357 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
7358 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
7359 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
7360 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
7361 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
7362 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
7363 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
7364 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
7365 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
7366 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
7368 wxPyPtrTypeMap_Add("wxFontEnumerator", "wxPyFontEnumerator");
7369 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
7370 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
7373 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7374 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);