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
};
1152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
1155 #if PYTHON_API_VERSION >= 1009
1156 char* tmpPtr
; int tmpSize
;
1157 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1158 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1161 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1163 _arg0
= new wxString(tmpPtr
, tmpSize
);
1165 if (!PyString_Check(_obj0
)) {
1166 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1169 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1173 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1174 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1180 wxPy_BEGIN_ALLOW_THREADS
;
1181 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
1183 wxPy_END_ALLOW_THREADS
;
1185 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1186 _resultobj
= Py_BuildValue("s",_ptemp
);
1189 _resultobj
= Py_None
;
1198 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1199 PyObject
* _resultobj
;
1202 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1203 PyObject
* _obj0
= 0;
1204 PyObject
* _argo1
= 0;
1205 char *_kwnames
[] = { "name","parent", NULL
};
1209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1212 #if PYTHON_API_VERSION >= 1009
1213 char* tmpPtr
; int tmpSize
;
1214 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1215 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1218 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1220 _arg0
= new wxString(tmpPtr
, tmpSize
);
1222 if (!PyString_Check(_obj0
)) {
1223 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1226 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1230 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1231 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1237 wxPy_BEGIN_ALLOW_THREADS
;
1238 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1240 wxPy_END_ALLOW_THREADS
;
1242 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1243 _resultobj
= Py_BuildValue("s",_ptemp
);
1246 _resultobj
= Py_None
;
1255 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1256 PyObject
* _resultobj
;
1257 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1258 PyObject
* _argo0
= 0;
1259 char *_kwnames
[] = { "cursor", NULL
};
1262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1272 wxPy_BEGIN_ALLOW_THREADS
;
1273 wxBeginBusyCursor(_arg0
);
1275 wxPy_END_ALLOW_THREADS
;
1276 } Py_INCREF(Py_None
);
1277 _resultobj
= Py_None
;
1281 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1282 PyObject
* _resultobj
;
1284 char *_kwnames
[] = { NULL
};
1288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1291 wxPy_BEGIN_ALLOW_THREADS
;
1292 _result
= (wxWindow
*)wxGetActiveWindow();
1294 wxPy_END_ALLOW_THREADS
;
1296 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1297 _resultobj
= Py_BuildValue("s",_ptemp
);
1300 _resultobj
= Py_None
;
1305 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1306 PyObject
* _resultobj
;
1310 char *_kwnames
[] = { "name","value", NULL
};
1313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1316 wxPy_BEGIN_ALLOW_THREADS
;
1317 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1319 wxPy_END_ALLOW_THREADS
;
1320 } _resultobj
= Py_BuildValue("i",_result
);
1324 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
* _resultobj
;
1326 char *_kwnames
[] = { NULL
};
1329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1332 wxPy_BEGIN_ALLOW_THREADS
;
1335 wxPy_END_ALLOW_THREADS
;
1336 } Py_INCREF(Py_None
);
1337 _resultobj
= Py_None
;
1341 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1342 PyObject
* _resultobj
;
1345 char *_kwnames
[] = { "resource", NULL
};
1349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1352 wxPy_BEGIN_ALLOW_THREADS
;
1353 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1355 wxPy_END_ALLOW_THREADS
;
1356 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1357 _resultobj
= Py_BuildValue("s",_ptemp
);
1361 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1362 PyObject
* _resultobj
;
1365 char *_kwnames
[] = { "resource", NULL
};
1369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1372 wxPy_BEGIN_ALLOW_THREADS
;
1373 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1375 wxPy_END_ALLOW_THREADS
;
1376 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1377 _resultobj
= Py_BuildValue("s",_ptemp
);
1381 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1382 PyObject
* _resultobj
;
1383 wxMenuBar
* _result
;
1385 char *_kwnames
[] = { "resource", NULL
};
1389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1392 wxPy_BEGIN_ALLOW_THREADS
;
1393 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1395 wxPy_END_ALLOW_THREADS
;
1397 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
1398 _resultobj
= Py_BuildValue("s",_ptemp
);
1401 _resultobj
= Py_None
;
1406 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
* _resultobj
;
1410 char *_kwnames
[] = { "name", NULL
};
1413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1416 wxPy_BEGIN_ALLOW_THREADS
;
1417 _result
= (int )wxResourceGetIdentifier(_arg0
);
1419 wxPy_END_ALLOW_THREADS
;
1420 } _resultobj
= Py_BuildValue("i",_result
);
1424 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1425 PyObject
* _resultobj
;
1428 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1429 PyObject
* _argo1
= 0;
1430 char *_kwnames
[] = { "resource","table", NULL
};
1433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1436 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1437 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1438 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1443 wxPy_BEGIN_ALLOW_THREADS
;
1444 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1446 wxPy_END_ALLOW_THREADS
;
1447 } _resultobj
= Py_BuildValue("i",_result
);
1451 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1452 PyObject
* _resultobj
;
1455 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1456 PyObject
* _argo1
= 0;
1457 char *_kwnames
[] = { "filename","table", NULL
};
1460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1463 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1464 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1470 wxPy_BEGIN_ALLOW_THREADS
;
1471 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1473 wxPy_END_ALLOW_THREADS
;
1474 } _resultobj
= Py_BuildValue("i",_result
);
1478 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
* _resultobj
;
1482 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1483 PyObject
* _argo1
= 0;
1484 char *_kwnames
[] = { "resource","table", NULL
};
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1490 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1491 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1497 wxPy_BEGIN_ALLOW_THREADS
;
1498 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1500 wxPy_END_ALLOW_THREADS
;
1501 } _resultobj
= Py_BuildValue("i",_result
);
1505 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1506 PyObject
* _resultobj
;
1509 char *_kwnames
[] = { "index", NULL
};
1513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1516 wxPy_BEGIN_ALLOW_THREADS
;
1517 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1519 wxPy_END_ALLOW_THREADS
;
1520 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1521 _resultobj
= Py_BuildValue("s",_ptemp
);
1525 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1526 PyObject
* _resultobj
;
1529 char *_kwnames
[] = { "index", NULL
};
1533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1536 wxPy_BEGIN_ALLOW_THREADS
;
1537 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1539 wxPy_END_ALLOW_THREADS
;
1540 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1541 _resultobj
= Py_BuildValue("s",_ptemp
);
1545 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1546 PyObject
* _resultobj
;
1549 char *_kwnames
[] = { "index", NULL
};
1552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1555 wxPy_BEGIN_ALLOW_THREADS
;
1556 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1558 wxPy_END_ALLOW_THREADS
;
1559 } _resultobj
= Py_BuildValue("i",_result
);
1563 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1564 PyObject
* _resultobj
;
1567 char *_kwnames
[] = { "flag", NULL
};
1570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
1572 _arg0
= (bool ) tempbool0
;
1574 wxPy_BEGIN_ALLOW_THREADS
;
1575 wxToolTip_Enable(_arg0
);
1577 wxPy_END_ALLOW_THREADS
;
1578 } Py_INCREF(Py_None
);
1579 _resultobj
= Py_None
;
1583 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1584 PyObject
* _resultobj
;
1586 char *_kwnames
[] = { "milliseconds", NULL
};
1589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
1592 wxPy_BEGIN_ALLOW_THREADS
;
1593 wxToolTip_SetDelay(_arg0
);
1595 wxPy_END_ALLOW_THREADS
;
1596 } Py_INCREF(Py_None
);
1597 _resultobj
= Py_None
;
1601 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1602 PyObject
* _resultobj
;
1604 char *_kwnames
[] = { NULL
};
1607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1610 wxPy_BEGIN_ALLOW_THREADS
;
1611 _result
= (int )wxCaret_GetBlinkTime();
1613 wxPy_END_ALLOW_THREADS
;
1614 } _resultobj
= Py_BuildValue("i",_result
);
1618 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1619 PyObject
* _resultobj
;
1621 char *_kwnames
[] = { "milliseconds", NULL
};
1624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1627 wxPy_BEGIN_ALLOW_THREADS
;
1628 wxCaret_SetBlinkTime(_arg0
);
1630 wxPy_END_ALLOW_THREADS
;
1631 } Py_INCREF(Py_None
);
1632 _resultobj
= Py_None
;
1636 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1637 PyObject
* _resultobj
;
1639 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1640 PyObject
* _argo0
= 0;
1641 char *_kwnames
[] = { "win", NULL
};
1644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1647 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1648 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1654 wxPy_BEGIN_ALLOW_THREADS
;
1655 _result
= (bool )wxSafeYield(_arg0
);
1657 wxPy_END_ALLOW_THREADS
;
1658 } _resultobj
= Py_BuildValue("i",_result
);
1662 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1663 PyObject
* _resultobj
;
1664 wxEvtHandler
* _arg0
;
1666 PyObject
* _argo0
= 0;
1667 PyObject
* _argo1
= 0;
1668 char *_kwnames
[] = { "dest","event", NULL
};
1671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1674 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1675 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1676 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1681 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1682 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1688 wxPy_BEGIN_ALLOW_THREADS
;
1689 wxPostEvent(_arg0
,*_arg1
);
1691 wxPy_END_ALLOW_THREADS
;
1692 } Py_INCREF(Py_None
);
1693 _resultobj
= Py_None
;
1697 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1698 PyObject
* _resultobj
;
1699 char *_kwnames
[] = { NULL
};
1702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1705 wxPy_BEGIN_ALLOW_THREADS
;
1708 wxPy_END_ALLOW_THREADS
;
1709 } Py_INCREF(Py_None
);
1710 _resultobj
= Py_None
;
1714 static PyObject
*_wrap_wxWakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1715 PyObject
* _resultobj
;
1716 char *_kwnames
[] = { NULL
};
1719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpMainThread",_kwnames
))
1722 wxPy_BEGIN_ALLOW_THREADS
;
1723 wxWakeUpMainThread();
1725 wxPy_END_ALLOW_THREADS
;
1726 } Py_INCREF(Py_None
);
1727 _resultobj
= Py_None
;
1731 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1732 PyObject
* _resultobj
;
1733 char *_kwnames
[] = { NULL
};
1736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1739 wxPy_BEGIN_ALLOW_THREADS
;
1742 wxPy_END_ALLOW_THREADS
;
1743 } Py_INCREF(Py_None
);
1744 _resultobj
= Py_None
;
1748 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1749 PyObject
* _resultobj
;
1750 char *_kwnames
[] = { NULL
};
1753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1756 wxPy_BEGIN_ALLOW_THREADS
;
1759 wxPy_END_ALLOW_THREADS
;
1760 } Py_INCREF(Py_None
);
1761 _resultobj
= Py_None
;
1765 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
* _resultobj
;
1768 char *_kwnames
[] = { NULL
};
1771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1774 wxPy_BEGIN_ALLOW_THREADS
;
1775 _result
= (bool )wxThread_IsMain();
1777 wxPy_END_ALLOW_THREADS
;
1778 } _resultobj
= Py_BuildValue("i",_result
);
1782 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
* _resultobj
;
1786 wxTipProvider
* _arg1
;
1787 bool _arg2
= (bool ) TRUE
;
1788 PyObject
* _argo0
= 0;
1789 PyObject
* _argo1
= 0;
1790 int tempbool2
= (int) TRUE
;
1791 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1797 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1798 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1799 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1804 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1805 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1810 _arg2
= (bool ) tempbool2
;
1812 wxPy_BEGIN_ALLOW_THREADS
;
1813 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1815 wxPy_END_ALLOW_THREADS
;
1816 } _resultobj
= Py_BuildValue("i",_result
);
1820 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
* _resultobj
;
1822 wxTipProvider
* _result
;
1825 PyObject
* _obj0
= 0;
1826 char *_kwnames
[] = { "filename","currentTip", NULL
};
1830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1833 #if PYTHON_API_VERSION >= 1009
1834 char* tmpPtr
; int tmpSize
;
1835 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1836 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1839 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1841 _arg0
= new wxString(tmpPtr
, tmpSize
);
1843 if (!PyString_Check(_obj0
)) {
1844 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1847 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1851 wxPy_BEGIN_ALLOW_THREADS
;
1852 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1854 wxPy_END_ALLOW_THREADS
;
1856 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1857 _resultobj
= Py_BuildValue("s",_ptemp
);
1860 _resultobj
= Py_None
;
1869 static PyObject
*_wrap_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
* _resultobj
;
1871 wxGenericDragImage
* _result
;
1873 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
1874 wxPoint
* _arg2
= (wxPoint
*) &wxPyNullPoint
;
1875 PyObject
* _argo0
= 0;
1876 PyObject
* _argo1
= 0;
1878 PyObject
* _obj2
= 0;
1879 char *_kwnames
[] = { "image","cursor","hotspot", NULL
};
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxDragIcon",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragIcon. Expected _wxIcon_p.");
1893 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1894 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
1895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragIcon. Expected _wxCursor_p.");
1902 if (! wxPoint_helper(_obj2
, &_arg2
))
1906 wxPy_BEGIN_ALLOW_THREADS
;
1907 _result
= (wxGenericDragImage
*)wxDragIcon(*_arg0
,*_arg1
,*_arg2
);
1909 wxPy_END_ALLOW_THREADS
;
1911 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1912 _resultobj
= Py_BuildValue("s",_ptemp
);
1915 _resultobj
= Py_None
;
1920 static PyObject
*_wrap_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1921 PyObject
* _resultobj
;
1922 wxGenericDragImage
* _result
;
1924 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
1925 wxPoint
* _arg2
= (wxPoint
*) &wxPyNullPoint
;
1926 PyObject
* _obj0
= 0;
1927 PyObject
* _argo1
= 0;
1929 PyObject
* _obj2
= 0;
1930 char *_kwnames
[] = { "str","cursor","hotspot", NULL
};
1934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxDragString",_kwnames
,&_obj0
,&_argo1
,&_obj2
))
1937 #if PYTHON_API_VERSION >= 1009
1938 char* tmpPtr
; int tmpSize
;
1939 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1940 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1943 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1945 _arg0
= new wxString(tmpPtr
, tmpSize
);
1947 if (!PyString_Check(_obj0
)) {
1948 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1951 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1955 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1956 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
1957 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragString. Expected _wxCursor_p.");
1964 if (! wxPoint_helper(_obj2
, &_arg2
))
1968 wxPy_BEGIN_ALLOW_THREADS
;
1969 _result
= (wxGenericDragImage
*)wxDragString(*_arg0
,*_arg1
,*_arg2
);
1971 wxPy_END_ALLOW_THREADS
;
1973 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1974 _resultobj
= Py_BuildValue("s",_ptemp
);
1977 _resultobj
= Py_None
;
1986 static PyObject
*_wrap_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1987 PyObject
* _resultobj
;
1988 wxGenericDragImage
* _result
;
1990 wxTreeItemId
* _arg1
;
1991 PyObject
* _argo0
= 0;
1992 PyObject
* _argo1
= 0;
1993 char *_kwnames
[] = { "treeCtrl","id", NULL
};
1997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
2000 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2001 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
2002 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragTreeItem. Expected _wxTreeCtrl_p.");
2007 if (_argo1
== Py_None
) { _arg1
= NULL
; }
2008 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
2009 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragTreeItem. Expected _wxTreeItemId_p.");
2014 wxPy_BEGIN_ALLOW_THREADS
;
2015 _result
= (wxGenericDragImage
*)wxDragTreeItem(*_arg0
,*_arg1
);
2017 wxPy_END_ALLOW_THREADS
;
2019 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
2020 _resultobj
= Py_BuildValue("s",_ptemp
);
2023 _resultobj
= Py_None
;
2028 static PyObject
*_wrap_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2029 PyObject
* _resultobj
;
2030 wxGenericDragImage
* _result
;
2033 PyObject
* _argo0
= 0;
2034 char *_kwnames
[] = { "listCtrl","id", NULL
};
2038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
2041 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2042 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
2043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragListItem. Expected _wxListCtrl_p.");
2048 wxPy_BEGIN_ALLOW_THREADS
;
2049 _result
= (wxGenericDragImage
*)wxDragListItem(*_arg0
,_arg1
);
2051 wxPy_END_ALLOW_THREADS
;
2053 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
2054 _resultobj
= Py_BuildValue("s",_ptemp
);
2057 _resultobj
= Py_None
;
2062 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
* _resultobj
;
2064 unsigned long _result
;
2065 char *_kwnames
[] = { NULL
};
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
2071 wxPy_BEGIN_ALLOW_THREADS
;
2072 _result
= (unsigned long )wxSysErrorCode();
2074 wxPy_END_ALLOW_THREADS
;
2075 } _resultobj
= Py_BuildValue("l",_result
);
2079 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2080 PyObject
* _resultobj
;
2082 unsigned long _arg0
= (unsigned long ) 0;
2083 char *_kwnames
[] = { "nErrCode", NULL
};
2086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
2089 wxPy_BEGIN_ALLOW_THREADS
;
2090 _result
= (char *)wxSysErrorMsg(_arg0
);
2092 wxPy_END_ALLOW_THREADS
;
2093 } _resultobj
= Py_BuildValue("s", _result
);
2097 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2098 PyObject
* _resultobj
;
2100 char *_kwnames
[] = { "szFormat", NULL
};
2103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
2106 wxPy_BEGIN_ALLOW_THREADS
;
2107 wxLogFatalError(_arg0
);
2109 wxPy_END_ALLOW_THREADS
;
2110 } Py_INCREF(Py_None
);
2111 _resultobj
= Py_None
;
2115 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2116 PyObject
* _resultobj
;
2118 char *_kwnames
[] = { "szFormat", NULL
};
2121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
2124 wxPy_BEGIN_ALLOW_THREADS
;
2127 wxPy_END_ALLOW_THREADS
;
2128 } Py_INCREF(Py_None
);
2129 _resultobj
= Py_None
;
2133 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2134 PyObject
* _resultobj
;
2136 char *_kwnames
[] = { "szFormat", NULL
};
2139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
2142 wxPy_BEGIN_ALLOW_THREADS
;
2143 wxLogWarning(_arg0
);
2145 wxPy_END_ALLOW_THREADS
;
2146 } Py_INCREF(Py_None
);
2147 _resultobj
= Py_None
;
2151 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2152 PyObject
* _resultobj
;
2154 char *_kwnames
[] = { "szFormat", NULL
};
2157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
2160 wxPy_BEGIN_ALLOW_THREADS
;
2161 wxLogMessage(_arg0
);
2163 wxPy_END_ALLOW_THREADS
;
2164 } Py_INCREF(Py_None
);
2165 _resultobj
= Py_None
;
2169 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2170 PyObject
* _resultobj
;
2172 char *_kwnames
[] = { "szFormat", NULL
};
2175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
2178 wxPy_BEGIN_ALLOW_THREADS
;
2181 wxPy_END_ALLOW_THREADS
;
2182 } Py_INCREF(Py_None
);
2183 _resultobj
= Py_None
;
2187 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2188 PyObject
* _resultobj
;
2190 char *_kwnames
[] = { "szFormat", NULL
};
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
2196 wxPy_BEGIN_ALLOW_THREADS
;
2197 wxLogVerbose(_arg0
);
2199 wxPy_END_ALLOW_THREADS
;
2200 } Py_INCREF(Py_None
);
2201 _resultobj
= Py_None
;
2205 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2206 PyObject
* _resultobj
;
2208 char *_kwnames
[] = { "szFormat", NULL
};
2211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
2214 wxPy_BEGIN_ALLOW_THREADS
;
2217 wxPy_END_ALLOW_THREADS
;
2218 } Py_INCREF(Py_None
);
2219 _resultobj
= Py_None
;
2223 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
* _resultobj
;
2227 PyObject
* _argo0
= 0;
2228 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
2234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2241 wxPy_BEGIN_ALLOW_THREADS
;
2242 wxLogStatus(_arg0
,_arg1
);
2244 wxPy_END_ALLOW_THREADS
;
2245 } Py_INCREF(Py_None
);
2246 _resultobj
= Py_None
;
2250 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
* _resultobj
;
2253 char *_kwnames
[] = { "szFormat", NULL
};
2256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2259 wxPy_BEGIN_ALLOW_THREADS
;
2260 wxLogSysError(_arg0
);
2262 wxPy_END_ALLOW_THREADS
;
2263 } Py_INCREF(Py_None
);
2264 _resultobj
= Py_None
;
2268 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2269 PyObject
* _resultobj
;
2272 int _arg1
= (int ) FALSE
;
2273 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2274 PyObject
* _obj0
= 0;
2275 PyObject
* _argo2
= 0;
2276 char *_kwnames
[] = { "command","sync","process", NULL
};
2279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2282 #if PYTHON_API_VERSION >= 1009
2283 char* tmpPtr
; int tmpSize
;
2284 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2285 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2288 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2290 _arg0
= new wxString(tmpPtr
, tmpSize
);
2292 if (!PyString_Check(_obj0
)) {
2293 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2296 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2300 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2301 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2302 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2307 wxPy_BEGIN_ALLOW_THREADS
;
2308 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2310 wxPy_END_ALLOW_THREADS
;
2311 } _resultobj
= Py_BuildValue("l",_result
);
2319 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2320 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2321 PyObject
* _resultobj
;
2322 wxToolTip
* _result
;
2324 PyObject
* _obj0
= 0;
2325 char *_kwnames
[] = { "tip", NULL
};
2329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2332 #if PYTHON_API_VERSION >= 1009
2333 char* tmpPtr
; int tmpSize
;
2334 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2335 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2338 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2340 _arg0
= new wxString(tmpPtr
, tmpSize
);
2342 if (!PyString_Check(_obj0
)) {
2343 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2346 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2350 wxPy_BEGIN_ALLOW_THREADS
;
2351 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2353 wxPy_END_ALLOW_THREADS
;
2355 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2356 _resultobj
= Py_BuildValue("s",_ptemp
);
2359 _resultobj
= Py_None
;
2368 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2369 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
* _resultobj
;
2373 PyObject
* _argo0
= 0;
2374 PyObject
* _obj1
= 0;
2375 char *_kwnames
[] = { "self","tip", NULL
};
2378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2381 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2382 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2388 #if PYTHON_API_VERSION >= 1009
2389 char* tmpPtr
; int tmpSize
;
2390 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2391 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2394 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2396 _arg1
= new wxString(tmpPtr
, tmpSize
);
2398 if (!PyString_Check(_obj1
)) {
2399 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2402 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2406 wxPy_BEGIN_ALLOW_THREADS
;
2407 wxToolTip_SetTip(_arg0
,*_arg1
);
2409 wxPy_END_ALLOW_THREADS
;
2410 } Py_INCREF(Py_None
);
2411 _resultobj
= Py_None
;
2419 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2420 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
* _resultobj
;
2424 PyObject
* _argo0
= 0;
2425 char *_kwnames
[] = { "self", NULL
};
2428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2431 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2432 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2438 wxPy_BEGIN_ALLOW_THREADS
;
2439 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2441 wxPy_END_ALLOW_THREADS
;
2443 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2451 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2452 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2453 PyObject
* _resultobj
;
2456 PyObject
* _argo0
= 0;
2457 char *_kwnames
[] = { "self", NULL
};
2461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2464 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2465 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2471 wxPy_BEGIN_ALLOW_THREADS
;
2472 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2474 wxPy_END_ALLOW_THREADS
;
2476 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2477 _resultobj
= Py_BuildValue("s",_ptemp
);
2480 _resultobj
= Py_None
;
2485 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2486 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
* _resultobj
;
2491 PyObject
* _argo0
= 0;
2493 PyObject
* _obj1
= 0;
2494 char *_kwnames
[] = { "window","size", NULL
};
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2501 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2502 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2503 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2509 if (! wxSize_helper(_obj1
, &_arg1
))
2513 wxPy_BEGIN_ALLOW_THREADS
;
2514 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2516 wxPy_END_ALLOW_THREADS
;
2518 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2519 _resultobj
= Py_BuildValue("s",_ptemp
);
2522 _resultobj
= Py_None
;
2527 #define delete_wxCaret(_swigobj) (delete _swigobj)
2528 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2529 PyObject
* _resultobj
;
2531 PyObject
* _argo0
= 0;
2532 char *_kwnames
[] = { "self", NULL
};
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2545 wxPy_BEGIN_ALLOW_THREADS
;
2546 delete_wxCaret(_arg0
);
2548 wxPy_END_ALLOW_THREADS
;
2549 } Py_INCREF(Py_None
);
2550 _resultobj
= Py_None
;
2554 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2555 static PyObject
*_wrap_wxCaret_IsOk(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_IsOk",_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_IsOk. Expected _wxCaret_p.");
2573 wxPy_BEGIN_ALLOW_THREADS
;
2574 _result
= (bool )wxCaret_IsOk(_arg0
);
2576 wxPy_END_ALLOW_THREADS
;
2577 } _resultobj
= Py_BuildValue("i",_result
);
2581 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2582 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
* _resultobj
;
2586 PyObject
* _argo0
= 0;
2587 char *_kwnames
[] = { "self", NULL
};
2590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2593 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2594 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2595 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2600 wxPy_BEGIN_ALLOW_THREADS
;
2601 _result
= (bool )wxCaret_IsVisible(_arg0
);
2603 wxPy_END_ALLOW_THREADS
;
2604 } _resultobj
= Py_BuildValue("i",_result
);
2608 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2609 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2610 PyObject
* _resultobj
;
2616 PyObject
* _argo0
= 0;
2617 char *_kwnames
[] = { "self", NULL
};
2626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2629 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2630 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2631 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2636 wxPy_BEGIN_ALLOW_THREADS
;
2637 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2639 wxPy_END_ALLOW_THREADS
;
2640 } Py_INCREF(Py_None
);
2641 _resultobj
= Py_None
;
2644 o
= PyInt_FromLong((long) (*_arg1
));
2645 _resultobj
= t_output_helper(_resultobj
, o
);
2649 o
= PyInt_FromLong((long) (*_arg2
));
2650 _resultobj
= t_output_helper(_resultobj
, o
);
2655 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2656 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2657 PyObject
* _resultobj
;
2660 PyObject
* _argo0
= 0;
2661 char *_kwnames
[] = { "self", NULL
};
2665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2668 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2669 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2670 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2675 wxPy_BEGIN_ALLOW_THREADS
;
2676 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2678 wxPy_END_ALLOW_THREADS
;
2679 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2680 _resultobj
= Py_BuildValue("s",_ptemp
);
2684 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2685 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2686 PyObject
* _resultobj
;
2692 PyObject
* _argo0
= 0;
2693 char *_kwnames
[] = { "self", NULL
};
2702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2705 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2706 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2707 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2712 wxPy_BEGIN_ALLOW_THREADS
;
2713 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2715 wxPy_END_ALLOW_THREADS
;
2716 } Py_INCREF(Py_None
);
2717 _resultobj
= Py_None
;
2720 o
= PyInt_FromLong((long) (*_arg1
));
2721 _resultobj
= t_output_helper(_resultobj
, o
);
2725 o
= PyInt_FromLong((long) (*_arg2
));
2726 _resultobj
= t_output_helper(_resultobj
, o
);
2731 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2732 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2733 PyObject
* _resultobj
;
2736 PyObject
* _argo0
= 0;
2737 char *_kwnames
[] = { "self", NULL
};
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2744 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2745 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2746 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2751 wxPy_BEGIN_ALLOW_THREADS
;
2752 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2754 wxPy_END_ALLOW_THREADS
;
2755 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2756 _resultobj
= Py_BuildValue("s",_ptemp
);
2760 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2761 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2762 PyObject
* _resultobj
;
2765 PyObject
* _argo0
= 0;
2766 char *_kwnames
[] = { "self", NULL
};
2770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
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_GetWindow. Expected _wxCaret_p.");
2780 wxPy_BEGIN_ALLOW_THREADS
;
2781 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2783 wxPy_END_ALLOW_THREADS
;
2785 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2786 _resultobj
= Py_BuildValue("s",_ptemp
);
2789 _resultobj
= Py_None
;
2794 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2795 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
* _resultobj
;
2800 PyObject
* _argo0
= 0;
2801 char *_kwnames
[] = { "self","x","y", NULL
};
2804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2814 wxPy_BEGIN_ALLOW_THREADS
;
2815 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2817 wxPy_END_ALLOW_THREADS
;
2818 } Py_INCREF(Py_None
);
2819 _resultobj
= Py_None
;
2823 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2824 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
* _resultobj
;
2828 PyObject
* _argo0
= 0;
2830 PyObject
* _obj1
= 0;
2831 char *_kwnames
[] = { "self","pt", NULL
};
2834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
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_Move. Expected _wxCaret_p.");
2845 if (! wxPoint_helper(_obj1
, &_arg1
))
2849 wxPy_BEGIN_ALLOW_THREADS
;
2850 wxCaret_Move(_arg0
,*_arg1
);
2852 wxPy_END_ALLOW_THREADS
;
2853 } Py_INCREF(Py_None
);
2854 _resultobj
= Py_None
;
2858 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2859 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2860 PyObject
* _resultobj
;
2864 PyObject
* _argo0
= 0;
2865 char *_kwnames
[] = { "self","width","height", NULL
};
2868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2878 wxPy_BEGIN_ALLOW_THREADS
;
2879 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2881 wxPy_END_ALLOW_THREADS
;
2882 } Py_INCREF(Py_None
);
2883 _resultobj
= Py_None
;
2887 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2888 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2889 PyObject
* _resultobj
;
2892 PyObject
* _argo0
= 0;
2894 PyObject
* _obj1
= 0;
2895 char *_kwnames
[] = { "self","size", NULL
};
2898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2901 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2902 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2903 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2909 if (! wxSize_helper(_obj1
, &_arg1
))
2913 wxPy_BEGIN_ALLOW_THREADS
;
2914 wxCaret_SetSize(_arg0
,*_arg1
);
2916 wxPy_END_ALLOW_THREADS
;
2917 } Py_INCREF(Py_None
);
2918 _resultobj
= Py_None
;
2922 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2923 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2924 PyObject
* _resultobj
;
2926 int _arg1
= (int ) TRUE
;
2927 PyObject
* _argo0
= 0;
2928 char *_kwnames
[] = { "self","show", NULL
};
2931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
2934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2941 wxPy_BEGIN_ALLOW_THREADS
;
2942 wxCaret_Show(_arg0
,_arg1
);
2944 wxPy_END_ALLOW_THREADS
;
2945 } Py_INCREF(Py_None
);
2946 _resultobj
= Py_None
;
2950 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2951 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2952 PyObject
* _resultobj
;
2954 PyObject
* _argo0
= 0;
2955 char *_kwnames
[] = { "self", NULL
};
2958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
2961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
2968 wxPy_BEGIN_ALLOW_THREADS
;
2969 wxCaret_Hide(_arg0
);
2971 wxPy_END_ALLOW_THREADS
;
2972 } Py_INCREF(Py_None
);
2973 _resultobj
= Py_None
;
2977 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
2978 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
* _resultobj
;
2980 wxPyFontEnumerator
* _result
;
2981 char *_kwnames
[] = { NULL
};
2985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
2988 wxPy_BEGIN_ALLOW_THREADS
;
2989 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
2991 wxPy_END_ALLOW_THREADS
;
2993 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
2994 _resultobj
= Py_BuildValue("s",_ptemp
);
2997 _resultobj
= Py_None
;
3002 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
3003 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
* _resultobj
;
3005 wxPyFontEnumerator
* _arg0
;
3006 PyObject
* _argo0
= 0;
3007 char *_kwnames
[] = { "self", NULL
};
3010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
3013 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3014 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3015 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
3020 wxPy_BEGIN_ALLOW_THREADS
;
3021 delete_wxPyFontEnumerator(_arg0
);
3023 wxPy_END_ALLOW_THREADS
;
3024 } Py_INCREF(Py_None
);
3025 _resultobj
= Py_None
;
3029 #define wxFontEnumerator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
3030 static PyObject
*_wrap_wxFontEnumerator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3031 PyObject
* _resultobj
;
3032 wxPyFontEnumerator
* _arg0
;
3035 PyObject
* _argo0
= 0;
3036 PyObject
* _obj1
= 0;
3037 PyObject
* _obj2
= 0;
3038 char *_kwnames
[] = { "self","self","_class", NULL
};
3041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFontEnumerator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
3044 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3045 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3046 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setSelf. Expected _wxPyFontEnumerator_p.");
3057 wxPy_BEGIN_ALLOW_THREADS
;
3058 wxFontEnumerator__setSelf(_arg0
,_arg1
,_arg2
);
3060 wxPy_END_ALLOW_THREADS
;
3061 } Py_INCREF(Py_None
);
3062 _resultobj
= Py_None
;
3066 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
3067 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3068 PyObject
* _resultobj
;
3070 wxPyFontEnumerator
* _arg0
;
3071 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
3072 bool _arg2
= (bool ) FALSE
;
3073 PyObject
* _argo0
= 0;
3074 int tempbool2
= (int) FALSE
;
3075 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
3078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
3081 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3082 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3083 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3087 _arg2
= (bool ) tempbool2
;
3089 wxPy_BEGIN_ALLOW_THREADS
;
3090 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
3092 wxPy_END_ALLOW_THREADS
;
3093 } _resultobj
= Py_BuildValue("i",_result
);
3097 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3098 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
* _resultobj
;
3101 wxPyFontEnumerator
* _arg0
;
3102 char * _arg1
= (char *) "";
3103 PyObject
* _argo0
= 0;
3104 char *_kwnames
[] = { "self","facename", NULL
};
3107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
3110 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3111 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3112 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3117 wxPy_BEGIN_ALLOW_THREADS
;
3118 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
3120 wxPy_END_ALLOW_THREADS
;
3121 } _resultobj
= Py_BuildValue("i",_result
);
3125 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3126 wxArrayString
* arr
= self
->GetEncodings();
3127 PyObject
* list
= PyList_New(0);
3128 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3129 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3132 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3133 PyObject
* _resultobj
;
3135 wxPyFontEnumerator
* _arg0
;
3136 PyObject
* _argo0
= 0;
3137 char *_kwnames
[] = { "self", NULL
};
3140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3143 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3144 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3145 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3150 wxPy_BEGIN_ALLOW_THREADS
;
3151 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3153 wxPy_END_ALLOW_THREADS
;
3155 _resultobj
= _result
;
3160 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3161 wxArrayString
* arr
= self
->GetFacenames();
3162 PyObject
* list
= PyList_New(0);
3163 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3164 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3167 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3168 PyObject
* _resultobj
;
3170 wxPyFontEnumerator
* _arg0
;
3171 PyObject
* _argo0
= 0;
3172 char *_kwnames
[] = { "self", NULL
};
3175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3178 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3179 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3180 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3185 wxPy_BEGIN_ALLOW_THREADS
;
3186 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3188 wxPy_END_ALLOW_THREADS
;
3190 _resultobj
= _result
;
3195 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3196 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3197 PyObject
* _resultobj
;
3198 wxBusyCursor
* _result
;
3199 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3200 PyObject
* _argo0
= 0;
3201 char *_kwnames
[] = { "cursor", NULL
};
3205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3208 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3209 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3210 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3215 wxPy_BEGIN_ALLOW_THREADS
;
3216 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3218 wxPy_END_ALLOW_THREADS
;
3220 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3221 _resultobj
= Py_BuildValue("s",_ptemp
);
3224 _resultobj
= Py_None
;
3229 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3230 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3231 PyObject
* _resultobj
;
3232 wxBusyCursor
* _arg0
;
3233 PyObject
* _argo0
= 0;
3234 char *_kwnames
[] = { "self", NULL
};
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3247 wxPy_BEGIN_ALLOW_THREADS
;
3248 delete_wxBusyCursor(_arg0
);
3250 wxPy_END_ALLOW_THREADS
;
3251 } Py_INCREF(Py_None
);
3252 _resultobj
= Py_None
;
3256 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3257 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3258 PyObject
* _resultobj
;
3259 wxWindowDisabler
* _result
;
3260 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3261 PyObject
* _argo0
= 0;
3262 char *_kwnames
[] = { "winToSkip", NULL
};
3266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3269 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3270 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3271 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3276 wxPy_BEGIN_ALLOW_THREADS
;
3277 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3279 wxPy_END_ALLOW_THREADS
;
3281 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3282 _resultobj
= Py_BuildValue("s",_ptemp
);
3285 _resultobj
= Py_None
;
3290 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3291 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3292 PyObject
* _resultobj
;
3293 wxWindowDisabler
* _arg0
;
3294 PyObject
* _argo0
= 0;
3295 char *_kwnames
[] = { "self", NULL
};
3298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3308 wxPy_BEGIN_ALLOW_THREADS
;
3309 delete_wxWindowDisabler(_arg0
);
3311 wxPy_END_ALLOW_THREADS
;
3312 } Py_INCREF(Py_None
);
3313 _resultobj
= Py_None
;
3317 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3318 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3319 PyObject
* _resultobj
;
3320 wxMutexGuiLocker
* _result
;
3321 char *_kwnames
[] = { NULL
};
3325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3328 wxPy_BEGIN_ALLOW_THREADS
;
3329 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3331 wxPy_END_ALLOW_THREADS
;
3333 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3334 _resultobj
= Py_BuildValue("s",_ptemp
);
3337 _resultobj
= Py_None
;
3342 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3343 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
* _resultobj
;
3345 wxMutexGuiLocker
* _arg0
;
3346 PyObject
* _argo0
= 0;
3347 char *_kwnames
[] = { "self", NULL
};
3350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3353 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3354 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3355 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3360 wxPy_BEGIN_ALLOW_THREADS
;
3361 delete_wxMutexGuiLocker(_arg0
);
3363 wxPy_END_ALLOW_THREADS
;
3364 } Py_INCREF(Py_None
);
3365 _resultobj
= Py_None
;
3369 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3370 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
* _resultobj
;
3372 wxTipProvider
* _arg0
;
3373 PyObject
* _argo0
= 0;
3374 char *_kwnames
[] = { "self", NULL
};
3377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3380 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3381 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3382 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3387 wxPy_BEGIN_ALLOW_THREADS
;
3388 delete_wxTipProvider(_arg0
);
3390 wxPy_END_ALLOW_THREADS
;
3391 } Py_INCREF(Py_None
);
3392 _resultobj
= Py_None
;
3396 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3397 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3398 PyObject
* _resultobj
;
3400 wxTipProvider
* _arg0
;
3401 PyObject
* _argo0
= 0;
3402 char *_kwnames
[] = { "self", NULL
};
3405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3415 wxPy_BEGIN_ALLOW_THREADS
;
3416 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3418 wxPy_END_ALLOW_THREADS
;
3420 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3428 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3429 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3430 PyObject
* _resultobj
;
3432 wxTipProvider
* _arg0
;
3433 PyObject
* _argo0
= 0;
3434 char *_kwnames
[] = { "self", NULL
};
3437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3447 wxPy_BEGIN_ALLOW_THREADS
;
3448 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3450 wxPy_END_ALLOW_THREADS
;
3451 } _resultobj
= Py_BuildValue("i",_result
);
3455 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3456 wxPyTipProvider
*src
;
3457 wxTipProvider
*dest
;
3458 src
= (wxPyTipProvider
*) ptr
;
3459 dest
= (wxTipProvider
*) src
;
3460 return (void *) dest
;
3463 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3464 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
* _resultobj
;
3466 wxPyTipProvider
* _result
;
3468 char *_kwnames
[] = { "currentTip", NULL
};
3472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3475 wxPy_BEGIN_ALLOW_THREADS
;
3476 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3478 wxPy_END_ALLOW_THREADS
;
3480 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3481 _resultobj
= Py_BuildValue("s",_ptemp
);
3484 _resultobj
= Py_None
;
3489 #define new_wxDragImage(_swigarg0,_swigarg1,_swigarg2) (new wxGenericDragImage(_swigarg0,_swigarg1,_swigarg2))
3490 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
* _resultobj
;
3492 wxGenericDragImage
* _result
;
3494 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3495 wxPoint
* _arg2
= (wxPoint
*) &wxPyNullPoint
;
3496 PyObject
* _argo0
= 0;
3497 PyObject
* _argo1
= 0;
3499 PyObject
* _obj2
= 0;
3500 char *_kwnames
[] = { "image","cursor","hotspot", NULL
};
3504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3507 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3508 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3509 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3514 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3515 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3523 if (! wxPoint_helper(_obj2
, &_arg2
))
3527 wxPy_BEGIN_ALLOW_THREADS
;
3528 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
,*_arg2
);
3530 wxPy_END_ALLOW_THREADS
;
3532 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3533 _resultobj
= Py_BuildValue("s",_ptemp
);
3536 _resultobj
= Py_None
;
3541 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3542 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
* _resultobj
;
3544 wxGenericDragImage
* _arg0
;
3545 PyObject
* _argo0
= 0;
3546 char *_kwnames
[] = { "self", NULL
};
3549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3552 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3553 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3554 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3559 wxPy_BEGIN_ALLOW_THREADS
;
3560 delete_wxGenericDragImage(_arg0
);
3562 wxPy_END_ALLOW_THREADS
;
3563 } Py_INCREF(Py_None
);
3564 _resultobj
= Py_None
;
3568 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3569 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
* _resultobj
;
3572 wxGenericDragImage
* _arg0
;
3575 bool _arg3
= (bool ) FALSE
;
3576 wxRect
* _arg4
= (wxRect
*) NULL
;
3577 PyObject
* _argo0
= 0;
3579 PyObject
* _obj1
= 0;
3580 PyObject
* _argo2
= 0;
3581 int tempbool3
= (int) FALSE
;
3583 PyObject
* _obj4
= 0;
3584 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3598 if (! wxPoint_helper(_obj1
, &_arg1
))
3602 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3603 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3604 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3608 _arg3
= (bool ) tempbool3
;
3612 if (! wxRect_helper(_obj4
, &_arg4
))
3616 wxPy_BEGIN_ALLOW_THREADS
;
3617 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3619 wxPy_END_ALLOW_THREADS
;
3620 } _resultobj
= Py_BuildValue("i",_result
);
3624 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3625 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3626 PyObject
* _resultobj
;
3628 wxGenericDragImage
* _arg0
;
3632 PyObject
* _argo0
= 0;
3634 PyObject
* _obj1
= 0;
3635 PyObject
* _argo2
= 0;
3636 PyObject
* _argo3
= 0;
3637 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3651 if (! wxPoint_helper(_obj1
, &_arg1
))
3655 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3656 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3657 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3662 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3663 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3669 wxPy_BEGIN_ALLOW_THREADS
;
3670 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3672 wxPy_END_ALLOW_THREADS
;
3673 } _resultobj
= Py_BuildValue("i",_result
);
3677 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3678 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3679 PyObject
* _resultobj
;
3681 wxGenericDragImage
* _arg0
;
3682 PyObject
* _argo0
= 0;
3683 char *_kwnames
[] = { "self", NULL
};
3686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3689 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3690 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3691 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3696 wxPy_BEGIN_ALLOW_THREADS
;
3697 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3699 wxPy_END_ALLOW_THREADS
;
3700 } _resultobj
= Py_BuildValue("i",_result
);
3704 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3705 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3706 PyObject
* _resultobj
;
3708 wxGenericDragImage
* _arg0
;
3710 PyObject
* _argo0
= 0;
3712 PyObject
* _obj1
= 0;
3713 char *_kwnames
[] = { "self","pt", NULL
};
3716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3727 if (! wxPoint_helper(_obj1
, &_arg1
))
3731 wxPy_BEGIN_ALLOW_THREADS
;
3732 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3734 wxPy_END_ALLOW_THREADS
;
3735 } _resultobj
= Py_BuildValue("i",_result
);
3739 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3740 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
* _resultobj
;
3743 wxGenericDragImage
* _arg0
;
3744 PyObject
* _argo0
= 0;
3745 char *_kwnames
[] = { "self", NULL
};
3748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3758 wxPy_BEGIN_ALLOW_THREADS
;
3759 _result
= (bool )wxDragImage_Show(_arg0
);
3761 wxPy_END_ALLOW_THREADS
;
3762 } _resultobj
= Py_BuildValue("i",_result
);
3766 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3767 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3768 PyObject
* _resultobj
;
3770 wxGenericDragImage
* _arg0
;
3771 PyObject
* _argo0
= 0;
3772 char *_kwnames
[] = { "self", NULL
};
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3785 wxPy_BEGIN_ALLOW_THREADS
;
3786 _result
= (bool )wxDragImage_Hide(_arg0
);
3788 wxPy_END_ALLOW_THREADS
;
3789 } _resultobj
= Py_BuildValue("i",_result
);
3793 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3794 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3795 PyObject
* _resultobj
;
3797 wxGenericDragImage
* _arg0
;
3799 PyObject
* _argo0
= 0;
3801 PyObject
* _obj1
= 0;
3802 char *_kwnames
[] = { "self","pos", NULL
};
3806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
3809 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3810 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3811 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
3817 if (! wxPoint_helper(_obj1
, &_arg1
))
3821 wxPy_BEGIN_ALLOW_THREADS
;
3822 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
3824 wxPy_END_ALLOW_THREADS
;
3825 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3826 _resultobj
= Py_BuildValue("s",_ptemp
);
3830 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3831 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
* _resultobj
;
3834 wxGenericDragImage
* _arg0
;
3839 PyObject
* _argo0
= 0;
3841 PyObject
* _obj1
= 0;
3843 PyObject
* _obj2
= 0;
3846 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
3849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
3852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
3860 if (! wxPoint_helper(_obj1
, &_arg1
))
3865 if (! wxPoint_helper(_obj2
, &_arg2
))
3868 _arg3
= (bool ) tempbool3
;
3869 _arg4
= (bool ) tempbool4
;
3871 wxPy_BEGIN_ALLOW_THREADS
;
3872 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
3874 wxPy_END_ALLOW_THREADS
;
3875 } _resultobj
= Py_BuildValue("i",_result
);
3879 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
3880 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3881 PyObject
* _resultobj
;
3882 wxPyTimer
* _result
;
3884 PyObject
* _obj0
= 0;
3885 char *_kwnames
[] = { "notify", NULL
};
3889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
3895 wxPy_BEGIN_ALLOW_THREADS
;
3896 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
3898 wxPy_END_ALLOW_THREADS
;
3900 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
3901 _resultobj
= Py_BuildValue("s",_ptemp
);
3904 _resultobj
= Py_None
;
3909 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
3910 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3911 PyObject
* _resultobj
;
3913 PyObject
* _argo0
= 0;
3914 char *_kwnames
[] = { "self", NULL
};
3917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
3920 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3921 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3922 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
3927 wxPy_BEGIN_ALLOW_THREADS
;
3928 delete_wxPyTimer(_arg0
);
3930 wxPy_END_ALLOW_THREADS
;
3931 } Py_INCREF(Py_None
);
3932 _resultobj
= Py_None
;
3936 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
3937 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
* _resultobj
;
3941 PyObject
* _argo0
= 0;
3942 char *_kwnames
[] = { "self", NULL
};
3945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
3948 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3949 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3950 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
3955 wxPy_BEGIN_ALLOW_THREADS
;
3956 _result
= (int )wxPyTimer_GetInterval(_arg0
);
3958 wxPy_END_ALLOW_THREADS
;
3959 } _resultobj
= Py_BuildValue("i",_result
);
3963 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
3964 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
* _resultobj
;
3968 PyObject
* _argo0
= 0;
3969 char *_kwnames
[] = { "self", NULL
};
3972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
3975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
3982 wxPy_BEGIN_ALLOW_THREADS
;
3983 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
3985 wxPy_END_ALLOW_THREADS
;
3986 } _resultobj
= Py_BuildValue("i",_result
);
3990 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
3991 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
* _resultobj
;
3995 PyObject
* _argo0
= 0;
3996 char *_kwnames
[] = { "self", NULL
};
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
4002 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4003 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4004 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
4009 wxPy_BEGIN_ALLOW_THREADS
;
4010 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
4012 wxPy_END_ALLOW_THREADS
;
4013 } _resultobj
= Py_BuildValue("i",_result
);
4017 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
4018 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4019 PyObject
* _resultobj
;
4021 wxEvtHandler
* _arg1
;
4022 int _arg2
= (int ) -1;
4023 PyObject
* _argo0
= 0;
4024 PyObject
* _argo1
= 0;
4025 char *_kwnames
[] = { "self","owner","id", NULL
};
4028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
4031 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4032 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4033 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
4038 if (_argo1
== Py_None
) { _arg1
= NULL
; }
4039 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
4040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
4045 wxPy_BEGIN_ALLOW_THREADS
;
4046 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
4048 wxPy_END_ALLOW_THREADS
;
4049 } Py_INCREF(Py_None
);
4050 _resultobj
= Py_None
;
4054 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
4055 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
* _resultobj
;
4058 int _arg1
= (int ) -1;
4059 int _arg2
= (int ) FALSE
;
4060 PyObject
* _argo0
= 0;
4061 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
4064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4067 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4068 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4069 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
4074 wxPy_BEGIN_ALLOW_THREADS
;
4075 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
4077 wxPy_END_ALLOW_THREADS
;
4078 } Py_INCREF(Py_None
);
4079 _resultobj
= Py_None
;
4083 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4084 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4085 PyObject
* _resultobj
;
4087 PyObject
* _argo0
= 0;
4088 char *_kwnames
[] = { "self", NULL
};
4091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4094 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4095 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4096 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4101 wxPy_BEGIN_ALLOW_THREADS
;
4102 wxPyTimer_Stop(_arg0
);
4104 wxPy_END_ALLOW_THREADS
;
4105 } Py_INCREF(Py_None
);
4106 _resultobj
= Py_None
;
4110 #define new_wxLog() (new wxLog())
4111 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
* _resultobj
;
4114 char *_kwnames
[] = { NULL
};
4118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4121 wxPy_BEGIN_ALLOW_THREADS
;
4122 _result
= (wxLog
*)new_wxLog();
4124 wxPy_END_ALLOW_THREADS
;
4126 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4127 _resultobj
= Py_BuildValue("s",_ptemp
);
4130 _resultobj
= Py_None
;
4135 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4136 PyObject
* _resultobj
;
4138 char *_kwnames
[] = { NULL
};
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4144 wxPy_BEGIN_ALLOW_THREADS
;
4145 _result
= (bool )wxLog::IsEnabled();
4147 wxPy_END_ALLOW_THREADS
;
4148 } _resultobj
= Py_BuildValue("i",_result
);
4152 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4153 PyObject
* _resultobj
;
4155 bool _arg0
= (bool ) TRUE
;
4156 int tempbool0
= (int) TRUE
;
4157 char *_kwnames
[] = { "doIt", NULL
};
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4162 _arg0
= (bool ) tempbool0
;
4164 wxPy_BEGIN_ALLOW_THREADS
;
4165 _result
= (bool )wxLog::EnableLogging(_arg0
);
4167 wxPy_END_ALLOW_THREADS
;
4168 } _resultobj
= Py_BuildValue("i",_result
);
4172 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4173 PyObject
* _resultobj
;
4176 int _arg2
= (int ) 0;
4177 PyObject
* _argo0
= 0;
4178 char *_kwnames
[] = { "level","szString","t", NULL
};
4181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4184 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4185 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4186 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4191 wxPy_BEGIN_ALLOW_THREADS
;
4192 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
4194 wxPy_END_ALLOW_THREADS
;
4195 } Py_INCREF(Py_None
);
4196 _resultobj
= Py_None
;
4200 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4201 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
* _resultobj
;
4204 PyObject
* _argo0
= 0;
4205 char *_kwnames
[] = { "self", NULL
};
4208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4211 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4212 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4213 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4218 wxPy_BEGIN_ALLOW_THREADS
;
4221 wxPy_END_ALLOW_THREADS
;
4222 } Py_INCREF(Py_None
);
4223 _resultobj
= Py_None
;
4227 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4228 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4229 PyObject
* _resultobj
;
4232 PyObject
* _argo0
= 0;
4233 char *_kwnames
[] = { "self", NULL
};
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4239 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4240 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4241 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4246 wxPy_BEGIN_ALLOW_THREADS
;
4247 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4249 wxPy_END_ALLOW_THREADS
;
4250 } _resultobj
= Py_BuildValue("i",_result
);
4254 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4255 PyObject
* _resultobj
;
4256 char *_kwnames
[] = { NULL
};
4259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4262 wxPy_BEGIN_ALLOW_THREADS
;
4263 wxLog::FlushActive();
4265 wxPy_END_ALLOW_THREADS
;
4266 } Py_INCREF(Py_None
);
4267 _resultobj
= Py_None
;
4271 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4272 PyObject
* _resultobj
;
4274 char *_kwnames
[] = { NULL
};
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4281 wxPy_BEGIN_ALLOW_THREADS
;
4282 _result
= (wxLog
*)wxLog::GetActiveTarget();
4284 wxPy_END_ALLOW_THREADS
;
4286 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4287 _resultobj
= Py_BuildValue("s",_ptemp
);
4290 _resultobj
= Py_None
;
4295 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
* _resultobj
;
4299 PyObject
* _argo0
= 0;
4300 char *_kwnames
[] = { "pLogger", NULL
};
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4314 wxPy_BEGIN_ALLOW_THREADS
;
4315 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4317 wxPy_END_ALLOW_THREADS
;
4319 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4320 _resultobj
= Py_BuildValue("s",_ptemp
);
4323 _resultobj
= Py_None
;
4328 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4329 PyObject
* _resultobj
;
4330 char *_kwnames
[] = { NULL
};
4333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4336 wxPy_BEGIN_ALLOW_THREADS
;
4339 wxPy_END_ALLOW_THREADS
;
4340 } Py_INCREF(Py_None
);
4341 _resultobj
= Py_None
;
4345 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
* _resultobj
;
4347 char *_kwnames
[] = { NULL
};
4350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4353 wxPy_BEGIN_ALLOW_THREADS
;
4356 wxPy_END_ALLOW_THREADS
;
4357 } Py_INCREF(Py_None
);
4358 _resultobj
= Py_None
;
4362 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4363 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4364 PyObject
* _resultobj
;
4366 bool _arg1
= (bool ) TRUE
;
4367 PyObject
* _argo0
= 0;
4368 int tempbool1
= (int) TRUE
;
4369 char *_kwnames
[] = { "self","bVerbose", NULL
};
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4375 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4376 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4377 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4381 _arg1
= (bool ) tempbool1
;
4383 wxPy_BEGIN_ALLOW_THREADS
;
4384 wxLog_SetVerbose(_arg0
,_arg1
);
4386 wxPy_END_ALLOW_THREADS
;
4387 } Py_INCREF(Py_None
);
4388 _resultobj
= Py_None
;
4392 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
* _resultobj
;
4394 char *_kwnames
[] = { NULL
};
4397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4400 wxPy_BEGIN_ALLOW_THREADS
;
4401 wxLog::DontCreateOnDemand();
4403 wxPy_END_ALLOW_THREADS
;
4404 } Py_INCREF(Py_None
);
4405 _resultobj
= Py_None
;
4409 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
* _resultobj
;
4411 wxTraceMask
* _arg0
;
4412 PyObject
* _argo0
= 0;
4413 char *_kwnames
[] = { "ulMask", NULL
};
4416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4426 wxPy_BEGIN_ALLOW_THREADS
;
4427 wxLog::SetTraceMask(*_arg0
);
4429 wxPy_END_ALLOW_THREADS
;
4430 } Py_INCREF(Py_None
);
4431 _resultobj
= Py_None
;
4435 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
* _resultobj
;
4438 PyObject
* _obj0
= 0;
4439 char *_kwnames
[] = { "str", NULL
};
4442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4445 #if PYTHON_API_VERSION >= 1009
4446 char* tmpPtr
; int tmpSize
;
4447 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4448 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4451 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4453 _arg0
= new wxString(tmpPtr
, tmpSize
);
4455 if (!PyString_Check(_obj0
)) {
4456 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4459 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4463 wxPy_BEGIN_ALLOW_THREADS
;
4464 wxLog::AddTraceMask(*_arg0
);
4466 wxPy_END_ALLOW_THREADS
;
4467 } Py_INCREF(Py_None
);
4468 _resultobj
= Py_None
;
4476 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
* _resultobj
;
4479 PyObject
* _obj0
= 0;
4480 char *_kwnames
[] = { "str", NULL
};
4483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4486 #if PYTHON_API_VERSION >= 1009
4487 char* tmpPtr
; int tmpSize
;
4488 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4489 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4492 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4494 _arg0
= new wxString(tmpPtr
, tmpSize
);
4496 if (!PyString_Check(_obj0
)) {
4497 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4500 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4504 wxPy_BEGIN_ALLOW_THREADS
;
4505 wxLog::RemoveTraceMask(*_arg0
);
4507 wxPy_END_ALLOW_THREADS
;
4508 } Py_INCREF(Py_None
);
4509 _resultobj
= Py_None
;
4517 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4518 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4519 PyObject
* _resultobj
;
4522 PyObject
* _argo0
= 0;
4523 char *_kwnames
[] = { "self", NULL
};
4526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4536 wxPy_BEGIN_ALLOW_THREADS
;
4537 _result
= (bool )wxLog_GetVerbose(_arg0
);
4539 wxPy_END_ALLOW_THREADS
;
4540 } _resultobj
= Py_BuildValue("i",_result
);
4544 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
* _resultobj
;
4546 wxTraceMask
* _result
;
4547 char *_kwnames
[] = { NULL
};
4551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4554 wxPy_BEGIN_ALLOW_THREADS
;
4555 _result
= new wxTraceMask (wxLog::GetTraceMask());
4557 wxPy_END_ALLOW_THREADS
;
4558 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
4559 _resultobj
= Py_BuildValue("s",_ptemp
);
4563 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4564 PyObject
* _resultobj
;
4567 char *_kwnames
[] = { "mask", NULL
};
4570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
4573 wxPy_BEGIN_ALLOW_THREADS
;
4574 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
4576 wxPy_END_ALLOW_THREADS
;
4577 } _resultobj
= Py_BuildValue("i",_result
);
4581 static void *SwigwxLogStderrTowxLog(void *ptr
) {
4584 src
= (wxLogStderr
*) ptr
;
4585 dest
= (wxLog
*) src
;
4586 return (void *) dest
;
4589 #define new_wxLogStderr() (new wxLogStderr())
4590 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4591 PyObject
* _resultobj
;
4592 wxLogStderr
* _result
;
4593 char *_kwnames
[] = { NULL
};
4597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
4600 wxPy_BEGIN_ALLOW_THREADS
;
4601 _result
= (wxLogStderr
*)new_wxLogStderr();
4603 wxPy_END_ALLOW_THREADS
;
4605 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
4606 _resultobj
= Py_BuildValue("s",_ptemp
);
4609 _resultobj
= Py_None
;
4614 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
4617 src
= (wxLogTextCtrl
*) ptr
;
4618 dest
= (wxLog
*) src
;
4619 return (void *) dest
;
4622 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
4623 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
* _resultobj
;
4625 wxLogTextCtrl
* _result
;
4627 PyObject
* _argo0
= 0;
4628 char *_kwnames
[] = { "pTextCtrl", NULL
};
4632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
4635 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4636 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4637 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
4642 wxPy_BEGIN_ALLOW_THREADS
;
4643 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
4645 wxPy_END_ALLOW_THREADS
;
4647 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
4648 _resultobj
= Py_BuildValue("s",_ptemp
);
4651 _resultobj
= Py_None
;
4656 static void *SwigwxLogGuiTowxLog(void *ptr
) {
4659 src
= (wxLogGui
*) ptr
;
4660 dest
= (wxLog
*) src
;
4661 return (void *) dest
;
4664 #define new_wxLogGui() (new wxLogGui())
4665 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
* _resultobj
;
4668 char *_kwnames
[] = { NULL
};
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
4675 wxPy_BEGIN_ALLOW_THREADS
;
4676 _result
= (wxLogGui
*)new_wxLogGui();
4678 wxPy_END_ALLOW_THREADS
;
4680 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
4681 _resultobj
= Py_BuildValue("s",_ptemp
);
4684 _resultobj
= Py_None
;
4689 static void *SwigwxLogWindowTowxLog(void *ptr
) {
4692 src
= (wxLogWindow
*) ptr
;
4693 dest
= (wxLog
*) src
;
4694 return (void *) dest
;
4697 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4698 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4699 PyObject
* _resultobj
;
4700 wxLogWindow
* _result
;
4703 bool _arg2
= (bool ) TRUE
;
4704 bool _arg3
= (bool ) TRUE
;
4705 PyObject
* _argo0
= 0;
4706 int tempbool2
= (int) TRUE
;
4707 int tempbool3
= (int) TRUE
;
4708 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
4712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
4715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
4717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
4721 _arg2
= (bool ) tempbool2
;
4722 _arg3
= (bool ) tempbool3
;
4724 wxPy_BEGIN_ALLOW_THREADS
;
4725 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
4727 wxPy_END_ALLOW_THREADS
;
4729 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
4730 _resultobj
= Py_BuildValue("s",_ptemp
);
4733 _resultobj
= Py_None
;
4738 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4739 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
* _resultobj
;
4741 wxLogWindow
* _arg0
;
4742 bool _arg1
= (bool ) TRUE
;
4743 PyObject
* _argo0
= 0;
4744 int tempbool1
= (int) TRUE
;
4745 char *_kwnames
[] = { "self","bShow", NULL
};
4748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4751 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4752 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4753 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
4757 _arg1
= (bool ) tempbool1
;
4759 wxPy_BEGIN_ALLOW_THREADS
;
4760 wxLogWindow_Show(_arg0
,_arg1
);
4762 wxPy_END_ALLOW_THREADS
;
4763 } Py_INCREF(Py_None
);
4764 _resultobj
= Py_None
;
4768 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
4769 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4770 PyObject
* _resultobj
;
4772 wxLogWindow
* _arg0
;
4773 PyObject
* _argo0
= 0;
4774 char *_kwnames
[] = { "self", NULL
};
4778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
4781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
4788 wxPy_BEGIN_ALLOW_THREADS
;
4789 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
4791 wxPy_END_ALLOW_THREADS
;
4793 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
4794 _resultobj
= Py_BuildValue("s",_ptemp
);
4797 _resultobj
= Py_None
;
4802 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
4803 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4804 PyObject
* _resultobj
;
4806 wxLogWindow
* _arg0
;
4807 PyObject
* _argo0
= 0;
4808 char *_kwnames
[] = { "self", NULL
};
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
4815 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4816 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4817 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
4822 wxPy_BEGIN_ALLOW_THREADS
;
4823 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
4825 wxPy_END_ALLOW_THREADS
;
4827 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4828 _resultobj
= Py_BuildValue("s",_ptemp
);
4831 _resultobj
= Py_None
;
4836 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
4837 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
* _resultobj
;
4840 wxLogWindow
* _arg0
;
4841 PyObject
* _argo0
= 0;
4842 char *_kwnames
[] = { "self", NULL
};
4845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
4848 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4849 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4850 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
4855 wxPy_BEGIN_ALLOW_THREADS
;
4856 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
4858 wxPy_END_ALLOW_THREADS
;
4859 } _resultobj
= Py_BuildValue("i",_result
);
4863 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
4864 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
* _resultobj
;
4866 wxLogWindow
* _arg0
;
4868 PyObject
* _argo0
= 0;
4870 char *_kwnames
[] = { "self","bDoPass", NULL
};
4873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
4876 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4877 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4878 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
4882 _arg1
= (bool ) tempbool1
;
4884 wxPy_BEGIN_ALLOW_THREADS
;
4885 wxLogWindow_PassMessages(_arg0
,_arg1
);
4887 wxPy_END_ALLOW_THREADS
;
4888 } Py_INCREF(Py_None
);
4889 _resultobj
= Py_None
;
4893 #define new_wxLogNull() (new wxLogNull())
4894 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4895 PyObject
* _resultobj
;
4896 wxLogNull
* _result
;
4897 char *_kwnames
[] = { NULL
};
4901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
4904 wxPy_BEGIN_ALLOW_THREADS
;
4905 _result
= (wxLogNull
*)new_wxLogNull();
4907 wxPy_END_ALLOW_THREADS
;
4909 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
4910 _resultobj
= Py_BuildValue("s",_ptemp
);
4913 _resultobj
= Py_None
;
4918 #define delete_wxLogNull(_swigobj) (delete _swigobj)
4919 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4920 PyObject
* _resultobj
;
4922 PyObject
* _argo0
= 0;
4923 char *_kwnames
[] = { "self", NULL
};
4926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
4929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
4931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
4936 wxPy_BEGIN_ALLOW_THREADS
;
4937 delete_wxLogNull(_arg0
);
4939 wxPy_END_ALLOW_THREADS
;
4940 } Py_INCREF(Py_None
);
4941 _resultobj
= Py_None
;
4945 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
4946 wxProcessEvent
*src
;
4948 src
= (wxProcessEvent
*) ptr
;
4949 dest
= (wxEvent
*) src
;
4950 return (void *) dest
;
4953 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
4954 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
* _resultobj
;
4956 wxProcessEvent
* _result
;
4957 int _arg0
= (int ) 0;
4958 int _arg1
= (int ) 0;
4959 int _arg2
= (int ) 0;
4960 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
4964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4967 wxPy_BEGIN_ALLOW_THREADS
;
4968 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
4970 wxPy_END_ALLOW_THREADS
;
4972 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
4973 _resultobj
= Py_BuildValue("s",_ptemp
);
4976 _resultobj
= Py_None
;
4981 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
4982 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
* _resultobj
;
4985 wxProcessEvent
* _arg0
;
4986 PyObject
* _argo0
= 0;
4987 char *_kwnames
[] = { "self", NULL
};
4990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
4993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
5000 wxPy_BEGIN_ALLOW_THREADS
;
5001 _result
= (int )wxProcessEvent_GetPid(_arg0
);
5003 wxPy_END_ALLOW_THREADS
;
5004 } _resultobj
= Py_BuildValue("i",_result
);
5008 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
5009 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
* _resultobj
;
5012 wxProcessEvent
* _arg0
;
5013 PyObject
* _argo0
= 0;
5014 char *_kwnames
[] = { "self", NULL
};
5017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
5020 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5021 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5022 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
5027 wxPy_BEGIN_ALLOW_THREADS
;
5028 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
5030 wxPy_END_ALLOW_THREADS
;
5031 } _resultobj
= Py_BuildValue("i",_result
);
5035 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
5036 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5037 PyObject
* _resultobj
;
5039 wxProcessEvent
* _arg0
;
5041 PyObject
* _argo0
= 0;
5042 char *_kwnames
[] = { "self","m_pid", NULL
};
5045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
5048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
5055 wxPy_BEGIN_ALLOW_THREADS
;
5056 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
5058 wxPy_END_ALLOW_THREADS
;
5059 } _resultobj
= Py_BuildValue("i",_result
);
5063 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
5064 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
* _resultobj
;
5067 wxProcessEvent
* _arg0
;
5068 PyObject
* _argo0
= 0;
5069 char *_kwnames
[] = { "self", NULL
};
5072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
5075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
5082 wxPy_BEGIN_ALLOW_THREADS
;
5083 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5085 wxPy_END_ALLOW_THREADS
;
5086 } _resultobj
= Py_BuildValue("i",_result
);
5090 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5091 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5092 PyObject
* _resultobj
;
5094 wxProcessEvent
* _arg0
;
5096 PyObject
* _argo0
= 0;
5097 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5103 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5104 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5105 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5110 wxPy_BEGIN_ALLOW_THREADS
;
5111 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5113 wxPy_END_ALLOW_THREADS
;
5114 } _resultobj
= Py_BuildValue("i",_result
);
5118 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5119 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5120 PyObject
* _resultobj
;
5122 wxProcessEvent
* _arg0
;
5123 PyObject
* _argo0
= 0;
5124 char *_kwnames
[] = { "self", NULL
};
5127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
5130 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5131 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5132 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
5137 wxPy_BEGIN_ALLOW_THREADS
;
5138 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5140 wxPy_END_ALLOW_THREADS
;
5141 } _resultobj
= Py_BuildValue("i",_result
);
5145 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5148 src
= (wxPyProcess
*) ptr
;
5149 dest
= (wxEvtHandler
*) src
;
5150 return (void *) dest
;
5153 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5154 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
* _resultobj
;
5156 wxPyProcess
* _result
;
5157 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
5158 int _arg1
= (int ) -1;
5159 PyObject
* _argo0
= 0;
5160 char *_kwnames
[] = { "parent","id", NULL
};
5164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
5167 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5168 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
5169 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
5174 wxPy_BEGIN_ALLOW_THREADS
;
5175 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
5177 wxPy_END_ALLOW_THREADS
;
5179 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
5180 _resultobj
= Py_BuildValue("s",_ptemp
);
5183 _resultobj
= Py_None
;
5188 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
5189 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5190 PyObject
* _resultobj
;
5191 wxPyProcess
* _arg0
;
5192 PyObject
* _argo0
= 0;
5193 char *_kwnames
[] = { "self", NULL
};
5196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
5199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
5206 wxPy_BEGIN_ALLOW_THREADS
;
5207 wxPyProcess_Destroy(_arg0
);
5209 wxPy_END_ALLOW_THREADS
;
5210 } Py_INCREF(Py_None
);
5211 _resultobj
= Py_None
;
5215 #define wxProcess__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5216 static PyObject
*_wrap_wxProcess__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
* _resultobj
;
5218 wxPyProcess
* _arg0
;
5221 PyObject
* _argo0
= 0;
5222 PyObject
* _obj1
= 0;
5223 PyObject
* _obj2
= 0;
5224 char *_kwnames
[] = { "self","self","_class", NULL
};
5227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5230 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5231 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5232 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setSelf. Expected _wxPyProcess_p.");
5243 wxPy_BEGIN_ALLOW_THREADS
;
5244 wxProcess__setSelf(_arg0
,_arg1
,_arg2
);
5246 wxPy_END_ALLOW_THREADS
;
5247 } Py_INCREF(Py_None
);
5248 _resultobj
= Py_None
;
5252 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
5253 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5254 PyObject
* _resultobj
;
5255 wxPyProcess
* _arg0
;
5258 PyObject
* _argo0
= 0;
5259 char *_kwnames
[] = { "self","pid","status", NULL
};
5262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5265 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5266 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5267 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
5272 wxPy_BEGIN_ALLOW_THREADS
;
5273 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
5275 wxPy_END_ALLOW_THREADS
;
5276 } Py_INCREF(Py_None
);
5277 _resultobj
= Py_None
;
5281 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
5282 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5283 PyObject
* _resultobj
;
5284 wxPyProcess
* _arg0
;
5285 PyObject
* _argo0
= 0;
5286 char *_kwnames
[] = { "self", NULL
};
5289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
5292 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5293 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5294 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
5299 wxPy_BEGIN_ALLOW_THREADS
;
5300 wxProcess_Redirect(_arg0
);
5302 wxPy_END_ALLOW_THREADS
;
5303 } Py_INCREF(Py_None
);
5304 _resultobj
= Py_None
;
5308 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
5309 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5310 PyObject
* _resultobj
;
5312 wxPyProcess
* _arg0
;
5313 PyObject
* _argo0
= 0;
5314 char *_kwnames
[] = { "self", NULL
};
5317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
5320 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5321 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5322 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
5327 wxPy_BEGIN_ALLOW_THREADS
;
5328 _result
= (bool )wxProcess_IsRedirected(_arg0
);
5330 wxPy_END_ALLOW_THREADS
;
5331 } _resultobj
= Py_BuildValue("i",_result
);
5335 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
5336 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
* _resultobj
;
5338 wxPyProcess
* _arg0
;
5339 PyObject
* _argo0
= 0;
5340 char *_kwnames
[] = { "self", NULL
};
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
5346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
5353 wxPy_BEGIN_ALLOW_THREADS
;
5354 wxProcess_Detach(_arg0
);
5356 wxPy_END_ALLOW_THREADS
;
5357 } Py_INCREF(Py_None
);
5358 _resultobj
= Py_None
;
5362 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
5363 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
* _resultobj
;
5365 wxInputStream
* _result
;
5366 wxPyProcess
* _arg0
;
5367 PyObject
* _argo0
= 0;
5368 char *_kwnames
[] = { "self", NULL
};
5371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
5374 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5375 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5376 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
5381 wxPy_BEGIN_ALLOW_THREADS
;
5382 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
5384 wxPy_END_ALLOW_THREADS
;
5386 wxPyInputStream
* _ptr
= NULL
;
5389 _ptr
= new wxPyInputStream(_result
);
5393 SWIG_MakePtr(swigptr
, _ptr
, "_wxPyInputStream_p");
5395 PyObject
* classobj
= PyDict_GetItemString(wxPython_dict
, "wxInputStreamPtr");
5398 _resultobj
= Py_None
;
5400 PyObject
* arg
= Py_BuildValue("(s)", swigptr
);
5401 _resultobj
= PyInstance_New(classobj
, arg
, NULL
);
5405 PyObject
* one
= PyInt_FromLong(1);
5406 PyObject_SetAttrString(_resultobj
, "thisown", one
);
5411 _resultobj
= Py_None
;
5417 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
5418 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
* _resultobj
;
5420 wxInputStream
* _result
;
5421 wxPyProcess
* _arg0
;
5422 PyObject
* _argo0
= 0;
5423 char *_kwnames
[] = { "self", NULL
};
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
5429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
5436 wxPy_BEGIN_ALLOW_THREADS
;
5437 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
5439 wxPy_END_ALLOW_THREADS
;
5441 wxPyInputStream
* _ptr
= NULL
;
5444 _ptr
= new wxPyInputStream(_result
);
5448 SWIG_MakePtr(swigptr
, _ptr
, "_wxPyInputStream_p");
5450 PyObject
* classobj
= PyDict_GetItemString(wxPython_dict
, "wxInputStreamPtr");
5453 _resultobj
= Py_None
;
5455 PyObject
* arg
= Py_BuildValue("(s)", swigptr
);
5456 _resultobj
= PyInstance_New(classobj
, arg
, NULL
);
5460 PyObject
* one
= PyInt_FromLong(1);
5461 PyObject_SetAttrString(_resultobj
, "thisown", one
);
5466 _resultobj
= Py_None
;
5472 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
5473 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
* _resultobj
;
5475 wxOutputStream
* _result
;
5476 wxPyProcess
* _arg0
;
5477 PyObject
* _argo0
= 0;
5478 char *_kwnames
[] = { "self", NULL
};
5482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
5485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
5492 wxPy_BEGIN_ALLOW_THREADS
;
5493 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
5495 wxPy_END_ALLOW_THREADS
;
5497 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
5498 _resultobj
= Py_BuildValue("s",_ptemp
);
5501 _resultobj
= Py_None
;
5506 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
5507 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
* _resultobj
;
5509 wxPyProcess
* _arg0
;
5510 PyObject
* _argo0
= 0;
5511 char *_kwnames
[] = { "self", NULL
};
5514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
5517 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5518 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5519 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
5524 wxPy_BEGIN_ALLOW_THREADS
;
5525 wxProcess_CloseOutput(_arg0
);
5527 wxPy_END_ALLOW_THREADS
;
5528 } Py_INCREF(Py_None
);
5529 _resultobj
= Py_None
;
5533 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
5534 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
* _resultobj
;
5536 wxJoystick
* _result
;
5537 int _arg0
= (int ) wxJOYSTICK1
;
5538 char *_kwnames
[] = { "joystick", NULL
};
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
5545 wxPy_BEGIN_ALLOW_THREADS
;
5546 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
5548 wxPy_END_ALLOW_THREADS
;
5550 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
5551 _resultobj
= Py_BuildValue("s",_ptemp
);
5554 _resultobj
= Py_None
;
5559 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
5560 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5561 PyObject
* _resultobj
;
5564 PyObject
* _argo0
= 0;
5565 char *_kwnames
[] = { "self", NULL
};
5569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
5572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
5579 wxPy_BEGIN_ALLOW_THREADS
;
5580 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
5582 wxPy_END_ALLOW_THREADS
;
5583 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5584 _resultobj
= Py_BuildValue("s",_ptemp
);
5588 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
5589 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5590 PyObject
* _resultobj
;
5593 PyObject
* _argo0
= 0;
5594 char *_kwnames
[] = { "self", NULL
};
5597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
5600 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5601 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5602 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
5607 wxPy_BEGIN_ALLOW_THREADS
;
5608 _result
= (int )wxJoystick_GetZPosition(_arg0
);
5610 wxPy_END_ALLOW_THREADS
;
5611 } _resultobj
= Py_BuildValue("i",_result
);
5615 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
5616 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
* _resultobj
;
5620 PyObject
* _argo0
= 0;
5621 char *_kwnames
[] = { "self", NULL
};
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
5627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
5634 wxPy_BEGIN_ALLOW_THREADS
;
5635 _result
= (int )wxJoystick_GetButtonState(_arg0
);
5637 wxPy_END_ALLOW_THREADS
;
5638 } _resultobj
= Py_BuildValue("i",_result
);
5642 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
5643 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5644 PyObject
* _resultobj
;
5647 PyObject
* _argo0
= 0;
5648 char *_kwnames
[] = { "self", NULL
};
5651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
5654 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5655 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5656 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
5661 wxPy_BEGIN_ALLOW_THREADS
;
5662 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
5664 wxPy_END_ALLOW_THREADS
;
5665 } _resultobj
= Py_BuildValue("i",_result
);
5669 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
5670 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5671 PyObject
* _resultobj
;
5674 PyObject
* _argo0
= 0;
5675 char *_kwnames
[] = { "self", NULL
};
5678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
5681 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5682 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5683 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
5688 wxPy_BEGIN_ALLOW_THREADS
;
5689 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
5691 wxPy_END_ALLOW_THREADS
;
5692 } _resultobj
= Py_BuildValue("i",_result
);
5696 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
5697 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
* _resultobj
;
5701 PyObject
* _argo0
= 0;
5702 char *_kwnames
[] = { "self", NULL
};
5705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
5708 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5709 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5710 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
5715 wxPy_BEGIN_ALLOW_THREADS
;
5716 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
5718 wxPy_END_ALLOW_THREADS
;
5719 } _resultobj
= Py_BuildValue("i",_result
);
5723 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
5724 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5725 PyObject
* _resultobj
;
5728 PyObject
* _argo0
= 0;
5729 char *_kwnames
[] = { "self", NULL
};
5732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
5735 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5736 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5737 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
5742 wxPy_BEGIN_ALLOW_THREADS
;
5743 _result
= (int )wxJoystick_GetUPosition(_arg0
);
5745 wxPy_END_ALLOW_THREADS
;
5746 } _resultobj
= Py_BuildValue("i",_result
);
5750 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
5751 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5752 PyObject
* _resultobj
;
5755 PyObject
* _argo0
= 0;
5756 char *_kwnames
[] = { "self", NULL
};
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
5762 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5763 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5764 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
5769 wxPy_BEGIN_ALLOW_THREADS
;
5770 _result
= (int )wxJoystick_GetVPosition(_arg0
);
5772 wxPy_END_ALLOW_THREADS
;
5773 } _resultobj
= Py_BuildValue("i",_result
);
5777 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
5778 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5779 PyObject
* _resultobj
;
5782 PyObject
* _argo0
= 0;
5783 char *_kwnames
[] = { "self", NULL
};
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
5789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
5796 wxPy_BEGIN_ALLOW_THREADS
;
5797 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
5799 wxPy_END_ALLOW_THREADS
;
5800 } _resultobj
= Py_BuildValue("i",_result
);
5804 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
5805 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
* _resultobj
;
5809 PyObject
* _argo0
= 0;
5810 char *_kwnames
[] = { "self","threshold", NULL
};
5813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
5816 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5817 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5818 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
5823 wxPy_BEGIN_ALLOW_THREADS
;
5824 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
5826 wxPy_END_ALLOW_THREADS
;
5827 } Py_INCREF(Py_None
);
5828 _resultobj
= Py_None
;
5832 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
5833 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
* _resultobj
;
5837 PyObject
* _argo0
= 0;
5838 char *_kwnames
[] = { "self", NULL
};
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
5844 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5845 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5846 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
5851 wxPy_BEGIN_ALLOW_THREADS
;
5852 _result
= (bool )wxJoystick_IsOk(_arg0
);
5854 wxPy_END_ALLOW_THREADS
;
5855 } _resultobj
= Py_BuildValue("i",_result
);
5859 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
5860 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
* _resultobj
;
5864 PyObject
* _argo0
= 0;
5865 char *_kwnames
[] = { "self", NULL
};
5868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
5871 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5872 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5873 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
5878 wxPy_BEGIN_ALLOW_THREADS
;
5879 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
5881 wxPy_END_ALLOW_THREADS
;
5882 } _resultobj
= Py_BuildValue("i",_result
);
5886 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
5887 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5888 PyObject
* _resultobj
;
5891 PyObject
* _argo0
= 0;
5892 char *_kwnames
[] = { "self", NULL
};
5895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
5898 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5899 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5900 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
5905 wxPy_BEGIN_ALLOW_THREADS
;
5906 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
5908 wxPy_END_ALLOW_THREADS
;
5909 } _resultobj
= Py_BuildValue("i",_result
);
5913 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
5914 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5915 PyObject
* _resultobj
;
5918 PyObject
* _argo0
= 0;
5919 char *_kwnames
[] = { "self", NULL
};
5922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
5925 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5926 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
5932 wxPy_BEGIN_ALLOW_THREADS
;
5933 _result
= (int )wxJoystick_GetProductId(_arg0
);
5935 wxPy_END_ALLOW_THREADS
;
5936 } _resultobj
= Py_BuildValue("i",_result
);
5940 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
5941 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5942 PyObject
* _resultobj
;
5945 PyObject
* _argo0
= 0;
5946 char *_kwnames
[] = { "self", NULL
};
5949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
5952 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5953 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5954 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
5959 wxPy_BEGIN_ALLOW_THREADS
;
5960 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
5962 wxPy_END_ALLOW_THREADS
;
5964 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5972 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
5973 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5974 PyObject
* _resultobj
;
5977 PyObject
* _argo0
= 0;
5978 char *_kwnames
[] = { "self", NULL
};
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
5984 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5985 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5986 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
5991 wxPy_BEGIN_ALLOW_THREADS
;
5992 _result
= (int )wxJoystick_GetXMin(_arg0
);
5994 wxPy_END_ALLOW_THREADS
;
5995 } _resultobj
= Py_BuildValue("i",_result
);
5999 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
6000 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
* _resultobj
;
6004 PyObject
* _argo0
= 0;
6005 char *_kwnames
[] = { "self", NULL
};
6008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
6011 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6012 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6013 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
6018 wxPy_BEGIN_ALLOW_THREADS
;
6019 _result
= (int )wxJoystick_GetYMin(_arg0
);
6021 wxPy_END_ALLOW_THREADS
;
6022 } _resultobj
= Py_BuildValue("i",_result
);
6026 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
6027 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6028 PyObject
* _resultobj
;
6031 PyObject
* _argo0
= 0;
6032 char *_kwnames
[] = { "self", NULL
};
6035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
6038 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6039 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6040 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
6045 wxPy_BEGIN_ALLOW_THREADS
;
6046 _result
= (int )wxJoystick_GetZMin(_arg0
);
6048 wxPy_END_ALLOW_THREADS
;
6049 } _resultobj
= Py_BuildValue("i",_result
);
6053 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
6054 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6055 PyObject
* _resultobj
;
6058 PyObject
* _argo0
= 0;
6059 char *_kwnames
[] = { "self", NULL
};
6062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
6065 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6066 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6067 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
6072 wxPy_BEGIN_ALLOW_THREADS
;
6073 _result
= (int )wxJoystick_GetXMax(_arg0
);
6075 wxPy_END_ALLOW_THREADS
;
6076 } _resultobj
= Py_BuildValue("i",_result
);
6080 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
6081 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6082 PyObject
* _resultobj
;
6085 PyObject
* _argo0
= 0;
6086 char *_kwnames
[] = { "self", NULL
};
6089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6092 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6093 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6094 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6099 wxPy_BEGIN_ALLOW_THREADS
;
6100 _result
= (int )wxJoystick_GetYMax(_arg0
);
6102 wxPy_END_ALLOW_THREADS
;
6103 } _resultobj
= Py_BuildValue("i",_result
);
6107 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6108 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6109 PyObject
* _resultobj
;
6112 PyObject
* _argo0
= 0;
6113 char *_kwnames
[] = { "self", NULL
};
6116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
6119 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6120 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6121 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6126 wxPy_BEGIN_ALLOW_THREADS
;
6127 _result
= (int )wxJoystick_GetZMax(_arg0
);
6129 wxPy_END_ALLOW_THREADS
;
6130 } _resultobj
= Py_BuildValue("i",_result
);
6134 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6135 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6136 PyObject
* _resultobj
;
6139 PyObject
* _argo0
= 0;
6140 char *_kwnames
[] = { "self", NULL
};
6143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
6146 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6147 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
6153 wxPy_BEGIN_ALLOW_THREADS
;
6154 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
6156 wxPy_END_ALLOW_THREADS
;
6157 } _resultobj
= Py_BuildValue("i",_result
);
6161 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
6162 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6163 PyObject
* _resultobj
;
6166 PyObject
* _argo0
= 0;
6167 char *_kwnames
[] = { "self", NULL
};
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
6173 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6174 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6175 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
6180 wxPy_BEGIN_ALLOW_THREADS
;
6181 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
6183 wxPy_END_ALLOW_THREADS
;
6184 } _resultobj
= Py_BuildValue("i",_result
);
6188 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
6189 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6190 PyObject
* _resultobj
;
6193 PyObject
* _argo0
= 0;
6194 char *_kwnames
[] = { "self", NULL
};
6197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
6200 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6201 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6202 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
6207 wxPy_BEGIN_ALLOW_THREADS
;
6208 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
6210 wxPy_END_ALLOW_THREADS
;
6211 } _resultobj
= Py_BuildValue("i",_result
);
6215 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
6216 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
* _resultobj
;
6220 PyObject
* _argo0
= 0;
6221 char *_kwnames
[] = { "self", NULL
};
6224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
6227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
6234 wxPy_BEGIN_ALLOW_THREADS
;
6235 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
6237 wxPy_END_ALLOW_THREADS
;
6238 } _resultobj
= Py_BuildValue("i",_result
);
6242 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
6243 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6244 PyObject
* _resultobj
;
6247 PyObject
* _argo0
= 0;
6248 char *_kwnames
[] = { "self", NULL
};
6251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
6254 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6255 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6256 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
6261 wxPy_BEGIN_ALLOW_THREADS
;
6262 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
6264 wxPy_END_ALLOW_THREADS
;
6265 } _resultobj
= Py_BuildValue("i",_result
);
6269 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
6270 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6271 PyObject
* _resultobj
;
6274 PyObject
* _argo0
= 0;
6275 char *_kwnames
[] = { "self", NULL
};
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
6281 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6282 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6283 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
6288 wxPy_BEGIN_ALLOW_THREADS
;
6289 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
6291 wxPy_END_ALLOW_THREADS
;
6292 } _resultobj
= Py_BuildValue("i",_result
);
6296 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
6297 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6298 PyObject
* _resultobj
;
6301 PyObject
* _argo0
= 0;
6302 char *_kwnames
[] = { "self", NULL
};
6305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
6308 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6309 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
6315 wxPy_BEGIN_ALLOW_THREADS
;
6316 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
6318 wxPy_END_ALLOW_THREADS
;
6319 } _resultobj
= Py_BuildValue("i",_result
);
6323 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
6324 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6325 PyObject
* _resultobj
;
6328 PyObject
* _argo0
= 0;
6329 char *_kwnames
[] = { "self", NULL
};
6332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
6335 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6336 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
6342 wxPy_BEGIN_ALLOW_THREADS
;
6343 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
6345 wxPy_END_ALLOW_THREADS
;
6346 } _resultobj
= Py_BuildValue("i",_result
);
6350 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
6351 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6352 PyObject
* _resultobj
;
6355 PyObject
* _argo0
= 0;
6356 char *_kwnames
[] = { "self", NULL
};
6359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
6362 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6363 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6364 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
6369 wxPy_BEGIN_ALLOW_THREADS
;
6370 _result
= (int )wxJoystick_GetUMin(_arg0
);
6372 wxPy_END_ALLOW_THREADS
;
6373 } _resultobj
= Py_BuildValue("i",_result
);
6377 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
6378 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
* _resultobj
;
6382 PyObject
* _argo0
= 0;
6383 char *_kwnames
[] = { "self", NULL
};
6386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
6389 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6390 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6391 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
6396 wxPy_BEGIN_ALLOW_THREADS
;
6397 _result
= (int )wxJoystick_GetUMax(_arg0
);
6399 wxPy_END_ALLOW_THREADS
;
6400 } _resultobj
= Py_BuildValue("i",_result
);
6404 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
6405 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
* _resultobj
;
6409 PyObject
* _argo0
= 0;
6410 char *_kwnames
[] = { "self", NULL
};
6413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
6416 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6417 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6418 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
6423 wxPy_BEGIN_ALLOW_THREADS
;
6424 _result
= (int )wxJoystick_GetVMin(_arg0
);
6426 wxPy_END_ALLOW_THREADS
;
6427 } _resultobj
= Py_BuildValue("i",_result
);
6431 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
6432 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
* _resultobj
;
6436 PyObject
* _argo0
= 0;
6437 char *_kwnames
[] = { "self", NULL
};
6440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
6443 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6444 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6445 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
6450 wxPy_BEGIN_ALLOW_THREADS
;
6451 _result
= (int )wxJoystick_GetVMax(_arg0
);
6453 wxPy_END_ALLOW_THREADS
;
6454 } _resultobj
= Py_BuildValue("i",_result
);
6458 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
6459 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6460 PyObject
* _resultobj
;
6463 PyObject
* _argo0
= 0;
6464 char *_kwnames
[] = { "self", NULL
};
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
6470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
6477 wxPy_BEGIN_ALLOW_THREADS
;
6478 _result
= (bool )wxJoystick_HasRudder(_arg0
);
6480 wxPy_END_ALLOW_THREADS
;
6481 } _resultobj
= Py_BuildValue("i",_result
);
6485 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
6486 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
* _resultobj
;
6490 PyObject
* _argo0
= 0;
6491 char *_kwnames
[] = { "self", NULL
};
6494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
6497 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6498 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6499 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
6504 wxPy_BEGIN_ALLOW_THREADS
;
6505 _result
= (bool )wxJoystick_HasZ(_arg0
);
6507 wxPy_END_ALLOW_THREADS
;
6508 } _resultobj
= Py_BuildValue("i",_result
);
6512 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
6513 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6514 PyObject
* _resultobj
;
6517 PyObject
* _argo0
= 0;
6518 char *_kwnames
[] = { "self", NULL
};
6521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
6524 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6525 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6526 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
6531 wxPy_BEGIN_ALLOW_THREADS
;
6532 _result
= (bool )wxJoystick_HasU(_arg0
);
6534 wxPy_END_ALLOW_THREADS
;
6535 } _resultobj
= Py_BuildValue("i",_result
);
6539 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
6540 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6541 PyObject
* _resultobj
;
6544 PyObject
* _argo0
= 0;
6545 char *_kwnames
[] = { "self", NULL
};
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
6551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
6558 wxPy_BEGIN_ALLOW_THREADS
;
6559 _result
= (bool )wxJoystick_HasV(_arg0
);
6561 wxPy_END_ALLOW_THREADS
;
6562 } _resultobj
= Py_BuildValue("i",_result
);
6566 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
6567 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6568 PyObject
* _resultobj
;
6571 PyObject
* _argo0
= 0;
6572 char *_kwnames
[] = { "self", NULL
};
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
6578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
6585 wxPy_BEGIN_ALLOW_THREADS
;
6586 _result
= (bool )wxJoystick_HasPOV(_arg0
);
6588 wxPy_END_ALLOW_THREADS
;
6589 } _resultobj
= Py_BuildValue("i",_result
);
6593 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
6594 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6595 PyObject
* _resultobj
;
6598 PyObject
* _argo0
= 0;
6599 char *_kwnames
[] = { "self", NULL
};
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
6605 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6606 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6607 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
6612 wxPy_BEGIN_ALLOW_THREADS
;
6613 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
6615 wxPy_END_ALLOW_THREADS
;
6616 } _resultobj
= Py_BuildValue("i",_result
);
6620 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
6621 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6622 PyObject
* _resultobj
;
6625 PyObject
* _argo0
= 0;
6626 char *_kwnames
[] = { "self", NULL
};
6629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
6632 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6633 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6634 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
6639 wxPy_BEGIN_ALLOW_THREADS
;
6640 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
6642 wxPy_END_ALLOW_THREADS
;
6643 } _resultobj
= Py_BuildValue("i",_result
);
6647 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
6648 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6649 PyObject
* _resultobj
;
6653 int _arg2
= (int ) 0;
6654 PyObject
* _argo0
= 0;
6655 PyObject
* _argo1
= 0;
6656 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
6659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
6669 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6670 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
6676 wxPy_BEGIN_ALLOW_THREADS
;
6677 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
6679 wxPy_END_ALLOW_THREADS
;
6680 } _resultobj
= Py_BuildValue("i",_result
);
6684 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
6685 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
* _resultobj
;
6689 PyObject
* _argo0
= 0;
6690 char *_kwnames
[] = { "self", NULL
};
6693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
6696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
6703 wxPy_BEGIN_ALLOW_THREADS
;
6704 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
6706 wxPy_END_ALLOW_THREADS
;
6707 } _resultobj
= Py_BuildValue("i",_result
);
6711 static PyMethodDef misc2cMethods
[] = {
6712 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
6713 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
6714 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
6715 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
6716 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
6717 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
6718 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
6719 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
6720 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
6721 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
6722 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
6723 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
6724 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
6725 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
6726 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
6727 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
6728 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
6729 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
6730 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
6731 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
6732 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
6733 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
6734 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
6735 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
6736 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
6737 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
6738 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
6739 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
6740 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
6741 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
6742 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
6743 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
6744 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
6745 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
6746 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
6747 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
6748 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
6749 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
6750 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
6751 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
6752 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
6753 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6754 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
6755 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
6756 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
6757 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
6758 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
6759 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
6760 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
6761 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
6762 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
6763 { "wxProcess__setSelf", (PyCFunction
) _wrap_wxProcess__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
6764 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
6765 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
6766 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
6767 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
6768 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
6769 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
6770 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
6771 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
6772 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
6773 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
6774 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
6775 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
6776 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
6777 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
6778 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
6779 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
6780 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
6781 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
6782 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
6783 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
6784 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
6785 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
6786 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
6787 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
6788 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
6789 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
6790 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
6791 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
6792 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
6793 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
6794 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
6795 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
6796 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
6797 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
6798 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
6799 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
6800 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
6801 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
6802 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
6803 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
6804 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
6805 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
6806 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
6807 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
6808 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
6809 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
6810 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
6811 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
6812 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
6813 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
6814 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
6815 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
6816 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
6817 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
6818 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
6819 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
6820 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
6821 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
6822 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
6823 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
6824 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
6825 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
6826 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
6827 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
6828 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
6829 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
6830 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
6831 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
6832 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
6833 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
6834 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
6835 { "wxFontEnumerator__setSelf", (PyCFunction
) _wrap_wxFontEnumerator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
6836 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
6837 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
6838 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
6839 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
6840 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
6841 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
6842 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
6843 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
6844 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6845 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
6846 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
6847 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6848 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
6849 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
6850 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
6851 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
6852 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
6853 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6854 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
6855 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
6856 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
6857 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
6858 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
6859 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
6860 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
6861 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
6862 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
6863 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
6864 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
6865 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
6866 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
6867 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
6868 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
6869 { "wxDragListItem", (PyCFunction
) _wrap_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
6870 { "wxDragTreeItem", (PyCFunction
) _wrap_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
6871 { "wxDragString", (PyCFunction
) _wrap_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
6872 { "wxDragIcon", (PyCFunction
) _wrap_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
6873 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
6874 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
6875 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
6876 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
6877 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
6878 { "wxWakeUpMainThread", (PyCFunction
) _wrap_wxWakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
6879 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
6880 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
6881 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
6882 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
6883 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
6884 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
6885 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
6886 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
6887 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
6888 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
6889 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
6890 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
6891 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
6892 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
6893 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
6894 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
6895 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
6896 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
6897 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
6898 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
6899 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
6900 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
6901 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
6902 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
6903 { "wxGetClientDisplayRect", (PyCFunction
) _wrap_wxGetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
6904 { "wxClientDisplayRect", (PyCFunction
) _wrap_wxClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
6905 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
6906 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
6907 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
6908 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
6909 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
6910 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
6911 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
6912 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
6913 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
6914 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
6915 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
6916 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
6917 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
6918 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
6925 * This table is used by the pointer type-checker
6927 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6928 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
6929 { "_wxEvent","_class_wxProcessEvent",SwigwxProcessEventTowxEvent
},
6930 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
6931 { "_wxEvent","_class_wxEvent",0},
6932 { "_class_wxActivateEvent","_wxActivateEvent",0},
6933 { "_signed_long","_long",0},
6934 { "_wxMenuEvent","_class_wxMenuEvent",0},
6935 { "_class_wxProcessEvent","_wxProcessEvent",0},
6936 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
6937 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
6938 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
6939 { "_wxWindowDisabler","_class_wxWindowDisabler",0},
6940 { "_wxPrintQuality","_wxCoord",0},
6941 { "_wxPrintQuality","_int",0},
6942 { "_wxPrintQuality","_signed_int",0},
6943 { "_wxPrintQuality","_unsigned_int",0},
6944 { "_wxPrintQuality","_wxWindowID",0},
6945 { "_wxPrintQuality","_uint",0},
6946 { "_wxPrintQuality","_EBool",0},
6947 { "_wxPrintQuality","_size_t",0},
6948 { "_wxPrintQuality","_time_t",0},
6949 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
6950 { "_class_wxRegionIterator","_wxRegionIterator",0},
6951 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
6952 { "_class_wxMenuBar","_wxMenuBar",0},
6953 { "_class_wxEvtHandler","_class_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
6954 { "_class_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
6955 { "_class_wxEvtHandler","_wxEvtHandler",0},
6956 { "_wxPaintEvent","_class_wxPaintEvent",0},
6957 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
6958 { "_wxCursor","_class_wxCursor",0},
6959 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
6960 { "_wxPyProcess","_class_wxPyProcess",0},
6961 { "_wxMutexGuiLocker","_class_wxMutexGuiLocker",0},
6962 { "_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog
},
6963 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
6964 { "_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog
},
6965 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
6966 { "_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
6967 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
6968 { "_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog
},
6969 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
6970 { "_wxLog","_class_wxLog",0},
6971 { "_wxMask","_class_wxMask",0},
6972 { "_wxToolTip","_class_wxToolTip",0},
6973 { "_wxPen","_class_wxPen",0},
6974 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
6975 { "_byte","_unsigned_char",0},
6976 { "_wxDataObject","_class_wxDataObject",0},
6977 { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
6978 { "_wxColourDatabase","_class_wxColourDatabase",0},
6979 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
6980 { "_wxPyDropSource","_class_wxPyDropSource",0},
6981 { "_long","_unsigned_long",0},
6982 { "_long","_signed_long",0},
6983 { "_wxImageList","_class_wxImageList",0},
6984 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
6985 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
6986 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
6987 { "_class_wxClipboard","_wxClipboard",0},
6988 { "_wxDC","_class_wxDC",0},
6989 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
6990 { "_wxSpinEvent","_class_wxSpinEvent",0},
6991 { "_size_t","_wxCoord",0},
6992 { "_size_t","_wxPrintQuality",0},
6993 { "_size_t","_time_t",0},
6994 { "_size_t","_unsigned_int",0},
6995 { "_size_t","_int",0},
6996 { "_size_t","_wxWindowID",0},
6997 { "_size_t","_uint",0},
6998 { "_class_wxRealPoint","_wxRealPoint",0},
6999 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
7000 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
7001 { "_wxLogGui","_class_wxLogGui",0},
7002 { "_class_wxMenuItem","_wxMenuItem",0},
7003 { "_class_wxPaintEvent","_wxPaintEvent",0},
7004 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
7005 { "_wxPanel","_class_wxPanel",0},
7006 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
7007 { "_wxPyEvent","_class_wxPyEvent",0},
7008 { "_class_wxMask","_wxMask",0},
7009 { "_wxTextDataObject","_class_wxTextDataObject",0},
7010 { "_class_wxKeyEvent","_wxKeyEvent",0},
7011 { "_class_wxToolTip","_wxToolTip",0},
7012 { "_wxColour","_class_wxColour",0},
7013 { "_class_wxDialog","_wxDialog",0},
7014 { "_wxBusyCursor","_class_wxBusyCursor",0},
7015 { "_class_wxFileDataObject","_wxFileDataObject",0},
7016 { "_wxIdleEvent","_class_wxIdleEvent",0},
7017 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
7018 { "_class_wxDataObject","_wxDataObject",0},
7019 { "_wxCaret","_class_wxCaret",0},
7020 { "_wxBrush","_class_wxBrush",0},
7021 { "_wxDataFormat","_class_wxDataFormat",0},
7022 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
7023 { "_wxShowEvent","_class_wxShowEvent",0},
7024 { "_uint","_wxCoord",0},
7025 { "_uint","_wxPrintQuality",0},
7026 { "_uint","_time_t",0},
7027 { "_uint","_size_t",0},
7028 { "_uint","_unsigned_int",0},
7029 { "_uint","_int",0},
7030 { "_uint","_wxWindowID",0},
7031 { "_wxChar","_char",0},
7032 { "_wxPyValidator","_class_wxPyValidator",0},
7033 { "_class_wxEvent","_class_wxProcessEvent",SwigwxProcessEventTowxEvent
},
7034 { "_class_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
7035 { "_class_wxEvent","_wxEvent",0},
7036 { "_wxRect","_class_wxRect",0},
7037 { "_wxCommandEvent","_class_wxCommandEvent",0},
7038 { "_wxSizeEvent","_class_wxSizeEvent",0},
7039 { "_class_wxLogWindow","_wxLogWindow",0},
7040 { "_wxPoint","_class_wxPoint",0},
7041 { "_class_wxWindowDisabler","_wxWindowDisabler",0},
7042 { "_char","_wxChar",0},
7043 { "_wxBitmap","_class_wxBitmap",0},
7044 { "_wxPenList","_class_wxPenList",0},
7045 { "_wxWindowDC","_class_wxWindowDC",0},
7046 { "_wxTimerEvent","_class_wxTimerEvent",0},
7047 { "_wxPyTimer","_class_wxPyTimer",0},
7048 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
7049 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
7050 { "_class_wxValidator","_wxValidator",0},
7051 { "_class_wxPyEvent","_wxPyEvent",0},
7052 { "_class_wxMutexGuiLocker","_wxMutexGuiLocker",0},
7053 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
7054 { "_class_wxBusyCursor","_wxBusyCursor",0},
7055 { "_wxDropTarget","_class_wxDropTarget",0},
7056 { "_class_wxColourDatabase","_wxColourDatabase",0},
7057 { "_wxScrollEvent","_class_wxScrollEvent",0},
7058 { "_EBool","_wxCoord",0},
7059 { "_EBool","_wxPrintQuality",0},
7060 { "_EBool","_signed_int",0},
7061 { "_EBool","_int",0},
7062 { "_EBool","_wxWindowID",0},
7063 { "_class_wxRegion","_wxRegion",0},
7064 { "_class_wxDataFormat","_wxDataFormat",0},
7065 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
7066 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
7067 { "_wxFont","_class_wxFont",0},
7068 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
7069 { "_wxCloseEvent","_class_wxCloseEvent",0},
7070 { "_wxProcessEvent","_class_wxProcessEvent",0},
7071 { "_unsigned_long","_long",0},
7072 { "_class_wxRect","_wxRect",0},
7073 { "_class_wxDC","_wxDC",0},
7074 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
7075 { "_wxGenericDragImage","_class_wxGenericDragImage",0},
7076 { "_class_wxBrushList","_wxBrushList",0},
7077 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
7078 { "_wxPyInputStream","_class_wxPyInputStream",0},
7079 { "_class_wxPenList","_wxPenList",0},
7080 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
7081 { "_class_wxOutputStream","_wxOutputStream",0},
7082 { "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
7083 { "_wxFocusEvent","_class_wxFocusEvent",0},
7084 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
7085 { "_class_wxTimerEvent","_wxTimerEvent",0},
7086 { "_class_wxPyTimer","_wxPyTimer",0},
7087 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
7088 { "_class_wxPanel","_wxPanel",0},
7089 { "_signed_int","_wxCoord",0},
7090 { "_signed_int","_wxPrintQuality",0},
7091 { "_signed_int","_EBool",0},
7092 { "_signed_int","_wxWindowID",0},
7093 { "_signed_int","_int",0},
7094 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
7095 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
7096 { "_class_wxTextDataObject","_wxTextDataObject",0},
7097 { "_wxMenu","_class_wxMenu",0},
7098 { "_class_wxMoveEvent","_wxMoveEvent",0},
7099 { "_wxScreenDC","_class_wxScreenDC",0},
7100 { "_WXTYPE","_short",0},
7101 { "_WXTYPE","_signed_short",0},
7102 { "_WXTYPE","_unsigned_short",0},
7103 { "_class_wxDropTarget","_wxDropTarget",0},
7104 { "_class_wxCaret","_wxCaret",0},
7105 { "_class_wxBrush","_wxBrush",0},
7106 { "_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7107 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7108 { "_wxTipProvider","_class_wxTipProvider",0},
7109 { "_unsigned_short","_WXTYPE",0},
7110 { "_unsigned_short","_short",0},
7111 { "_class_wxWindow","_wxWindow",0},
7112 { "_class_wxLogStderr","_wxLogStderr",0},
7113 { "_class_wxFont","_wxFont",0},
7114 { "_wxClipboard","_class_wxClipboard",0},
7115 { "_class_wxPyValidator","_wxPyValidator",0},
7116 { "_class_wxCloseEvent","_wxCloseEvent",0},
7117 { "_wxBusyInfo","_class_wxBusyInfo",0},
7118 { "_wxFontList","_class_wxFontList",0},
7119 { "_class_wxMenuEvent","_wxMenuEvent",0},
7120 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
7121 { "_wxJoystick","_class_wxJoystick",0},
7122 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
7123 { "_wxClientDC","_class_wxClientDC",0},
7124 { "_wxMouseEvent","_class_wxMouseEvent",0},
7125 { "_class_wxGenericDragImage","_wxGenericDragImage",0},
7126 { "_class_wxPoint","_wxPoint",0},
7127 { "_class_wxPyInputStream","_wxPyInputStream",0},
7128 { "_wxRealPoint","_class_wxRealPoint",0},
7129 { "_signed_short","_WXTYPE",0},
7130 { "_signed_short","_short",0},
7131 { "_wxMemoryDC","_class_wxMemoryDC",0},
7132 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
7133 { "_wxPaintDC","_class_wxPaintDC",0},
7134 { "_class_wxWindowDC","_wxWindowDC",0},
7135 { "_class_wxFocusEvent","_wxFocusEvent",0},
7136 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
7137 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
7138 { "_class_wxCursor","_wxCursor",0},
7139 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
7140 { "_class_wxPyProcess","_wxPyProcess",0},
7141 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
7142 { "_class_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog
},
7143 { "_class_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
7144 { "_class_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog
},
7145 { "_class_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
7146 { "_class_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7147 { "_class_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7148 { "_class_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog
},
7149 { "_class_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
7150 { "_class_wxLog","_wxLog",0},
7151 { "_unsigned_char","_byte",0},
7152 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
7153 { "_class_wxMenu","_wxMenu",0},
7154 { "_unsigned_int","_wxCoord",0},
7155 { "_unsigned_int","_wxPrintQuality",0},
7156 { "_unsigned_int","_time_t",0},
7157 { "_unsigned_int","_size_t",0},
7158 { "_unsigned_int","_uint",0},
7159 { "_unsigned_int","_wxWindowID",0},
7160 { "_unsigned_int","_int",0},
7161 { "_wxIcon","_class_wxIcon",0},
7162 { "_wxDialog","_class_wxDialog",0},
7163 { "_class_wxPen","_wxPen",0},
7164 { "_short","_WXTYPE",0},
7165 { "_short","_unsigned_short",0},
7166 { "_short","_signed_short",0},
7167 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
7168 { "_class_wxPyDropSource","_wxPyDropSource",0},
7169 { "_class_wxScrollEvent","_wxScrollEvent",0},
7170 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
7171 { "_class_wxImageList","_wxImageList",0},
7172 { "_wxPyTipProvider","_class_wxPyTipProvider",0},
7173 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
7174 { "_wxWindowID","_wxCoord",0},
7175 { "_wxWindowID","_wxPrintQuality",0},
7176 { "_wxWindowID","_time_t",0},
7177 { "_wxWindowID","_size_t",0},
7178 { "_wxWindowID","_EBool",0},
7179 { "_wxWindowID","_uint",0},
7180 { "_wxWindowID","_int",0},
7181 { "_wxWindowID","_signed_int",0},
7182 { "_wxWindowID","_unsigned_int",0},
7183 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
7184 { "_int","_wxCoord",0},
7185 { "_int","_wxPrintQuality",0},
7186 { "_int","_time_t",0},
7187 { "_int","_size_t",0},
7188 { "_int","_EBool",0},
7189 { "_int","_uint",0},
7190 { "_int","_wxWindowID",0},
7191 { "_int","_unsigned_int",0},
7192 { "_int","_signed_int",0},
7193 { "_class_wxMouseEvent","_wxMouseEvent",0},
7194 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
7195 { "_wxLogWindow","_class_wxLogWindow",0},
7196 { "_class_wxSpinEvent","_wxSpinEvent",0},
7197 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
7198 { "_time_t","_wxCoord",0},
7199 { "_time_t","_wxPrintQuality",0},
7200 { "_time_t","_unsigned_int",0},
7201 { "_time_t","_int",0},
7202 { "_time_t","_wxWindowID",0},
7203 { "_time_t","_uint",0},
7204 { "_time_t","_size_t",0},
7205 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
7206 { "_wxLogNull","_class_wxLogNull",0},
7207 { "_wxSize","_class_wxSize",0},
7208 { "_wxRegionIterator","_class_wxRegionIterator",0},
7209 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
7210 { "_class_wxLogTextCtrl","_wxLogTextCtrl",0},
7211 { "_class_wxLogGui","_wxLogGui",0},
7212 { "_class_wxPaintDC","_wxPaintDC",0},
7213 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
7214 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
7215 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
7216 { "_wxValidator","_class_wxValidator",0},
7217 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
7218 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
7219 { "_class_wxIcon","_wxIcon",0},
7220 { "_class_wxColour","_wxColour",0},
7221 { "_class_wxScreenDC","_wxScreenDC",0},
7222 { "_wxPalette","_class_wxPalette",0},
7223 { "_class_wxIdleEvent","_wxIdleEvent",0},
7224 { "_wxCoord","_int",0},
7225 { "_wxCoord","_signed_int",0},
7226 { "_wxCoord","_unsigned_int",0},
7227 { "_wxCoord","_wxWindowID",0},
7228 { "_wxCoord","_uint",0},
7229 { "_wxCoord","_EBool",0},
7230 { "_wxCoord","_size_t",0},
7231 { "_wxCoord","_time_t",0},
7232 { "_wxCoord","_wxPrintQuality",0},
7233 { "_wxEraseEvent","_class_wxEraseEvent",0},
7234 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
7235 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
7236 { "_class_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7237 { "_class_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7238 { "_class_wxTipProvider","_wxTipProvider",0},
7239 { "_wxRegion","_class_wxRegion",0},
7240 { "_class_wxShowEvent","_wxShowEvent",0},
7241 { "_class_wxPyTipProvider","_wxPyTipProvider",0},
7242 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
7243 { "_wxActivateEvent","_class_wxActivateEvent",0},
7244 { "_class_wxBusyInfo","_wxBusyInfo",0},
7245 { "_class_wxFontList","_wxFontList",0},
7246 { "_class_wxJoystick","_wxJoystick",0},
7247 { "_class_wxCommandEvent","_wxCommandEvent",0},
7248 { "_class_wxClientDC","_wxClientDC",0},
7249 { "_class_wxSizeEvent","_wxSizeEvent",0},
7250 { "_wxBrushList","_class_wxBrushList",0},
7251 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
7252 { "_class_wxLogNull","_wxLogNull",0},
7253 { "_class_wxSize","_wxSize",0},
7254 { "_class_wxBitmap","_wxBitmap",0},
7255 { "_class_wxMemoryDC","_wxMemoryDC",0},
7256 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
7257 { "_wxMenuBar","_class_wxMenuBar",0},
7258 { "_wxOutputStream","_class_wxOutputStream",0},
7259 { "_wxEvtHandler","_class_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7260 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7261 { "_wxEvtHandler","_class_wxEvtHandler",0},
7262 { "_wxMenuItem","_class_wxMenuItem",0},
7263 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
7264 { "_wxKeyEvent","_class_wxKeyEvent",0},
7265 { "_wxMoveEvent","_class_wxMoveEvent",0},
7266 { "_class_wxPalette","_wxPalette",0},
7267 { "_wxFileDataObject","_class_wxFileDataObject",0},
7268 { "_class_wxEraseEvent","_wxEraseEvent",0},
7269 { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
7270 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
7271 { "_wxWindow","_class_wxWindow",0},
7272 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
7273 { "_wxLogStderr","_class_wxLogStderr",0},
7276 static PyObject
*SWIG_globals
;
7280 SWIGEXPORT(void) initmisc2c() {
7282 SWIG_globals
= SWIG_newvarlink();
7283 m
= Py_InitModule("misc2c", misc2cMethods
);
7284 d
= PyModule_GetDict(m
);
7285 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
7286 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
7287 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
7288 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
7289 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
7290 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
7291 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
7292 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
7293 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
7294 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
7295 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
7296 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
7297 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
7298 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
7299 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
7300 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
7301 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
7302 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
7303 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
7304 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
7305 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
7306 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
7307 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
7308 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
7309 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
7310 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
7311 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
7312 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
7313 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
7314 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
7315 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
7316 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
7317 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
7318 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
7319 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
7320 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
7321 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
7322 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
7323 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
7324 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
7325 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
7326 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
7327 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
7328 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
7329 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
7330 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
7331 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
7332 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
7333 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
7334 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
7335 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
7336 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
7337 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
7338 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
7339 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
7340 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
7341 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
7342 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
7343 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
7344 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
7345 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
7346 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
7347 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
7348 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
7349 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
7350 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
7351 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
7352 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
7353 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
7354 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
7355 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
7356 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
7357 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
7358 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
7359 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
7360 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
7361 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
7362 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
7363 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
7364 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
7365 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
7366 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
7367 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
7368 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
7369 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
7370 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
7371 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
7372 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
7373 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
7374 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
7375 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
7376 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
7377 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
7378 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
7379 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
7380 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
7381 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
7384 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7385 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);