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>
65 #include <wx/joystick.h>
67 static PyObject
* l_output_helper(PyObject
* target
, PyObject
* o
) {
71 } else if (target
== Py_None
) {
75 if (!PyList_Check(target
)) {
77 target
= PyList_New(0);
78 PyList_Append(target
, o2
);
81 PyList_Append(target
,o
);
87 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
93 } else if (target
== Py_None
) {
97 if (!PyTuple_Check(target
)) {
99 target
= PyTuple_New(1);
100 PyTuple_SetItem(target
, 0, o2
);
103 PyTuple_SetItem(o3
, 0, o
);
106 target
= PySequence_Concat(o2
, o3
);
113 static char* wxStringErrorMsg
= "string type is required for parameter";
115 static wxString
wxPyEmptyStr("");
118 wxColour
wxSystemSettings_GetSystemColour(int index
) {
119 return wxSystemSettings::GetSystemColour(index
);
122 wxFont
wxSystemSettings_GetSystemFont(int index
) {
123 return wxSystemSettings::GetSystemFont(index
);
126 int wxSystemSettings_GetSystemMetric(int index
) {
127 return wxSystemSettings::GetSystemMetric(index
);
130 void wxToolTip_Enable(bool flag
) {
131 wxToolTip::Enable(flag
);
134 void wxToolTip_SetDelay(long milliseconds
) {
135 wxToolTip::SetDelay(milliseconds
);
138 int wxCaret_GetBlinkTime() {
139 return wxCaret::GetBlinkTime();
142 void wxCaret_SetBlinkTime(int milliseconds
) {
143 wxCaret::SetBlinkTime(milliseconds
);
146 class wxPyFontEnumerator
: public wxFontEnumerator
{
148 wxPyFontEnumerator() {}
149 ~wxPyFontEnumerator() {}
151 DEC_PYCALLBACK_BOOL_STRING(OnFacename
);
152 DEC_PYCALLBACK_BOOL_STRINGSTRING(OnFontEncoding
);
157 IMP_PYCALLBACK_BOOL_STRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFacename
);
158 IMP_PYCALLBACK_BOOL_STRINGSTRING(wxPyFontEnumerator
, wxFontEnumerator
, OnFontEncoding
);
161 bool wxThread_IsMain() {
162 return wxThread::IsMain();
165 class wxPyTipProvider
: public wxTipProvider
{
167 wxPyTipProvider(size_t currentTip
)
168 : wxTipProvider(currentTip
) {}
170 DEC_PYCALLBACK_STRING__pure(GetTip
);
175 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
178 #include <wx/generic/dragimgg.h>
179 static wxPoint wxPyNullPoint
;
182 wxGenericDragImage
* wxDragIcon(const wxIcon
& image
,
183 const wxCursor
& cursor
,
184 const wxPoint
& hotspot
) {
185 return new wxGenericDragImage(image
, cursor
, hotspot
);
188 wxGenericDragImage
* wxDragString(const wxString
& str
,
189 const wxCursor
& cursor
,
190 const wxPoint
& hotspot
) {
191 return new wxGenericDragImage(str
, cursor
, hotspot
);
194 wxGenericDragImage
* wxDragTreeItem(const wxTreeCtrl
& treeCtrl
, wxTreeItemId
& id
) {
195 return new wxGenericDragImage(treeCtrl
, id
);
198 wxGenericDragImage
* wxDragListItem(const wxListCtrl
& listCtrl
, long id
) {
199 return new wxGenericDragImage(listCtrl
, id
);
202 // C++ version of wxProcess derived class
204 class wxPyProcess
: public wxProcess
{
206 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
207 : wxProcess(parent
, id
)
210 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
215 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
219 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
220 PyObject
* _resultobj
;
223 char * _arg1
= (char *) NULL
;
224 char * _arg2
= (char *) NULL
;
225 char * _arg3
= (char *) NULL
;
226 char * _arg4
= (char *) "*.*";
227 int _arg5
= (int ) 0;
228 wxWindow
* _arg6
= (wxWindow
*) NULL
;
229 int _arg7
= (int ) -1;
230 int _arg8
= (int ) -1;
231 PyObject
* _argo6
= 0;
232 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|ssssiOii:wxFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
238 if (_argo6
== Py_None
) { _arg6
= NULL
; }
239 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
245 wxPy_BEGIN_ALLOW_THREADS
;
246 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
248 wxPy_END_ALLOW_THREADS
;
250 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
258 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
259 PyObject
* _resultobj
;
262 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
263 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
264 wxWindow
* _arg3
= (wxWindow
*) NULL
;
265 int _arg4
= (int ) -1;
266 int _arg5
= (int ) -1;
267 bool _arg6
= (bool ) TRUE
;
268 PyObject
* _obj0
= 0;
269 PyObject
* _obj1
= 0;
270 PyObject
* _obj2
= 0;
271 PyObject
* _argo3
= 0;
272 int tempbool6
= (int) TRUE
;
273 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
279 #if PYTHON_API_VERSION >= 1009
280 char* tmpPtr
; int tmpSize
;
281 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
282 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
285 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
287 _arg0
= new wxString(tmpPtr
, tmpSize
);
289 if (!PyString_Check(_obj0
)) {
290 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
293 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
298 #if PYTHON_API_VERSION >= 1009
299 char* tmpPtr
; int tmpSize
;
300 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
301 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
304 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
306 _arg1
= new wxString(tmpPtr
, tmpSize
);
308 if (!PyString_Check(_obj1
)) {
309 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
312 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
317 #if PYTHON_API_VERSION >= 1009
318 char* tmpPtr
; int tmpSize
;
319 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
320 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
323 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
325 _arg2
= new wxString(tmpPtr
, tmpSize
);
327 if (!PyString_Check(_obj2
)) {
328 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
331 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
335 if (_argo3
== Py_None
) { _arg3
= NULL
; }
336 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
337 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
341 _arg6
= (bool ) tempbool6
;
343 wxPy_BEGIN_ALLOW_THREADS
;
344 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
346 wxPy_END_ALLOW_THREADS
;
348 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
368 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
369 PyObject
* _resultobj
;
372 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
373 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
374 wxWindow
* _arg3
= (wxWindow
*) NULL
;
375 PyObject
* _obj0
= 0;
376 PyObject
* _obj1
= 0;
377 PyObject
* _obj2
= 0;
378 PyObject
* _argo3
= 0;
379 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
385 #if PYTHON_API_VERSION >= 1009
386 char* tmpPtr
; int tmpSize
;
387 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
388 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
391 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
393 _arg0
= new wxString(tmpPtr
, tmpSize
);
395 if (!PyString_Check(_obj0
)) {
396 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
399 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
404 #if PYTHON_API_VERSION >= 1009
405 char* tmpPtr
; int tmpSize
;
406 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
407 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
410 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
412 _arg1
= new wxString(tmpPtr
, tmpSize
);
414 if (!PyString_Check(_obj1
)) {
415 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
418 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
423 #if PYTHON_API_VERSION >= 1009
424 char* tmpPtr
; int tmpSize
;
425 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
426 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
429 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
431 _arg2
= new wxString(tmpPtr
, tmpSize
);
433 if (!PyString_Check(_obj2
)) {
434 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
437 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
441 if (_argo3
== Py_None
) { _arg3
= NULL
; }
442 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
443 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
448 wxPy_BEGIN_ALLOW_THREADS
;
449 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
451 wxPy_END_ALLOW_THREADS
;
453 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
473 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
474 PyObject
* _resultobj
;
480 wxWindow
* _arg4
= (wxWindow
*) NULL
;
481 int _arg5
= (int ) -1;
482 int _arg6
= (int ) -1;
483 bool _arg7
= (bool ) TRUE
;
484 int _arg8
= (int ) 150;
485 int _arg9
= (int ) 200;
486 PyObject
* _obj0
= 0;
487 PyObject
* _obj1
= 0;
488 PyObject
* _obj3
= 0;
489 PyObject
* _argo4
= 0;
490 int tempbool7
= (int) TRUE
;
491 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
497 #if PYTHON_API_VERSION >= 1009
498 char* tmpPtr
; int tmpSize
;
499 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
500 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
503 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
505 _arg0
= new wxString(tmpPtr
, tmpSize
);
507 if (!PyString_Check(_obj0
)) {
508 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
511 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
515 #if PYTHON_API_VERSION >= 1009
516 char* tmpPtr
; int tmpSize
;
517 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
518 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
521 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
523 _arg1
= new wxString(tmpPtr
, tmpSize
);
525 if (!PyString_Check(_obj1
)) {
526 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
529 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
534 _arg3
= wxString_LIST_helper(_obj3
);
540 if (_argo4
== Py_None
) { _arg4
= NULL
; }
541 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
542 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
546 _arg7
= (bool ) tempbool7
;
549 _arg2
= PyList_Size(_obj3
);
556 wxPy_BEGIN_ALLOW_THREADS
;
557 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
559 wxPy_END_ALLOW_THREADS
;
561 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
580 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
581 PyObject
* _resultobj
;
587 wxWindow
* _arg4
= (wxWindow
*) NULL
;
588 int _arg5
= (int ) -1;
589 int _arg6
= (int ) -1;
590 bool _arg7
= (bool ) TRUE
;
591 int _arg8
= (int ) 150;
592 int _arg9
= (int ) 200;
593 PyObject
* _obj0
= 0;
594 PyObject
* _obj1
= 0;
595 PyObject
* _obj3
= 0;
596 PyObject
* _argo4
= 0;
597 int tempbool7
= (int) TRUE
;
598 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
604 #if PYTHON_API_VERSION >= 1009
605 char* tmpPtr
; int tmpSize
;
606 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
607 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
610 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
612 _arg0
= new wxString(tmpPtr
, tmpSize
);
614 if (!PyString_Check(_obj0
)) {
615 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
618 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
622 #if PYTHON_API_VERSION >= 1009
623 char* tmpPtr
; int tmpSize
;
624 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
625 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
628 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
630 _arg1
= new wxString(tmpPtr
, tmpSize
);
632 if (!PyString_Check(_obj1
)) {
633 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
636 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
641 _arg3
= wxString_LIST_helper(_obj3
);
647 if (_argo4
== Py_None
) { _arg4
= NULL
; }
648 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
649 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
653 _arg7
= (bool ) tempbool7
;
656 _arg2
= PyList_Size(_obj3
);
663 wxPy_BEGIN_ALLOW_THREADS
;
664 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
666 wxPy_END_ALLOW_THREADS
;
667 } _resultobj
= Py_BuildValue("i",_result
);
682 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
683 PyObject
* _resultobj
;
686 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
687 int _arg2
= (int ) wxOK
|wxCENTRE
;
688 wxWindow
* _arg3
= (wxWindow
*) NULL
;
689 int _arg4
= (int ) -1;
690 int _arg5
= (int ) -1;
691 PyObject
* _obj0
= 0;
692 PyObject
* _obj1
= 0;
693 PyObject
* _argo3
= 0;
694 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
700 #if PYTHON_API_VERSION >= 1009
701 char* tmpPtr
; int tmpSize
;
702 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
703 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
706 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
708 _arg0
= new wxString(tmpPtr
, tmpSize
);
710 if (!PyString_Check(_obj0
)) {
711 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
714 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
719 #if PYTHON_API_VERSION >= 1009
720 char* tmpPtr
; int tmpSize
;
721 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
722 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
725 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
727 _arg1
= new wxString(tmpPtr
, tmpSize
);
729 if (!PyString_Check(_obj1
)) {
730 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
733 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
737 if (_argo3
== Py_None
) { _arg3
= NULL
; }
738 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
744 wxPy_BEGIN_ALLOW_THREADS
;
745 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
747 wxPy_END_ALLOW_THREADS
;
748 } _resultobj
= Py_BuildValue("i",_result
);
760 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
761 PyObject
* _resultobj
;
767 long _arg4
= (long ) 0;
768 long _arg5
= (long ) 100;
769 wxWindow
* _arg6
= (wxWindow
*) NULL
;
770 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
771 PyObject
* _obj0
= 0;
772 PyObject
* _obj1
= 0;
773 PyObject
* _obj2
= 0;
774 PyObject
* _argo6
= 0;
776 PyObject
* _obj7
= 0;
777 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
783 #if PYTHON_API_VERSION >= 1009
784 char* tmpPtr
; int tmpSize
;
785 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
786 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
789 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
791 _arg0
= new wxString(tmpPtr
, tmpSize
);
793 if (!PyString_Check(_obj0
)) {
794 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
797 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
801 #if PYTHON_API_VERSION >= 1009
802 char* tmpPtr
; int tmpSize
;
803 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
804 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
807 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
809 _arg1
= new wxString(tmpPtr
, tmpSize
);
811 if (!PyString_Check(_obj1
)) {
812 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
815 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
819 #if PYTHON_API_VERSION >= 1009
820 char* tmpPtr
; int tmpSize
;
821 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
822 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
825 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
827 _arg2
= new wxString(tmpPtr
, tmpSize
);
829 if (!PyString_Check(_obj2
)) {
830 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
833 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
837 if (_argo6
== Py_None
) { _arg6
= NULL
; }
838 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
839 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
846 if (! wxPoint_helper(_obj7
, &_arg7
))
850 wxPy_BEGIN_ALLOW_THREADS
;
851 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
853 wxPy_END_ALLOW_THREADS
;
854 } _resultobj
= Py_BuildValue("l",_result
);
870 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
871 PyObject
* _resultobj
;
873 char *_kwnames
[] = { NULL
};
876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
879 wxPy_BEGIN_ALLOW_THREADS
;
880 _result
= (bool )wxColourDisplay();
882 wxPy_END_ALLOW_THREADS
;
883 } _resultobj
= Py_BuildValue("i",_result
);
887 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
888 PyObject
* _resultobj
;
890 char *_kwnames
[] = { NULL
};
893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
896 wxPy_BEGIN_ALLOW_THREADS
;
897 _result
= (int )wxDisplayDepth();
899 wxPy_END_ALLOW_THREADS
;
900 } _resultobj
= Py_BuildValue("i",_result
);
904 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
905 PyObject
* _resultobj
;
907 char *_kwnames
[] = { NULL
};
910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
913 wxPy_BEGIN_ALLOW_THREADS
;
914 _result
= (int )wxGetDisplayDepth();
916 wxPy_END_ALLOW_THREADS
;
917 } _resultobj
= Py_BuildValue("i",_result
);
921 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
922 PyObject
* _resultobj
;
927 char *_kwnames
[] = { NULL
};
936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
939 wxPy_BEGIN_ALLOW_THREADS
;
940 wxDisplaySize(_arg0
,_arg1
);
942 wxPy_END_ALLOW_THREADS
;
943 } Py_INCREF(Py_None
);
944 _resultobj
= Py_None
;
947 o
= PyInt_FromLong((long) (*_arg0
));
948 _resultobj
= t_output_helper(_resultobj
, o
);
952 o
= PyInt_FromLong((long) (*_arg1
));
953 _resultobj
= t_output_helper(_resultobj
, o
);
958 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
959 PyObject
* _resultobj
;
961 char *_kwnames
[] = { NULL
};
965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
968 wxPy_BEGIN_ALLOW_THREADS
;
969 _result
= new wxSize (wxGetDisplaySize());
971 wxPy_END_ALLOW_THREADS
;
972 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
973 _resultobj
= Py_BuildValue("s",_ptemp
);
977 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
978 PyObject
* _resultobj
;
983 char *_kwnames
[] = { NULL
};
992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
995 wxPy_BEGIN_ALLOW_THREADS
;
996 wxDisplaySizeMM(_arg0
,_arg1
);
998 wxPy_END_ALLOW_THREADS
;
999 } Py_INCREF(Py_None
);
1000 _resultobj
= Py_None
;
1003 o
= PyInt_FromLong((long) (*_arg0
));
1004 _resultobj
= t_output_helper(_resultobj
, o
);
1008 o
= PyInt_FromLong((long) (*_arg1
));
1009 _resultobj
= t_output_helper(_resultobj
, o
);
1014 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1015 PyObject
* _resultobj
;
1017 char *_kwnames
[] = { NULL
};
1021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1024 wxPy_BEGIN_ALLOW_THREADS
;
1025 _result
= new wxSize (wxGetDisplaySizeMM());
1027 wxPy_END_ALLOW_THREADS
;
1028 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1029 _resultobj
= Py_BuildValue("s",_ptemp
);
1033 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1034 PyObject
* _resultobj
;
1036 PyObject
* _argo0
= 0;
1037 char *_kwnames
[] = { "cursor", NULL
};
1040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1043 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1044 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1045 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1050 wxPy_BEGIN_ALLOW_THREADS
;
1051 wxSetCursor(*_arg0
);
1053 wxPy_END_ALLOW_THREADS
;
1054 } Py_INCREF(Py_None
);
1055 _resultobj
= Py_None
;
1059 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1060 PyObject
* _resultobj
;
1063 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1064 PyObject
* _obj0
= 0;
1065 PyObject
* _argo1
= 0;
1066 char *_kwnames
[] = { "label","parent", NULL
};
1070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
1073 #if PYTHON_API_VERSION >= 1009
1074 char* tmpPtr
; int tmpSize
;
1075 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1076 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1079 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1081 _arg0
= new wxString(tmpPtr
, tmpSize
);
1083 if (!PyString_Check(_obj0
)) {
1084 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1087 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1091 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1092 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1098 wxPy_BEGIN_ALLOW_THREADS
;
1099 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
1101 wxPy_END_ALLOW_THREADS
;
1103 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1104 _resultobj
= Py_BuildValue("s",_ptemp
);
1107 _resultobj
= Py_None
;
1116 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1117 PyObject
* _resultobj
;
1120 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1121 PyObject
* _obj0
= 0;
1122 PyObject
* _argo1
= 0;
1123 char *_kwnames
[] = { "name","parent", NULL
};
1127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1130 #if PYTHON_API_VERSION >= 1009
1131 char* tmpPtr
; int tmpSize
;
1132 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1133 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1136 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1138 _arg0
= new wxString(tmpPtr
, tmpSize
);
1140 if (!PyString_Check(_obj0
)) {
1141 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1144 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1148 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1149 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1155 wxPy_BEGIN_ALLOW_THREADS
;
1156 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1158 wxPy_END_ALLOW_THREADS
;
1160 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1161 _resultobj
= Py_BuildValue("s",_ptemp
);
1164 _resultobj
= Py_None
;
1173 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1174 PyObject
* _resultobj
;
1175 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1176 PyObject
* _argo0
= 0;
1177 char *_kwnames
[] = { "cursor", NULL
};
1180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1190 wxPy_BEGIN_ALLOW_THREADS
;
1191 wxBeginBusyCursor(_arg0
);
1193 wxPy_END_ALLOW_THREADS
;
1194 } Py_INCREF(Py_None
);
1195 _resultobj
= Py_None
;
1199 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1200 PyObject
* _resultobj
;
1202 char *_kwnames
[] = { NULL
};
1206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1209 wxPy_BEGIN_ALLOW_THREADS
;
1210 _result
= (wxWindow
*)wxGetActiveWindow();
1212 wxPy_END_ALLOW_THREADS
;
1214 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1215 _resultobj
= Py_BuildValue("s",_ptemp
);
1218 _resultobj
= Py_None
;
1223 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1224 PyObject
* _resultobj
;
1228 char *_kwnames
[] = { "name","value", NULL
};
1231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1234 wxPy_BEGIN_ALLOW_THREADS
;
1235 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1237 wxPy_END_ALLOW_THREADS
;
1238 } _resultobj
= Py_BuildValue("i",_result
);
1242 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1243 PyObject
* _resultobj
;
1244 char *_kwnames
[] = { NULL
};
1247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1250 wxPy_BEGIN_ALLOW_THREADS
;
1253 wxPy_END_ALLOW_THREADS
;
1254 } Py_INCREF(Py_None
);
1255 _resultobj
= Py_None
;
1259 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1260 PyObject
* _resultobj
;
1263 char *_kwnames
[] = { "resource", NULL
};
1267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1270 wxPy_BEGIN_ALLOW_THREADS
;
1271 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1273 wxPy_END_ALLOW_THREADS
;
1274 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1275 _resultobj
= Py_BuildValue("s",_ptemp
);
1279 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1280 PyObject
* _resultobj
;
1283 char *_kwnames
[] = { "resource", NULL
};
1287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1290 wxPy_BEGIN_ALLOW_THREADS
;
1291 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1293 wxPy_END_ALLOW_THREADS
;
1294 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1295 _resultobj
= Py_BuildValue("s",_ptemp
);
1299 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1300 PyObject
* _resultobj
;
1301 wxMenuBar
* _result
;
1303 char *_kwnames
[] = { "resource", NULL
};
1307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1310 wxPy_BEGIN_ALLOW_THREADS
;
1311 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1313 wxPy_END_ALLOW_THREADS
;
1315 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
1316 _resultobj
= Py_BuildValue("s",_ptemp
);
1319 _resultobj
= Py_None
;
1324 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
* _resultobj
;
1328 char *_kwnames
[] = { "name", NULL
};
1331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1334 wxPy_BEGIN_ALLOW_THREADS
;
1335 _result
= (int )wxResourceGetIdentifier(_arg0
);
1337 wxPy_END_ALLOW_THREADS
;
1338 } _resultobj
= Py_BuildValue("i",_result
);
1342 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1343 PyObject
* _resultobj
;
1346 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1347 PyObject
* _argo1
= 0;
1348 char *_kwnames
[] = { "resource","table", NULL
};
1351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1354 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1355 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1356 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1361 wxPy_BEGIN_ALLOW_THREADS
;
1362 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1364 wxPy_END_ALLOW_THREADS
;
1365 } _resultobj
= Py_BuildValue("i",_result
);
1369 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1370 PyObject
* _resultobj
;
1373 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1374 PyObject
* _argo1
= 0;
1375 char *_kwnames
[] = { "filename","table", NULL
};
1378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1381 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1382 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1383 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1388 wxPy_BEGIN_ALLOW_THREADS
;
1389 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1391 wxPy_END_ALLOW_THREADS
;
1392 } _resultobj
= Py_BuildValue("i",_result
);
1396 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1397 PyObject
* _resultobj
;
1400 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1401 PyObject
* _argo1
= 0;
1402 char *_kwnames
[] = { "resource","table", NULL
};
1405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1408 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1409 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1415 wxPy_BEGIN_ALLOW_THREADS
;
1416 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1418 wxPy_END_ALLOW_THREADS
;
1419 } _resultobj
= Py_BuildValue("i",_result
);
1423 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1424 PyObject
* _resultobj
;
1427 char *_kwnames
[] = { "index", NULL
};
1431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1434 wxPy_BEGIN_ALLOW_THREADS
;
1435 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1437 wxPy_END_ALLOW_THREADS
;
1438 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1439 _resultobj
= Py_BuildValue("s",_ptemp
);
1443 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1444 PyObject
* _resultobj
;
1447 char *_kwnames
[] = { "index", NULL
};
1451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1454 wxPy_BEGIN_ALLOW_THREADS
;
1455 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1457 wxPy_END_ALLOW_THREADS
;
1458 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1459 _resultobj
= Py_BuildValue("s",_ptemp
);
1463 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1464 PyObject
* _resultobj
;
1467 char *_kwnames
[] = { "index", NULL
};
1470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1473 wxPy_BEGIN_ALLOW_THREADS
;
1474 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1476 wxPy_END_ALLOW_THREADS
;
1477 } _resultobj
= Py_BuildValue("i",_result
);
1481 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1482 PyObject
* _resultobj
;
1485 char *_kwnames
[] = { "flag", NULL
};
1488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
1490 _arg0
= (bool ) tempbool0
;
1492 wxPy_BEGIN_ALLOW_THREADS
;
1493 wxToolTip_Enable(_arg0
);
1495 wxPy_END_ALLOW_THREADS
;
1496 } Py_INCREF(Py_None
);
1497 _resultobj
= Py_None
;
1501 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1502 PyObject
* _resultobj
;
1504 char *_kwnames
[] = { "milliseconds", NULL
};
1507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
1510 wxPy_BEGIN_ALLOW_THREADS
;
1511 wxToolTip_SetDelay(_arg0
);
1513 wxPy_END_ALLOW_THREADS
;
1514 } Py_INCREF(Py_None
);
1515 _resultobj
= Py_None
;
1519 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1520 PyObject
* _resultobj
;
1522 char *_kwnames
[] = { NULL
};
1525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1528 wxPy_BEGIN_ALLOW_THREADS
;
1529 _result
= (int )wxCaret_GetBlinkTime();
1531 wxPy_END_ALLOW_THREADS
;
1532 } _resultobj
= Py_BuildValue("i",_result
);
1536 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1537 PyObject
* _resultobj
;
1539 char *_kwnames
[] = { "milliseconds", NULL
};
1542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1545 wxPy_BEGIN_ALLOW_THREADS
;
1546 wxCaret_SetBlinkTime(_arg0
);
1548 wxPy_END_ALLOW_THREADS
;
1549 } Py_INCREF(Py_None
);
1550 _resultobj
= Py_None
;
1554 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1555 PyObject
* _resultobj
;
1557 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1558 PyObject
* _argo0
= 0;
1559 char *_kwnames
[] = { "win", NULL
};
1562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1572 wxPy_BEGIN_ALLOW_THREADS
;
1573 _result
= (bool )wxSafeYield(_arg0
);
1575 wxPy_END_ALLOW_THREADS
;
1576 } _resultobj
= Py_BuildValue("i",_result
);
1580 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1581 PyObject
* _resultobj
;
1582 wxEvtHandler
* _arg0
;
1584 PyObject
* _argo0
= 0;
1585 PyObject
* _argo1
= 0;
1586 char *_kwnames
[] = { "dest","event", NULL
};
1589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1592 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1593 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1594 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1599 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1600 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1606 wxPy_BEGIN_ALLOW_THREADS
;
1607 wxPostEvent(_arg0
,*_arg1
);
1609 wxPy_END_ALLOW_THREADS
;
1610 } Py_INCREF(Py_None
);
1611 _resultobj
= Py_None
;
1615 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1616 PyObject
* _resultobj
;
1617 char *_kwnames
[] = { NULL
};
1620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1623 wxPy_BEGIN_ALLOW_THREADS
;
1626 wxPy_END_ALLOW_THREADS
;
1627 } Py_INCREF(Py_None
);
1628 _resultobj
= Py_None
;
1632 static PyObject
*_wrap_wxWakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1633 PyObject
* _resultobj
;
1634 char *_kwnames
[] = { NULL
};
1637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpMainThread",_kwnames
))
1640 wxPy_BEGIN_ALLOW_THREADS
;
1641 wxWakeUpMainThread();
1643 wxPy_END_ALLOW_THREADS
;
1644 } Py_INCREF(Py_None
);
1645 _resultobj
= Py_None
;
1649 static PyObject
*_wrap_wxMutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1650 PyObject
* _resultobj
;
1651 char *_kwnames
[] = { NULL
};
1654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiEnter",_kwnames
))
1657 wxPy_BEGIN_ALLOW_THREADS
;
1660 wxPy_END_ALLOW_THREADS
;
1661 } Py_INCREF(Py_None
);
1662 _resultobj
= Py_None
;
1666 static PyObject
*_wrap_wxMutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
* _resultobj
;
1668 char *_kwnames
[] = { NULL
};
1671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxMutexGuiLeave",_kwnames
))
1674 wxPy_BEGIN_ALLOW_THREADS
;
1677 wxPy_END_ALLOW_THREADS
;
1678 } Py_INCREF(Py_None
);
1679 _resultobj
= Py_None
;
1683 static PyObject
*_wrap_wxThread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
* _resultobj
;
1686 char *_kwnames
[] = { NULL
};
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxThread_IsMain",_kwnames
))
1692 wxPy_BEGIN_ALLOW_THREADS
;
1693 _result
= (bool )wxThread_IsMain();
1695 wxPy_END_ALLOW_THREADS
;
1696 } _resultobj
= Py_BuildValue("i",_result
);
1700 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1701 PyObject
* _resultobj
;
1704 wxTipProvider
* _arg1
;
1705 bool _arg2
= (bool ) TRUE
;
1706 PyObject
* _argo0
= 0;
1707 PyObject
* _argo1
= 0;
1708 int tempbool2
= (int) TRUE
;
1709 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1715 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1716 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1717 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1722 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1723 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1724 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1728 _arg2
= (bool ) tempbool2
;
1730 wxPy_BEGIN_ALLOW_THREADS
;
1731 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1733 wxPy_END_ALLOW_THREADS
;
1734 } _resultobj
= Py_BuildValue("i",_result
);
1738 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1739 PyObject
* _resultobj
;
1740 wxTipProvider
* _result
;
1743 PyObject
* _obj0
= 0;
1744 char *_kwnames
[] = { "filename","currentTip", NULL
};
1748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1751 #if PYTHON_API_VERSION >= 1009
1752 char* tmpPtr
; int tmpSize
;
1753 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1754 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1757 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1759 _arg0
= new wxString(tmpPtr
, tmpSize
);
1761 if (!PyString_Check(_obj0
)) {
1762 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1765 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1769 wxPy_BEGIN_ALLOW_THREADS
;
1770 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1772 wxPy_END_ALLOW_THREADS
;
1774 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1775 _resultobj
= Py_BuildValue("s",_ptemp
);
1778 _resultobj
= Py_None
;
1787 static PyObject
*_wrap_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1788 PyObject
* _resultobj
;
1789 wxGenericDragImage
* _result
;
1791 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
1792 wxPoint
* _arg2
= (wxPoint
*) &wxPyNullPoint
;
1793 PyObject
* _argo0
= 0;
1794 PyObject
* _argo1
= 0;
1796 PyObject
* _obj2
= 0;
1797 char *_kwnames
[] = { "image","cursor","hotspot", NULL
};
1801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxDragIcon",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1804 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1805 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1806 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragIcon. Expected _wxIcon_p.");
1811 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1812 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
1813 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragIcon. Expected _wxCursor_p.");
1820 if (! wxPoint_helper(_obj2
, &_arg2
))
1824 wxPy_BEGIN_ALLOW_THREADS
;
1825 _result
= (wxGenericDragImage
*)wxDragIcon(*_arg0
,*_arg1
,*_arg2
);
1827 wxPy_END_ALLOW_THREADS
;
1829 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1830 _resultobj
= Py_BuildValue("s",_ptemp
);
1833 _resultobj
= Py_None
;
1838 static PyObject
*_wrap_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
* _resultobj
;
1840 wxGenericDragImage
* _result
;
1842 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
1843 wxPoint
* _arg2
= (wxPoint
*) &wxPyNullPoint
;
1844 PyObject
* _obj0
= 0;
1845 PyObject
* _argo1
= 0;
1847 PyObject
* _obj2
= 0;
1848 char *_kwnames
[] = { "str","cursor","hotspot", NULL
};
1852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxDragString",_kwnames
,&_obj0
,&_argo1
,&_obj2
))
1855 #if PYTHON_API_VERSION >= 1009
1856 char* tmpPtr
; int tmpSize
;
1857 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1858 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1861 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1863 _arg0
= new wxString(tmpPtr
, tmpSize
);
1865 if (!PyString_Check(_obj0
)) {
1866 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1869 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1873 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1874 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
1875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragString. Expected _wxCursor_p.");
1882 if (! wxPoint_helper(_obj2
, &_arg2
))
1886 wxPy_BEGIN_ALLOW_THREADS
;
1887 _result
= (wxGenericDragImage
*)wxDragString(*_arg0
,*_arg1
,*_arg2
);
1889 wxPy_END_ALLOW_THREADS
;
1891 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1892 _resultobj
= Py_BuildValue("s",_ptemp
);
1895 _resultobj
= Py_None
;
1904 static PyObject
*_wrap_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
* _resultobj
;
1906 wxGenericDragImage
* _result
;
1908 wxTreeItemId
* _arg1
;
1909 PyObject
* _argo0
= 0;
1910 PyObject
* _argo1
= 0;
1911 char *_kwnames
[] = { "treeCtrl","id", NULL
};
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
1918 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1919 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
1920 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragTreeItem. Expected _wxTreeCtrl_p.");
1925 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1926 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
1927 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragTreeItem. Expected _wxTreeItemId_p.");
1932 wxPy_BEGIN_ALLOW_THREADS
;
1933 _result
= (wxGenericDragImage
*)wxDragTreeItem(*_arg0
,*_arg1
);
1935 wxPy_END_ALLOW_THREADS
;
1937 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1938 _resultobj
= Py_BuildValue("s",_ptemp
);
1941 _resultobj
= Py_None
;
1946 static PyObject
*_wrap_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
* _resultobj
;
1948 wxGenericDragImage
* _result
;
1951 PyObject
* _argo0
= 0;
1952 char *_kwnames
[] = { "listCtrl","id", NULL
};
1956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
1959 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1960 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1961 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragListItem. Expected _wxListCtrl_p.");
1966 wxPy_BEGIN_ALLOW_THREADS
;
1967 _result
= (wxGenericDragImage
*)wxDragListItem(*_arg0
,_arg1
);
1969 wxPy_END_ALLOW_THREADS
;
1971 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1972 _resultobj
= Py_BuildValue("s",_ptemp
);
1975 _resultobj
= Py_None
;
1980 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1981 PyObject
* _resultobj
;
1982 unsigned long _result
;
1983 char *_kwnames
[] = { NULL
};
1986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1989 wxPy_BEGIN_ALLOW_THREADS
;
1990 _result
= (unsigned long )wxSysErrorCode();
1992 wxPy_END_ALLOW_THREADS
;
1993 } _resultobj
= Py_BuildValue("l",_result
);
1997 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
* _resultobj
;
2000 unsigned long _arg0
= (unsigned long ) 0;
2001 char *_kwnames
[] = { "nErrCode", NULL
};
2004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
2007 wxPy_BEGIN_ALLOW_THREADS
;
2008 _result
= (char *)wxSysErrorMsg(_arg0
);
2010 wxPy_END_ALLOW_THREADS
;
2011 } _resultobj
= Py_BuildValue("s", _result
);
2015 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2016 PyObject
* _resultobj
;
2018 char *_kwnames
[] = { "szFormat", NULL
};
2021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
2024 wxPy_BEGIN_ALLOW_THREADS
;
2025 wxLogFatalError(_arg0
);
2027 wxPy_END_ALLOW_THREADS
;
2028 } Py_INCREF(Py_None
);
2029 _resultobj
= Py_None
;
2033 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2034 PyObject
* _resultobj
;
2036 char *_kwnames
[] = { "szFormat", NULL
};
2039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
2042 wxPy_BEGIN_ALLOW_THREADS
;
2045 wxPy_END_ALLOW_THREADS
;
2046 } Py_INCREF(Py_None
);
2047 _resultobj
= Py_None
;
2051 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2052 PyObject
* _resultobj
;
2054 char *_kwnames
[] = { "szFormat", NULL
};
2057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
2060 wxPy_BEGIN_ALLOW_THREADS
;
2061 wxLogWarning(_arg0
);
2063 wxPy_END_ALLOW_THREADS
;
2064 } Py_INCREF(Py_None
);
2065 _resultobj
= Py_None
;
2069 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2070 PyObject
* _resultobj
;
2072 char *_kwnames
[] = { "szFormat", NULL
};
2075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
2078 wxPy_BEGIN_ALLOW_THREADS
;
2079 wxLogMessage(_arg0
);
2081 wxPy_END_ALLOW_THREADS
;
2082 } Py_INCREF(Py_None
);
2083 _resultobj
= Py_None
;
2087 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2088 PyObject
* _resultobj
;
2090 char *_kwnames
[] = { "szFormat", NULL
};
2093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
2096 wxPy_BEGIN_ALLOW_THREADS
;
2099 wxPy_END_ALLOW_THREADS
;
2100 } Py_INCREF(Py_None
);
2101 _resultobj
= Py_None
;
2105 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2106 PyObject
* _resultobj
;
2108 char *_kwnames
[] = { "szFormat", NULL
};
2111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
2114 wxPy_BEGIN_ALLOW_THREADS
;
2115 wxLogVerbose(_arg0
);
2117 wxPy_END_ALLOW_THREADS
;
2118 } Py_INCREF(Py_None
);
2119 _resultobj
= Py_None
;
2123 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2124 PyObject
* _resultobj
;
2126 char *_kwnames
[] = { "szFormat", NULL
};
2129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
2132 wxPy_BEGIN_ALLOW_THREADS
;
2135 wxPy_END_ALLOW_THREADS
;
2136 } Py_INCREF(Py_None
);
2137 _resultobj
= Py_None
;
2141 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2142 PyObject
* _resultobj
;
2145 PyObject
* _argo0
= 0;
2146 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
2152 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2153 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2154 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2159 wxPy_BEGIN_ALLOW_THREADS
;
2160 wxLogStatus(_arg0
,_arg1
);
2162 wxPy_END_ALLOW_THREADS
;
2163 } Py_INCREF(Py_None
);
2164 _resultobj
= Py_None
;
2168 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2169 PyObject
* _resultobj
;
2171 char *_kwnames
[] = { "szFormat", NULL
};
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2177 wxPy_BEGIN_ALLOW_THREADS
;
2178 wxLogSysError(_arg0
);
2180 wxPy_END_ALLOW_THREADS
;
2181 } Py_INCREF(Py_None
);
2182 _resultobj
= Py_None
;
2186 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2187 PyObject
* _resultobj
;
2190 int _arg1
= (int ) FALSE
;
2191 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2192 PyObject
* _obj0
= 0;
2193 PyObject
* _argo2
= 0;
2194 char *_kwnames
[] = { "command","sync","process", NULL
};
2197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2200 #if PYTHON_API_VERSION >= 1009
2201 char* tmpPtr
; int tmpSize
;
2202 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2203 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2206 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2208 _arg0
= new wxString(tmpPtr
, tmpSize
);
2210 if (!PyString_Check(_obj0
)) {
2211 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2214 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2218 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2219 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2225 wxPy_BEGIN_ALLOW_THREADS
;
2226 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2228 wxPy_END_ALLOW_THREADS
;
2229 } _resultobj
= Py_BuildValue("l",_result
);
2237 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2238 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2239 PyObject
* _resultobj
;
2240 wxToolTip
* _result
;
2242 PyObject
* _obj0
= 0;
2243 char *_kwnames
[] = { "tip", NULL
};
2247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2250 #if PYTHON_API_VERSION >= 1009
2251 char* tmpPtr
; int tmpSize
;
2252 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2253 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2256 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2258 _arg0
= new wxString(tmpPtr
, tmpSize
);
2260 if (!PyString_Check(_obj0
)) {
2261 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2264 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2268 wxPy_BEGIN_ALLOW_THREADS
;
2269 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2271 wxPy_END_ALLOW_THREADS
;
2273 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2274 _resultobj
= Py_BuildValue("s",_ptemp
);
2277 _resultobj
= Py_None
;
2286 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2287 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2288 PyObject
* _resultobj
;
2291 PyObject
* _argo0
= 0;
2292 PyObject
* _obj1
= 0;
2293 char *_kwnames
[] = { "self","tip", NULL
};
2296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2299 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2300 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2306 #if PYTHON_API_VERSION >= 1009
2307 char* tmpPtr
; int tmpSize
;
2308 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2309 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2312 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2314 _arg1
= new wxString(tmpPtr
, tmpSize
);
2316 if (!PyString_Check(_obj1
)) {
2317 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2320 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2324 wxPy_BEGIN_ALLOW_THREADS
;
2325 wxToolTip_SetTip(_arg0
,*_arg1
);
2327 wxPy_END_ALLOW_THREADS
;
2328 } Py_INCREF(Py_None
);
2329 _resultobj
= Py_None
;
2337 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2338 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2339 PyObject
* _resultobj
;
2342 PyObject
* _argo0
= 0;
2343 char *_kwnames
[] = { "self", NULL
};
2346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2349 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2350 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2351 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2356 wxPy_BEGIN_ALLOW_THREADS
;
2357 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2359 wxPy_END_ALLOW_THREADS
;
2361 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2369 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2370 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2371 PyObject
* _resultobj
;
2374 PyObject
* _argo0
= 0;
2375 char *_kwnames
[] = { "self", NULL
};
2379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2382 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2383 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2384 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2389 wxPy_BEGIN_ALLOW_THREADS
;
2390 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2392 wxPy_END_ALLOW_THREADS
;
2394 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2395 _resultobj
= Py_BuildValue("s",_ptemp
);
2398 _resultobj
= Py_None
;
2403 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2404 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2405 PyObject
* _resultobj
;
2409 PyObject
* _argo0
= 0;
2411 PyObject
* _obj1
= 0;
2412 char *_kwnames
[] = { "window","size", NULL
};
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2419 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2420 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2421 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2427 if (! wxSize_helper(_obj1
, &_arg1
))
2431 wxPy_BEGIN_ALLOW_THREADS
;
2432 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2434 wxPy_END_ALLOW_THREADS
;
2436 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2437 _resultobj
= Py_BuildValue("s",_ptemp
);
2440 _resultobj
= Py_None
;
2445 #define delete_wxCaret(_swigobj) (delete _swigobj)
2446 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
* _resultobj
;
2449 PyObject
* _argo0
= 0;
2450 char *_kwnames
[] = { "self", NULL
};
2453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2463 wxPy_BEGIN_ALLOW_THREADS
;
2464 delete_wxCaret(_arg0
);
2466 wxPy_END_ALLOW_THREADS
;
2467 } Py_INCREF(Py_None
);
2468 _resultobj
= Py_None
;
2472 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2473 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2474 PyObject
* _resultobj
;
2477 PyObject
* _argo0
= 0;
2478 char *_kwnames
[] = { "self", NULL
};
2481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2484 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2485 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2486 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2491 wxPy_BEGIN_ALLOW_THREADS
;
2492 _result
= (bool )wxCaret_IsOk(_arg0
);
2494 wxPy_END_ALLOW_THREADS
;
2495 } _resultobj
= Py_BuildValue("i",_result
);
2499 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2500 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2501 PyObject
* _resultobj
;
2504 PyObject
* _argo0
= 0;
2505 char *_kwnames
[] = { "self", NULL
};
2508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2511 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2512 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2513 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2518 wxPy_BEGIN_ALLOW_THREADS
;
2519 _result
= (bool )wxCaret_IsVisible(_arg0
);
2521 wxPy_END_ALLOW_THREADS
;
2522 } _resultobj
= Py_BuildValue("i",_result
);
2526 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2527 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
* _resultobj
;
2534 PyObject
* _argo0
= 0;
2535 char *_kwnames
[] = { "self", NULL
};
2544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2547 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2548 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2549 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2554 wxPy_BEGIN_ALLOW_THREADS
;
2555 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2557 wxPy_END_ALLOW_THREADS
;
2558 } Py_INCREF(Py_None
);
2559 _resultobj
= Py_None
;
2562 o
= PyInt_FromLong((long) (*_arg1
));
2563 _resultobj
= t_output_helper(_resultobj
, o
);
2567 o
= PyInt_FromLong((long) (*_arg2
));
2568 _resultobj
= t_output_helper(_resultobj
, o
);
2573 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2574 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2575 PyObject
* _resultobj
;
2578 PyObject
* _argo0
= 0;
2579 char *_kwnames
[] = { "self", NULL
};
2583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2586 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2587 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2588 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2593 wxPy_BEGIN_ALLOW_THREADS
;
2594 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2596 wxPy_END_ALLOW_THREADS
;
2597 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2598 _resultobj
= Py_BuildValue("s",_ptemp
);
2602 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2603 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2604 PyObject
* _resultobj
;
2610 PyObject
* _argo0
= 0;
2611 char *_kwnames
[] = { "self", NULL
};
2620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2623 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2624 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2625 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2630 wxPy_BEGIN_ALLOW_THREADS
;
2631 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2633 wxPy_END_ALLOW_THREADS
;
2634 } Py_INCREF(Py_None
);
2635 _resultobj
= Py_None
;
2638 o
= PyInt_FromLong((long) (*_arg1
));
2639 _resultobj
= t_output_helper(_resultobj
, o
);
2643 o
= PyInt_FromLong((long) (*_arg2
));
2644 _resultobj
= t_output_helper(_resultobj
, o
);
2649 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2650 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2651 PyObject
* _resultobj
;
2654 PyObject
* _argo0
= 0;
2655 char *_kwnames
[] = { "self", NULL
};
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2662 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2663 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2664 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2669 wxPy_BEGIN_ALLOW_THREADS
;
2670 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2672 wxPy_END_ALLOW_THREADS
;
2673 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2674 _resultobj
= Py_BuildValue("s",_ptemp
);
2678 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2679 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2680 PyObject
* _resultobj
;
2683 PyObject
* _argo0
= 0;
2684 char *_kwnames
[] = { "self", NULL
};
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2698 wxPy_BEGIN_ALLOW_THREADS
;
2699 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2701 wxPy_END_ALLOW_THREADS
;
2703 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2704 _resultobj
= Py_BuildValue("s",_ptemp
);
2707 _resultobj
= Py_None
;
2712 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2713 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2714 PyObject
* _resultobj
;
2718 PyObject
* _argo0
= 0;
2719 char *_kwnames
[] = { "self","x","y", NULL
};
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2725 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2726 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2727 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2732 wxPy_BEGIN_ALLOW_THREADS
;
2733 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2735 wxPy_END_ALLOW_THREADS
;
2736 } Py_INCREF(Py_None
);
2737 _resultobj
= Py_None
;
2741 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2742 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2743 PyObject
* _resultobj
;
2746 PyObject
* _argo0
= 0;
2748 PyObject
* _obj1
= 0;
2749 char *_kwnames
[] = { "self","pt", NULL
};
2752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2755 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2756 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2757 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2763 if (! wxPoint_helper(_obj1
, &_arg1
))
2767 wxPy_BEGIN_ALLOW_THREADS
;
2768 wxCaret_Move(_arg0
,*_arg1
);
2770 wxPy_END_ALLOW_THREADS
;
2771 } Py_INCREF(Py_None
);
2772 _resultobj
= Py_None
;
2776 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2777 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2778 PyObject
* _resultobj
;
2782 PyObject
* _argo0
= 0;
2783 char *_kwnames
[] = { "self","width","height", NULL
};
2786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2789 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2790 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2791 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2796 wxPy_BEGIN_ALLOW_THREADS
;
2797 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2799 wxPy_END_ALLOW_THREADS
;
2800 } Py_INCREF(Py_None
);
2801 _resultobj
= Py_None
;
2805 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2806 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
* _resultobj
;
2810 PyObject
* _argo0
= 0;
2812 PyObject
* _obj1
= 0;
2813 char *_kwnames
[] = { "self","size", NULL
};
2816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2827 if (! wxSize_helper(_obj1
, &_arg1
))
2831 wxPy_BEGIN_ALLOW_THREADS
;
2832 wxCaret_SetSize(_arg0
,*_arg1
);
2834 wxPy_END_ALLOW_THREADS
;
2835 } Py_INCREF(Py_None
);
2836 _resultobj
= Py_None
;
2840 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2841 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
* _resultobj
;
2844 int _arg1
= (int ) TRUE
;
2845 PyObject
* _argo0
= 0;
2846 char *_kwnames
[] = { "self","show", NULL
};
2849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
2852 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2853 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2854 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2859 wxPy_BEGIN_ALLOW_THREADS
;
2860 wxCaret_Show(_arg0
,_arg1
);
2862 wxPy_END_ALLOW_THREADS
;
2863 } Py_INCREF(Py_None
);
2864 _resultobj
= Py_None
;
2868 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2869 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2870 PyObject
* _resultobj
;
2872 PyObject
* _argo0
= 0;
2873 char *_kwnames
[] = { "self", NULL
};
2876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
2879 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2880 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2881 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
2886 wxPy_BEGIN_ALLOW_THREADS
;
2887 wxCaret_Hide(_arg0
);
2889 wxPy_END_ALLOW_THREADS
;
2890 } Py_INCREF(Py_None
);
2891 _resultobj
= Py_None
;
2895 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
2896 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
* _resultobj
;
2898 wxPyFontEnumerator
* _result
;
2899 char *_kwnames
[] = { NULL
};
2903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
2906 wxPy_BEGIN_ALLOW_THREADS
;
2907 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
2909 wxPy_END_ALLOW_THREADS
;
2911 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
2912 _resultobj
= Py_BuildValue("s",_ptemp
);
2915 _resultobj
= Py_None
;
2920 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
2921 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2922 PyObject
* _resultobj
;
2923 wxPyFontEnumerator
* _arg0
;
2924 PyObject
* _argo0
= 0;
2925 char *_kwnames
[] = { "self", NULL
};
2928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
2931 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2932 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2933 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
2938 wxPy_BEGIN_ALLOW_THREADS
;
2939 delete_wxPyFontEnumerator(_arg0
);
2941 wxPy_END_ALLOW_THREADS
;
2942 } Py_INCREF(Py_None
);
2943 _resultobj
= Py_None
;
2947 #define wxFontEnumerator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2948 static PyObject
*_wrap_wxFontEnumerator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2949 PyObject
* _resultobj
;
2950 wxPyFontEnumerator
* _arg0
;
2953 PyObject
* _argo0
= 0;
2954 PyObject
* _obj1
= 0;
2955 PyObject
* _obj2
= 0;
2956 char *_kwnames
[] = { "self","self","_class", NULL
};
2959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFontEnumerator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2962 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2963 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2964 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setSelf. Expected _wxPyFontEnumerator_p.");
2975 wxPy_BEGIN_ALLOW_THREADS
;
2976 wxFontEnumerator__setSelf(_arg0
,_arg1
,_arg2
);
2978 wxPy_END_ALLOW_THREADS
;
2979 } Py_INCREF(Py_None
);
2980 _resultobj
= Py_None
;
2984 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
2985 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2986 PyObject
* _resultobj
;
2988 wxPyFontEnumerator
* _arg0
;
2989 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
2990 bool _arg2
= (bool ) FALSE
;
2991 PyObject
* _argo0
= 0;
2992 int tempbool2
= (int) FALSE
;
2993 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
2996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2999 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3000 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3001 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
3005 _arg2
= (bool ) tempbool2
;
3007 wxPy_BEGIN_ALLOW_THREADS
;
3008 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
3010 wxPy_END_ALLOW_THREADS
;
3011 } _resultobj
= Py_BuildValue("i",_result
);
3015 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
3016 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3017 PyObject
* _resultobj
;
3019 wxPyFontEnumerator
* _arg0
;
3020 char * _arg1
= (char *) "";
3021 PyObject
* _argo0
= 0;
3022 char *_kwnames
[] = { "self","facename", NULL
};
3025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
3028 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3029 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3030 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
3035 wxPy_BEGIN_ALLOW_THREADS
;
3036 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
3038 wxPy_END_ALLOW_THREADS
;
3039 } _resultobj
= Py_BuildValue("i",_result
);
3043 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
3044 wxArrayString
* arr
= self
->GetEncodings();
3045 PyObject
* list
= PyList_New(0);
3046 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3047 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3050 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3051 PyObject
* _resultobj
;
3053 wxPyFontEnumerator
* _arg0
;
3054 PyObject
* _argo0
= 0;
3055 char *_kwnames
[] = { "self", NULL
};
3058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
3061 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3062 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3063 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
3068 wxPy_BEGIN_ALLOW_THREADS
;
3069 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
3071 wxPy_END_ALLOW_THREADS
;
3073 _resultobj
= _result
;
3078 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3079 wxArrayString
* arr
= self
->GetFacenames();
3080 PyObject
* list
= PyList_New(0);
3081 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3082 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3085 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3086 PyObject
* _resultobj
;
3088 wxPyFontEnumerator
* _arg0
;
3089 PyObject
* _argo0
= 0;
3090 char *_kwnames
[] = { "self", NULL
};
3093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3096 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3097 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3098 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3103 wxPy_BEGIN_ALLOW_THREADS
;
3104 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3106 wxPy_END_ALLOW_THREADS
;
3108 _resultobj
= _result
;
3113 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3114 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3115 PyObject
* _resultobj
;
3116 wxBusyCursor
* _result
;
3117 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3118 PyObject
* _argo0
= 0;
3119 char *_kwnames
[] = { "cursor", NULL
};
3123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3126 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3127 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3128 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3133 wxPy_BEGIN_ALLOW_THREADS
;
3134 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3136 wxPy_END_ALLOW_THREADS
;
3138 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3139 _resultobj
= Py_BuildValue("s",_ptemp
);
3142 _resultobj
= Py_None
;
3147 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3148 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3149 PyObject
* _resultobj
;
3150 wxBusyCursor
* _arg0
;
3151 PyObject
* _argo0
= 0;
3152 char *_kwnames
[] = { "self", NULL
};
3155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3158 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3159 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3160 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3165 wxPy_BEGIN_ALLOW_THREADS
;
3166 delete_wxBusyCursor(_arg0
);
3168 wxPy_END_ALLOW_THREADS
;
3169 } Py_INCREF(Py_None
);
3170 _resultobj
= Py_None
;
3174 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3175 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3176 PyObject
* _resultobj
;
3177 wxWindowDisabler
* _result
;
3178 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3179 PyObject
* _argo0
= 0;
3180 char *_kwnames
[] = { "winToSkip", NULL
};
3184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3187 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3188 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3189 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3194 wxPy_BEGIN_ALLOW_THREADS
;
3195 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3197 wxPy_END_ALLOW_THREADS
;
3199 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3200 _resultobj
= Py_BuildValue("s",_ptemp
);
3203 _resultobj
= Py_None
;
3208 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3209 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3210 PyObject
* _resultobj
;
3211 wxWindowDisabler
* _arg0
;
3212 PyObject
* _argo0
= 0;
3213 char *_kwnames
[] = { "self", NULL
};
3216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3219 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3220 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3221 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3226 wxPy_BEGIN_ALLOW_THREADS
;
3227 delete_wxWindowDisabler(_arg0
);
3229 wxPy_END_ALLOW_THREADS
;
3230 } Py_INCREF(Py_None
);
3231 _resultobj
= Py_None
;
3235 #define new_wxMutexGuiLocker() (new wxMutexGuiLocker())
3236 static PyObject
*_wrap_new_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
* _resultobj
;
3238 wxMutexGuiLocker
* _result
;
3239 char *_kwnames
[] = { NULL
};
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxMutexGuiLocker",_kwnames
))
3246 wxPy_BEGIN_ALLOW_THREADS
;
3247 _result
= (wxMutexGuiLocker
*)new_wxMutexGuiLocker();
3249 wxPy_END_ALLOW_THREADS
;
3251 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMutexGuiLocker_p");
3252 _resultobj
= Py_BuildValue("s",_ptemp
);
3255 _resultobj
= Py_None
;
3260 #define delete_wxMutexGuiLocker(_swigobj) (delete _swigobj)
3261 static PyObject
*_wrap_delete_wxMutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3262 PyObject
* _resultobj
;
3263 wxMutexGuiLocker
* _arg0
;
3264 PyObject
* _argo0
= 0;
3265 char *_kwnames
[] = { "self", NULL
};
3268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxMutexGuiLocker",_kwnames
,&_argo0
))
3271 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3272 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxMutexGuiLocker_p")) {
3273 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxMutexGuiLocker. Expected _wxMutexGuiLocker_p.");
3278 wxPy_BEGIN_ALLOW_THREADS
;
3279 delete_wxMutexGuiLocker(_arg0
);
3281 wxPy_END_ALLOW_THREADS
;
3282 } Py_INCREF(Py_None
);
3283 _resultobj
= Py_None
;
3287 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3288 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3289 PyObject
* _resultobj
;
3290 wxTipProvider
* _arg0
;
3291 PyObject
* _argo0
= 0;
3292 char *_kwnames
[] = { "self", NULL
};
3295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3298 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3299 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3300 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3305 wxPy_BEGIN_ALLOW_THREADS
;
3306 delete_wxTipProvider(_arg0
);
3308 wxPy_END_ALLOW_THREADS
;
3309 } Py_INCREF(Py_None
);
3310 _resultobj
= Py_None
;
3314 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3315 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3316 PyObject
* _resultobj
;
3318 wxTipProvider
* _arg0
;
3319 PyObject
* _argo0
= 0;
3320 char *_kwnames
[] = { "self", NULL
};
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3326 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3327 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3328 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3333 wxPy_BEGIN_ALLOW_THREADS
;
3334 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3336 wxPy_END_ALLOW_THREADS
;
3338 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3346 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3347 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3348 PyObject
* _resultobj
;
3350 wxTipProvider
* _arg0
;
3351 PyObject
* _argo0
= 0;
3352 char *_kwnames
[] = { "self", NULL
};
3355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3365 wxPy_BEGIN_ALLOW_THREADS
;
3366 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3368 wxPy_END_ALLOW_THREADS
;
3369 } _resultobj
= Py_BuildValue("i",_result
);
3373 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3374 wxPyTipProvider
*src
;
3375 wxTipProvider
*dest
;
3376 src
= (wxPyTipProvider
*) ptr
;
3377 dest
= (wxTipProvider
*) src
;
3378 return (void *) dest
;
3381 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3382 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3383 PyObject
* _resultobj
;
3384 wxPyTipProvider
* _result
;
3386 char *_kwnames
[] = { "currentTip", NULL
};
3390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3393 wxPy_BEGIN_ALLOW_THREADS
;
3394 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3396 wxPy_END_ALLOW_THREADS
;
3398 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3399 _resultobj
= Py_BuildValue("s",_ptemp
);
3402 _resultobj
= Py_None
;
3407 #define new_wxDragImage(_swigarg0,_swigarg1,_swigarg2) (new wxGenericDragImage(_swigarg0,_swigarg1,_swigarg2))
3408 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
* _resultobj
;
3410 wxGenericDragImage
* _result
;
3412 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3413 wxPoint
* _arg2
= (wxPoint
*) &wxPyNullPoint
;
3414 PyObject
* _argo0
= 0;
3415 PyObject
* _argo1
= 0;
3417 PyObject
* _obj2
= 0;
3418 char *_kwnames
[] = { "image","cursor","hotspot", NULL
};
3422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3432 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3433 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3434 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3441 if (! wxPoint_helper(_obj2
, &_arg2
))
3445 wxPy_BEGIN_ALLOW_THREADS
;
3446 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
,*_arg2
);
3448 wxPy_END_ALLOW_THREADS
;
3450 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3451 _resultobj
= Py_BuildValue("s",_ptemp
);
3454 _resultobj
= Py_None
;
3459 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3460 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3461 PyObject
* _resultobj
;
3462 wxGenericDragImage
* _arg0
;
3463 PyObject
* _argo0
= 0;
3464 char *_kwnames
[] = { "self", NULL
};
3467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3477 wxPy_BEGIN_ALLOW_THREADS
;
3478 delete_wxGenericDragImage(_arg0
);
3480 wxPy_END_ALLOW_THREADS
;
3481 } Py_INCREF(Py_None
);
3482 _resultobj
= Py_None
;
3486 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3487 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3488 PyObject
* _resultobj
;
3490 wxGenericDragImage
* _arg0
;
3493 bool _arg3
= (bool ) FALSE
;
3494 wxRect
* _arg4
= (wxRect
*) NULL
;
3495 PyObject
* _argo0
= 0;
3497 PyObject
* _obj1
= 0;
3498 PyObject
* _argo2
= 0;
3499 int tempbool3
= (int) FALSE
;
3501 PyObject
* _obj4
= 0;
3502 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3516 if (! wxPoint_helper(_obj1
, &_arg1
))
3520 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3521 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3522 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3526 _arg3
= (bool ) tempbool3
;
3530 if (! wxRect_helper(_obj4
, &_arg4
))
3534 wxPy_BEGIN_ALLOW_THREADS
;
3535 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3537 wxPy_END_ALLOW_THREADS
;
3538 } _resultobj
= Py_BuildValue("i",_result
);
3542 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3543 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
* _resultobj
;
3546 wxGenericDragImage
* _arg0
;
3550 PyObject
* _argo0
= 0;
3552 PyObject
* _obj1
= 0;
3553 PyObject
* _argo2
= 0;
3554 PyObject
* _argo3
= 0;
3555 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3561 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3562 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3563 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3569 if (! wxPoint_helper(_obj1
, &_arg1
))
3573 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3574 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3575 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3580 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3581 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3587 wxPy_BEGIN_ALLOW_THREADS
;
3588 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3590 wxPy_END_ALLOW_THREADS
;
3591 } _resultobj
= Py_BuildValue("i",_result
);
3595 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3596 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3597 PyObject
* _resultobj
;
3599 wxGenericDragImage
* _arg0
;
3600 PyObject
* _argo0
= 0;
3601 char *_kwnames
[] = { "self", NULL
};
3604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3607 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3608 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3609 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3614 wxPy_BEGIN_ALLOW_THREADS
;
3615 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3617 wxPy_END_ALLOW_THREADS
;
3618 } _resultobj
= Py_BuildValue("i",_result
);
3622 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3623 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3624 PyObject
* _resultobj
;
3626 wxGenericDragImage
* _arg0
;
3628 PyObject
* _argo0
= 0;
3630 PyObject
* _obj1
= 0;
3631 char *_kwnames
[] = { "self","pt", NULL
};
3634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3645 if (! wxPoint_helper(_obj1
, &_arg1
))
3649 wxPy_BEGIN_ALLOW_THREADS
;
3650 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3652 wxPy_END_ALLOW_THREADS
;
3653 } _resultobj
= Py_BuildValue("i",_result
);
3657 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3658 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
* _resultobj
;
3661 wxGenericDragImage
* _arg0
;
3662 PyObject
* _argo0
= 0;
3663 char *_kwnames
[] = { "self", NULL
};
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3676 wxPy_BEGIN_ALLOW_THREADS
;
3677 _result
= (bool )wxDragImage_Show(_arg0
);
3679 wxPy_END_ALLOW_THREADS
;
3680 } _resultobj
= Py_BuildValue("i",_result
);
3684 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3685 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3686 PyObject
* _resultobj
;
3688 wxGenericDragImage
* _arg0
;
3689 PyObject
* _argo0
= 0;
3690 char *_kwnames
[] = { "self", NULL
};
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3696 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3697 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3703 wxPy_BEGIN_ALLOW_THREADS
;
3704 _result
= (bool )wxDragImage_Hide(_arg0
);
3706 wxPy_END_ALLOW_THREADS
;
3707 } _resultobj
= Py_BuildValue("i",_result
);
3711 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3712 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3713 PyObject
* _resultobj
;
3715 wxGenericDragImage
* _arg0
;
3717 PyObject
* _argo0
= 0;
3719 PyObject
* _obj1
= 0;
3720 char *_kwnames
[] = { "self","pos", NULL
};
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
3727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
3735 if (! wxPoint_helper(_obj1
, &_arg1
))
3739 wxPy_BEGIN_ALLOW_THREADS
;
3740 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
3742 wxPy_END_ALLOW_THREADS
;
3743 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3744 _resultobj
= Py_BuildValue("s",_ptemp
);
3748 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3749 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
* _resultobj
;
3752 wxGenericDragImage
* _arg0
;
3757 PyObject
* _argo0
= 0;
3759 PyObject
* _obj1
= 0;
3761 PyObject
* _obj2
= 0;
3764 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
3767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
3770 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3771 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3772 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
3778 if (! wxPoint_helper(_obj1
, &_arg1
))
3783 if (! wxPoint_helper(_obj2
, &_arg2
))
3786 _arg3
= (bool ) tempbool3
;
3787 _arg4
= (bool ) tempbool4
;
3789 wxPy_BEGIN_ALLOW_THREADS
;
3790 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
3792 wxPy_END_ALLOW_THREADS
;
3793 } _resultobj
= Py_BuildValue("i",_result
);
3797 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
3798 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3799 PyObject
* _resultobj
;
3800 wxPyTimer
* _result
;
3802 PyObject
* _obj0
= 0;
3803 char *_kwnames
[] = { "notify", NULL
};
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
3813 wxPy_BEGIN_ALLOW_THREADS
;
3814 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
3816 wxPy_END_ALLOW_THREADS
;
3818 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
3819 _resultobj
= Py_BuildValue("s",_ptemp
);
3822 _resultobj
= Py_None
;
3827 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
3828 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3829 PyObject
* _resultobj
;
3831 PyObject
* _argo0
= 0;
3832 char *_kwnames
[] = { "self", NULL
};
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
3838 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3839 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3840 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
3845 wxPy_BEGIN_ALLOW_THREADS
;
3846 delete_wxPyTimer(_arg0
);
3848 wxPy_END_ALLOW_THREADS
;
3849 } Py_INCREF(Py_None
);
3850 _resultobj
= Py_None
;
3854 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
3855 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3856 PyObject
* _resultobj
;
3859 PyObject
* _argo0
= 0;
3860 char *_kwnames
[] = { "self", NULL
};
3863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
3866 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3867 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3868 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
3873 wxPy_BEGIN_ALLOW_THREADS
;
3874 _result
= (int )wxPyTimer_GetInterval(_arg0
);
3876 wxPy_END_ALLOW_THREADS
;
3877 } _resultobj
= Py_BuildValue("i",_result
);
3881 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
3882 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
* _resultobj
;
3886 PyObject
* _argo0
= 0;
3887 char *_kwnames
[] = { "self", NULL
};
3890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
3893 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3894 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3895 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
3900 wxPy_BEGIN_ALLOW_THREADS
;
3901 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
3903 wxPy_END_ALLOW_THREADS
;
3904 } _resultobj
= Py_BuildValue("i",_result
);
3908 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
3909 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
* _resultobj
;
3913 PyObject
* _argo0
= 0;
3914 char *_kwnames
[] = { "self", NULL
};
3917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_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 wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
3927 wxPy_BEGIN_ALLOW_THREADS
;
3928 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
3930 wxPy_END_ALLOW_THREADS
;
3931 } _resultobj
= Py_BuildValue("i",_result
);
3935 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
3936 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3937 PyObject
* _resultobj
;
3939 wxEvtHandler
* _arg1
;
3940 int _arg2
= (int ) -1;
3941 PyObject
* _argo0
= 0;
3942 PyObject
* _argo1
= 0;
3943 char *_kwnames
[] = { "self","owner","id", NULL
};
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
3956 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3957 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
3963 wxPy_BEGIN_ALLOW_THREADS
;
3964 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
3966 wxPy_END_ALLOW_THREADS
;
3967 } Py_INCREF(Py_None
);
3968 _resultobj
= Py_None
;
3972 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
3973 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3974 PyObject
* _resultobj
;
3976 int _arg1
= (int ) -1;
3977 int _arg2
= (int ) FALSE
;
3978 PyObject
* _argo0
= 0;
3979 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
3982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3985 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3986 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3987 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
3992 wxPy_BEGIN_ALLOW_THREADS
;
3993 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
3995 wxPy_END_ALLOW_THREADS
;
3996 } Py_INCREF(Py_None
);
3997 _resultobj
= Py_None
;
4001 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
4002 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4003 PyObject
* _resultobj
;
4005 PyObject
* _argo0
= 0;
4006 char *_kwnames
[] = { "self", NULL
};
4009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
4012 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4013 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
4014 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
4019 wxPy_BEGIN_ALLOW_THREADS
;
4020 wxPyTimer_Stop(_arg0
);
4022 wxPy_END_ALLOW_THREADS
;
4023 } Py_INCREF(Py_None
);
4024 _resultobj
= Py_None
;
4028 #define new_wxLog() (new wxLog())
4029 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4030 PyObject
* _resultobj
;
4032 char *_kwnames
[] = { NULL
};
4036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
4039 wxPy_BEGIN_ALLOW_THREADS
;
4040 _result
= (wxLog
*)new_wxLog();
4042 wxPy_END_ALLOW_THREADS
;
4044 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4045 _resultobj
= Py_BuildValue("s",_ptemp
);
4048 _resultobj
= Py_None
;
4053 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
* _resultobj
;
4056 char *_kwnames
[] = { NULL
};
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
4062 wxPy_BEGIN_ALLOW_THREADS
;
4063 _result
= (bool )wxLog::IsEnabled();
4065 wxPy_END_ALLOW_THREADS
;
4066 } _resultobj
= Py_BuildValue("i",_result
);
4070 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4071 PyObject
* _resultobj
;
4073 bool _arg0
= (bool ) TRUE
;
4074 int tempbool0
= (int) TRUE
;
4075 char *_kwnames
[] = { "doIt", NULL
};
4078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
4080 _arg0
= (bool ) tempbool0
;
4082 wxPy_BEGIN_ALLOW_THREADS
;
4083 _result
= (bool )wxLog::EnableLogging(_arg0
);
4085 wxPy_END_ALLOW_THREADS
;
4086 } _resultobj
= Py_BuildValue("i",_result
);
4090 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4091 PyObject
* _resultobj
;
4094 int _arg2
= (int ) 0;
4095 PyObject
* _argo0
= 0;
4096 char *_kwnames
[] = { "level","szString","t", NULL
};
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
4104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
4109 wxPy_BEGIN_ALLOW_THREADS
;
4110 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
4112 wxPy_END_ALLOW_THREADS
;
4113 } Py_INCREF(Py_None
);
4114 _resultobj
= Py_None
;
4118 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
4119 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4120 PyObject
* _resultobj
;
4122 PyObject
* _argo0
= 0;
4123 char *_kwnames
[] = { "self", NULL
};
4126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4136 wxPy_BEGIN_ALLOW_THREADS
;
4139 wxPy_END_ALLOW_THREADS
;
4140 } Py_INCREF(Py_None
);
4141 _resultobj
= Py_None
;
4145 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4146 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4147 PyObject
* _resultobj
;
4150 PyObject
* _argo0
= 0;
4151 char *_kwnames
[] = { "self", NULL
};
4154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4157 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4158 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4159 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4164 wxPy_BEGIN_ALLOW_THREADS
;
4165 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4167 wxPy_END_ALLOW_THREADS
;
4168 } _resultobj
= Py_BuildValue("i",_result
);
4172 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4173 PyObject
* _resultobj
;
4174 char *_kwnames
[] = { NULL
};
4177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4180 wxPy_BEGIN_ALLOW_THREADS
;
4181 wxLog::FlushActive();
4183 wxPy_END_ALLOW_THREADS
;
4184 } Py_INCREF(Py_None
);
4185 _resultobj
= Py_None
;
4189 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4190 PyObject
* _resultobj
;
4192 char *_kwnames
[] = { NULL
};
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4199 wxPy_BEGIN_ALLOW_THREADS
;
4200 _result
= (wxLog
*)wxLog::GetActiveTarget();
4202 wxPy_END_ALLOW_THREADS
;
4204 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4205 _resultobj
= Py_BuildValue("s",_ptemp
);
4208 _resultobj
= Py_None
;
4213 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
* _resultobj
;
4217 PyObject
* _argo0
= 0;
4218 char *_kwnames
[] = { "pLogger", NULL
};
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4225 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4226 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4227 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4232 wxPy_BEGIN_ALLOW_THREADS
;
4233 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4235 wxPy_END_ALLOW_THREADS
;
4237 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4238 _resultobj
= Py_BuildValue("s",_ptemp
);
4241 _resultobj
= Py_None
;
4246 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
* _resultobj
;
4248 char *_kwnames
[] = { NULL
};
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4254 wxPy_BEGIN_ALLOW_THREADS
;
4257 wxPy_END_ALLOW_THREADS
;
4258 } Py_INCREF(Py_None
);
4259 _resultobj
= Py_None
;
4263 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
* _resultobj
;
4265 char *_kwnames
[] = { NULL
};
4268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4271 wxPy_BEGIN_ALLOW_THREADS
;
4274 wxPy_END_ALLOW_THREADS
;
4275 } Py_INCREF(Py_None
);
4276 _resultobj
= Py_None
;
4280 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4281 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4282 PyObject
* _resultobj
;
4284 bool _arg1
= (bool ) TRUE
;
4285 PyObject
* _argo0
= 0;
4286 int tempbool1
= (int) TRUE
;
4287 char *_kwnames
[] = { "self","bVerbose", NULL
};
4290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4293 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4294 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4295 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4299 _arg1
= (bool ) tempbool1
;
4301 wxPy_BEGIN_ALLOW_THREADS
;
4302 wxLog_SetVerbose(_arg0
,_arg1
);
4304 wxPy_END_ALLOW_THREADS
;
4305 } Py_INCREF(Py_None
);
4306 _resultobj
= Py_None
;
4310 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4311 PyObject
* _resultobj
;
4312 char *_kwnames
[] = { NULL
};
4315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4318 wxPy_BEGIN_ALLOW_THREADS
;
4319 wxLog::DontCreateOnDemand();
4321 wxPy_END_ALLOW_THREADS
;
4322 } Py_INCREF(Py_None
);
4323 _resultobj
= Py_None
;
4327 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
* _resultobj
;
4329 wxTraceMask
* _arg0
;
4330 PyObject
* _argo0
= 0;
4331 char *_kwnames
[] = { "ulMask", NULL
};
4334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4337 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4338 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4339 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4344 wxPy_BEGIN_ALLOW_THREADS
;
4345 wxLog::SetTraceMask(*_arg0
);
4347 wxPy_END_ALLOW_THREADS
;
4348 } Py_INCREF(Py_None
);
4349 _resultobj
= Py_None
;
4353 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
* _resultobj
;
4356 PyObject
* _obj0
= 0;
4357 char *_kwnames
[] = { "str", NULL
};
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4363 #if PYTHON_API_VERSION >= 1009
4364 char* tmpPtr
; int tmpSize
;
4365 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4366 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4369 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4371 _arg0
= new wxString(tmpPtr
, tmpSize
);
4373 if (!PyString_Check(_obj0
)) {
4374 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4377 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4381 wxPy_BEGIN_ALLOW_THREADS
;
4382 wxLog::AddTraceMask(*_arg0
);
4384 wxPy_END_ALLOW_THREADS
;
4385 } Py_INCREF(Py_None
);
4386 _resultobj
= Py_None
;
4394 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
* _resultobj
;
4397 PyObject
* _obj0
= 0;
4398 char *_kwnames
[] = { "str", NULL
};
4401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4404 #if PYTHON_API_VERSION >= 1009
4405 char* tmpPtr
; int tmpSize
;
4406 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4407 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4410 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4412 _arg0
= new wxString(tmpPtr
, tmpSize
);
4414 if (!PyString_Check(_obj0
)) {
4415 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4418 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4422 wxPy_BEGIN_ALLOW_THREADS
;
4423 wxLog::RemoveTraceMask(*_arg0
);
4425 wxPy_END_ALLOW_THREADS
;
4426 } Py_INCREF(Py_None
);
4427 _resultobj
= Py_None
;
4435 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4436 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4437 PyObject
* _resultobj
;
4440 PyObject
* _argo0
= 0;
4441 char *_kwnames
[] = { "self", NULL
};
4444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4447 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4448 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4449 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4454 wxPy_BEGIN_ALLOW_THREADS
;
4455 _result
= (bool )wxLog_GetVerbose(_arg0
);
4457 wxPy_END_ALLOW_THREADS
;
4458 } _resultobj
= Py_BuildValue("i",_result
);
4462 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4463 PyObject
* _resultobj
;
4464 wxTraceMask
* _result
;
4465 char *_kwnames
[] = { NULL
};
4469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4472 wxPy_BEGIN_ALLOW_THREADS
;
4473 _result
= new wxTraceMask (wxLog::GetTraceMask());
4475 wxPy_END_ALLOW_THREADS
;
4476 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
4477 _resultobj
= Py_BuildValue("s",_ptemp
);
4481 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4482 PyObject
* _resultobj
;
4485 char *_kwnames
[] = { "mask", NULL
};
4488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
4491 wxPy_BEGIN_ALLOW_THREADS
;
4492 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
4494 wxPy_END_ALLOW_THREADS
;
4495 } _resultobj
= Py_BuildValue("i",_result
);
4499 static void *SwigwxLogStderrTowxLog(void *ptr
) {
4502 src
= (wxLogStderr
*) ptr
;
4503 dest
= (wxLog
*) src
;
4504 return (void *) dest
;
4507 #define new_wxLogStderr() (new wxLogStderr())
4508 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
* _resultobj
;
4510 wxLogStderr
* _result
;
4511 char *_kwnames
[] = { NULL
};
4515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
4518 wxPy_BEGIN_ALLOW_THREADS
;
4519 _result
= (wxLogStderr
*)new_wxLogStderr();
4521 wxPy_END_ALLOW_THREADS
;
4523 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
4524 _resultobj
= Py_BuildValue("s",_ptemp
);
4527 _resultobj
= Py_None
;
4532 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
4535 src
= (wxLogTextCtrl
*) ptr
;
4536 dest
= (wxLog
*) src
;
4537 return (void *) dest
;
4540 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
4541 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4542 PyObject
* _resultobj
;
4543 wxLogTextCtrl
* _result
;
4545 PyObject
* _argo0
= 0;
4546 char *_kwnames
[] = { "pTextCtrl", NULL
};
4550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
4553 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4554 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4555 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
4560 wxPy_BEGIN_ALLOW_THREADS
;
4561 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
4563 wxPy_END_ALLOW_THREADS
;
4565 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
4566 _resultobj
= Py_BuildValue("s",_ptemp
);
4569 _resultobj
= Py_None
;
4574 static void *SwigwxLogGuiTowxLog(void *ptr
) {
4577 src
= (wxLogGui
*) ptr
;
4578 dest
= (wxLog
*) src
;
4579 return (void *) dest
;
4582 #define new_wxLogGui() (new wxLogGui())
4583 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
* _resultobj
;
4586 char *_kwnames
[] = { NULL
};
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
4593 wxPy_BEGIN_ALLOW_THREADS
;
4594 _result
= (wxLogGui
*)new_wxLogGui();
4596 wxPy_END_ALLOW_THREADS
;
4598 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
4599 _resultobj
= Py_BuildValue("s",_ptemp
);
4602 _resultobj
= Py_None
;
4607 static void *SwigwxLogWindowTowxLog(void *ptr
) {
4610 src
= (wxLogWindow
*) ptr
;
4611 dest
= (wxLog
*) src
;
4612 return (void *) dest
;
4615 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4616 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
* _resultobj
;
4618 wxLogWindow
* _result
;
4621 bool _arg2
= (bool ) TRUE
;
4622 bool _arg3
= (bool ) TRUE
;
4623 PyObject
* _argo0
= 0;
4624 int tempbool2
= (int) TRUE
;
4625 int tempbool3
= (int) TRUE
;
4626 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
4630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
4633 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4634 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
4635 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
4639 _arg2
= (bool ) tempbool2
;
4640 _arg3
= (bool ) tempbool3
;
4642 wxPy_BEGIN_ALLOW_THREADS
;
4643 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
4645 wxPy_END_ALLOW_THREADS
;
4647 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
4648 _resultobj
= Py_BuildValue("s",_ptemp
);
4651 _resultobj
= Py_None
;
4656 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4657 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
* _resultobj
;
4659 wxLogWindow
* _arg0
;
4660 bool _arg1
= (bool ) TRUE
;
4661 PyObject
* _argo0
= 0;
4662 int tempbool1
= (int) TRUE
;
4663 char *_kwnames
[] = { "self","bShow", NULL
};
4666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4669 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4670 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4671 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
4675 _arg1
= (bool ) tempbool1
;
4677 wxPy_BEGIN_ALLOW_THREADS
;
4678 wxLogWindow_Show(_arg0
,_arg1
);
4680 wxPy_END_ALLOW_THREADS
;
4681 } Py_INCREF(Py_None
);
4682 _resultobj
= Py_None
;
4686 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
4687 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
* _resultobj
;
4690 wxLogWindow
* _arg0
;
4691 PyObject
* _argo0
= 0;
4692 char *_kwnames
[] = { "self", NULL
};
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
4699 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4700 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4701 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
4706 wxPy_BEGIN_ALLOW_THREADS
;
4707 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
4709 wxPy_END_ALLOW_THREADS
;
4711 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
4712 _resultobj
= Py_BuildValue("s",_ptemp
);
4715 _resultobj
= Py_None
;
4720 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
4721 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4722 PyObject
* _resultobj
;
4724 wxLogWindow
* _arg0
;
4725 PyObject
* _argo0
= 0;
4726 char *_kwnames
[] = { "self", NULL
};
4730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
4733 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4734 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
4740 wxPy_BEGIN_ALLOW_THREADS
;
4741 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
4743 wxPy_END_ALLOW_THREADS
;
4745 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4746 _resultobj
= Py_BuildValue("s",_ptemp
);
4749 _resultobj
= Py_None
;
4754 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
4755 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4756 PyObject
* _resultobj
;
4758 wxLogWindow
* _arg0
;
4759 PyObject
* _argo0
= 0;
4760 char *_kwnames
[] = { "self", NULL
};
4763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
4766 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4767 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4768 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
4773 wxPy_BEGIN_ALLOW_THREADS
;
4774 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
4776 wxPy_END_ALLOW_THREADS
;
4777 } _resultobj
= Py_BuildValue("i",_result
);
4781 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
4782 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4783 PyObject
* _resultobj
;
4784 wxLogWindow
* _arg0
;
4786 PyObject
* _argo0
= 0;
4788 char *_kwnames
[] = { "self","bDoPass", NULL
};
4791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
4794 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4795 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4796 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
4800 _arg1
= (bool ) tempbool1
;
4802 wxPy_BEGIN_ALLOW_THREADS
;
4803 wxLogWindow_PassMessages(_arg0
,_arg1
);
4805 wxPy_END_ALLOW_THREADS
;
4806 } Py_INCREF(Py_None
);
4807 _resultobj
= Py_None
;
4811 #define new_wxLogNull() (new wxLogNull())
4812 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4813 PyObject
* _resultobj
;
4814 wxLogNull
* _result
;
4815 char *_kwnames
[] = { NULL
};
4819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
4822 wxPy_BEGIN_ALLOW_THREADS
;
4823 _result
= (wxLogNull
*)new_wxLogNull();
4825 wxPy_END_ALLOW_THREADS
;
4827 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
4828 _resultobj
= Py_BuildValue("s",_ptemp
);
4831 _resultobj
= Py_None
;
4836 #define delete_wxLogNull(_swigobj) (delete _swigobj)
4837 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
* _resultobj
;
4840 PyObject
* _argo0
= 0;
4841 char *_kwnames
[] = { "self", NULL
};
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
4847 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4848 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
4849 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
4854 wxPy_BEGIN_ALLOW_THREADS
;
4855 delete_wxLogNull(_arg0
);
4857 wxPy_END_ALLOW_THREADS
;
4858 } Py_INCREF(Py_None
);
4859 _resultobj
= Py_None
;
4863 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
4864 wxProcessEvent
*src
;
4866 src
= (wxProcessEvent
*) ptr
;
4867 dest
= (wxEvent
*) src
;
4868 return (void *) dest
;
4871 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
4872 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4873 PyObject
* _resultobj
;
4874 wxProcessEvent
* _result
;
4875 int _arg0
= (int ) 0;
4876 int _arg1
= (int ) 0;
4877 int _arg2
= (int ) 0;
4878 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
4882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4885 wxPy_BEGIN_ALLOW_THREADS
;
4886 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
4888 wxPy_END_ALLOW_THREADS
;
4890 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
4891 _resultobj
= Py_BuildValue("s",_ptemp
);
4894 _resultobj
= Py_None
;
4899 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
4900 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
* _resultobj
;
4903 wxProcessEvent
* _arg0
;
4904 PyObject
* _argo0
= 0;
4905 char *_kwnames
[] = { "self", NULL
};
4908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
4911 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4912 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4913 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
4918 wxPy_BEGIN_ALLOW_THREADS
;
4919 _result
= (int )wxProcessEvent_GetPid(_arg0
);
4921 wxPy_END_ALLOW_THREADS
;
4922 } _resultobj
= Py_BuildValue("i",_result
);
4926 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
4927 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
* _resultobj
;
4930 wxProcessEvent
* _arg0
;
4931 PyObject
* _argo0
= 0;
4932 char *_kwnames
[] = { "self", NULL
};
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
4938 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4939 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4940 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
4945 wxPy_BEGIN_ALLOW_THREADS
;
4946 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
4948 wxPy_END_ALLOW_THREADS
;
4949 } _resultobj
= Py_BuildValue("i",_result
);
4953 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
4954 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
* _resultobj
;
4957 wxProcessEvent
* _arg0
;
4959 PyObject
* _argo0
= 0;
4960 char *_kwnames
[] = { "self","m_pid", NULL
};
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
4966 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4967 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4968 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
4973 wxPy_BEGIN_ALLOW_THREADS
;
4974 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
4976 wxPy_END_ALLOW_THREADS
;
4977 } _resultobj
= Py_BuildValue("i",_result
);
4981 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
4982 static PyObject
*_wrap_wxProcessEvent_m_pid_get(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_m_pid_get",_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_m_pid_get. Expected _wxProcessEvent_p.");
5000 wxPy_BEGIN_ALLOW_THREADS
;
5001 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
5003 wxPy_END_ALLOW_THREADS
;
5004 } _resultobj
= Py_BuildValue("i",_result
);
5008 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
5009 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
* _resultobj
;
5012 wxProcessEvent
* _arg0
;
5014 PyObject
* _argo0
= 0;
5015 char *_kwnames
[] = { "self","m_exitcode", NULL
};
5018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
5021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
5023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
5028 wxPy_BEGIN_ALLOW_THREADS
;
5029 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
5031 wxPy_END_ALLOW_THREADS
;
5032 } _resultobj
= Py_BuildValue("i",_result
);
5036 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
5037 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5038 PyObject
* _resultobj
;
5040 wxProcessEvent
* _arg0
;
5041 PyObject
* _argo0
= 0;
5042 char *_kwnames
[] = { "self", NULL
};
5045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
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_exitcode_get. Expected _wxProcessEvent_p.");
5055 wxPy_BEGIN_ALLOW_THREADS
;
5056 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
5058 wxPy_END_ALLOW_THREADS
;
5059 } _resultobj
= Py_BuildValue("i",_result
);
5063 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
5066 src
= (wxPyProcess
*) ptr
;
5067 dest
= (wxEvtHandler
*) src
;
5068 return (void *) dest
;
5071 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
5072 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
* _resultobj
;
5074 wxPyProcess
* _result
;
5075 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
5076 int _arg1
= (int ) -1;
5077 PyObject
* _argo0
= 0;
5078 char *_kwnames
[] = { "parent","id", NULL
};
5082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
5085 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5086 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
5087 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
5092 wxPy_BEGIN_ALLOW_THREADS
;
5093 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
5095 wxPy_END_ALLOW_THREADS
;
5097 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
5098 _resultobj
= Py_BuildValue("s",_ptemp
);
5101 _resultobj
= Py_None
;
5106 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
5107 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5108 PyObject
* _resultobj
;
5109 wxPyProcess
* _arg0
;
5110 PyObject
* _argo0
= 0;
5111 char *_kwnames
[] = { "self", NULL
};
5114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
5117 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5118 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5119 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
5124 wxPy_BEGIN_ALLOW_THREADS
;
5125 wxPyProcess_Destroy(_arg0
);
5127 wxPy_END_ALLOW_THREADS
;
5128 } Py_INCREF(Py_None
);
5129 _resultobj
= Py_None
;
5133 #define wxProcess__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5134 static PyObject
*_wrap_wxProcess__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5135 PyObject
* _resultobj
;
5136 wxPyProcess
* _arg0
;
5139 PyObject
* _argo0
= 0;
5140 PyObject
* _obj1
= 0;
5141 PyObject
* _obj2
= 0;
5142 char *_kwnames
[] = { "self","self","_class", NULL
};
5145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5148 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5149 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5150 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setSelf. Expected _wxPyProcess_p.");
5161 wxPy_BEGIN_ALLOW_THREADS
;
5162 wxProcess__setSelf(_arg0
,_arg1
,_arg2
);
5164 wxPy_END_ALLOW_THREADS
;
5165 } Py_INCREF(Py_None
);
5166 _resultobj
= Py_None
;
5170 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
5171 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5172 PyObject
* _resultobj
;
5173 wxPyProcess
* _arg0
;
5176 PyObject
* _argo0
= 0;
5177 char *_kwnames
[] = { "self","pid","status", NULL
};
5180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
5190 wxPy_BEGIN_ALLOW_THREADS
;
5191 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
5193 wxPy_END_ALLOW_THREADS
;
5194 } Py_INCREF(Py_None
);
5195 _resultobj
= Py_None
;
5199 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
5200 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5201 PyObject
* _resultobj
;
5202 wxPyProcess
* _arg0
;
5203 PyObject
* _argo0
= 0;
5204 char *_kwnames
[] = { "self", NULL
};
5207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
5210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
5217 wxPy_BEGIN_ALLOW_THREADS
;
5218 wxProcess_Redirect(_arg0
);
5220 wxPy_END_ALLOW_THREADS
;
5221 } Py_INCREF(Py_None
);
5222 _resultobj
= Py_None
;
5226 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
5227 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5228 PyObject
* _resultobj
;
5230 wxPyProcess
* _arg0
;
5231 PyObject
* _argo0
= 0;
5232 char *_kwnames
[] = { "self", NULL
};
5235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
5238 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5239 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5240 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
5245 wxPy_BEGIN_ALLOW_THREADS
;
5246 _result
= (bool )wxProcess_IsRedirected(_arg0
);
5248 wxPy_END_ALLOW_THREADS
;
5249 } _resultobj
= Py_BuildValue("i",_result
);
5253 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
5254 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
* _resultobj
;
5256 wxPyProcess
* _arg0
;
5257 PyObject
* _argo0
= 0;
5258 char *_kwnames
[] = { "self", NULL
};
5261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
5264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
5271 wxPy_BEGIN_ALLOW_THREADS
;
5272 wxProcess_Detach(_arg0
);
5274 wxPy_END_ALLOW_THREADS
;
5275 } Py_INCREF(Py_None
);
5276 _resultobj
= Py_None
;
5280 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
5281 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5282 PyObject
* _resultobj
;
5283 wxInputStream
* _result
;
5284 wxPyProcess
* _arg0
;
5285 PyObject
* _argo0
= 0;
5286 char *_kwnames
[] = { "self", NULL
};
5289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_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_GetInputStream. Expected _wxPyProcess_p.");
5299 wxPy_BEGIN_ALLOW_THREADS
;
5300 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
5302 wxPy_END_ALLOW_THREADS
;
5304 wxPyInputStream
* _ptr
= NULL
;
5307 _ptr
= new wxPyInputStream(_result
);
5311 SWIG_MakePtr(swigptr
, _ptr
, "_wxPyInputStream_p");
5313 PyObject
* classobj
= PyDict_GetItemString(wxPython_dict
, "wxInputStreamPtr");
5316 _resultobj
= Py_None
;
5318 PyObject
* arg
= Py_BuildValue("(s)", swigptr
);
5319 _resultobj
= PyInstance_New(classobj
, arg
, NULL
);
5323 PyObject
* one
= PyInt_FromLong(1);
5324 PyObject_SetAttrString(_resultobj
, "thisown", one
);
5329 _resultobj
= Py_None
;
5335 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
5336 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5337 PyObject
* _resultobj
;
5338 wxInputStream
* _result
;
5339 wxPyProcess
* _arg0
;
5340 PyObject
* _argo0
= 0;
5341 char *_kwnames
[] = { "self", NULL
};
5344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
5347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
5354 wxPy_BEGIN_ALLOW_THREADS
;
5355 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
5357 wxPy_END_ALLOW_THREADS
;
5359 wxPyInputStream
* _ptr
= NULL
;
5362 _ptr
= new wxPyInputStream(_result
);
5366 SWIG_MakePtr(swigptr
, _ptr
, "_wxPyInputStream_p");
5368 PyObject
* classobj
= PyDict_GetItemString(wxPython_dict
, "wxInputStreamPtr");
5371 _resultobj
= Py_None
;
5373 PyObject
* arg
= Py_BuildValue("(s)", swigptr
);
5374 _resultobj
= PyInstance_New(classobj
, arg
, NULL
);
5378 PyObject
* one
= PyInt_FromLong(1);
5379 PyObject_SetAttrString(_resultobj
, "thisown", one
);
5384 _resultobj
= Py_None
;
5390 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
5391 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5392 PyObject
* _resultobj
;
5393 wxOutputStream
* _result
;
5394 wxPyProcess
* _arg0
;
5395 PyObject
* _argo0
= 0;
5396 char *_kwnames
[] = { "self", NULL
};
5400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
5403 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5404 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5405 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
5410 wxPy_BEGIN_ALLOW_THREADS
;
5411 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
5413 wxPy_END_ALLOW_THREADS
;
5415 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
5416 _resultobj
= Py_BuildValue("s",_ptemp
);
5419 _resultobj
= Py_None
;
5424 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
5425 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5426 PyObject
* _resultobj
;
5427 wxPyProcess
* _arg0
;
5428 PyObject
* _argo0
= 0;
5429 char *_kwnames
[] = { "self", NULL
};
5432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
5435 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5436 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5437 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
5442 wxPy_BEGIN_ALLOW_THREADS
;
5443 wxProcess_CloseOutput(_arg0
);
5445 wxPy_END_ALLOW_THREADS
;
5446 } Py_INCREF(Py_None
);
5447 _resultobj
= Py_None
;
5451 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
5452 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5453 PyObject
* _resultobj
;
5454 wxJoystick
* _result
;
5455 int _arg0
= (int ) wxJOYSTICK1
;
5456 char *_kwnames
[] = { "joystick", NULL
};
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
5463 wxPy_BEGIN_ALLOW_THREADS
;
5464 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
5466 wxPy_END_ALLOW_THREADS
;
5468 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
5469 _resultobj
= Py_BuildValue("s",_ptemp
);
5472 _resultobj
= Py_None
;
5477 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
5478 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
* _resultobj
;
5482 PyObject
* _argo0
= 0;
5483 char *_kwnames
[] = { "self", NULL
};
5487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
5490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
5497 wxPy_BEGIN_ALLOW_THREADS
;
5498 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
5500 wxPy_END_ALLOW_THREADS
;
5501 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5502 _resultobj
= Py_BuildValue("s",_ptemp
);
5506 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
5507 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5508 PyObject
* _resultobj
;
5511 PyObject
* _argo0
= 0;
5512 char *_kwnames
[] = { "self", NULL
};
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
5518 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5519 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5520 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
5525 wxPy_BEGIN_ALLOW_THREADS
;
5526 _result
= (int )wxJoystick_GetZPosition(_arg0
);
5528 wxPy_END_ALLOW_THREADS
;
5529 } _resultobj
= Py_BuildValue("i",_result
);
5533 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
5534 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
* _resultobj
;
5538 PyObject
* _argo0
= 0;
5539 char *_kwnames
[] = { "self", NULL
};
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
5545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
5552 wxPy_BEGIN_ALLOW_THREADS
;
5553 _result
= (int )wxJoystick_GetButtonState(_arg0
);
5555 wxPy_END_ALLOW_THREADS
;
5556 } _resultobj
= Py_BuildValue("i",_result
);
5560 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
5561 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
* _resultobj
;
5565 PyObject
* _argo0
= 0;
5566 char *_kwnames
[] = { "self", NULL
};
5569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_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_GetPOVPosition. Expected _wxJoystick_p.");
5579 wxPy_BEGIN_ALLOW_THREADS
;
5580 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
5582 wxPy_END_ALLOW_THREADS
;
5583 } _resultobj
= Py_BuildValue("i",_result
);
5587 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
5588 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5589 PyObject
* _resultobj
;
5592 PyObject
* _argo0
= 0;
5593 char *_kwnames
[] = { "self", NULL
};
5596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
5599 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5600 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5601 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
5606 wxPy_BEGIN_ALLOW_THREADS
;
5607 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
5609 wxPy_END_ALLOW_THREADS
;
5610 } _resultobj
= Py_BuildValue("i",_result
);
5614 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
5615 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
* _resultobj
;
5619 PyObject
* _argo0
= 0;
5620 char *_kwnames
[] = { "self", NULL
};
5623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
5626 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5627 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5628 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
5633 wxPy_BEGIN_ALLOW_THREADS
;
5634 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
5636 wxPy_END_ALLOW_THREADS
;
5637 } _resultobj
= Py_BuildValue("i",_result
);
5641 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
5642 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5643 PyObject
* _resultobj
;
5646 PyObject
* _argo0
= 0;
5647 char *_kwnames
[] = { "self", NULL
};
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
5653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
5660 wxPy_BEGIN_ALLOW_THREADS
;
5661 _result
= (int )wxJoystick_GetUPosition(_arg0
);
5663 wxPy_END_ALLOW_THREADS
;
5664 } _resultobj
= Py_BuildValue("i",_result
);
5668 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
5669 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5670 PyObject
* _resultobj
;
5673 PyObject
* _argo0
= 0;
5674 char *_kwnames
[] = { "self", NULL
};
5677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
5680 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5681 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5682 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
5687 wxPy_BEGIN_ALLOW_THREADS
;
5688 _result
= (int )wxJoystick_GetVPosition(_arg0
);
5690 wxPy_END_ALLOW_THREADS
;
5691 } _resultobj
= Py_BuildValue("i",_result
);
5695 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
5696 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5697 PyObject
* _resultobj
;
5700 PyObject
* _argo0
= 0;
5701 char *_kwnames
[] = { "self", NULL
};
5704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
5707 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5708 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5709 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
5714 wxPy_BEGIN_ALLOW_THREADS
;
5715 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
5717 wxPy_END_ALLOW_THREADS
;
5718 } _resultobj
= Py_BuildValue("i",_result
);
5722 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
5723 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5724 PyObject
* _resultobj
;
5727 PyObject
* _argo0
= 0;
5728 char *_kwnames
[] = { "self","threshold", NULL
};
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
5734 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5735 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5736 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
5741 wxPy_BEGIN_ALLOW_THREADS
;
5742 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
5744 wxPy_END_ALLOW_THREADS
;
5745 } Py_INCREF(Py_None
);
5746 _resultobj
= Py_None
;
5750 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
5751 static PyObject
*_wrap_wxJoystick_IsOk(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_IsOk",_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_IsOk. Expected _wxJoystick_p.");
5769 wxPy_BEGIN_ALLOW_THREADS
;
5770 _result
= (bool )wxJoystick_IsOk(_arg0
);
5772 wxPy_END_ALLOW_THREADS
;
5773 } _resultobj
= Py_BuildValue("i",_result
);
5777 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
5778 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(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_GetNumberJoysticks",_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_GetNumberJoysticks. Expected _wxJoystick_p.");
5796 wxPy_BEGIN_ALLOW_THREADS
;
5797 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
5799 wxPy_END_ALLOW_THREADS
;
5800 } _resultobj
= Py_BuildValue("i",_result
);
5804 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
5805 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
* _resultobj
;
5809 PyObject
* _argo0
= 0;
5810 char *_kwnames
[] = { "self", NULL
};
5813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
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_GetManufacturerId. Expected _wxJoystick_p.");
5823 wxPy_BEGIN_ALLOW_THREADS
;
5824 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
5826 wxPy_END_ALLOW_THREADS
;
5827 } _resultobj
= Py_BuildValue("i",_result
);
5831 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
5832 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
* _resultobj
;
5836 PyObject
* _argo0
= 0;
5837 char *_kwnames
[] = { "self", NULL
};
5840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
5843 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5844 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5845 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
5850 wxPy_BEGIN_ALLOW_THREADS
;
5851 _result
= (int )wxJoystick_GetProductId(_arg0
);
5853 wxPy_END_ALLOW_THREADS
;
5854 } _resultobj
= Py_BuildValue("i",_result
);
5858 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
5859 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
* _resultobj
;
5863 PyObject
* _argo0
= 0;
5864 char *_kwnames
[] = { "self", NULL
};
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
5870 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5871 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5872 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
5877 wxPy_BEGIN_ALLOW_THREADS
;
5878 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
5880 wxPy_END_ALLOW_THREADS
;
5882 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5890 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
5891 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5892 PyObject
* _resultobj
;
5895 PyObject
* _argo0
= 0;
5896 char *_kwnames
[] = { "self", NULL
};
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
5902 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5903 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5904 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
5909 wxPy_BEGIN_ALLOW_THREADS
;
5910 _result
= (int )wxJoystick_GetXMin(_arg0
);
5912 wxPy_END_ALLOW_THREADS
;
5913 } _resultobj
= Py_BuildValue("i",_result
);
5917 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
5918 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5919 PyObject
* _resultobj
;
5922 PyObject
* _argo0
= 0;
5923 char *_kwnames
[] = { "self", NULL
};
5926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
5929 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5930 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5931 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
5936 wxPy_BEGIN_ALLOW_THREADS
;
5937 _result
= (int )wxJoystick_GetYMin(_arg0
);
5939 wxPy_END_ALLOW_THREADS
;
5940 } _resultobj
= Py_BuildValue("i",_result
);
5944 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
5945 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5946 PyObject
* _resultobj
;
5949 PyObject
* _argo0
= 0;
5950 char *_kwnames
[] = { "self", NULL
};
5953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
5956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
5963 wxPy_BEGIN_ALLOW_THREADS
;
5964 _result
= (int )wxJoystick_GetZMin(_arg0
);
5966 wxPy_END_ALLOW_THREADS
;
5967 } _resultobj
= Py_BuildValue("i",_result
);
5971 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
5972 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
* _resultobj
;
5976 PyObject
* _argo0
= 0;
5977 char *_kwnames
[] = { "self", NULL
};
5980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
5983 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5984 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5985 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
5990 wxPy_BEGIN_ALLOW_THREADS
;
5991 _result
= (int )wxJoystick_GetXMax(_arg0
);
5993 wxPy_END_ALLOW_THREADS
;
5994 } _resultobj
= Py_BuildValue("i",_result
);
5998 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
5999 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6000 PyObject
* _resultobj
;
6003 PyObject
* _argo0
= 0;
6004 char *_kwnames
[] = { "self", NULL
};
6007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
6010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
6017 wxPy_BEGIN_ALLOW_THREADS
;
6018 _result
= (int )wxJoystick_GetYMax(_arg0
);
6020 wxPy_END_ALLOW_THREADS
;
6021 } _resultobj
= Py_BuildValue("i",_result
);
6025 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
6026 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6027 PyObject
* _resultobj
;
6030 PyObject
* _argo0
= 0;
6031 char *_kwnames
[] = { "self", NULL
};
6034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
6037 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6038 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6039 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
6044 wxPy_BEGIN_ALLOW_THREADS
;
6045 _result
= (int )wxJoystick_GetZMax(_arg0
);
6047 wxPy_END_ALLOW_THREADS
;
6048 } _resultobj
= Py_BuildValue("i",_result
);
6052 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
6053 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6054 PyObject
* _resultobj
;
6057 PyObject
* _argo0
= 0;
6058 char *_kwnames
[] = { "self", NULL
};
6061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
6064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
6071 wxPy_BEGIN_ALLOW_THREADS
;
6072 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
6074 wxPy_END_ALLOW_THREADS
;
6075 } _resultobj
= Py_BuildValue("i",_result
);
6079 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
6080 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6081 PyObject
* _resultobj
;
6084 PyObject
* _argo0
= 0;
6085 char *_kwnames
[] = { "self", NULL
};
6088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
6091 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6092 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6093 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
6098 wxPy_BEGIN_ALLOW_THREADS
;
6099 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
6101 wxPy_END_ALLOW_THREADS
;
6102 } _resultobj
= Py_BuildValue("i",_result
);
6106 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
6107 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6108 PyObject
* _resultobj
;
6111 PyObject
* _argo0
= 0;
6112 char *_kwnames
[] = { "self", NULL
};
6115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
6118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
6125 wxPy_BEGIN_ALLOW_THREADS
;
6126 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
6128 wxPy_END_ALLOW_THREADS
;
6129 } _resultobj
= Py_BuildValue("i",_result
);
6133 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
6134 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
* _resultobj
;
6138 PyObject
* _argo0
= 0;
6139 char *_kwnames
[] = { "self", NULL
};
6142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
6145 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6146 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6147 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
6152 wxPy_BEGIN_ALLOW_THREADS
;
6153 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
6155 wxPy_END_ALLOW_THREADS
;
6156 } _resultobj
= Py_BuildValue("i",_result
);
6160 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
6161 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6162 PyObject
* _resultobj
;
6165 PyObject
* _argo0
= 0;
6166 char *_kwnames
[] = { "self", NULL
};
6169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
6172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
6179 wxPy_BEGIN_ALLOW_THREADS
;
6180 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
6182 wxPy_END_ALLOW_THREADS
;
6183 } _resultobj
= Py_BuildValue("i",_result
);
6187 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
6188 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6189 PyObject
* _resultobj
;
6192 PyObject
* _argo0
= 0;
6193 char *_kwnames
[] = { "self", NULL
};
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
6199 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6200 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6201 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
6206 wxPy_BEGIN_ALLOW_THREADS
;
6207 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
6209 wxPy_END_ALLOW_THREADS
;
6210 } _resultobj
= Py_BuildValue("i",_result
);
6214 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
6215 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6216 PyObject
* _resultobj
;
6219 PyObject
* _argo0
= 0;
6220 char *_kwnames
[] = { "self", NULL
};
6223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
6226 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6227 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6228 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
6233 wxPy_BEGIN_ALLOW_THREADS
;
6234 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
6236 wxPy_END_ALLOW_THREADS
;
6237 } _resultobj
= Py_BuildValue("i",_result
);
6241 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
6242 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6243 PyObject
* _resultobj
;
6246 PyObject
* _argo0
= 0;
6247 char *_kwnames
[] = { "self", NULL
};
6250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
6253 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6254 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6255 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
6260 wxPy_BEGIN_ALLOW_THREADS
;
6261 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
6263 wxPy_END_ALLOW_THREADS
;
6264 } _resultobj
= Py_BuildValue("i",_result
);
6268 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
6269 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
* _resultobj
;
6273 PyObject
* _argo0
= 0;
6274 char *_kwnames
[] = { "self", NULL
};
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
6280 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6281 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6282 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
6287 wxPy_BEGIN_ALLOW_THREADS
;
6288 _result
= (int )wxJoystick_GetUMin(_arg0
);
6290 wxPy_END_ALLOW_THREADS
;
6291 } _resultobj
= Py_BuildValue("i",_result
);
6295 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
6296 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6297 PyObject
* _resultobj
;
6300 PyObject
* _argo0
= 0;
6301 char *_kwnames
[] = { "self", NULL
};
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
6307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
6314 wxPy_BEGIN_ALLOW_THREADS
;
6315 _result
= (int )wxJoystick_GetUMax(_arg0
);
6317 wxPy_END_ALLOW_THREADS
;
6318 } _resultobj
= Py_BuildValue("i",_result
);
6322 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
6323 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
* _resultobj
;
6327 PyObject
* _argo0
= 0;
6328 char *_kwnames
[] = { "self", NULL
};
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
6334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
6341 wxPy_BEGIN_ALLOW_THREADS
;
6342 _result
= (int )wxJoystick_GetVMin(_arg0
);
6344 wxPy_END_ALLOW_THREADS
;
6345 } _resultobj
= Py_BuildValue("i",_result
);
6349 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
6350 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6351 PyObject
* _resultobj
;
6354 PyObject
* _argo0
= 0;
6355 char *_kwnames
[] = { "self", NULL
};
6358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
6361 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6362 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6363 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
6368 wxPy_BEGIN_ALLOW_THREADS
;
6369 _result
= (int )wxJoystick_GetVMax(_arg0
);
6371 wxPy_END_ALLOW_THREADS
;
6372 } _resultobj
= Py_BuildValue("i",_result
);
6376 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
6377 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
* _resultobj
;
6381 PyObject
* _argo0
= 0;
6382 char *_kwnames
[] = { "self", NULL
};
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
6388 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6389 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6390 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
6395 wxPy_BEGIN_ALLOW_THREADS
;
6396 _result
= (bool )wxJoystick_HasRudder(_arg0
);
6398 wxPy_END_ALLOW_THREADS
;
6399 } _resultobj
= Py_BuildValue("i",_result
);
6403 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
6404 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
* _resultobj
;
6408 PyObject
* _argo0
= 0;
6409 char *_kwnames
[] = { "self", NULL
};
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
6415 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6416 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6417 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
6422 wxPy_BEGIN_ALLOW_THREADS
;
6423 _result
= (bool )wxJoystick_HasZ(_arg0
);
6425 wxPy_END_ALLOW_THREADS
;
6426 } _resultobj
= Py_BuildValue("i",_result
);
6430 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
6431 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6432 PyObject
* _resultobj
;
6435 PyObject
* _argo0
= 0;
6436 char *_kwnames
[] = { "self", NULL
};
6439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
6442 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6443 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6444 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
6449 wxPy_BEGIN_ALLOW_THREADS
;
6450 _result
= (bool )wxJoystick_HasU(_arg0
);
6452 wxPy_END_ALLOW_THREADS
;
6453 } _resultobj
= Py_BuildValue("i",_result
);
6457 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
6458 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
* _resultobj
;
6462 PyObject
* _argo0
= 0;
6463 char *_kwnames
[] = { "self", NULL
};
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
6469 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6470 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6471 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
6476 wxPy_BEGIN_ALLOW_THREADS
;
6477 _result
= (bool )wxJoystick_HasV(_arg0
);
6479 wxPy_END_ALLOW_THREADS
;
6480 } _resultobj
= Py_BuildValue("i",_result
);
6484 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
6485 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6486 PyObject
* _resultobj
;
6489 PyObject
* _argo0
= 0;
6490 char *_kwnames
[] = { "self", NULL
};
6493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
6496 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6497 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6498 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
6503 wxPy_BEGIN_ALLOW_THREADS
;
6504 _result
= (bool )wxJoystick_HasPOV(_arg0
);
6506 wxPy_END_ALLOW_THREADS
;
6507 } _resultobj
= Py_BuildValue("i",_result
);
6511 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
6512 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6513 PyObject
* _resultobj
;
6516 PyObject
* _argo0
= 0;
6517 char *_kwnames
[] = { "self", NULL
};
6520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
6523 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6524 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6525 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
6530 wxPy_BEGIN_ALLOW_THREADS
;
6531 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
6533 wxPy_END_ALLOW_THREADS
;
6534 } _resultobj
= Py_BuildValue("i",_result
);
6538 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
6539 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
* _resultobj
;
6543 PyObject
* _argo0
= 0;
6544 char *_kwnames
[] = { "self", NULL
};
6547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
6550 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6551 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6552 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
6557 wxPy_BEGIN_ALLOW_THREADS
;
6558 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
6560 wxPy_END_ALLOW_THREADS
;
6561 } _resultobj
= Py_BuildValue("i",_result
);
6565 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
6566 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
* _resultobj
;
6571 int _arg2
= (int ) 0;
6572 PyObject
* _argo0
= 0;
6573 PyObject
* _argo1
= 0;
6574 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
6577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6580 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6581 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6582 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
6587 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6588 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
6594 wxPy_BEGIN_ALLOW_THREADS
;
6595 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
6597 wxPy_END_ALLOW_THREADS
;
6598 } _resultobj
= Py_BuildValue("i",_result
);
6602 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
6603 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
* _resultobj
;
6607 PyObject
* _argo0
= 0;
6608 char *_kwnames
[] = { "self", NULL
};
6611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
6614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
6621 wxPy_BEGIN_ALLOW_THREADS
;
6622 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
6624 wxPy_END_ALLOW_THREADS
;
6625 } _resultobj
= Py_BuildValue("i",_result
);
6629 static PyMethodDef misc2cMethods
[] = {
6630 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
6631 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
6632 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
6633 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
6634 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
6635 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
6636 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
6637 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
6638 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
6639 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
6640 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
6641 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
6642 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
6643 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
6644 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
6645 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
6646 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
6647 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
6648 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
6649 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
6650 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
6651 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
6652 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
6653 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
6654 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
6655 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
6656 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
6657 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
6658 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
6659 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
6660 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
6661 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
6662 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
6663 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
6664 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
6665 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
6666 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
6667 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
6668 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
6669 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
6670 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
6671 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6672 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
6673 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
6674 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
6675 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
6676 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
6677 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
6678 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
6679 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
6680 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
6681 { "wxProcess__setSelf", (PyCFunction
) _wrap_wxProcess__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
6682 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
6683 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
6684 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
6685 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
6686 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
6687 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
6688 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
6689 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
6690 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
6691 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
6692 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
6693 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
6694 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
6695 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
6696 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
6697 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
6698 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
6699 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
6700 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
6701 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
6702 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
6703 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
6704 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
6705 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
6706 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
6707 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
6708 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
6709 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
6710 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
6711 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
6712 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
6713 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
6714 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
6715 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
6716 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
6717 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
6718 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
6719 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
6720 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
6721 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
6722 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
6723 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
6724 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
6725 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
6726 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
6727 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
6728 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
6729 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
6730 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
6731 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
6732 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
6733 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
6734 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
6735 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
6736 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
6737 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
6738 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
6739 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
6740 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
6741 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
6742 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
6743 { "delete_wxMutexGuiLocker", (PyCFunction
) _wrap_delete_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
6744 { "new_wxMutexGuiLocker", (PyCFunction
) _wrap_new_wxMutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
6745 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
6746 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
6747 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
6748 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
6749 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
6750 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
6751 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
6752 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
6753 { "wxFontEnumerator__setSelf", (PyCFunction
) _wrap_wxFontEnumerator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
6754 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
6755 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
6756 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
6757 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
6758 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
6759 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
6760 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
6761 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
6762 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6763 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
6764 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
6765 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6766 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
6767 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
6768 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
6769 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
6770 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
6771 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6772 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
6773 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
6774 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
6775 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
6776 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
6777 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
6778 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
6779 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
6780 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
6781 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
6782 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
6783 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
6784 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
6785 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
6786 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
6787 { "wxDragListItem", (PyCFunction
) _wrap_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
6788 { "wxDragTreeItem", (PyCFunction
) _wrap_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
6789 { "wxDragString", (PyCFunction
) _wrap_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
6790 { "wxDragIcon", (PyCFunction
) _wrap_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
6791 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
6792 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
6793 { "wxThread_IsMain", (PyCFunction
) _wrap_wxThread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
6794 { "wxMutexGuiLeave", (PyCFunction
) _wrap_wxMutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
6795 { "wxMutexGuiEnter", (PyCFunction
) _wrap_wxMutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
6796 { "wxWakeUpMainThread", (PyCFunction
) _wrap_wxWakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
6797 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
6798 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
6799 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
6800 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
6801 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
6802 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
6803 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
6804 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
6805 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
6806 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
6807 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
6808 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
6809 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
6810 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
6811 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
6812 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
6813 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
6814 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
6815 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
6816 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
6817 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
6818 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
6819 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
6820 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
6821 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
6822 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
6823 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
6824 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
6825 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
6826 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
6827 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
6828 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
6829 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
6830 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
6831 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
6832 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
6833 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
6834 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
6841 * This table is used by the pointer type-checker
6843 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6844 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
6845 { "_wxEvent","_class_wxProcessEvent",SwigwxProcessEventTowxEvent
},
6846 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
6847 { "_wxEvent","_class_wxEvent",0},
6848 { "_class_wxActivateEvent","_wxActivateEvent",0},
6849 { "_signed_long","_long",0},
6850 { "_wxMenuEvent","_class_wxMenuEvent",0},
6851 { "_class_wxProcessEvent","_wxProcessEvent",0},
6852 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
6853 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
6854 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
6855 { "_wxWindowDisabler","_class_wxWindowDisabler",0},
6856 { "_wxPrintQuality","_wxCoord",0},
6857 { "_wxPrintQuality","_int",0},
6858 { "_wxPrintQuality","_signed_int",0},
6859 { "_wxPrintQuality","_unsigned_int",0},
6860 { "_wxPrintQuality","_wxWindowID",0},
6861 { "_wxPrintQuality","_uint",0},
6862 { "_wxPrintQuality","_EBool",0},
6863 { "_wxPrintQuality","_size_t",0},
6864 { "_wxPrintQuality","_time_t",0},
6865 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
6866 { "_class_wxRegionIterator","_wxRegionIterator",0},
6867 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
6868 { "_class_wxMenuBar","_wxMenuBar",0},
6869 { "_class_wxEvtHandler","_class_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
6870 { "_class_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
6871 { "_class_wxEvtHandler","_wxEvtHandler",0},
6872 { "_wxPaintEvent","_class_wxPaintEvent",0},
6873 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
6874 { "_wxCursor","_class_wxCursor",0},
6875 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
6876 { "_wxPyProcess","_class_wxPyProcess",0},
6877 { "_wxMutexGuiLocker","_class_wxMutexGuiLocker",0},
6878 { "_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog
},
6879 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
6880 { "_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog
},
6881 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
6882 { "_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
6883 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
6884 { "_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog
},
6885 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
6886 { "_wxLog","_class_wxLog",0},
6887 { "_wxMask","_class_wxMask",0},
6888 { "_wxToolTip","_class_wxToolTip",0},
6889 { "_wxPen","_class_wxPen",0},
6890 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
6891 { "_byte","_unsigned_char",0},
6892 { "_wxDataObject","_class_wxDataObject",0},
6893 { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
6894 { "_wxColourDatabase","_class_wxColourDatabase",0},
6895 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
6896 { "_wxPyDropSource","_class_wxPyDropSource",0},
6897 { "_long","_unsigned_long",0},
6898 { "_long","_signed_long",0},
6899 { "_wxImageList","_class_wxImageList",0},
6900 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
6901 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
6902 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
6903 { "_class_wxClipboard","_wxClipboard",0},
6904 { "_wxDC","_class_wxDC",0},
6905 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
6906 { "_wxSpinEvent","_class_wxSpinEvent",0},
6907 { "_size_t","_wxCoord",0},
6908 { "_size_t","_wxPrintQuality",0},
6909 { "_size_t","_time_t",0},
6910 { "_size_t","_unsigned_int",0},
6911 { "_size_t","_int",0},
6912 { "_size_t","_wxWindowID",0},
6913 { "_size_t","_uint",0},
6914 { "_class_wxRealPoint","_wxRealPoint",0},
6915 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
6916 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
6917 { "_wxLogGui","_class_wxLogGui",0},
6918 { "_class_wxMenuItem","_wxMenuItem",0},
6919 { "_class_wxPaintEvent","_wxPaintEvent",0},
6920 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
6921 { "_wxPanel","_class_wxPanel",0},
6922 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
6923 { "_wxPyEvent","_class_wxPyEvent",0},
6924 { "_class_wxMask","_wxMask",0},
6925 { "_wxTextDataObject","_class_wxTextDataObject",0},
6926 { "_class_wxKeyEvent","_wxKeyEvent",0},
6927 { "_class_wxToolTip","_wxToolTip",0},
6928 { "_wxColour","_class_wxColour",0},
6929 { "_class_wxDialog","_wxDialog",0},
6930 { "_wxBusyCursor","_class_wxBusyCursor",0},
6931 { "_class_wxFileDataObject","_wxFileDataObject",0},
6932 { "_wxIdleEvent","_class_wxIdleEvent",0},
6933 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
6934 { "_class_wxDataObject","_wxDataObject",0},
6935 { "_wxCaret","_class_wxCaret",0},
6936 { "_wxBrush","_class_wxBrush",0},
6937 { "_wxDataFormat","_class_wxDataFormat",0},
6938 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
6939 { "_wxShowEvent","_class_wxShowEvent",0},
6940 { "_uint","_wxCoord",0},
6941 { "_uint","_wxPrintQuality",0},
6942 { "_uint","_time_t",0},
6943 { "_uint","_size_t",0},
6944 { "_uint","_unsigned_int",0},
6945 { "_uint","_int",0},
6946 { "_uint","_wxWindowID",0},
6947 { "_wxChar","_char",0},
6948 { "_wxPyValidator","_class_wxPyValidator",0},
6949 { "_class_wxEvent","_class_wxProcessEvent",SwigwxProcessEventTowxEvent
},
6950 { "_class_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
6951 { "_class_wxEvent","_wxEvent",0},
6952 { "_wxRect","_class_wxRect",0},
6953 { "_wxCommandEvent","_class_wxCommandEvent",0},
6954 { "_wxSizeEvent","_class_wxSizeEvent",0},
6955 { "_class_wxLogWindow","_wxLogWindow",0},
6956 { "_wxPoint","_class_wxPoint",0},
6957 { "_class_wxWindowDisabler","_wxWindowDisabler",0},
6958 { "_char","_wxChar",0},
6959 { "_wxBitmap","_class_wxBitmap",0},
6960 { "_wxPenList","_class_wxPenList",0},
6961 { "_wxWindowDC","_class_wxWindowDC",0},
6962 { "_wxTimerEvent","_class_wxTimerEvent",0},
6963 { "_wxPyTimer","_class_wxPyTimer",0},
6964 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
6965 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
6966 { "_class_wxValidator","_wxValidator",0},
6967 { "_class_wxPyEvent","_wxPyEvent",0},
6968 { "_class_wxMutexGuiLocker","_wxMutexGuiLocker",0},
6969 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
6970 { "_class_wxBusyCursor","_wxBusyCursor",0},
6971 { "_wxDropTarget","_class_wxDropTarget",0},
6972 { "_class_wxColourDatabase","_wxColourDatabase",0},
6973 { "_wxScrollEvent","_class_wxScrollEvent",0},
6974 { "_EBool","_wxCoord",0},
6975 { "_EBool","_wxPrintQuality",0},
6976 { "_EBool","_signed_int",0},
6977 { "_EBool","_int",0},
6978 { "_EBool","_wxWindowID",0},
6979 { "_class_wxRegion","_wxRegion",0},
6980 { "_class_wxDataFormat","_wxDataFormat",0},
6981 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
6982 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
6983 { "_wxFont","_class_wxFont",0},
6984 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
6985 { "_wxCloseEvent","_class_wxCloseEvent",0},
6986 { "_wxProcessEvent","_class_wxProcessEvent",0},
6987 { "_unsigned_long","_long",0},
6988 { "_class_wxRect","_wxRect",0},
6989 { "_class_wxDC","_wxDC",0},
6990 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
6991 { "_wxGenericDragImage","_class_wxGenericDragImage",0},
6992 { "_class_wxBrushList","_wxBrushList",0},
6993 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
6994 { "_wxPyInputStream","_class_wxPyInputStream",0},
6995 { "_class_wxPenList","_wxPenList",0},
6996 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
6997 { "_class_wxOutputStream","_wxOutputStream",0},
6998 { "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
6999 { "_wxFocusEvent","_class_wxFocusEvent",0},
7000 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
7001 { "_class_wxTimerEvent","_wxTimerEvent",0},
7002 { "_class_wxPyTimer","_wxPyTimer",0},
7003 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
7004 { "_class_wxPanel","_wxPanel",0},
7005 { "_signed_int","_wxCoord",0},
7006 { "_signed_int","_wxPrintQuality",0},
7007 { "_signed_int","_EBool",0},
7008 { "_signed_int","_wxWindowID",0},
7009 { "_signed_int","_int",0},
7010 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
7011 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
7012 { "_class_wxTextDataObject","_wxTextDataObject",0},
7013 { "_wxMenu","_class_wxMenu",0},
7014 { "_class_wxMoveEvent","_wxMoveEvent",0},
7015 { "_wxScreenDC","_class_wxScreenDC",0},
7016 { "_WXTYPE","_short",0},
7017 { "_WXTYPE","_signed_short",0},
7018 { "_WXTYPE","_unsigned_short",0},
7019 { "_class_wxDropTarget","_wxDropTarget",0},
7020 { "_class_wxCaret","_wxCaret",0},
7021 { "_class_wxBrush","_wxBrush",0},
7022 { "_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7023 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7024 { "_wxTipProvider","_class_wxTipProvider",0},
7025 { "_unsigned_short","_WXTYPE",0},
7026 { "_unsigned_short","_short",0},
7027 { "_class_wxWindow","_wxWindow",0},
7028 { "_class_wxLogStderr","_wxLogStderr",0},
7029 { "_class_wxFont","_wxFont",0},
7030 { "_wxClipboard","_class_wxClipboard",0},
7031 { "_class_wxPyValidator","_wxPyValidator",0},
7032 { "_class_wxCloseEvent","_wxCloseEvent",0},
7033 { "_wxBusyInfo","_class_wxBusyInfo",0},
7034 { "_wxFontList","_class_wxFontList",0},
7035 { "_class_wxMenuEvent","_wxMenuEvent",0},
7036 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
7037 { "_wxJoystick","_class_wxJoystick",0},
7038 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
7039 { "_wxClientDC","_class_wxClientDC",0},
7040 { "_wxMouseEvent","_class_wxMouseEvent",0},
7041 { "_class_wxGenericDragImage","_wxGenericDragImage",0},
7042 { "_class_wxPoint","_wxPoint",0},
7043 { "_class_wxPyInputStream","_wxPyInputStream",0},
7044 { "_wxRealPoint","_class_wxRealPoint",0},
7045 { "_signed_short","_WXTYPE",0},
7046 { "_signed_short","_short",0},
7047 { "_wxMemoryDC","_class_wxMemoryDC",0},
7048 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
7049 { "_wxPaintDC","_class_wxPaintDC",0},
7050 { "_class_wxWindowDC","_wxWindowDC",0},
7051 { "_class_wxFocusEvent","_wxFocusEvent",0},
7052 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
7053 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
7054 { "_class_wxCursor","_wxCursor",0},
7055 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
7056 { "_class_wxPyProcess","_wxPyProcess",0},
7057 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
7058 { "_class_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog
},
7059 { "_class_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
7060 { "_class_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog
},
7061 { "_class_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
7062 { "_class_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7063 { "_class_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
7064 { "_class_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog
},
7065 { "_class_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
7066 { "_class_wxLog","_wxLog",0},
7067 { "_unsigned_char","_byte",0},
7068 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
7069 { "_class_wxMenu","_wxMenu",0},
7070 { "_unsigned_int","_wxCoord",0},
7071 { "_unsigned_int","_wxPrintQuality",0},
7072 { "_unsigned_int","_time_t",0},
7073 { "_unsigned_int","_size_t",0},
7074 { "_unsigned_int","_uint",0},
7075 { "_unsigned_int","_wxWindowID",0},
7076 { "_unsigned_int","_int",0},
7077 { "_wxIcon","_class_wxIcon",0},
7078 { "_wxDialog","_class_wxDialog",0},
7079 { "_class_wxPen","_wxPen",0},
7080 { "_short","_WXTYPE",0},
7081 { "_short","_unsigned_short",0},
7082 { "_short","_signed_short",0},
7083 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
7084 { "_class_wxPyDropSource","_wxPyDropSource",0},
7085 { "_class_wxScrollEvent","_wxScrollEvent",0},
7086 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
7087 { "_class_wxImageList","_wxImageList",0},
7088 { "_wxPyTipProvider","_class_wxPyTipProvider",0},
7089 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
7090 { "_wxWindowID","_wxCoord",0},
7091 { "_wxWindowID","_wxPrintQuality",0},
7092 { "_wxWindowID","_time_t",0},
7093 { "_wxWindowID","_size_t",0},
7094 { "_wxWindowID","_EBool",0},
7095 { "_wxWindowID","_uint",0},
7096 { "_wxWindowID","_int",0},
7097 { "_wxWindowID","_signed_int",0},
7098 { "_wxWindowID","_unsigned_int",0},
7099 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
7100 { "_int","_wxCoord",0},
7101 { "_int","_wxPrintQuality",0},
7102 { "_int","_time_t",0},
7103 { "_int","_size_t",0},
7104 { "_int","_EBool",0},
7105 { "_int","_uint",0},
7106 { "_int","_wxWindowID",0},
7107 { "_int","_unsigned_int",0},
7108 { "_int","_signed_int",0},
7109 { "_class_wxMouseEvent","_wxMouseEvent",0},
7110 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
7111 { "_wxLogWindow","_class_wxLogWindow",0},
7112 { "_class_wxSpinEvent","_wxSpinEvent",0},
7113 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
7114 { "_time_t","_wxCoord",0},
7115 { "_time_t","_wxPrintQuality",0},
7116 { "_time_t","_unsigned_int",0},
7117 { "_time_t","_int",0},
7118 { "_time_t","_wxWindowID",0},
7119 { "_time_t","_uint",0},
7120 { "_time_t","_size_t",0},
7121 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
7122 { "_wxLogNull","_class_wxLogNull",0},
7123 { "_wxSize","_class_wxSize",0},
7124 { "_wxRegionIterator","_class_wxRegionIterator",0},
7125 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
7126 { "_class_wxLogTextCtrl","_wxLogTextCtrl",0},
7127 { "_class_wxLogGui","_wxLogGui",0},
7128 { "_class_wxPaintDC","_wxPaintDC",0},
7129 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
7130 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
7131 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
7132 { "_wxValidator","_class_wxValidator",0},
7133 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
7134 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
7135 { "_class_wxIcon","_wxIcon",0},
7136 { "_class_wxColour","_wxColour",0},
7137 { "_class_wxScreenDC","_wxScreenDC",0},
7138 { "_wxPalette","_class_wxPalette",0},
7139 { "_class_wxIdleEvent","_wxIdleEvent",0},
7140 { "_wxCoord","_int",0},
7141 { "_wxCoord","_signed_int",0},
7142 { "_wxCoord","_unsigned_int",0},
7143 { "_wxCoord","_wxWindowID",0},
7144 { "_wxCoord","_uint",0},
7145 { "_wxCoord","_EBool",0},
7146 { "_wxCoord","_size_t",0},
7147 { "_wxCoord","_time_t",0},
7148 { "_wxCoord","_wxPrintQuality",0},
7149 { "_wxEraseEvent","_class_wxEraseEvent",0},
7150 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
7151 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
7152 { "_class_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7153 { "_class_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7154 { "_class_wxTipProvider","_wxTipProvider",0},
7155 { "_wxRegion","_class_wxRegion",0},
7156 { "_class_wxShowEvent","_wxShowEvent",0},
7157 { "_class_wxPyTipProvider","_wxPyTipProvider",0},
7158 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
7159 { "_wxActivateEvent","_class_wxActivateEvent",0},
7160 { "_class_wxBusyInfo","_wxBusyInfo",0},
7161 { "_class_wxFontList","_wxFontList",0},
7162 { "_class_wxJoystick","_wxJoystick",0},
7163 { "_class_wxCommandEvent","_wxCommandEvent",0},
7164 { "_class_wxClientDC","_wxClientDC",0},
7165 { "_class_wxSizeEvent","_wxSizeEvent",0},
7166 { "_wxBrushList","_class_wxBrushList",0},
7167 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
7168 { "_class_wxLogNull","_wxLogNull",0},
7169 { "_class_wxSize","_wxSize",0},
7170 { "_class_wxBitmap","_wxBitmap",0},
7171 { "_class_wxMemoryDC","_wxMemoryDC",0},
7172 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
7173 { "_wxMenuBar","_class_wxMenuBar",0},
7174 { "_wxOutputStream","_class_wxOutputStream",0},
7175 { "_wxEvtHandler","_class_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7176 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7177 { "_wxEvtHandler","_class_wxEvtHandler",0},
7178 { "_wxMenuItem","_class_wxMenuItem",0},
7179 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
7180 { "_wxKeyEvent","_class_wxKeyEvent",0},
7181 { "_wxMoveEvent","_class_wxMoveEvent",0},
7182 { "_class_wxPalette","_wxPalette",0},
7183 { "_wxFileDataObject","_class_wxFileDataObject",0},
7184 { "_class_wxEraseEvent","_wxEraseEvent",0},
7185 { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
7186 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
7187 { "_wxWindow","_class_wxWindow",0},
7188 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
7189 { "_wxLogStderr","_class_wxLogStderr",0},
7192 static PyObject
*SWIG_globals
;
7196 SWIGEXPORT(void) initmisc2c() {
7198 SWIG_globals
= SWIG_newvarlink();
7199 m
= Py_InitModule("misc2c", misc2cMethods
);
7200 d
= PyModule_GetDict(m
);
7201 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
7202 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
7203 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
7204 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
7205 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
7206 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
7207 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
7208 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
7209 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
7210 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
7211 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
7212 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
7213 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
7214 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
7215 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
7216 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
7217 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
7218 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
7219 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
7220 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
7221 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
7222 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
7223 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
7224 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
7225 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
7226 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
7227 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
7228 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
7229 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
7230 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
7231 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
7232 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
7233 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
7234 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
7235 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
7236 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
7237 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
7238 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
7239 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
7240 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
7241 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
7242 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
7243 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
7244 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
7245 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
7246 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
7247 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
7248 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
7249 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
7250 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
7251 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
7252 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
7253 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
7254 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
7255 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
7256 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
7257 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
7258 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
7259 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
7260 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
7261 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
7262 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
7263 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
7264 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
7265 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
7266 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
7267 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
7268 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
7269 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
7270 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
7271 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
7272 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
7273 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
7274 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
7275 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
7276 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
7277 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
7278 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
7279 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
7280 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
7281 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
7282 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
7283 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
7284 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
7285 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
7286 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
7287 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
7288 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
7289 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
7290 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
7291 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
7292 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
7293 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
7294 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
7295 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
7296 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
7297 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
7300 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7301 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);