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 class wxPyTipProvider
: public wxTipProvider
{
163 wxPyTipProvider(size_t currentTip
)
164 : wxTipProvider(currentTip
) {}
166 DEC_PYCALLBACK_STRING__pure(GetTip
);
171 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
174 #include <wx/generic/dragimgg.h>
175 static wxPoint wxPyNullPoint
;
178 wxGenericDragImage
* wxDragIcon(const wxIcon
& image
,
179 const wxCursor
& cursor
,
180 const wxPoint
& hotspot
) {
181 return new wxGenericDragImage(image
, cursor
, hotspot
);
184 wxGenericDragImage
* wxDragString(const wxString
& str
,
185 const wxCursor
& cursor
,
186 const wxPoint
& hotspot
) {
187 return new wxGenericDragImage(str
, cursor
, hotspot
);
190 wxGenericDragImage
* wxDragTreeItem(const wxTreeCtrl
& treeCtrl
, wxTreeItemId
& id
) {
191 return new wxGenericDragImage(treeCtrl
, id
);
194 wxGenericDragImage
* wxDragListItem(const wxListCtrl
& listCtrl
, long id
) {
195 return new wxGenericDragImage(listCtrl
, id
);
198 // C++ version of wxProcess derived class
200 class wxPyProcess
: public wxProcess
{
202 wxPyProcess(wxEvtHandler
*parent
= NULL
, int id
= -1)
203 : wxProcess(parent
, id
)
206 DEC_PYCALLBACK_VOID_INTINT(OnTerminate
);
211 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
215 static PyObject
*_wrap_wxFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
216 PyObject
* _resultobj
;
219 char * _arg1
= (char *) NULL
;
220 char * _arg2
= (char *) NULL
;
221 char * _arg3
= (char *) NULL
;
222 char * _arg4
= (char *) "*.*";
223 int _arg5
= (int ) 0;
224 wxWindow
* _arg6
= (wxWindow
*) NULL
;
225 int _arg7
= (int ) -1;
226 int _arg8
= (int ) -1;
227 PyObject
* _argo6
= 0;
228 char *_kwnames
[] = { "message","default_path","default_filename","default_extension","wildcard","flags","parent","x","y", NULL
};
231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|ssssiOii:wxFileSelector",_kwnames
,&_arg0
,&_arg1
,&_arg2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_arg7
,&_arg8
))
234 if (_argo6
== Py_None
) { _arg6
= NULL
; }
235 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxFileSelector. Expected _wxWindow_p.");
241 wxPy_BEGIN_ALLOW_THREADS
;
242 _result
= new wxString (wxFileSelector(_arg0
,_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
));
244 wxPy_END_ALLOW_THREADS
;
246 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
254 static PyObject
*_wrap_wxGetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
255 PyObject
* _resultobj
;
258 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
259 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
260 wxWindow
* _arg3
= (wxWindow
*) NULL
;
261 int _arg4
= (int ) -1;
262 int _arg5
= (int ) -1;
263 bool _arg6
= (bool ) TRUE
;
264 PyObject
* _obj0
= 0;
265 PyObject
* _obj1
= 0;
266 PyObject
* _obj2
= 0;
267 PyObject
* _argo3
= 0;
268 int tempbool6
= (int) TRUE
;
269 char *_kwnames
[] = { "message","caption","default_value","parent","x","y","centre", NULL
};
272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOOiii:wxGetTextFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
,&_arg4
,&_arg5
,&tempbool6
))
275 #if PYTHON_API_VERSION >= 1009
276 char* tmpPtr
; int tmpSize
;
277 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
278 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
281 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
283 _arg0
= new wxString(tmpPtr
, tmpSize
);
285 if (!PyString_Check(_obj0
)) {
286 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
289 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
294 #if PYTHON_API_VERSION >= 1009
295 char* tmpPtr
; int tmpSize
;
296 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
297 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
300 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
302 _arg1
= new wxString(tmpPtr
, tmpSize
);
304 if (!PyString_Check(_obj1
)) {
305 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
308 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
313 #if PYTHON_API_VERSION >= 1009
314 char* tmpPtr
; int tmpSize
;
315 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
316 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
319 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
321 _arg2
= new wxString(tmpPtr
, tmpSize
);
323 if (!PyString_Check(_obj2
)) {
324 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
327 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
331 if (_argo3
== Py_None
) { _arg3
= NULL
; }
332 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
333 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetTextFromUser. Expected _wxWindow_p.");
337 _arg6
= (bool ) tempbool6
;
339 wxPy_BEGIN_ALLOW_THREADS
;
340 _result
= new wxString (wxGetTextFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
));
342 wxPy_END_ALLOW_THREADS
;
344 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
364 static PyObject
*_wrap_wxGetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
365 PyObject
* _resultobj
;
368 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
369 wxString
* _arg2
= (wxString
*) &wxPyEmptyStr
;
370 wxWindow
* _arg3
= (wxWindow
*) NULL
;
371 PyObject
* _obj0
= 0;
372 PyObject
* _obj1
= 0;
373 PyObject
* _obj2
= 0;
374 PyObject
* _argo3
= 0;
375 char *_kwnames
[] = { "message","caption","default_value","parent", NULL
};
378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OOO:wxGetPasswordFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_argo3
))
381 #if PYTHON_API_VERSION >= 1009
382 char* tmpPtr
; int tmpSize
;
383 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
384 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
387 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
389 _arg0
= new wxString(tmpPtr
, tmpSize
);
391 if (!PyString_Check(_obj0
)) {
392 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
395 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
400 #if PYTHON_API_VERSION >= 1009
401 char* tmpPtr
; int tmpSize
;
402 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
403 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
406 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
408 _arg1
= new wxString(tmpPtr
, tmpSize
);
410 if (!PyString_Check(_obj1
)) {
411 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
414 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
419 #if PYTHON_API_VERSION >= 1009
420 char* tmpPtr
; int tmpSize
;
421 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
422 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
425 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
427 _arg2
= new wxString(tmpPtr
, tmpSize
);
429 if (!PyString_Check(_obj2
)) {
430 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
433 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
437 if (_argo3
== Py_None
) { _arg3
= NULL
; }
438 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxGetPasswordFromUser. Expected _wxWindow_p.");
444 wxPy_BEGIN_ALLOW_THREADS
;
445 _result
= new wxString (wxGetPasswordFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
));
447 wxPy_END_ALLOW_THREADS
;
449 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
469 static PyObject
*_wrap_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
470 PyObject
* _resultobj
;
476 wxWindow
* _arg4
= (wxWindow
*) NULL
;
477 int _arg5
= (int ) -1;
478 int _arg6
= (int ) -1;
479 bool _arg7
= (bool ) TRUE
;
480 int _arg8
= (int ) 150;
481 int _arg9
= (int ) 200;
482 PyObject
* _obj0
= 0;
483 PyObject
* _obj1
= 0;
484 PyObject
* _obj3
= 0;
485 PyObject
* _argo4
= 0;
486 int tempbool7
= (int) TRUE
;
487 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
493 #if PYTHON_API_VERSION >= 1009
494 char* tmpPtr
; int tmpSize
;
495 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
496 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
499 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
501 _arg0
= new wxString(tmpPtr
, tmpSize
);
503 if (!PyString_Check(_obj0
)) {
504 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
507 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
511 #if PYTHON_API_VERSION >= 1009
512 char* tmpPtr
; int tmpSize
;
513 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
514 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
517 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
519 _arg1
= new wxString(tmpPtr
, tmpSize
);
521 if (!PyString_Check(_obj1
)) {
522 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
525 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
530 _arg3
= wxString_LIST_helper(_obj3
);
536 if (_argo4
== Py_None
) { _arg4
= NULL
; }
537 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
538 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
542 _arg7
= (bool ) tempbool7
;
545 _arg2
= PyList_Size(_obj3
);
552 wxPy_BEGIN_ALLOW_THREADS
;
553 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
555 wxPy_END_ALLOW_THREADS
;
557 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
576 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
577 PyObject
* _resultobj
;
583 wxWindow
* _arg4
= (wxWindow
*) NULL
;
584 int _arg5
= (int ) -1;
585 int _arg6
= (int ) -1;
586 bool _arg7
= (bool ) TRUE
;
587 int _arg8
= (int ) 150;
588 int _arg9
= (int ) 200;
589 PyObject
* _obj0
= 0;
590 PyObject
* _obj1
= 0;
591 PyObject
* _obj3
= 0;
592 PyObject
* _argo4
= 0;
593 int tempbool7
= (int) TRUE
;
594 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
600 #if PYTHON_API_VERSION >= 1009
601 char* tmpPtr
; int tmpSize
;
602 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
603 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
606 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
608 _arg0
= new wxString(tmpPtr
, tmpSize
);
610 if (!PyString_Check(_obj0
)) {
611 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
614 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
618 #if PYTHON_API_VERSION >= 1009
619 char* tmpPtr
; int tmpSize
;
620 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
621 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
624 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
626 _arg1
= new wxString(tmpPtr
, tmpSize
);
628 if (!PyString_Check(_obj1
)) {
629 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
632 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
637 _arg3
= wxString_LIST_helper(_obj3
);
643 if (_argo4
== Py_None
) { _arg4
= NULL
; }
644 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
649 _arg7
= (bool ) tempbool7
;
652 _arg2
= PyList_Size(_obj3
);
659 wxPy_BEGIN_ALLOW_THREADS
;
660 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
662 wxPy_END_ALLOW_THREADS
;
663 } _resultobj
= Py_BuildValue("i",_result
);
678 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
679 PyObject
* _resultobj
;
682 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
683 int _arg2
= (int ) wxOK
|wxCENTRE
;
684 wxWindow
* _arg3
= (wxWindow
*) NULL
;
685 int _arg4
= (int ) -1;
686 int _arg5
= (int ) -1;
687 PyObject
* _obj0
= 0;
688 PyObject
* _obj1
= 0;
689 PyObject
* _argo3
= 0;
690 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
696 #if PYTHON_API_VERSION >= 1009
697 char* tmpPtr
; int tmpSize
;
698 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
699 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
702 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
704 _arg0
= new wxString(tmpPtr
, tmpSize
);
706 if (!PyString_Check(_obj0
)) {
707 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
710 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
715 #if PYTHON_API_VERSION >= 1009
716 char* tmpPtr
; int tmpSize
;
717 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
718 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
721 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
723 _arg1
= new wxString(tmpPtr
, tmpSize
);
725 if (!PyString_Check(_obj1
)) {
726 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
729 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
733 if (_argo3
== Py_None
) { _arg3
= NULL
; }
734 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
735 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
740 wxPy_BEGIN_ALLOW_THREADS
;
741 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
743 wxPy_END_ALLOW_THREADS
;
744 } _resultobj
= Py_BuildValue("i",_result
);
756 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
757 PyObject
* _resultobj
;
763 long _arg4
= (long ) 0;
764 long _arg5
= (long ) 100;
765 wxWindow
* _arg6
= (wxWindow
*) NULL
;
766 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
767 PyObject
* _obj0
= 0;
768 PyObject
* _obj1
= 0;
769 PyObject
* _obj2
= 0;
770 PyObject
* _argo6
= 0;
772 PyObject
* _obj7
= 0;
773 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
779 #if PYTHON_API_VERSION >= 1009
780 char* tmpPtr
; int tmpSize
;
781 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
782 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
785 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
787 _arg0
= new wxString(tmpPtr
, tmpSize
);
789 if (!PyString_Check(_obj0
)) {
790 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
793 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
797 #if PYTHON_API_VERSION >= 1009
798 char* tmpPtr
; int tmpSize
;
799 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
800 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
803 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
805 _arg1
= new wxString(tmpPtr
, tmpSize
);
807 if (!PyString_Check(_obj1
)) {
808 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
811 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
815 #if PYTHON_API_VERSION >= 1009
816 char* tmpPtr
; int tmpSize
;
817 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
818 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
821 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
823 _arg2
= new wxString(tmpPtr
, tmpSize
);
825 if (!PyString_Check(_obj2
)) {
826 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
829 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
833 if (_argo6
== Py_None
) { _arg6
= NULL
; }
834 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
835 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
842 if (! wxPoint_helper(_obj7
, &_arg7
))
846 wxPy_BEGIN_ALLOW_THREADS
;
847 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
849 wxPy_END_ALLOW_THREADS
;
850 } _resultobj
= Py_BuildValue("l",_result
);
866 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
867 PyObject
* _resultobj
;
869 char *_kwnames
[] = { NULL
};
872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
875 wxPy_BEGIN_ALLOW_THREADS
;
876 _result
= (bool )wxColourDisplay();
878 wxPy_END_ALLOW_THREADS
;
879 } _resultobj
= Py_BuildValue("i",_result
);
883 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
884 PyObject
* _resultobj
;
886 char *_kwnames
[] = { NULL
};
889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
892 wxPy_BEGIN_ALLOW_THREADS
;
893 _result
= (int )wxDisplayDepth();
895 wxPy_END_ALLOW_THREADS
;
896 } _resultobj
= Py_BuildValue("i",_result
);
900 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
901 PyObject
* _resultobj
;
903 char *_kwnames
[] = { NULL
};
906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
909 wxPy_BEGIN_ALLOW_THREADS
;
910 _result
= (int )wxGetDisplayDepth();
912 wxPy_END_ALLOW_THREADS
;
913 } _resultobj
= Py_BuildValue("i",_result
);
917 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
918 PyObject
* _resultobj
;
923 char *_kwnames
[] = { NULL
};
932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
935 wxPy_BEGIN_ALLOW_THREADS
;
936 wxDisplaySize(_arg0
,_arg1
);
938 wxPy_END_ALLOW_THREADS
;
939 } Py_INCREF(Py_None
);
940 _resultobj
= Py_None
;
943 o
= PyInt_FromLong((long) (*_arg0
));
944 _resultobj
= t_output_helper(_resultobj
, o
);
948 o
= PyInt_FromLong((long) (*_arg1
));
949 _resultobj
= t_output_helper(_resultobj
, o
);
954 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
955 PyObject
* _resultobj
;
957 char *_kwnames
[] = { NULL
};
961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
964 wxPy_BEGIN_ALLOW_THREADS
;
965 _result
= new wxSize (wxGetDisplaySize());
967 wxPy_END_ALLOW_THREADS
;
968 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
969 _resultobj
= Py_BuildValue("s",_ptemp
);
973 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
974 PyObject
* _resultobj
;
979 char *_kwnames
[] = { NULL
};
988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
991 wxPy_BEGIN_ALLOW_THREADS
;
992 wxDisplaySizeMM(_arg0
,_arg1
);
994 wxPy_END_ALLOW_THREADS
;
995 } Py_INCREF(Py_None
);
996 _resultobj
= Py_None
;
999 o
= PyInt_FromLong((long) (*_arg0
));
1000 _resultobj
= t_output_helper(_resultobj
, o
);
1004 o
= PyInt_FromLong((long) (*_arg1
));
1005 _resultobj
= t_output_helper(_resultobj
, o
);
1010 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1011 PyObject
* _resultobj
;
1013 char *_kwnames
[] = { NULL
};
1017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
1020 wxPy_BEGIN_ALLOW_THREADS
;
1021 _result
= new wxSize (wxGetDisplaySizeMM());
1023 wxPy_END_ALLOW_THREADS
;
1024 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
1025 _resultobj
= Py_BuildValue("s",_ptemp
);
1029 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1030 PyObject
* _resultobj
;
1032 PyObject
* _argo0
= 0;
1033 char *_kwnames
[] = { "cursor", NULL
};
1036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
1039 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1040 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
1046 wxPy_BEGIN_ALLOW_THREADS
;
1047 wxSetCursor(*_arg0
);
1049 wxPy_END_ALLOW_THREADS
;
1050 } Py_INCREF(Py_None
);
1051 _resultobj
= Py_None
;
1055 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1056 PyObject
* _resultobj
;
1059 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1060 PyObject
* _obj0
= 0;
1061 PyObject
* _argo1
= 0;
1062 char *_kwnames
[] = { "label","parent", NULL
};
1066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
1069 #if PYTHON_API_VERSION >= 1009
1070 char* tmpPtr
; int tmpSize
;
1071 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1072 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1075 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1077 _arg0
= new wxString(tmpPtr
, tmpSize
);
1079 if (!PyString_Check(_obj0
)) {
1080 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1083 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1087 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1088 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1089 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
1094 wxPy_BEGIN_ALLOW_THREADS
;
1095 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
1097 wxPy_END_ALLOW_THREADS
;
1099 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1100 _resultobj
= Py_BuildValue("s",_ptemp
);
1103 _resultobj
= Py_None
;
1112 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1113 PyObject
* _resultobj
;
1116 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1117 PyObject
* _obj0
= 0;
1118 PyObject
* _argo1
= 0;
1119 char *_kwnames
[] = { "name","parent", NULL
};
1123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1126 #if PYTHON_API_VERSION >= 1009
1127 char* tmpPtr
; int tmpSize
;
1128 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1129 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1132 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1134 _arg0
= new wxString(tmpPtr
, tmpSize
);
1136 if (!PyString_Check(_obj0
)) {
1137 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1140 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1144 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1145 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1146 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1151 wxPy_BEGIN_ALLOW_THREADS
;
1152 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1154 wxPy_END_ALLOW_THREADS
;
1156 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1157 _resultobj
= Py_BuildValue("s",_ptemp
);
1160 _resultobj
= Py_None
;
1169 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1170 PyObject
* _resultobj
;
1171 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1172 PyObject
* _argo0
= 0;
1173 char *_kwnames
[] = { "cursor", NULL
};
1176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1179 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1180 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1181 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1186 wxPy_BEGIN_ALLOW_THREADS
;
1187 wxBeginBusyCursor(_arg0
);
1189 wxPy_END_ALLOW_THREADS
;
1190 } Py_INCREF(Py_None
);
1191 _resultobj
= Py_None
;
1195 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1196 PyObject
* _resultobj
;
1198 char *_kwnames
[] = { NULL
};
1202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1205 wxPy_BEGIN_ALLOW_THREADS
;
1206 _result
= (wxWindow
*)wxGetActiveWindow();
1208 wxPy_END_ALLOW_THREADS
;
1210 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1211 _resultobj
= Py_BuildValue("s",_ptemp
);
1214 _resultobj
= Py_None
;
1219 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1220 PyObject
* _resultobj
;
1224 char *_kwnames
[] = { "name","value", NULL
};
1227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1230 wxPy_BEGIN_ALLOW_THREADS
;
1231 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1233 wxPy_END_ALLOW_THREADS
;
1234 } _resultobj
= Py_BuildValue("i",_result
);
1238 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1239 PyObject
* _resultobj
;
1240 char *_kwnames
[] = { NULL
};
1243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1246 wxPy_BEGIN_ALLOW_THREADS
;
1249 wxPy_END_ALLOW_THREADS
;
1250 } Py_INCREF(Py_None
);
1251 _resultobj
= Py_None
;
1255 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1256 PyObject
* _resultobj
;
1259 char *_kwnames
[] = { "resource", NULL
};
1263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1266 wxPy_BEGIN_ALLOW_THREADS
;
1267 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1269 wxPy_END_ALLOW_THREADS
;
1270 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1271 _resultobj
= Py_BuildValue("s",_ptemp
);
1275 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1276 PyObject
* _resultobj
;
1279 char *_kwnames
[] = { "resource", NULL
};
1283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1286 wxPy_BEGIN_ALLOW_THREADS
;
1287 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1289 wxPy_END_ALLOW_THREADS
;
1290 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1291 _resultobj
= Py_BuildValue("s",_ptemp
);
1295 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1296 PyObject
* _resultobj
;
1297 wxMenuBar
* _result
;
1299 char *_kwnames
[] = { "resource", NULL
};
1303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1306 wxPy_BEGIN_ALLOW_THREADS
;
1307 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1309 wxPy_END_ALLOW_THREADS
;
1311 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
1312 _resultobj
= Py_BuildValue("s",_ptemp
);
1315 _resultobj
= Py_None
;
1320 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1321 PyObject
* _resultobj
;
1324 char *_kwnames
[] = { "name", NULL
};
1327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1330 wxPy_BEGIN_ALLOW_THREADS
;
1331 _result
= (int )wxResourceGetIdentifier(_arg0
);
1333 wxPy_END_ALLOW_THREADS
;
1334 } _resultobj
= Py_BuildValue("i",_result
);
1338 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1339 PyObject
* _resultobj
;
1342 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1343 PyObject
* _argo1
= 0;
1344 char *_kwnames
[] = { "resource","table", NULL
};
1347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1350 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1351 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1352 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1357 wxPy_BEGIN_ALLOW_THREADS
;
1358 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1360 wxPy_END_ALLOW_THREADS
;
1361 } _resultobj
= Py_BuildValue("i",_result
);
1365 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1366 PyObject
* _resultobj
;
1369 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1370 PyObject
* _argo1
= 0;
1371 char *_kwnames
[] = { "filename","table", NULL
};
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1377 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1378 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1379 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1384 wxPy_BEGIN_ALLOW_THREADS
;
1385 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1387 wxPy_END_ALLOW_THREADS
;
1388 } _resultobj
= Py_BuildValue("i",_result
);
1392 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1393 PyObject
* _resultobj
;
1396 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1397 PyObject
* _argo1
= 0;
1398 char *_kwnames
[] = { "resource","table", NULL
};
1401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1404 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1405 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1411 wxPy_BEGIN_ALLOW_THREADS
;
1412 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1414 wxPy_END_ALLOW_THREADS
;
1415 } _resultobj
= Py_BuildValue("i",_result
);
1419 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1420 PyObject
* _resultobj
;
1423 char *_kwnames
[] = { "index", NULL
};
1427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1430 wxPy_BEGIN_ALLOW_THREADS
;
1431 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1433 wxPy_END_ALLOW_THREADS
;
1434 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1435 _resultobj
= Py_BuildValue("s",_ptemp
);
1439 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
* _resultobj
;
1443 char *_kwnames
[] = { "index", NULL
};
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1450 wxPy_BEGIN_ALLOW_THREADS
;
1451 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1453 wxPy_END_ALLOW_THREADS
;
1454 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1455 _resultobj
= Py_BuildValue("s",_ptemp
);
1459 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1460 PyObject
* _resultobj
;
1463 char *_kwnames
[] = { "index", NULL
};
1466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1469 wxPy_BEGIN_ALLOW_THREADS
;
1470 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1472 wxPy_END_ALLOW_THREADS
;
1473 } _resultobj
= Py_BuildValue("i",_result
);
1477 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1478 PyObject
* _resultobj
;
1481 char *_kwnames
[] = { "flag", NULL
};
1484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
1486 _arg0
= (bool ) tempbool0
;
1488 wxPy_BEGIN_ALLOW_THREADS
;
1489 wxToolTip_Enable(_arg0
);
1491 wxPy_END_ALLOW_THREADS
;
1492 } Py_INCREF(Py_None
);
1493 _resultobj
= Py_None
;
1497 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1498 PyObject
* _resultobj
;
1500 char *_kwnames
[] = { "milliseconds", NULL
};
1503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
1506 wxPy_BEGIN_ALLOW_THREADS
;
1507 wxToolTip_SetDelay(_arg0
);
1509 wxPy_END_ALLOW_THREADS
;
1510 } Py_INCREF(Py_None
);
1511 _resultobj
= Py_None
;
1515 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1516 PyObject
* _resultobj
;
1518 char *_kwnames
[] = { NULL
};
1521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1524 wxPy_BEGIN_ALLOW_THREADS
;
1525 _result
= (int )wxCaret_GetBlinkTime();
1527 wxPy_END_ALLOW_THREADS
;
1528 } _resultobj
= Py_BuildValue("i",_result
);
1532 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1533 PyObject
* _resultobj
;
1535 char *_kwnames
[] = { "milliseconds", NULL
};
1538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1541 wxPy_BEGIN_ALLOW_THREADS
;
1542 wxCaret_SetBlinkTime(_arg0
);
1544 wxPy_END_ALLOW_THREADS
;
1545 } Py_INCREF(Py_None
);
1546 _resultobj
= Py_None
;
1550 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1551 PyObject
* _resultobj
;
1552 wxEvtHandler
* _arg0
;
1554 PyObject
* _argo0
= 0;
1555 PyObject
* _argo1
= 0;
1556 char *_kwnames
[] = { "dest","event", NULL
};
1559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1562 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1563 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1564 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1569 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1570 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1571 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1576 wxPy_BEGIN_ALLOW_THREADS
;
1577 wxPostEvent(_arg0
,*_arg1
);
1579 wxPy_END_ALLOW_THREADS
;
1580 } Py_INCREF(Py_None
);
1581 _resultobj
= Py_None
;
1585 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1586 PyObject
* _resultobj
;
1587 char *_kwnames
[] = { NULL
};
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1593 wxPy_BEGIN_ALLOW_THREADS
;
1596 wxPy_END_ALLOW_THREADS
;
1597 } Py_INCREF(Py_None
);
1598 _resultobj
= Py_None
;
1602 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1603 PyObject
* _resultobj
;
1605 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1606 PyObject
* _argo0
= 0;
1607 char *_kwnames
[] = { "win", NULL
};
1610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1613 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1614 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1615 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1620 wxPy_BEGIN_ALLOW_THREADS
;
1621 _result
= (bool )wxSafeYield(_arg0
);
1623 wxPy_END_ALLOW_THREADS
;
1624 } _resultobj
= Py_BuildValue("i",_result
);
1628 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1629 PyObject
* _resultobj
;
1632 wxTipProvider
* _arg1
;
1633 bool _arg2
= (bool ) TRUE
;
1634 PyObject
* _argo0
= 0;
1635 PyObject
* _argo1
= 0;
1636 int tempbool2
= (int) TRUE
;
1637 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1643 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1644 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1645 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1650 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1651 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1652 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1656 _arg2
= (bool ) tempbool2
;
1658 wxPy_BEGIN_ALLOW_THREADS
;
1659 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1661 wxPy_END_ALLOW_THREADS
;
1662 } _resultobj
= Py_BuildValue("i",_result
);
1666 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1667 PyObject
* _resultobj
;
1668 wxTipProvider
* _result
;
1671 PyObject
* _obj0
= 0;
1672 char *_kwnames
[] = { "filename","currentTip", NULL
};
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1679 #if PYTHON_API_VERSION >= 1009
1680 char* tmpPtr
; int tmpSize
;
1681 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1682 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1685 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1687 _arg0
= new wxString(tmpPtr
, tmpSize
);
1689 if (!PyString_Check(_obj0
)) {
1690 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1693 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1697 wxPy_BEGIN_ALLOW_THREADS
;
1698 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1700 wxPy_END_ALLOW_THREADS
;
1702 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1703 _resultobj
= Py_BuildValue("s",_ptemp
);
1706 _resultobj
= Py_None
;
1715 static PyObject
*_wrap_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1716 PyObject
* _resultobj
;
1717 wxGenericDragImage
* _result
;
1719 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
1720 wxPoint
* _arg2
= (wxPoint
*) &wxPyNullPoint
;
1721 PyObject
* _argo0
= 0;
1722 PyObject
* _argo1
= 0;
1724 PyObject
* _obj2
= 0;
1725 char *_kwnames
[] = { "image","cursor","hotspot", NULL
};
1729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxDragIcon",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1732 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1733 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1734 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragIcon. Expected _wxIcon_p.");
1739 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1740 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
1741 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragIcon. Expected _wxCursor_p.");
1748 if (! wxPoint_helper(_obj2
, &_arg2
))
1752 wxPy_BEGIN_ALLOW_THREADS
;
1753 _result
= (wxGenericDragImage
*)wxDragIcon(*_arg0
,*_arg1
,*_arg2
);
1755 wxPy_END_ALLOW_THREADS
;
1757 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1758 _resultobj
= Py_BuildValue("s",_ptemp
);
1761 _resultobj
= Py_None
;
1766 static PyObject
*_wrap_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
* _resultobj
;
1768 wxGenericDragImage
* _result
;
1770 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
1771 wxPoint
* _arg2
= (wxPoint
*) &wxPyNullPoint
;
1772 PyObject
* _obj0
= 0;
1773 PyObject
* _argo1
= 0;
1775 PyObject
* _obj2
= 0;
1776 char *_kwnames
[] = { "str","cursor","hotspot", NULL
};
1780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxDragString",_kwnames
,&_obj0
,&_argo1
,&_obj2
))
1783 #if PYTHON_API_VERSION >= 1009
1784 char* tmpPtr
; int tmpSize
;
1785 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1786 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1789 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1791 _arg0
= new wxString(tmpPtr
, tmpSize
);
1793 if (!PyString_Check(_obj0
)) {
1794 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1797 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1801 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1802 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
1803 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragString. Expected _wxCursor_p.");
1810 if (! wxPoint_helper(_obj2
, &_arg2
))
1814 wxPy_BEGIN_ALLOW_THREADS
;
1815 _result
= (wxGenericDragImage
*)wxDragString(*_arg0
,*_arg1
,*_arg2
);
1817 wxPy_END_ALLOW_THREADS
;
1819 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1820 _resultobj
= Py_BuildValue("s",_ptemp
);
1823 _resultobj
= Py_None
;
1832 static PyObject
*_wrap_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
* _resultobj
;
1834 wxGenericDragImage
* _result
;
1836 wxTreeItemId
* _arg1
;
1837 PyObject
* _argo0
= 0;
1838 PyObject
* _argo1
= 0;
1839 char *_kwnames
[] = { "treeCtrl","id", NULL
};
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
1846 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1847 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
1848 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragTreeItem. Expected _wxTreeCtrl_p.");
1853 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1854 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
1855 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragTreeItem. Expected _wxTreeItemId_p.");
1860 wxPy_BEGIN_ALLOW_THREADS
;
1861 _result
= (wxGenericDragImage
*)wxDragTreeItem(*_arg0
,*_arg1
);
1863 wxPy_END_ALLOW_THREADS
;
1865 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1866 _resultobj
= Py_BuildValue("s",_ptemp
);
1869 _resultobj
= Py_None
;
1874 static PyObject
*_wrap_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
* _resultobj
;
1876 wxGenericDragImage
* _result
;
1879 PyObject
* _argo0
= 0;
1880 char *_kwnames
[] = { "listCtrl","id", NULL
};
1884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
1887 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1888 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1889 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragListItem. Expected _wxListCtrl_p.");
1894 wxPy_BEGIN_ALLOW_THREADS
;
1895 _result
= (wxGenericDragImage
*)wxDragListItem(*_arg0
,_arg1
);
1897 wxPy_END_ALLOW_THREADS
;
1899 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1900 _resultobj
= Py_BuildValue("s",_ptemp
);
1903 _resultobj
= Py_None
;
1908 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
* _resultobj
;
1910 unsigned long _result
;
1911 char *_kwnames
[] = { NULL
};
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1917 wxPy_BEGIN_ALLOW_THREADS
;
1918 _result
= (unsigned long )wxSysErrorCode();
1920 wxPy_END_ALLOW_THREADS
;
1921 } _resultobj
= Py_BuildValue("l",_result
);
1925 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1926 PyObject
* _resultobj
;
1928 unsigned long _arg0
= (unsigned long ) 0;
1929 char *_kwnames
[] = { "nErrCode", NULL
};
1932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1935 wxPy_BEGIN_ALLOW_THREADS
;
1936 _result
= (char *)wxSysErrorMsg(_arg0
);
1938 wxPy_END_ALLOW_THREADS
;
1939 } _resultobj
= Py_BuildValue("s", _result
);
1943 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1944 PyObject
* _resultobj
;
1946 char *_kwnames
[] = { "szFormat", NULL
};
1949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
1952 wxPy_BEGIN_ALLOW_THREADS
;
1953 wxLogFatalError(_arg0
);
1955 wxPy_END_ALLOW_THREADS
;
1956 } Py_INCREF(Py_None
);
1957 _resultobj
= Py_None
;
1961 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1962 PyObject
* _resultobj
;
1964 char *_kwnames
[] = { "szFormat", NULL
};
1967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
1970 wxPy_BEGIN_ALLOW_THREADS
;
1973 wxPy_END_ALLOW_THREADS
;
1974 } Py_INCREF(Py_None
);
1975 _resultobj
= Py_None
;
1979 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
* _resultobj
;
1982 char *_kwnames
[] = { "szFormat", NULL
};
1985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
1988 wxPy_BEGIN_ALLOW_THREADS
;
1989 wxLogWarning(_arg0
);
1991 wxPy_END_ALLOW_THREADS
;
1992 } Py_INCREF(Py_None
);
1993 _resultobj
= Py_None
;
1997 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1998 PyObject
* _resultobj
;
2000 char *_kwnames
[] = { "szFormat", NULL
};
2003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
2006 wxPy_BEGIN_ALLOW_THREADS
;
2007 wxLogMessage(_arg0
);
2009 wxPy_END_ALLOW_THREADS
;
2010 } Py_INCREF(Py_None
);
2011 _resultobj
= Py_None
;
2015 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2016 PyObject
* _resultobj
;
2018 char *_kwnames
[] = { "szFormat", NULL
};
2021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
2024 wxPy_BEGIN_ALLOW_THREADS
;
2027 wxPy_END_ALLOW_THREADS
;
2028 } Py_INCREF(Py_None
);
2029 _resultobj
= Py_None
;
2033 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2034 PyObject
* _resultobj
;
2036 char *_kwnames
[] = { "szFormat", NULL
};
2039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
2042 wxPy_BEGIN_ALLOW_THREADS
;
2043 wxLogVerbose(_arg0
);
2045 wxPy_END_ALLOW_THREADS
;
2046 } Py_INCREF(Py_None
);
2047 _resultobj
= Py_None
;
2051 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2052 PyObject
* _resultobj
;
2054 char *_kwnames
[] = { "szFormat", NULL
};
2057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
2060 wxPy_BEGIN_ALLOW_THREADS
;
2063 wxPy_END_ALLOW_THREADS
;
2064 } Py_INCREF(Py_None
);
2065 _resultobj
= Py_None
;
2069 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2070 PyObject
* _resultobj
;
2073 PyObject
* _argo0
= 0;
2074 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
2077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
2080 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2081 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
2082 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
2087 wxPy_BEGIN_ALLOW_THREADS
;
2088 wxLogStatus(_arg0
,_arg1
);
2090 wxPy_END_ALLOW_THREADS
;
2091 } Py_INCREF(Py_None
);
2092 _resultobj
= Py_None
;
2096 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
* _resultobj
;
2099 char *_kwnames
[] = { "szFormat", NULL
};
2102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2105 wxPy_BEGIN_ALLOW_THREADS
;
2106 wxLogSysError(_arg0
);
2108 wxPy_END_ALLOW_THREADS
;
2109 } Py_INCREF(Py_None
);
2110 _resultobj
= Py_None
;
2114 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2115 PyObject
* _resultobj
;
2118 int _arg1
= (int ) FALSE
;
2119 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2120 PyObject
* _obj0
= 0;
2121 PyObject
* _argo2
= 0;
2122 char *_kwnames
[] = { "command","sync","process", NULL
};
2125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2128 #if PYTHON_API_VERSION >= 1009
2129 char* tmpPtr
; int tmpSize
;
2130 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2131 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2134 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2136 _arg0
= new wxString(tmpPtr
, tmpSize
);
2138 if (!PyString_Check(_obj0
)) {
2139 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2142 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2146 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2147 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2148 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2153 wxPy_BEGIN_ALLOW_THREADS
;
2154 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2156 wxPy_END_ALLOW_THREADS
;
2157 } _resultobj
= Py_BuildValue("l",_result
);
2165 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2166 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
* _resultobj
;
2168 wxToolTip
* _result
;
2170 PyObject
* _obj0
= 0;
2171 char *_kwnames
[] = { "tip", NULL
};
2175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2178 #if PYTHON_API_VERSION >= 1009
2179 char* tmpPtr
; int tmpSize
;
2180 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2181 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2184 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2186 _arg0
= new wxString(tmpPtr
, tmpSize
);
2188 if (!PyString_Check(_obj0
)) {
2189 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2192 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2196 wxPy_BEGIN_ALLOW_THREADS
;
2197 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2199 wxPy_END_ALLOW_THREADS
;
2201 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2202 _resultobj
= Py_BuildValue("s",_ptemp
);
2205 _resultobj
= Py_None
;
2214 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2215 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2216 PyObject
* _resultobj
;
2219 PyObject
* _argo0
= 0;
2220 PyObject
* _obj1
= 0;
2221 char *_kwnames
[] = { "self","tip", NULL
};
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2227 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2228 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2229 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2234 #if PYTHON_API_VERSION >= 1009
2235 char* tmpPtr
; int tmpSize
;
2236 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2237 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2240 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2242 _arg1
= new wxString(tmpPtr
, tmpSize
);
2244 if (!PyString_Check(_obj1
)) {
2245 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2248 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2252 wxPy_BEGIN_ALLOW_THREADS
;
2253 wxToolTip_SetTip(_arg0
,*_arg1
);
2255 wxPy_END_ALLOW_THREADS
;
2256 } Py_INCREF(Py_None
);
2257 _resultobj
= Py_None
;
2265 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2266 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
* _resultobj
;
2270 PyObject
* _argo0
= 0;
2271 char *_kwnames
[] = { "self", NULL
};
2274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2277 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2278 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2279 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2284 wxPy_BEGIN_ALLOW_THREADS
;
2285 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2287 wxPy_END_ALLOW_THREADS
;
2289 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2297 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2298 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2299 PyObject
* _resultobj
;
2302 PyObject
* _argo0
= 0;
2303 char *_kwnames
[] = { "self", NULL
};
2307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2310 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2311 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2312 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2317 wxPy_BEGIN_ALLOW_THREADS
;
2318 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2320 wxPy_END_ALLOW_THREADS
;
2322 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2323 _resultobj
= Py_BuildValue("s",_ptemp
);
2326 _resultobj
= Py_None
;
2331 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2332 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2333 PyObject
* _resultobj
;
2337 PyObject
* _argo0
= 0;
2339 PyObject
* _obj1
= 0;
2340 char *_kwnames
[] = { "window","size", NULL
};
2344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2347 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2348 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2349 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2355 if (! wxSize_helper(_obj1
, &_arg1
))
2359 wxPy_BEGIN_ALLOW_THREADS
;
2360 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2362 wxPy_END_ALLOW_THREADS
;
2364 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2365 _resultobj
= Py_BuildValue("s",_ptemp
);
2368 _resultobj
= Py_None
;
2373 #define delete_wxCaret(_swigobj) (delete _swigobj)
2374 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2375 PyObject
* _resultobj
;
2377 PyObject
* _argo0
= 0;
2378 char *_kwnames
[] = { "self", NULL
};
2381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2391 wxPy_BEGIN_ALLOW_THREADS
;
2392 delete_wxCaret(_arg0
);
2394 wxPy_END_ALLOW_THREADS
;
2395 } Py_INCREF(Py_None
);
2396 _resultobj
= Py_None
;
2400 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2401 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2402 PyObject
* _resultobj
;
2405 PyObject
* _argo0
= 0;
2406 char *_kwnames
[] = { "self", NULL
};
2409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2412 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2413 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2414 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2419 wxPy_BEGIN_ALLOW_THREADS
;
2420 _result
= (bool )wxCaret_IsOk(_arg0
);
2422 wxPy_END_ALLOW_THREADS
;
2423 } _resultobj
= Py_BuildValue("i",_result
);
2427 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2428 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2429 PyObject
* _resultobj
;
2432 PyObject
* _argo0
= 0;
2433 char *_kwnames
[] = { "self", NULL
};
2436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2439 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2440 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2441 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2446 wxPy_BEGIN_ALLOW_THREADS
;
2447 _result
= (bool )wxCaret_IsVisible(_arg0
);
2449 wxPy_END_ALLOW_THREADS
;
2450 } _resultobj
= Py_BuildValue("i",_result
);
2454 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2455 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
* _resultobj
;
2462 PyObject
* _argo0
= 0;
2463 char *_kwnames
[] = { "self", NULL
};
2472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2482 wxPy_BEGIN_ALLOW_THREADS
;
2483 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2485 wxPy_END_ALLOW_THREADS
;
2486 } Py_INCREF(Py_None
);
2487 _resultobj
= Py_None
;
2490 o
= PyInt_FromLong((long) (*_arg1
));
2491 _resultobj
= t_output_helper(_resultobj
, o
);
2495 o
= PyInt_FromLong((long) (*_arg2
));
2496 _resultobj
= t_output_helper(_resultobj
, o
);
2501 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2502 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2503 PyObject
* _resultobj
;
2506 PyObject
* _argo0
= 0;
2507 char *_kwnames
[] = { "self", NULL
};
2511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2514 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2515 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2516 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2521 wxPy_BEGIN_ALLOW_THREADS
;
2522 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2524 wxPy_END_ALLOW_THREADS
;
2525 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2526 _resultobj
= Py_BuildValue("s",_ptemp
);
2530 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2531 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2532 PyObject
* _resultobj
;
2538 PyObject
* _argo0
= 0;
2539 char *_kwnames
[] = { "self", NULL
};
2548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2551 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2552 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2553 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2558 wxPy_BEGIN_ALLOW_THREADS
;
2559 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2561 wxPy_END_ALLOW_THREADS
;
2562 } Py_INCREF(Py_None
);
2563 _resultobj
= Py_None
;
2566 o
= PyInt_FromLong((long) (*_arg1
));
2567 _resultobj
= t_output_helper(_resultobj
, o
);
2571 o
= PyInt_FromLong((long) (*_arg2
));
2572 _resultobj
= t_output_helper(_resultobj
, o
);
2577 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2578 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2579 PyObject
* _resultobj
;
2582 PyObject
* _argo0
= 0;
2583 char *_kwnames
[] = { "self", NULL
};
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2590 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2591 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2592 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2597 wxPy_BEGIN_ALLOW_THREADS
;
2598 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2600 wxPy_END_ALLOW_THREADS
;
2601 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2602 _resultobj
= Py_BuildValue("s",_ptemp
);
2606 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2607 static PyObject
*_wrap_wxCaret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2608 PyObject
* _resultobj
;
2611 PyObject
* _argo0
= 0;
2612 char *_kwnames
[] = { "self", NULL
};
2616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetWindow",_kwnames
,&_argo0
))
2619 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2620 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2621 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetWindow. Expected _wxCaret_p.");
2626 wxPy_BEGIN_ALLOW_THREADS
;
2627 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2629 wxPy_END_ALLOW_THREADS
;
2631 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2632 _resultobj
= Py_BuildValue("s",_ptemp
);
2635 _resultobj
= Py_None
;
2640 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2641 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2642 PyObject
* _resultobj
;
2646 PyObject
* _argo0
= 0;
2647 char *_kwnames
[] = { "self","x","y", NULL
};
2650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2653 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2654 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2655 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2660 wxPy_BEGIN_ALLOW_THREADS
;
2661 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2663 wxPy_END_ALLOW_THREADS
;
2664 } Py_INCREF(Py_None
);
2665 _resultobj
= Py_None
;
2669 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2670 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2671 PyObject
* _resultobj
;
2674 PyObject
* _argo0
= 0;
2676 PyObject
* _obj1
= 0;
2677 char *_kwnames
[] = { "self","pt", NULL
};
2680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2683 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2684 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2685 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2691 if (! wxPoint_helper(_obj1
, &_arg1
))
2695 wxPy_BEGIN_ALLOW_THREADS
;
2696 wxCaret_Move(_arg0
,*_arg1
);
2698 wxPy_END_ALLOW_THREADS
;
2699 } Py_INCREF(Py_None
);
2700 _resultobj
= Py_None
;
2704 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2705 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2706 PyObject
* _resultobj
;
2710 PyObject
* _argo0
= 0;
2711 char *_kwnames
[] = { "self","width","height", NULL
};
2714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2717 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2718 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2719 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2724 wxPy_BEGIN_ALLOW_THREADS
;
2725 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2727 wxPy_END_ALLOW_THREADS
;
2728 } Py_INCREF(Py_None
);
2729 _resultobj
= Py_None
;
2733 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2734 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2735 PyObject
* _resultobj
;
2738 PyObject
* _argo0
= 0;
2740 PyObject
* _obj1
= 0;
2741 char *_kwnames
[] = { "self","size", NULL
};
2744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2747 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2748 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2749 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2755 if (! wxSize_helper(_obj1
, &_arg1
))
2759 wxPy_BEGIN_ALLOW_THREADS
;
2760 wxCaret_SetSize(_arg0
,*_arg1
);
2762 wxPy_END_ALLOW_THREADS
;
2763 } Py_INCREF(Py_None
);
2764 _resultobj
= Py_None
;
2768 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2769 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2770 PyObject
* _resultobj
;
2772 int _arg1
= (int ) TRUE
;
2773 PyObject
* _argo0
= 0;
2774 char *_kwnames
[] = { "self","show", NULL
};
2777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
2780 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2781 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2782 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2787 wxPy_BEGIN_ALLOW_THREADS
;
2788 wxCaret_Show(_arg0
,_arg1
);
2790 wxPy_END_ALLOW_THREADS
;
2791 } Py_INCREF(Py_None
);
2792 _resultobj
= Py_None
;
2796 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2797 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2798 PyObject
* _resultobj
;
2800 PyObject
* _argo0
= 0;
2801 char *_kwnames
[] = { "self", NULL
};
2804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
2807 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2808 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2809 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
2814 wxPy_BEGIN_ALLOW_THREADS
;
2815 wxCaret_Hide(_arg0
);
2817 wxPy_END_ALLOW_THREADS
;
2818 } Py_INCREF(Py_None
);
2819 _resultobj
= Py_None
;
2823 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
2824 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
* _resultobj
;
2826 wxPyFontEnumerator
* _result
;
2827 char *_kwnames
[] = { NULL
};
2831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
2834 wxPy_BEGIN_ALLOW_THREADS
;
2835 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
2837 wxPy_END_ALLOW_THREADS
;
2839 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
2840 _resultobj
= Py_BuildValue("s",_ptemp
);
2843 _resultobj
= Py_None
;
2848 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
2849 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
* _resultobj
;
2851 wxPyFontEnumerator
* _arg0
;
2852 PyObject
* _argo0
= 0;
2853 char *_kwnames
[] = { "self", NULL
};
2856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
2859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
2866 wxPy_BEGIN_ALLOW_THREADS
;
2867 delete_wxPyFontEnumerator(_arg0
);
2869 wxPy_END_ALLOW_THREADS
;
2870 } Py_INCREF(Py_None
);
2871 _resultobj
= Py_None
;
2875 #define wxFontEnumerator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2876 static PyObject
*_wrap_wxFontEnumerator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2877 PyObject
* _resultobj
;
2878 wxPyFontEnumerator
* _arg0
;
2881 PyObject
* _argo0
= 0;
2882 PyObject
* _obj1
= 0;
2883 PyObject
* _obj2
= 0;
2884 char *_kwnames
[] = { "self","self","_class", NULL
};
2887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFontEnumerator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2890 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2891 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2892 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setSelf. Expected _wxPyFontEnumerator_p.");
2903 wxPy_BEGIN_ALLOW_THREADS
;
2904 wxFontEnumerator__setSelf(_arg0
,_arg1
,_arg2
);
2906 wxPy_END_ALLOW_THREADS
;
2907 } Py_INCREF(Py_None
);
2908 _resultobj
= Py_None
;
2912 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
2913 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2914 PyObject
* _resultobj
;
2916 wxPyFontEnumerator
* _arg0
;
2917 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
2918 bool _arg2
= (bool ) FALSE
;
2919 PyObject
* _argo0
= 0;
2920 int tempbool2
= (int) FALSE
;
2921 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
2924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2927 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2928 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2929 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
2933 _arg2
= (bool ) tempbool2
;
2935 wxPy_BEGIN_ALLOW_THREADS
;
2936 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
2938 wxPy_END_ALLOW_THREADS
;
2939 } _resultobj
= Py_BuildValue("i",_result
);
2943 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
2944 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2945 PyObject
* _resultobj
;
2947 wxPyFontEnumerator
* _arg0
;
2948 char * _arg1
= (char *) "";
2949 PyObject
* _argo0
= 0;
2950 char *_kwnames
[] = { "self","facename", NULL
};
2953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
2956 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2957 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2958 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
2963 wxPy_BEGIN_ALLOW_THREADS
;
2964 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
2966 wxPy_END_ALLOW_THREADS
;
2967 } _resultobj
= Py_BuildValue("i",_result
);
2971 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
2972 wxArrayString
* arr
= self
->GetEncodings();
2973 PyObject
* list
= PyList_New(0);
2974 for (size_t x
=0; x
<arr
->GetCount(); x
++)
2975 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
2978 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
* _resultobj
;
2981 wxPyFontEnumerator
* _arg0
;
2982 PyObject
* _argo0
= 0;
2983 char *_kwnames
[] = { "self", NULL
};
2986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
2989 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2990 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2991 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
2996 wxPy_BEGIN_ALLOW_THREADS
;
2997 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
2999 wxPy_END_ALLOW_THREADS
;
3001 _resultobj
= _result
;
3006 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
3007 wxArrayString
* arr
= self
->GetFacenames();
3008 PyObject
* list
= PyList_New(0);
3009 for (size_t x
=0; x
<arr
->GetCount(); x
++)
3010 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
3013 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3014 PyObject
* _resultobj
;
3016 wxPyFontEnumerator
* _arg0
;
3017 PyObject
* _argo0
= 0;
3018 char *_kwnames
[] = { "self", NULL
};
3021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
3024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
3026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
3031 wxPy_BEGIN_ALLOW_THREADS
;
3032 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
3034 wxPy_END_ALLOW_THREADS
;
3036 _resultobj
= _result
;
3041 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
3042 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3043 PyObject
* _resultobj
;
3044 wxBusyCursor
* _result
;
3045 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3046 PyObject
* _argo0
= 0;
3047 char *_kwnames
[] = { "cursor", NULL
};
3051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
3054 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3055 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
3056 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
3061 wxPy_BEGIN_ALLOW_THREADS
;
3062 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
3064 wxPy_END_ALLOW_THREADS
;
3066 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
3067 _resultobj
= Py_BuildValue("s",_ptemp
);
3070 _resultobj
= Py_None
;
3075 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
3076 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
* _resultobj
;
3078 wxBusyCursor
* _arg0
;
3079 PyObject
* _argo0
= 0;
3080 char *_kwnames
[] = { "self", NULL
};
3083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
3086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
3088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
3093 wxPy_BEGIN_ALLOW_THREADS
;
3094 delete_wxBusyCursor(_arg0
);
3096 wxPy_END_ALLOW_THREADS
;
3097 } Py_INCREF(Py_None
);
3098 _resultobj
= Py_None
;
3102 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
3103 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3104 PyObject
* _resultobj
;
3105 wxWindowDisabler
* _result
;
3106 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3107 PyObject
* _argo0
= 0;
3108 char *_kwnames
[] = { "winToSkip", NULL
};
3112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3115 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3116 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3117 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3122 wxPy_BEGIN_ALLOW_THREADS
;
3123 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3125 wxPy_END_ALLOW_THREADS
;
3127 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3128 _resultobj
= Py_BuildValue("s",_ptemp
);
3131 _resultobj
= Py_None
;
3136 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3137 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3138 PyObject
* _resultobj
;
3139 wxWindowDisabler
* _arg0
;
3140 PyObject
* _argo0
= 0;
3141 char *_kwnames
[] = { "self", NULL
};
3144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3147 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3148 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3149 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3154 wxPy_BEGIN_ALLOW_THREADS
;
3155 delete_wxWindowDisabler(_arg0
);
3157 wxPy_END_ALLOW_THREADS
;
3158 } Py_INCREF(Py_None
);
3159 _resultobj
= Py_None
;
3163 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3164 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3165 PyObject
* _resultobj
;
3166 wxTipProvider
* _arg0
;
3167 PyObject
* _argo0
= 0;
3168 char *_kwnames
[] = { "self", NULL
};
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3181 wxPy_BEGIN_ALLOW_THREADS
;
3182 delete_wxTipProvider(_arg0
);
3184 wxPy_END_ALLOW_THREADS
;
3185 } Py_INCREF(Py_None
);
3186 _resultobj
= Py_None
;
3190 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3191 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
* _resultobj
;
3194 wxTipProvider
* _arg0
;
3195 PyObject
* _argo0
= 0;
3196 char *_kwnames
[] = { "self", NULL
};
3199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3202 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3203 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3204 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3209 wxPy_BEGIN_ALLOW_THREADS
;
3210 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3212 wxPy_END_ALLOW_THREADS
;
3214 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3222 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3223 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
* _resultobj
;
3226 wxTipProvider
* _arg0
;
3227 PyObject
* _argo0
= 0;
3228 char *_kwnames
[] = { "self", NULL
};
3231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3234 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3235 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3236 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3241 wxPy_BEGIN_ALLOW_THREADS
;
3242 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3244 wxPy_END_ALLOW_THREADS
;
3245 } _resultobj
= Py_BuildValue("i",_result
);
3249 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3250 wxPyTipProvider
*src
;
3251 wxTipProvider
*dest
;
3252 src
= (wxPyTipProvider
*) ptr
;
3253 dest
= (wxTipProvider
*) src
;
3254 return (void *) dest
;
3257 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3258 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
* _resultobj
;
3260 wxPyTipProvider
* _result
;
3262 char *_kwnames
[] = { "currentTip", NULL
};
3266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3269 wxPy_BEGIN_ALLOW_THREADS
;
3270 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3272 wxPy_END_ALLOW_THREADS
;
3274 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3275 _resultobj
= Py_BuildValue("s",_ptemp
);
3278 _resultobj
= Py_None
;
3283 #define new_wxDragImage(_swigarg0,_swigarg1,_swigarg2) (new wxGenericDragImage(_swigarg0,_swigarg1,_swigarg2))
3284 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
* _resultobj
;
3286 wxGenericDragImage
* _result
;
3288 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3289 wxPoint
* _arg2
= (wxPoint
*) &wxPyNullPoint
;
3290 PyObject
* _argo0
= 0;
3291 PyObject
* _argo1
= 0;
3293 PyObject
* _obj2
= 0;
3294 char *_kwnames
[] = { "image","cursor","hotspot", NULL
};
3298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3301 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3302 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3303 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3308 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3309 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3310 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3317 if (! wxPoint_helper(_obj2
, &_arg2
))
3321 wxPy_BEGIN_ALLOW_THREADS
;
3322 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
,*_arg2
);
3324 wxPy_END_ALLOW_THREADS
;
3326 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3327 _resultobj
= Py_BuildValue("s",_ptemp
);
3330 _resultobj
= Py_None
;
3335 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3336 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3337 PyObject
* _resultobj
;
3338 wxGenericDragImage
* _arg0
;
3339 PyObject
* _argo0
= 0;
3340 char *_kwnames
[] = { "self", NULL
};
3343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3346 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3347 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3348 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3353 wxPy_BEGIN_ALLOW_THREADS
;
3354 delete_wxGenericDragImage(_arg0
);
3356 wxPy_END_ALLOW_THREADS
;
3357 } Py_INCREF(Py_None
);
3358 _resultobj
= Py_None
;
3362 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3363 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3364 PyObject
* _resultobj
;
3366 wxGenericDragImage
* _arg0
;
3369 bool _arg3
= (bool ) FALSE
;
3370 wxRect
* _arg4
= (wxRect
*) NULL
;
3371 PyObject
* _argo0
= 0;
3373 PyObject
* _obj1
= 0;
3374 PyObject
* _argo2
= 0;
3375 int tempbool3
= (int) FALSE
;
3377 PyObject
* _obj4
= 0;
3378 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3384 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3385 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3386 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3392 if (! wxPoint_helper(_obj1
, &_arg1
))
3396 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3397 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3398 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3402 _arg3
= (bool ) tempbool3
;
3406 if (! wxRect_helper(_obj4
, &_arg4
))
3410 wxPy_BEGIN_ALLOW_THREADS
;
3411 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3413 wxPy_END_ALLOW_THREADS
;
3414 } _resultobj
= Py_BuildValue("i",_result
);
3418 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3419 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3420 PyObject
* _resultobj
;
3422 wxGenericDragImage
* _arg0
;
3426 PyObject
* _argo0
= 0;
3428 PyObject
* _obj1
= 0;
3429 PyObject
* _argo2
= 0;
3430 PyObject
* _argo3
= 0;
3431 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3437 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3438 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3439 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3445 if (! wxPoint_helper(_obj1
, &_arg1
))
3449 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3450 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3451 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3456 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3457 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3463 wxPy_BEGIN_ALLOW_THREADS
;
3464 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3466 wxPy_END_ALLOW_THREADS
;
3467 } _resultobj
= Py_BuildValue("i",_result
);
3471 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3472 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3473 PyObject
* _resultobj
;
3475 wxGenericDragImage
* _arg0
;
3476 PyObject
* _argo0
= 0;
3477 char *_kwnames
[] = { "self", NULL
};
3480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3483 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3484 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3485 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3490 wxPy_BEGIN_ALLOW_THREADS
;
3491 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3493 wxPy_END_ALLOW_THREADS
;
3494 } _resultobj
= Py_BuildValue("i",_result
);
3498 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3499 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
* _resultobj
;
3502 wxGenericDragImage
* _arg0
;
3504 PyObject
* _argo0
= 0;
3506 PyObject
* _obj1
= 0;
3507 char *_kwnames
[] = { "self","pt", NULL
};
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3513 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3514 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3515 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3521 if (! wxPoint_helper(_obj1
, &_arg1
))
3525 wxPy_BEGIN_ALLOW_THREADS
;
3526 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3528 wxPy_END_ALLOW_THREADS
;
3529 } _resultobj
= Py_BuildValue("i",_result
);
3533 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3534 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3535 PyObject
* _resultobj
;
3537 wxGenericDragImage
* _arg0
;
3538 PyObject
* _argo0
= 0;
3539 char *_kwnames
[] = { "self", NULL
};
3542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3552 wxPy_BEGIN_ALLOW_THREADS
;
3553 _result
= (bool )wxDragImage_Show(_arg0
);
3555 wxPy_END_ALLOW_THREADS
;
3556 } _resultobj
= Py_BuildValue("i",_result
);
3560 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3561 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3562 PyObject
* _resultobj
;
3564 wxGenericDragImage
* _arg0
;
3565 PyObject
* _argo0
= 0;
3566 char *_kwnames
[] = { "self", NULL
};
3569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3572 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3573 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3574 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3579 wxPy_BEGIN_ALLOW_THREADS
;
3580 _result
= (bool )wxDragImage_Hide(_arg0
);
3582 wxPy_END_ALLOW_THREADS
;
3583 } _resultobj
= Py_BuildValue("i",_result
);
3587 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3588 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3589 PyObject
* _resultobj
;
3591 wxGenericDragImage
* _arg0
;
3593 PyObject
* _argo0
= 0;
3595 PyObject
* _obj1
= 0;
3596 char *_kwnames
[] = { "self","pos", NULL
};
3600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
3603 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3604 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3605 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
3611 if (! wxPoint_helper(_obj1
, &_arg1
))
3615 wxPy_BEGIN_ALLOW_THREADS
;
3616 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
3618 wxPy_END_ALLOW_THREADS
;
3619 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3620 _resultobj
= Py_BuildValue("s",_ptemp
);
3624 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3625 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3626 PyObject
* _resultobj
;
3628 wxGenericDragImage
* _arg0
;
3633 PyObject
* _argo0
= 0;
3635 PyObject
* _obj1
= 0;
3637 PyObject
* _obj2
= 0;
3640 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
3643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
3646 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3647 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3648 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
3654 if (! wxPoint_helper(_obj1
, &_arg1
))
3659 if (! wxPoint_helper(_obj2
, &_arg2
))
3662 _arg3
= (bool ) tempbool3
;
3663 _arg4
= (bool ) tempbool4
;
3665 wxPy_BEGIN_ALLOW_THREADS
;
3666 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
3668 wxPy_END_ALLOW_THREADS
;
3669 } _resultobj
= Py_BuildValue("i",_result
);
3673 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
3674 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3675 PyObject
* _resultobj
;
3676 wxPyTimer
* _result
;
3678 PyObject
* _obj0
= 0;
3679 char *_kwnames
[] = { "notify", NULL
};
3683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
3689 wxPy_BEGIN_ALLOW_THREADS
;
3690 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
3692 wxPy_END_ALLOW_THREADS
;
3694 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
3695 _resultobj
= Py_BuildValue("s",_ptemp
);
3698 _resultobj
= Py_None
;
3703 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
3704 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
* _resultobj
;
3707 PyObject
* _argo0
= 0;
3708 char *_kwnames
[] = { "self", NULL
};
3711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
3714 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3715 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3716 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
3721 wxPy_BEGIN_ALLOW_THREADS
;
3722 delete_wxPyTimer(_arg0
);
3724 wxPy_END_ALLOW_THREADS
;
3725 } Py_INCREF(Py_None
);
3726 _resultobj
= Py_None
;
3730 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
3731 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3732 PyObject
* _resultobj
;
3735 PyObject
* _argo0
= 0;
3736 char *_kwnames
[] = { "self", NULL
};
3739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
3742 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3743 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3744 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
3749 wxPy_BEGIN_ALLOW_THREADS
;
3750 _result
= (int )wxPyTimer_GetInterval(_arg0
);
3752 wxPy_END_ALLOW_THREADS
;
3753 } _resultobj
= Py_BuildValue("i",_result
);
3757 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
3758 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
* _resultobj
;
3762 PyObject
* _argo0
= 0;
3763 char *_kwnames
[] = { "self", NULL
};
3766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
3769 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3770 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3771 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
3776 wxPy_BEGIN_ALLOW_THREADS
;
3777 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
3779 wxPy_END_ALLOW_THREADS
;
3780 } _resultobj
= Py_BuildValue("i",_result
);
3784 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
3785 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
* _resultobj
;
3789 PyObject
* _argo0
= 0;
3790 char *_kwnames
[] = { "self", NULL
};
3793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
3796 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3797 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3798 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
3803 wxPy_BEGIN_ALLOW_THREADS
;
3804 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
3806 wxPy_END_ALLOW_THREADS
;
3807 } _resultobj
= Py_BuildValue("i",_result
);
3811 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
3812 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3813 PyObject
* _resultobj
;
3815 wxEvtHandler
* _arg1
;
3816 int _arg2
= (int ) -1;
3817 PyObject
* _argo0
= 0;
3818 PyObject
* _argo1
= 0;
3819 char *_kwnames
[] = { "self","owner","id", NULL
};
3822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3825 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3826 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3827 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
3832 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3833 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
3839 wxPy_BEGIN_ALLOW_THREADS
;
3840 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
3842 wxPy_END_ALLOW_THREADS
;
3843 } Py_INCREF(Py_None
);
3844 _resultobj
= Py_None
;
3848 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
3849 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3850 PyObject
* _resultobj
;
3852 int _arg1
= (int ) -1;
3853 int _arg2
= (int ) FALSE
;
3854 PyObject
* _argo0
= 0;
3855 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
3858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3861 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3862 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3863 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
3868 wxPy_BEGIN_ALLOW_THREADS
;
3869 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
3871 wxPy_END_ALLOW_THREADS
;
3872 } Py_INCREF(Py_None
);
3873 _resultobj
= Py_None
;
3877 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
3878 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3879 PyObject
* _resultobj
;
3881 PyObject
* _argo0
= 0;
3882 char *_kwnames
[] = { "self", NULL
};
3885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
3888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
3895 wxPy_BEGIN_ALLOW_THREADS
;
3896 wxPyTimer_Stop(_arg0
);
3898 wxPy_END_ALLOW_THREADS
;
3899 } Py_INCREF(Py_None
);
3900 _resultobj
= Py_None
;
3904 #define new_wxLog() (new wxLog())
3905 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3906 PyObject
* _resultobj
;
3908 char *_kwnames
[] = { NULL
};
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
3915 wxPy_BEGIN_ALLOW_THREADS
;
3916 _result
= (wxLog
*)new_wxLog();
3918 wxPy_END_ALLOW_THREADS
;
3920 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
3921 _resultobj
= Py_BuildValue("s",_ptemp
);
3924 _resultobj
= Py_None
;
3929 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3930 PyObject
* _resultobj
;
3932 char *_kwnames
[] = { NULL
};
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
3938 wxPy_BEGIN_ALLOW_THREADS
;
3939 _result
= (bool )wxLog::IsEnabled();
3941 wxPy_END_ALLOW_THREADS
;
3942 } _resultobj
= Py_BuildValue("i",_result
);
3946 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3947 PyObject
* _resultobj
;
3949 bool _arg0
= (bool ) TRUE
;
3950 int tempbool0
= (int) TRUE
;
3951 char *_kwnames
[] = { "doIt", NULL
};
3954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
3956 _arg0
= (bool ) tempbool0
;
3958 wxPy_BEGIN_ALLOW_THREADS
;
3959 _result
= (bool )wxLog::EnableLogging(_arg0
);
3961 wxPy_END_ALLOW_THREADS
;
3962 } _resultobj
= Py_BuildValue("i",_result
);
3966 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
* _resultobj
;
3970 int _arg2
= (int ) 0;
3971 PyObject
* _argo0
= 0;
3972 char *_kwnames
[] = { "level","szString","t", NULL
};
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3978 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3979 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
3980 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
3985 wxPy_BEGIN_ALLOW_THREADS
;
3986 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
3988 wxPy_END_ALLOW_THREADS
;
3989 } Py_INCREF(Py_None
);
3990 _resultobj
= Py_None
;
3994 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
3995 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
* _resultobj
;
3998 PyObject
* _argo0
= 0;
3999 char *_kwnames
[] = { "self", NULL
};
4002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
4005 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4006 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4007 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
4012 wxPy_BEGIN_ALLOW_THREADS
;
4015 wxPy_END_ALLOW_THREADS
;
4016 } Py_INCREF(Py_None
);
4017 _resultobj
= Py_None
;
4021 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
4022 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4023 PyObject
* _resultobj
;
4026 PyObject
* _argo0
= 0;
4027 char *_kwnames
[] = { "self", NULL
};
4030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
4033 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4034 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4035 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
4040 wxPy_BEGIN_ALLOW_THREADS
;
4041 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
4043 wxPy_END_ALLOW_THREADS
;
4044 } _resultobj
= Py_BuildValue("i",_result
);
4048 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4049 PyObject
* _resultobj
;
4050 char *_kwnames
[] = { NULL
};
4053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
4056 wxPy_BEGIN_ALLOW_THREADS
;
4057 wxLog::FlushActive();
4059 wxPy_END_ALLOW_THREADS
;
4060 } Py_INCREF(Py_None
);
4061 _resultobj
= Py_None
;
4065 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
* _resultobj
;
4068 char *_kwnames
[] = { NULL
};
4072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
4075 wxPy_BEGIN_ALLOW_THREADS
;
4076 _result
= (wxLog
*)wxLog::GetActiveTarget();
4078 wxPy_END_ALLOW_THREADS
;
4080 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4081 _resultobj
= Py_BuildValue("s",_ptemp
);
4084 _resultobj
= Py_None
;
4089 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4090 PyObject
* _resultobj
;
4093 PyObject
* _argo0
= 0;
4094 char *_kwnames
[] = { "pLogger", NULL
};
4098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
4101 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4102 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4103 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4108 wxPy_BEGIN_ALLOW_THREADS
;
4109 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4111 wxPy_END_ALLOW_THREADS
;
4113 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4114 _resultobj
= Py_BuildValue("s",_ptemp
);
4117 _resultobj
= Py_None
;
4122 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4123 PyObject
* _resultobj
;
4124 char *_kwnames
[] = { NULL
};
4127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4130 wxPy_BEGIN_ALLOW_THREADS
;
4133 wxPy_END_ALLOW_THREADS
;
4134 } Py_INCREF(Py_None
);
4135 _resultobj
= Py_None
;
4139 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
* _resultobj
;
4141 char *_kwnames
[] = { NULL
};
4144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4147 wxPy_BEGIN_ALLOW_THREADS
;
4150 wxPy_END_ALLOW_THREADS
;
4151 } Py_INCREF(Py_None
);
4152 _resultobj
= Py_None
;
4156 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4157 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
* _resultobj
;
4160 bool _arg1
= (bool ) TRUE
;
4161 PyObject
* _argo0
= 0;
4162 int tempbool1
= (int) TRUE
;
4163 char *_kwnames
[] = { "self","bVerbose", NULL
};
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4169 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4170 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4171 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4175 _arg1
= (bool ) tempbool1
;
4177 wxPy_BEGIN_ALLOW_THREADS
;
4178 wxLog_SetVerbose(_arg0
,_arg1
);
4180 wxPy_END_ALLOW_THREADS
;
4181 } Py_INCREF(Py_None
);
4182 _resultobj
= Py_None
;
4186 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4187 PyObject
* _resultobj
;
4188 char *_kwnames
[] = { NULL
};
4191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4194 wxPy_BEGIN_ALLOW_THREADS
;
4195 wxLog::DontCreateOnDemand();
4197 wxPy_END_ALLOW_THREADS
;
4198 } Py_INCREF(Py_None
);
4199 _resultobj
= Py_None
;
4203 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
* _resultobj
;
4205 wxTraceMask
* _arg0
;
4206 PyObject
* _argo0
= 0;
4207 char *_kwnames
[] = { "ulMask", NULL
};
4210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4220 wxPy_BEGIN_ALLOW_THREADS
;
4221 wxLog::SetTraceMask(*_arg0
);
4223 wxPy_END_ALLOW_THREADS
;
4224 } Py_INCREF(Py_None
);
4225 _resultobj
= Py_None
;
4229 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
* _resultobj
;
4232 PyObject
* _obj0
= 0;
4233 char *_kwnames
[] = { "str", NULL
};
4236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4239 #if PYTHON_API_VERSION >= 1009
4240 char* tmpPtr
; int tmpSize
;
4241 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4242 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4245 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4247 _arg0
= new wxString(tmpPtr
, tmpSize
);
4249 if (!PyString_Check(_obj0
)) {
4250 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4253 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4257 wxPy_BEGIN_ALLOW_THREADS
;
4258 wxLog::AddTraceMask(*_arg0
);
4260 wxPy_END_ALLOW_THREADS
;
4261 } Py_INCREF(Py_None
);
4262 _resultobj
= Py_None
;
4270 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
* _resultobj
;
4273 PyObject
* _obj0
= 0;
4274 char *_kwnames
[] = { "str", NULL
};
4277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4280 #if PYTHON_API_VERSION >= 1009
4281 char* tmpPtr
; int tmpSize
;
4282 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4283 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4286 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4288 _arg0
= new wxString(tmpPtr
, tmpSize
);
4290 if (!PyString_Check(_obj0
)) {
4291 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4294 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4298 wxPy_BEGIN_ALLOW_THREADS
;
4299 wxLog::RemoveTraceMask(*_arg0
);
4301 wxPy_END_ALLOW_THREADS
;
4302 } Py_INCREF(Py_None
);
4303 _resultobj
= Py_None
;
4311 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4312 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
* _resultobj
;
4316 PyObject
* _argo0
= 0;
4317 char *_kwnames
[] = { "self", NULL
};
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4323 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4324 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4325 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4330 wxPy_BEGIN_ALLOW_THREADS
;
4331 _result
= (bool )wxLog_GetVerbose(_arg0
);
4333 wxPy_END_ALLOW_THREADS
;
4334 } _resultobj
= Py_BuildValue("i",_result
);
4338 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4339 PyObject
* _resultobj
;
4340 wxTraceMask
* _result
;
4341 char *_kwnames
[] = { NULL
};
4345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4348 wxPy_BEGIN_ALLOW_THREADS
;
4349 _result
= new wxTraceMask (wxLog::GetTraceMask());
4351 wxPy_END_ALLOW_THREADS
;
4352 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
4353 _resultobj
= Py_BuildValue("s",_ptemp
);
4357 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
* _resultobj
;
4361 char *_kwnames
[] = { "mask", NULL
};
4364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
4367 wxPy_BEGIN_ALLOW_THREADS
;
4368 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
4370 wxPy_END_ALLOW_THREADS
;
4371 } _resultobj
= Py_BuildValue("i",_result
);
4375 static void *SwigwxLogStderrTowxLog(void *ptr
) {
4378 src
= (wxLogStderr
*) ptr
;
4379 dest
= (wxLog
*) src
;
4380 return (void *) dest
;
4383 #define new_wxLogStderr() (new wxLogStderr())
4384 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
* _resultobj
;
4386 wxLogStderr
* _result
;
4387 char *_kwnames
[] = { NULL
};
4391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
4394 wxPy_BEGIN_ALLOW_THREADS
;
4395 _result
= (wxLogStderr
*)new_wxLogStderr();
4397 wxPy_END_ALLOW_THREADS
;
4399 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
4400 _resultobj
= Py_BuildValue("s",_ptemp
);
4403 _resultobj
= Py_None
;
4408 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
4411 src
= (wxLogTextCtrl
*) ptr
;
4412 dest
= (wxLog
*) src
;
4413 return (void *) dest
;
4416 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
4417 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4418 PyObject
* _resultobj
;
4419 wxLogTextCtrl
* _result
;
4421 PyObject
* _argo0
= 0;
4422 char *_kwnames
[] = { "pTextCtrl", NULL
};
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
4429 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4430 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4431 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
4436 wxPy_BEGIN_ALLOW_THREADS
;
4437 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
4439 wxPy_END_ALLOW_THREADS
;
4441 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
4442 _resultobj
= Py_BuildValue("s",_ptemp
);
4445 _resultobj
= Py_None
;
4450 static void *SwigwxLogGuiTowxLog(void *ptr
) {
4453 src
= (wxLogGui
*) ptr
;
4454 dest
= (wxLog
*) src
;
4455 return (void *) dest
;
4458 #define new_wxLogGui() (new wxLogGui())
4459 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4460 PyObject
* _resultobj
;
4462 char *_kwnames
[] = { NULL
};
4466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
4469 wxPy_BEGIN_ALLOW_THREADS
;
4470 _result
= (wxLogGui
*)new_wxLogGui();
4472 wxPy_END_ALLOW_THREADS
;
4474 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
4475 _resultobj
= Py_BuildValue("s",_ptemp
);
4478 _resultobj
= Py_None
;
4483 static void *SwigwxLogWindowTowxLog(void *ptr
) {
4486 src
= (wxLogWindow
*) ptr
;
4487 dest
= (wxLog
*) src
;
4488 return (void *) dest
;
4491 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4492 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
* _resultobj
;
4494 wxLogWindow
* _result
;
4497 bool _arg2
= (bool ) TRUE
;
4498 bool _arg3
= (bool ) TRUE
;
4499 PyObject
* _argo0
= 0;
4500 int tempbool2
= (int) TRUE
;
4501 int tempbool3
= (int) TRUE
;
4502 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
4506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
4509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
4511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
4515 _arg2
= (bool ) tempbool2
;
4516 _arg3
= (bool ) tempbool3
;
4518 wxPy_BEGIN_ALLOW_THREADS
;
4519 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
4521 wxPy_END_ALLOW_THREADS
;
4523 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
4524 _resultobj
= Py_BuildValue("s",_ptemp
);
4527 _resultobj
= Py_None
;
4532 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4533 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
* _resultobj
;
4535 wxLogWindow
* _arg0
;
4536 bool _arg1
= (bool ) TRUE
;
4537 PyObject
* _argo0
= 0;
4538 int tempbool1
= (int) TRUE
;
4539 char *_kwnames
[] = { "self","bShow", NULL
};
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4545 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4546 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
4551 _arg1
= (bool ) tempbool1
;
4553 wxPy_BEGIN_ALLOW_THREADS
;
4554 wxLogWindow_Show(_arg0
,_arg1
);
4556 wxPy_END_ALLOW_THREADS
;
4557 } Py_INCREF(Py_None
);
4558 _resultobj
= Py_None
;
4562 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
4563 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4564 PyObject
* _resultobj
;
4566 wxLogWindow
* _arg0
;
4567 PyObject
* _argo0
= 0;
4568 char *_kwnames
[] = { "self", NULL
};
4572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
4575 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4576 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4577 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
4582 wxPy_BEGIN_ALLOW_THREADS
;
4583 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
4585 wxPy_END_ALLOW_THREADS
;
4587 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
4588 _resultobj
= Py_BuildValue("s",_ptemp
);
4591 _resultobj
= Py_None
;
4596 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
4597 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4598 PyObject
* _resultobj
;
4600 wxLogWindow
* _arg0
;
4601 PyObject
* _argo0
= 0;
4602 char *_kwnames
[] = { "self", NULL
};
4606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
4609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
4616 wxPy_BEGIN_ALLOW_THREADS
;
4617 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
4619 wxPy_END_ALLOW_THREADS
;
4621 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4622 _resultobj
= Py_BuildValue("s",_ptemp
);
4625 _resultobj
= Py_None
;
4630 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
4631 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4632 PyObject
* _resultobj
;
4634 wxLogWindow
* _arg0
;
4635 PyObject
* _argo0
= 0;
4636 char *_kwnames
[] = { "self", NULL
};
4639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
4642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
4649 wxPy_BEGIN_ALLOW_THREADS
;
4650 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
4652 wxPy_END_ALLOW_THREADS
;
4653 } _resultobj
= Py_BuildValue("i",_result
);
4657 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
4658 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
* _resultobj
;
4660 wxLogWindow
* _arg0
;
4662 PyObject
* _argo0
= 0;
4664 char *_kwnames
[] = { "self","bDoPass", NULL
};
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
4670 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4671 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4672 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
4676 _arg1
= (bool ) tempbool1
;
4678 wxPy_BEGIN_ALLOW_THREADS
;
4679 wxLogWindow_PassMessages(_arg0
,_arg1
);
4681 wxPy_END_ALLOW_THREADS
;
4682 } Py_INCREF(Py_None
);
4683 _resultobj
= Py_None
;
4687 #define new_wxLogNull() (new wxLogNull())
4688 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
* _resultobj
;
4690 wxLogNull
* _result
;
4691 char *_kwnames
[] = { NULL
};
4695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
4698 wxPy_BEGIN_ALLOW_THREADS
;
4699 _result
= (wxLogNull
*)new_wxLogNull();
4701 wxPy_END_ALLOW_THREADS
;
4703 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
4704 _resultobj
= Py_BuildValue("s",_ptemp
);
4707 _resultobj
= Py_None
;
4712 #define delete_wxLogNull(_swigobj) (delete _swigobj)
4713 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4714 PyObject
* _resultobj
;
4716 PyObject
* _argo0
= 0;
4717 char *_kwnames
[] = { "self", NULL
};
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
4723 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4724 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
4725 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
4730 wxPy_BEGIN_ALLOW_THREADS
;
4731 delete_wxLogNull(_arg0
);
4733 wxPy_END_ALLOW_THREADS
;
4734 } Py_INCREF(Py_None
);
4735 _resultobj
= Py_None
;
4739 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
4740 wxProcessEvent
*src
;
4742 src
= (wxProcessEvent
*) ptr
;
4743 dest
= (wxEvent
*) src
;
4744 return (void *) dest
;
4747 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
4748 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4749 PyObject
* _resultobj
;
4750 wxProcessEvent
* _result
;
4751 int _arg0
= (int ) 0;
4752 int _arg1
= (int ) 0;
4753 int _arg2
= (int ) 0;
4754 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
4758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4761 wxPy_BEGIN_ALLOW_THREADS
;
4762 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
4764 wxPy_END_ALLOW_THREADS
;
4766 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
4767 _resultobj
= Py_BuildValue("s",_ptemp
);
4770 _resultobj
= Py_None
;
4775 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
4776 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4777 PyObject
* _resultobj
;
4779 wxProcessEvent
* _arg0
;
4780 PyObject
* _argo0
= 0;
4781 char *_kwnames
[] = { "self", NULL
};
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
4787 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4788 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4789 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
4794 wxPy_BEGIN_ALLOW_THREADS
;
4795 _result
= (int )wxProcessEvent_GetPid(_arg0
);
4797 wxPy_END_ALLOW_THREADS
;
4798 } _resultobj
= Py_BuildValue("i",_result
);
4802 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
4803 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4804 PyObject
* _resultobj
;
4806 wxProcessEvent
* _arg0
;
4807 PyObject
* _argo0
= 0;
4808 char *_kwnames
[] = { "self", NULL
};
4811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
4814 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4815 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4816 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
4821 wxPy_BEGIN_ALLOW_THREADS
;
4822 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
4824 wxPy_END_ALLOW_THREADS
;
4825 } _resultobj
= Py_BuildValue("i",_result
);
4829 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
4830 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4831 PyObject
* _resultobj
;
4833 wxProcessEvent
* _arg0
;
4835 PyObject
* _argo0
= 0;
4836 char *_kwnames
[] = { "self","m_pid", NULL
};
4839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
4842 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4843 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4844 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
4849 wxPy_BEGIN_ALLOW_THREADS
;
4850 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
4852 wxPy_END_ALLOW_THREADS
;
4853 } _resultobj
= Py_BuildValue("i",_result
);
4857 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
4858 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4859 PyObject
* _resultobj
;
4861 wxProcessEvent
* _arg0
;
4862 PyObject
* _argo0
= 0;
4863 char *_kwnames
[] = { "self", NULL
};
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
4869 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4870 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4871 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
4876 wxPy_BEGIN_ALLOW_THREADS
;
4877 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
4879 wxPy_END_ALLOW_THREADS
;
4880 } _resultobj
= Py_BuildValue("i",_result
);
4884 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
4885 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
* _resultobj
;
4888 wxProcessEvent
* _arg0
;
4890 PyObject
* _argo0
= 0;
4891 char *_kwnames
[] = { "self","m_exitcode", NULL
};
4894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
4897 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4898 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4899 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
4904 wxPy_BEGIN_ALLOW_THREADS
;
4905 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
4907 wxPy_END_ALLOW_THREADS
;
4908 } _resultobj
= Py_BuildValue("i",_result
);
4912 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
4913 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
* _resultobj
;
4916 wxProcessEvent
* _arg0
;
4917 PyObject
* _argo0
= 0;
4918 char *_kwnames
[] = { "self", NULL
};
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
4924 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4925 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4926 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
4931 wxPy_BEGIN_ALLOW_THREADS
;
4932 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
4934 wxPy_END_ALLOW_THREADS
;
4935 } _resultobj
= Py_BuildValue("i",_result
);
4939 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
4942 src
= (wxPyProcess
*) ptr
;
4943 dest
= (wxEvtHandler
*) src
;
4944 return (void *) dest
;
4947 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
4948 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4949 PyObject
* _resultobj
;
4950 wxPyProcess
* _result
;
4951 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
4952 int _arg1
= (int ) -1;
4953 PyObject
* _argo0
= 0;
4954 char *_kwnames
[] = { "parent","id", NULL
};
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
4961 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4962 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
4963 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
4968 wxPy_BEGIN_ALLOW_THREADS
;
4969 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
4971 wxPy_END_ALLOW_THREADS
;
4973 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
4974 _resultobj
= Py_BuildValue("s",_ptemp
);
4977 _resultobj
= Py_None
;
4982 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
4983 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4984 PyObject
* _resultobj
;
4985 wxPyProcess
* _arg0
;
4986 PyObject
* _argo0
= 0;
4987 char *_kwnames
[] = { "self", NULL
};
4990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
4993 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4994 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
4995 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
5000 wxPy_BEGIN_ALLOW_THREADS
;
5001 wxPyProcess_Destroy(_arg0
);
5003 wxPy_END_ALLOW_THREADS
;
5004 } Py_INCREF(Py_None
);
5005 _resultobj
= Py_None
;
5009 #define wxProcess__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
5010 static PyObject
*_wrap_wxProcess__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5011 PyObject
* _resultobj
;
5012 wxPyProcess
* _arg0
;
5015 PyObject
* _argo0
= 0;
5016 PyObject
* _obj1
= 0;
5017 PyObject
* _obj2
= 0;
5018 char *_kwnames
[] = { "self","self","_class", NULL
};
5021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
5024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setSelf. Expected _wxPyProcess_p.");
5037 wxPy_BEGIN_ALLOW_THREADS
;
5038 wxProcess__setSelf(_arg0
,_arg1
,_arg2
);
5040 wxPy_END_ALLOW_THREADS
;
5041 } Py_INCREF(Py_None
);
5042 _resultobj
= Py_None
;
5046 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
5047 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5048 PyObject
* _resultobj
;
5049 wxPyProcess
* _arg0
;
5052 PyObject
* _argo0
= 0;
5053 char *_kwnames
[] = { "self","pid","status", NULL
};
5056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
5059 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5060 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5061 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
5066 wxPy_BEGIN_ALLOW_THREADS
;
5067 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
5069 wxPy_END_ALLOW_THREADS
;
5070 } Py_INCREF(Py_None
);
5071 _resultobj
= Py_None
;
5075 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
5076 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5077 PyObject
* _resultobj
;
5078 wxPyProcess
* _arg0
;
5079 PyObject
* _argo0
= 0;
5080 char *_kwnames
[] = { "self", NULL
};
5083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
5086 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5087 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5088 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
5093 wxPy_BEGIN_ALLOW_THREADS
;
5094 wxProcess_Redirect(_arg0
);
5096 wxPy_END_ALLOW_THREADS
;
5097 } Py_INCREF(Py_None
);
5098 _resultobj
= Py_None
;
5102 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
5103 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5104 PyObject
* _resultobj
;
5106 wxPyProcess
* _arg0
;
5107 PyObject
* _argo0
= 0;
5108 char *_kwnames
[] = { "self", NULL
};
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
5114 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5115 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5116 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
5121 wxPy_BEGIN_ALLOW_THREADS
;
5122 _result
= (bool )wxProcess_IsRedirected(_arg0
);
5124 wxPy_END_ALLOW_THREADS
;
5125 } _resultobj
= Py_BuildValue("i",_result
);
5129 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
5130 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5131 PyObject
* _resultobj
;
5132 wxPyProcess
* _arg0
;
5133 PyObject
* _argo0
= 0;
5134 char *_kwnames
[] = { "self", NULL
};
5137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
5140 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5141 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5142 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
5147 wxPy_BEGIN_ALLOW_THREADS
;
5148 wxProcess_Detach(_arg0
);
5150 wxPy_END_ALLOW_THREADS
;
5151 } Py_INCREF(Py_None
);
5152 _resultobj
= Py_None
;
5156 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
5157 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5158 PyObject
* _resultobj
;
5159 wxInputStream
* _result
;
5160 wxPyProcess
* _arg0
;
5161 PyObject
* _argo0
= 0;
5162 char *_kwnames
[] = { "self", NULL
};
5165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
5168 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5169 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5170 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
5175 wxPy_BEGIN_ALLOW_THREADS
;
5176 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
5178 wxPy_END_ALLOW_THREADS
;
5180 wxPyInputStream
* _ptr
= NULL
;
5183 _ptr
= new wxPyInputStream(_result
);
5187 SWIG_MakePtr(swigptr
, _ptr
, "_wxPyInputStream_p");
5189 PyObject
* classobj
= PyDict_GetItemString(wxPython_dict
, "wxInputStreamPtr");
5192 _resultobj
= Py_None
;
5194 PyObject
* arg
= Py_BuildValue("(s)", swigptr
);
5195 _resultobj
= PyInstance_New(classobj
, arg
, NULL
);
5199 PyObject
* one
= PyInt_FromLong(1);
5200 PyObject_SetAttrString(_resultobj
, "thisown", one
);
5205 _resultobj
= Py_None
;
5211 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
5212 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5213 PyObject
* _resultobj
;
5214 wxInputStream
* _result
;
5215 wxPyProcess
* _arg0
;
5216 PyObject
* _argo0
= 0;
5217 char *_kwnames
[] = { "self", NULL
};
5220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
5223 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5224 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5225 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
5230 wxPy_BEGIN_ALLOW_THREADS
;
5231 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
5233 wxPy_END_ALLOW_THREADS
;
5235 wxPyInputStream
* _ptr
= NULL
;
5238 _ptr
= new wxPyInputStream(_result
);
5242 SWIG_MakePtr(swigptr
, _ptr
, "_wxPyInputStream_p");
5244 PyObject
* classobj
= PyDict_GetItemString(wxPython_dict
, "wxInputStreamPtr");
5247 _resultobj
= Py_None
;
5249 PyObject
* arg
= Py_BuildValue("(s)", swigptr
);
5250 _resultobj
= PyInstance_New(classobj
, arg
, NULL
);
5254 PyObject
* one
= PyInt_FromLong(1);
5255 PyObject_SetAttrString(_resultobj
, "thisown", one
);
5260 _resultobj
= Py_None
;
5266 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
5267 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
* _resultobj
;
5269 wxOutputStream
* _result
;
5270 wxPyProcess
* _arg0
;
5271 PyObject
* _argo0
= 0;
5272 char *_kwnames
[] = { "self", NULL
};
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
5279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
5286 wxPy_BEGIN_ALLOW_THREADS
;
5287 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
5289 wxPy_END_ALLOW_THREADS
;
5291 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
5292 _resultobj
= Py_BuildValue("s",_ptemp
);
5295 _resultobj
= Py_None
;
5300 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
5301 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5302 PyObject
* _resultobj
;
5303 wxPyProcess
* _arg0
;
5304 PyObject
* _argo0
= 0;
5305 char *_kwnames
[] = { "self", NULL
};
5308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
5311 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5312 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5313 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
5318 wxPy_BEGIN_ALLOW_THREADS
;
5319 wxProcess_CloseOutput(_arg0
);
5321 wxPy_END_ALLOW_THREADS
;
5322 } Py_INCREF(Py_None
);
5323 _resultobj
= Py_None
;
5327 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
5328 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5329 PyObject
* _resultobj
;
5330 wxJoystick
* _result
;
5331 int _arg0
= (int ) wxJOYSTICK1
;
5332 char *_kwnames
[] = { "joystick", NULL
};
5336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
5339 wxPy_BEGIN_ALLOW_THREADS
;
5340 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
5342 wxPy_END_ALLOW_THREADS
;
5344 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
5345 _resultobj
= Py_BuildValue("s",_ptemp
);
5348 _resultobj
= Py_None
;
5353 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
5354 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5355 PyObject
* _resultobj
;
5358 PyObject
* _argo0
= 0;
5359 char *_kwnames
[] = { "self", NULL
};
5363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
5366 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5367 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5368 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
5373 wxPy_BEGIN_ALLOW_THREADS
;
5374 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
5376 wxPy_END_ALLOW_THREADS
;
5377 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5378 _resultobj
= Py_BuildValue("s",_ptemp
);
5382 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
5383 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5384 PyObject
* _resultobj
;
5387 PyObject
* _argo0
= 0;
5388 char *_kwnames
[] = { "self", NULL
};
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
5394 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5395 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5396 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
5401 wxPy_BEGIN_ALLOW_THREADS
;
5402 _result
= (int )wxJoystick_GetZPosition(_arg0
);
5404 wxPy_END_ALLOW_THREADS
;
5405 } _resultobj
= Py_BuildValue("i",_result
);
5409 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
5410 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
* _resultobj
;
5414 PyObject
* _argo0
= 0;
5415 char *_kwnames
[] = { "self", NULL
};
5418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
5421 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5422 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5423 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
5428 wxPy_BEGIN_ALLOW_THREADS
;
5429 _result
= (int )wxJoystick_GetButtonState(_arg0
);
5431 wxPy_END_ALLOW_THREADS
;
5432 } _resultobj
= Py_BuildValue("i",_result
);
5436 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
5437 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5438 PyObject
* _resultobj
;
5441 PyObject
* _argo0
= 0;
5442 char *_kwnames
[] = { "self", NULL
};
5445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
5448 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5449 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5450 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
5455 wxPy_BEGIN_ALLOW_THREADS
;
5456 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
5458 wxPy_END_ALLOW_THREADS
;
5459 } _resultobj
= Py_BuildValue("i",_result
);
5463 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
5464 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
* _resultobj
;
5468 PyObject
* _argo0
= 0;
5469 char *_kwnames
[] = { "self", NULL
};
5472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
5475 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5476 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5477 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
5482 wxPy_BEGIN_ALLOW_THREADS
;
5483 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
5485 wxPy_END_ALLOW_THREADS
;
5486 } _resultobj
= Py_BuildValue("i",_result
);
5490 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
5491 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5492 PyObject
* _resultobj
;
5495 PyObject
* _argo0
= 0;
5496 char *_kwnames
[] = { "self", NULL
};
5499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
5502 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5503 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5504 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
5509 wxPy_BEGIN_ALLOW_THREADS
;
5510 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
5512 wxPy_END_ALLOW_THREADS
;
5513 } _resultobj
= Py_BuildValue("i",_result
);
5517 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
5518 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
* _resultobj
;
5522 PyObject
* _argo0
= 0;
5523 char *_kwnames
[] = { "self", NULL
};
5526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
5529 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5530 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5531 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
5536 wxPy_BEGIN_ALLOW_THREADS
;
5537 _result
= (int )wxJoystick_GetUPosition(_arg0
);
5539 wxPy_END_ALLOW_THREADS
;
5540 } _resultobj
= Py_BuildValue("i",_result
);
5544 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
5545 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
* _resultobj
;
5549 PyObject
* _argo0
= 0;
5550 char *_kwnames
[] = { "self", NULL
};
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
5556 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5557 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5558 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
5563 wxPy_BEGIN_ALLOW_THREADS
;
5564 _result
= (int )wxJoystick_GetVPosition(_arg0
);
5566 wxPy_END_ALLOW_THREADS
;
5567 } _resultobj
= Py_BuildValue("i",_result
);
5571 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
5572 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5573 PyObject
* _resultobj
;
5576 PyObject
* _argo0
= 0;
5577 char *_kwnames
[] = { "self", NULL
};
5580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
5583 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5584 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5585 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
5590 wxPy_BEGIN_ALLOW_THREADS
;
5591 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
5593 wxPy_END_ALLOW_THREADS
;
5594 } _resultobj
= Py_BuildValue("i",_result
);
5598 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
5599 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
* _resultobj
;
5603 PyObject
* _argo0
= 0;
5604 char *_kwnames
[] = { "self","threshold", NULL
};
5607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
5610 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5611 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5612 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
5617 wxPy_BEGIN_ALLOW_THREADS
;
5618 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
5620 wxPy_END_ALLOW_THREADS
;
5621 } Py_INCREF(Py_None
);
5622 _resultobj
= Py_None
;
5626 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
5627 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
* _resultobj
;
5631 PyObject
* _argo0
= 0;
5632 char *_kwnames
[] = { "self", NULL
};
5635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
5638 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5639 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5640 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
5645 wxPy_BEGIN_ALLOW_THREADS
;
5646 _result
= (bool )wxJoystick_IsOk(_arg0
);
5648 wxPy_END_ALLOW_THREADS
;
5649 } _resultobj
= Py_BuildValue("i",_result
);
5653 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
5654 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5655 PyObject
* _resultobj
;
5658 PyObject
* _argo0
= 0;
5659 char *_kwnames
[] = { "self", NULL
};
5662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
5665 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5666 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5667 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
5672 wxPy_BEGIN_ALLOW_THREADS
;
5673 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
5675 wxPy_END_ALLOW_THREADS
;
5676 } _resultobj
= Py_BuildValue("i",_result
);
5680 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
5681 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
* _resultobj
;
5685 PyObject
* _argo0
= 0;
5686 char *_kwnames
[] = { "self", NULL
};
5689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
5692 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5693 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5694 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
5699 wxPy_BEGIN_ALLOW_THREADS
;
5700 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
5702 wxPy_END_ALLOW_THREADS
;
5703 } _resultobj
= Py_BuildValue("i",_result
);
5707 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
5708 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
* _resultobj
;
5712 PyObject
* _argo0
= 0;
5713 char *_kwnames
[] = { "self", NULL
};
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
5719 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5720 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5721 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
5726 wxPy_BEGIN_ALLOW_THREADS
;
5727 _result
= (int )wxJoystick_GetProductId(_arg0
);
5729 wxPy_END_ALLOW_THREADS
;
5730 } _resultobj
= Py_BuildValue("i",_result
);
5734 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
5735 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
* _resultobj
;
5739 PyObject
* _argo0
= 0;
5740 char *_kwnames
[] = { "self", NULL
};
5743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
5746 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5747 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5748 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
5753 wxPy_BEGIN_ALLOW_THREADS
;
5754 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
5756 wxPy_END_ALLOW_THREADS
;
5758 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5766 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
5767 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5768 PyObject
* _resultobj
;
5771 PyObject
* _argo0
= 0;
5772 char *_kwnames
[] = { "self", NULL
};
5775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
5778 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5779 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5780 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
5785 wxPy_BEGIN_ALLOW_THREADS
;
5786 _result
= (int )wxJoystick_GetXMin(_arg0
);
5788 wxPy_END_ALLOW_THREADS
;
5789 } _resultobj
= Py_BuildValue("i",_result
);
5793 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
5794 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
* _resultobj
;
5798 PyObject
* _argo0
= 0;
5799 char *_kwnames
[] = { "self", NULL
};
5802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
5805 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5806 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5807 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
5812 wxPy_BEGIN_ALLOW_THREADS
;
5813 _result
= (int )wxJoystick_GetYMin(_arg0
);
5815 wxPy_END_ALLOW_THREADS
;
5816 } _resultobj
= Py_BuildValue("i",_result
);
5820 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
5821 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5822 PyObject
* _resultobj
;
5825 PyObject
* _argo0
= 0;
5826 char *_kwnames
[] = { "self", NULL
};
5829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
5832 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5833 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5834 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
5839 wxPy_BEGIN_ALLOW_THREADS
;
5840 _result
= (int )wxJoystick_GetZMin(_arg0
);
5842 wxPy_END_ALLOW_THREADS
;
5843 } _resultobj
= Py_BuildValue("i",_result
);
5847 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
5848 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5849 PyObject
* _resultobj
;
5852 PyObject
* _argo0
= 0;
5853 char *_kwnames
[] = { "self", NULL
};
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
5859 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5860 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5861 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
5866 wxPy_BEGIN_ALLOW_THREADS
;
5867 _result
= (int )wxJoystick_GetXMax(_arg0
);
5869 wxPy_END_ALLOW_THREADS
;
5870 } _resultobj
= Py_BuildValue("i",_result
);
5874 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
5875 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
* _resultobj
;
5879 PyObject
* _argo0
= 0;
5880 char *_kwnames
[] = { "self", NULL
};
5883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
5886 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5887 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5888 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
5893 wxPy_BEGIN_ALLOW_THREADS
;
5894 _result
= (int )wxJoystick_GetYMax(_arg0
);
5896 wxPy_END_ALLOW_THREADS
;
5897 } _resultobj
= Py_BuildValue("i",_result
);
5901 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
5902 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5903 PyObject
* _resultobj
;
5906 PyObject
* _argo0
= 0;
5907 char *_kwnames
[] = { "self", NULL
};
5910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
5913 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5914 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5915 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
5920 wxPy_BEGIN_ALLOW_THREADS
;
5921 _result
= (int )wxJoystick_GetZMax(_arg0
);
5923 wxPy_END_ALLOW_THREADS
;
5924 } _resultobj
= Py_BuildValue("i",_result
);
5928 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
5929 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5930 PyObject
* _resultobj
;
5933 PyObject
* _argo0
= 0;
5934 char *_kwnames
[] = { "self", NULL
};
5937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
5940 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5941 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5942 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
5947 wxPy_BEGIN_ALLOW_THREADS
;
5948 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
5950 wxPy_END_ALLOW_THREADS
;
5951 } _resultobj
= Py_BuildValue("i",_result
);
5955 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
5956 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
* _resultobj
;
5960 PyObject
* _argo0
= 0;
5961 char *_kwnames
[] = { "self", NULL
};
5964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
5967 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5968 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5969 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
5974 wxPy_BEGIN_ALLOW_THREADS
;
5975 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
5977 wxPy_END_ALLOW_THREADS
;
5978 } _resultobj
= Py_BuildValue("i",_result
);
5982 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
5983 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5984 PyObject
* _resultobj
;
5987 PyObject
* _argo0
= 0;
5988 char *_kwnames
[] = { "self", NULL
};
5991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
5994 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5995 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5996 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
6001 wxPy_BEGIN_ALLOW_THREADS
;
6002 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
6004 wxPy_END_ALLOW_THREADS
;
6005 } _resultobj
= Py_BuildValue("i",_result
);
6009 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
6010 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6011 PyObject
* _resultobj
;
6014 PyObject
* _argo0
= 0;
6015 char *_kwnames
[] = { "self", NULL
};
6018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
6021 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6022 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6023 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
6028 wxPy_BEGIN_ALLOW_THREADS
;
6029 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
6031 wxPy_END_ALLOW_THREADS
;
6032 } _resultobj
= Py_BuildValue("i",_result
);
6036 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
6037 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6038 PyObject
* _resultobj
;
6041 PyObject
* _argo0
= 0;
6042 char *_kwnames
[] = { "self", NULL
};
6045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
6048 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6049 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6050 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
6055 wxPy_BEGIN_ALLOW_THREADS
;
6056 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
6058 wxPy_END_ALLOW_THREADS
;
6059 } _resultobj
= Py_BuildValue("i",_result
);
6063 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
6064 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6065 PyObject
* _resultobj
;
6068 PyObject
* _argo0
= 0;
6069 char *_kwnames
[] = { "self", NULL
};
6072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
6075 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6076 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6077 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
6082 wxPy_BEGIN_ALLOW_THREADS
;
6083 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
6085 wxPy_END_ALLOW_THREADS
;
6086 } _resultobj
= Py_BuildValue("i",_result
);
6090 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
6091 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6092 PyObject
* _resultobj
;
6095 PyObject
* _argo0
= 0;
6096 char *_kwnames
[] = { "self", NULL
};
6099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
6102 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6103 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6104 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
6109 wxPy_BEGIN_ALLOW_THREADS
;
6110 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
6112 wxPy_END_ALLOW_THREADS
;
6113 } _resultobj
= Py_BuildValue("i",_result
);
6117 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
6118 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6119 PyObject
* _resultobj
;
6122 PyObject
* _argo0
= 0;
6123 char *_kwnames
[] = { "self", NULL
};
6126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
6129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
6136 wxPy_BEGIN_ALLOW_THREADS
;
6137 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
6139 wxPy_END_ALLOW_THREADS
;
6140 } _resultobj
= Py_BuildValue("i",_result
);
6144 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
6145 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
* _resultobj
;
6149 PyObject
* _argo0
= 0;
6150 char *_kwnames
[] = { "self", NULL
};
6153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
6156 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6157 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6158 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
6163 wxPy_BEGIN_ALLOW_THREADS
;
6164 _result
= (int )wxJoystick_GetUMin(_arg0
);
6166 wxPy_END_ALLOW_THREADS
;
6167 } _resultobj
= Py_BuildValue("i",_result
);
6171 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
6172 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
* _resultobj
;
6176 PyObject
* _argo0
= 0;
6177 char *_kwnames
[] = { "self", NULL
};
6180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
6183 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6184 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6185 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
6190 wxPy_BEGIN_ALLOW_THREADS
;
6191 _result
= (int )wxJoystick_GetUMax(_arg0
);
6193 wxPy_END_ALLOW_THREADS
;
6194 } _resultobj
= Py_BuildValue("i",_result
);
6198 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
6199 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6200 PyObject
* _resultobj
;
6203 PyObject
* _argo0
= 0;
6204 char *_kwnames
[] = { "self", NULL
};
6207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
6210 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6211 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6212 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
6217 wxPy_BEGIN_ALLOW_THREADS
;
6218 _result
= (int )wxJoystick_GetVMin(_arg0
);
6220 wxPy_END_ALLOW_THREADS
;
6221 } _resultobj
= Py_BuildValue("i",_result
);
6225 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
6226 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
* _resultobj
;
6230 PyObject
* _argo0
= 0;
6231 char *_kwnames
[] = { "self", NULL
};
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
6237 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6238 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6239 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
6244 wxPy_BEGIN_ALLOW_THREADS
;
6245 _result
= (int )wxJoystick_GetVMax(_arg0
);
6247 wxPy_END_ALLOW_THREADS
;
6248 } _resultobj
= Py_BuildValue("i",_result
);
6252 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
6253 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
* _resultobj
;
6257 PyObject
* _argo0
= 0;
6258 char *_kwnames
[] = { "self", NULL
};
6261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
6264 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6265 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6266 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
6271 wxPy_BEGIN_ALLOW_THREADS
;
6272 _result
= (bool )wxJoystick_HasRudder(_arg0
);
6274 wxPy_END_ALLOW_THREADS
;
6275 } _resultobj
= Py_BuildValue("i",_result
);
6279 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
6280 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
* _resultobj
;
6284 PyObject
* _argo0
= 0;
6285 char *_kwnames
[] = { "self", NULL
};
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
6291 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6292 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
6298 wxPy_BEGIN_ALLOW_THREADS
;
6299 _result
= (bool )wxJoystick_HasZ(_arg0
);
6301 wxPy_END_ALLOW_THREADS
;
6302 } _resultobj
= Py_BuildValue("i",_result
);
6306 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
6307 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
* _resultobj
;
6311 PyObject
* _argo0
= 0;
6312 char *_kwnames
[] = { "self", NULL
};
6315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
6318 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6319 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6320 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
6325 wxPy_BEGIN_ALLOW_THREADS
;
6326 _result
= (bool )wxJoystick_HasU(_arg0
);
6328 wxPy_END_ALLOW_THREADS
;
6329 } _resultobj
= Py_BuildValue("i",_result
);
6333 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
6334 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6335 PyObject
* _resultobj
;
6338 PyObject
* _argo0
= 0;
6339 char *_kwnames
[] = { "self", NULL
};
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
6345 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6346 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6347 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
6352 wxPy_BEGIN_ALLOW_THREADS
;
6353 _result
= (bool )wxJoystick_HasV(_arg0
);
6355 wxPy_END_ALLOW_THREADS
;
6356 } _resultobj
= Py_BuildValue("i",_result
);
6360 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
6361 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
* _resultobj
;
6365 PyObject
* _argo0
= 0;
6366 char *_kwnames
[] = { "self", NULL
};
6369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
6372 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6373 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6374 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
6379 wxPy_BEGIN_ALLOW_THREADS
;
6380 _result
= (bool )wxJoystick_HasPOV(_arg0
);
6382 wxPy_END_ALLOW_THREADS
;
6383 } _resultobj
= Py_BuildValue("i",_result
);
6387 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
6388 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
* _resultobj
;
6392 PyObject
* _argo0
= 0;
6393 char *_kwnames
[] = { "self", NULL
};
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
6399 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6400 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6401 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
6406 wxPy_BEGIN_ALLOW_THREADS
;
6407 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
6409 wxPy_END_ALLOW_THREADS
;
6410 } _resultobj
= Py_BuildValue("i",_result
);
6414 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
6415 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6416 PyObject
* _resultobj
;
6419 PyObject
* _argo0
= 0;
6420 char *_kwnames
[] = { "self", NULL
};
6423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
6426 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6427 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6428 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
6433 wxPy_BEGIN_ALLOW_THREADS
;
6434 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
6436 wxPy_END_ALLOW_THREADS
;
6437 } _resultobj
= Py_BuildValue("i",_result
);
6441 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
6442 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6443 PyObject
* _resultobj
;
6447 int _arg2
= (int ) 0;
6448 PyObject
* _argo0
= 0;
6449 PyObject
* _argo1
= 0;
6450 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
6453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6456 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6457 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6458 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
6463 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6464 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6465 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
6470 wxPy_BEGIN_ALLOW_THREADS
;
6471 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
6473 wxPy_END_ALLOW_THREADS
;
6474 } _resultobj
= Py_BuildValue("i",_result
);
6478 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
6479 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6480 PyObject
* _resultobj
;
6483 PyObject
* _argo0
= 0;
6484 char *_kwnames
[] = { "self", NULL
};
6487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
6490 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6491 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6492 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
6497 wxPy_BEGIN_ALLOW_THREADS
;
6498 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
6500 wxPy_END_ALLOW_THREADS
;
6501 } _resultobj
= Py_BuildValue("i",_result
);
6505 static PyMethodDef misc2cMethods
[] = {
6506 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
6507 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
6508 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
6509 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
6510 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
6511 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
6512 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
6513 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
6514 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
6515 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
6516 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
6517 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
6518 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
6519 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
6520 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
6521 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
6522 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
6523 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
6524 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
6525 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
6526 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
6527 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
6528 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
6529 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
6530 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
6531 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
6532 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
6533 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
6534 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
6535 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
6536 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
6537 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
6538 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
6539 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
6540 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
6541 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
6542 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
6543 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
6544 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
6545 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
6546 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
6547 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6548 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
6549 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
6550 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
6551 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
6552 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
6553 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
6554 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
6555 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
6556 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
6557 { "wxProcess__setSelf", (PyCFunction
) _wrap_wxProcess__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
6558 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
6559 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
6560 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
6561 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
6562 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
6563 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
6564 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
6565 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
6566 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
6567 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
6568 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
6569 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
6570 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
6571 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
6572 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
6573 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
6574 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
6575 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
6576 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
6577 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
6578 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
6579 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
6580 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
6581 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
6582 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
6583 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
6584 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
6585 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
6586 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
6587 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
6588 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
6589 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
6590 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
6591 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
6592 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
6593 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
6594 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
6595 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
6596 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
6597 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
6598 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
6599 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
6600 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
6601 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
6602 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
6603 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
6604 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
6605 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
6606 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
6607 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
6608 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
6609 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
6610 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
6611 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
6612 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
6613 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
6614 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
6615 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
6616 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
6617 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
6618 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
6619 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
6620 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
6621 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
6622 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
6623 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
6624 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
6625 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
6626 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
6627 { "wxFontEnumerator__setSelf", (PyCFunction
) _wrap_wxFontEnumerator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
6628 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
6629 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
6630 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
6631 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
6632 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
6633 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
6634 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
6635 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
6636 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6637 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
6638 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
6639 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6640 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
6641 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
6642 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
6643 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
6644 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
6645 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6646 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
6647 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
6648 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
6649 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
6650 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
6651 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
6652 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
6653 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
6654 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
6655 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
6656 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
6657 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
6658 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
6659 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
6660 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
6661 { "wxDragListItem", (PyCFunction
) _wrap_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
6662 { "wxDragTreeItem", (PyCFunction
) _wrap_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
6663 { "wxDragString", (PyCFunction
) _wrap_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
6664 { "wxDragIcon", (PyCFunction
) _wrap_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
6665 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
6666 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
6667 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
6668 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
6669 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
6670 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
6671 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
6672 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
6673 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
6674 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
6675 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
6676 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
6677 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
6678 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
6679 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
6680 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
6681 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
6682 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
6683 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
6684 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
6685 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
6686 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
6687 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
6688 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
6689 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
6690 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
6691 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
6692 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
6693 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
6694 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
6695 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
6696 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
6697 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
6698 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
6699 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
6700 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
6701 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
6702 { "wxGetPasswordFromUser", (PyCFunction
) _wrap_wxGetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
6703 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
6704 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
6711 * This table is used by the pointer type-checker
6713 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6714 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
6715 { "_wxEvent","_class_wxProcessEvent",SwigwxProcessEventTowxEvent
},
6716 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
6717 { "_wxEvent","_class_wxEvent",0},
6718 { "_class_wxActivateEvent","_wxActivateEvent",0},
6719 { "_signed_long","_long",0},
6720 { "_wxMenuEvent","_class_wxMenuEvent",0},
6721 { "_class_wxProcessEvent","_wxProcessEvent",0},
6722 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
6723 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
6724 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
6725 { "_wxWindowDisabler","_class_wxWindowDisabler",0},
6726 { "_wxPrintQuality","_wxCoord",0},
6727 { "_wxPrintQuality","_int",0},
6728 { "_wxPrintQuality","_signed_int",0},
6729 { "_wxPrintQuality","_unsigned_int",0},
6730 { "_wxPrintQuality","_wxWindowID",0},
6731 { "_wxPrintQuality","_uint",0},
6732 { "_wxPrintQuality","_EBool",0},
6733 { "_wxPrintQuality","_size_t",0},
6734 { "_wxPrintQuality","_time_t",0},
6735 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
6736 { "_class_wxRegionIterator","_wxRegionIterator",0},
6737 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
6738 { "_class_wxMenuBar","_wxMenuBar",0},
6739 { "_class_wxEvtHandler","_class_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
6740 { "_class_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
6741 { "_class_wxEvtHandler","_wxEvtHandler",0},
6742 { "_wxPaintEvent","_class_wxPaintEvent",0},
6743 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
6744 { "_wxCursor","_class_wxCursor",0},
6745 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
6746 { "_wxPyProcess","_class_wxPyProcess",0},
6747 { "_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog
},
6748 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
6749 { "_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog
},
6750 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
6751 { "_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
6752 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
6753 { "_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog
},
6754 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
6755 { "_wxLog","_class_wxLog",0},
6756 { "_wxMask","_class_wxMask",0},
6757 { "_wxToolTip","_class_wxToolTip",0},
6758 { "_wxPen","_class_wxPen",0},
6759 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
6760 { "_byte","_unsigned_char",0},
6761 { "_wxDataObject","_class_wxDataObject",0},
6762 { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
6763 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
6764 { "_wxPyDropSource","_class_wxPyDropSource",0},
6765 { "_long","_unsigned_long",0},
6766 { "_long","_signed_long",0},
6767 { "_wxImageList","_class_wxImageList",0},
6768 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
6769 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
6770 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
6771 { "_class_wxClipboard","_wxClipboard",0},
6772 { "_wxDC","_class_wxDC",0},
6773 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
6774 { "_wxSpinEvent","_class_wxSpinEvent",0},
6775 { "_size_t","_wxCoord",0},
6776 { "_size_t","_wxPrintQuality",0},
6777 { "_size_t","_time_t",0},
6778 { "_size_t","_unsigned_int",0},
6779 { "_size_t","_int",0},
6780 { "_size_t","_wxWindowID",0},
6781 { "_size_t","_uint",0},
6782 { "_class_wxRealPoint","_wxRealPoint",0},
6783 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
6784 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
6785 { "_wxLogGui","_class_wxLogGui",0},
6786 { "_class_wxMenuItem","_wxMenuItem",0},
6787 { "_class_wxPaintEvent","_wxPaintEvent",0},
6788 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
6789 { "_wxPanel","_class_wxPanel",0},
6790 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
6791 { "_wxPyEvent","_class_wxPyEvent",0},
6792 { "_class_wxMask","_wxMask",0},
6793 { "_wxTextDataObject","_class_wxTextDataObject",0},
6794 { "_class_wxKeyEvent","_wxKeyEvent",0},
6795 { "_class_wxToolTip","_wxToolTip",0},
6796 { "_wxColour","_class_wxColour",0},
6797 { "_class_wxDialog","_wxDialog",0},
6798 { "_wxBusyCursor","_class_wxBusyCursor",0},
6799 { "_class_wxFileDataObject","_wxFileDataObject",0},
6800 { "_wxIdleEvent","_class_wxIdleEvent",0},
6801 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
6802 { "_class_wxDataObject","_wxDataObject",0},
6803 { "_wxCaret","_class_wxCaret",0},
6804 { "_wxBrush","_class_wxBrush",0},
6805 { "_wxDataFormat","_class_wxDataFormat",0},
6806 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
6807 { "_wxShowEvent","_class_wxShowEvent",0},
6808 { "_uint","_wxCoord",0},
6809 { "_uint","_wxPrintQuality",0},
6810 { "_uint","_time_t",0},
6811 { "_uint","_size_t",0},
6812 { "_uint","_unsigned_int",0},
6813 { "_uint","_int",0},
6814 { "_uint","_wxWindowID",0},
6815 { "_wxChar","_char",0},
6816 { "_wxPyValidator","_class_wxPyValidator",0},
6817 { "_class_wxEvent","_class_wxProcessEvent",SwigwxProcessEventTowxEvent
},
6818 { "_class_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
6819 { "_class_wxEvent","_wxEvent",0},
6820 { "_wxRect","_class_wxRect",0},
6821 { "_wxCommandEvent","_class_wxCommandEvent",0},
6822 { "_wxSizeEvent","_class_wxSizeEvent",0},
6823 { "_class_wxLogWindow","_wxLogWindow",0},
6824 { "_wxPoint","_class_wxPoint",0},
6825 { "_class_wxWindowDisabler","_wxWindowDisabler",0},
6826 { "_char","_wxChar",0},
6827 { "_wxBitmap","_class_wxBitmap",0},
6828 { "_wxWindowDC","_class_wxWindowDC",0},
6829 { "_wxTimerEvent","_class_wxTimerEvent",0},
6830 { "_wxPyTimer","_class_wxPyTimer",0},
6831 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
6832 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
6833 { "_class_wxValidator","_wxValidator",0},
6834 { "_class_wxPyEvent","_wxPyEvent",0},
6835 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
6836 { "_class_wxBusyCursor","_wxBusyCursor",0},
6837 { "_wxDropTarget","_class_wxDropTarget",0},
6838 { "_wxScrollEvent","_class_wxScrollEvent",0},
6839 { "_EBool","_wxCoord",0},
6840 { "_EBool","_wxPrintQuality",0},
6841 { "_EBool","_signed_int",0},
6842 { "_EBool","_int",0},
6843 { "_EBool","_wxWindowID",0},
6844 { "_class_wxRegion","_wxRegion",0},
6845 { "_class_wxDataFormat","_wxDataFormat",0},
6846 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
6847 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
6848 { "_wxFont","_class_wxFont",0},
6849 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
6850 { "_wxCloseEvent","_class_wxCloseEvent",0},
6851 { "_wxProcessEvent","_class_wxProcessEvent",0},
6852 { "_unsigned_long","_long",0},
6853 { "_class_wxRect","_wxRect",0},
6854 { "_class_wxDC","_wxDC",0},
6855 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
6856 { "_wxGenericDragImage","_class_wxGenericDragImage",0},
6857 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
6858 { "_wxPyInputStream","_class_wxPyInputStream",0},
6859 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
6860 { "_class_wxOutputStream","_wxOutputStream",0},
6861 { "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
6862 { "_wxFocusEvent","_class_wxFocusEvent",0},
6863 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
6864 { "_class_wxTimerEvent","_wxTimerEvent",0},
6865 { "_class_wxPyTimer","_wxPyTimer",0},
6866 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
6867 { "_class_wxPanel","_wxPanel",0},
6868 { "_signed_int","_wxCoord",0},
6869 { "_signed_int","_wxPrintQuality",0},
6870 { "_signed_int","_EBool",0},
6871 { "_signed_int","_wxWindowID",0},
6872 { "_signed_int","_int",0},
6873 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
6874 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
6875 { "_class_wxTextDataObject","_wxTextDataObject",0},
6876 { "_wxMenu","_class_wxMenu",0},
6877 { "_class_wxMoveEvent","_wxMoveEvent",0},
6878 { "_wxScreenDC","_class_wxScreenDC",0},
6879 { "_WXTYPE","_short",0},
6880 { "_WXTYPE","_signed_short",0},
6881 { "_WXTYPE","_unsigned_short",0},
6882 { "_class_wxDropTarget","_wxDropTarget",0},
6883 { "_class_wxCaret","_wxCaret",0},
6884 { "_class_wxBrush","_wxBrush",0},
6885 { "_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
6886 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
6887 { "_wxTipProvider","_class_wxTipProvider",0},
6888 { "_unsigned_short","_WXTYPE",0},
6889 { "_unsigned_short","_short",0},
6890 { "_class_wxWindow","_wxWindow",0},
6891 { "_class_wxLogStderr","_wxLogStderr",0},
6892 { "_class_wxFont","_wxFont",0},
6893 { "_wxClipboard","_class_wxClipboard",0},
6894 { "_class_wxPyValidator","_wxPyValidator",0},
6895 { "_class_wxCloseEvent","_wxCloseEvent",0},
6896 { "_wxBusyInfo","_class_wxBusyInfo",0},
6897 { "_class_wxMenuEvent","_wxMenuEvent",0},
6898 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
6899 { "_wxJoystick","_class_wxJoystick",0},
6900 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
6901 { "_wxClientDC","_class_wxClientDC",0},
6902 { "_wxMouseEvent","_class_wxMouseEvent",0},
6903 { "_class_wxGenericDragImage","_wxGenericDragImage",0},
6904 { "_class_wxPoint","_wxPoint",0},
6905 { "_class_wxPyInputStream","_wxPyInputStream",0},
6906 { "_wxRealPoint","_class_wxRealPoint",0},
6907 { "_signed_short","_WXTYPE",0},
6908 { "_signed_short","_short",0},
6909 { "_wxMemoryDC","_class_wxMemoryDC",0},
6910 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
6911 { "_wxPaintDC","_class_wxPaintDC",0},
6912 { "_class_wxWindowDC","_wxWindowDC",0},
6913 { "_class_wxFocusEvent","_wxFocusEvent",0},
6914 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
6915 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
6916 { "_class_wxCursor","_wxCursor",0},
6917 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
6918 { "_class_wxPyProcess","_wxPyProcess",0},
6919 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
6920 { "_class_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog
},
6921 { "_class_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
6922 { "_class_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog
},
6923 { "_class_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
6924 { "_class_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
6925 { "_class_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
6926 { "_class_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog
},
6927 { "_class_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
6928 { "_class_wxLog","_wxLog",0},
6929 { "_unsigned_char","_byte",0},
6930 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
6931 { "_class_wxMenu","_wxMenu",0},
6932 { "_unsigned_int","_wxCoord",0},
6933 { "_unsigned_int","_wxPrintQuality",0},
6934 { "_unsigned_int","_time_t",0},
6935 { "_unsigned_int","_size_t",0},
6936 { "_unsigned_int","_uint",0},
6937 { "_unsigned_int","_wxWindowID",0},
6938 { "_unsigned_int","_int",0},
6939 { "_wxIcon","_class_wxIcon",0},
6940 { "_wxDialog","_class_wxDialog",0},
6941 { "_class_wxPen","_wxPen",0},
6942 { "_short","_WXTYPE",0},
6943 { "_short","_unsigned_short",0},
6944 { "_short","_signed_short",0},
6945 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
6946 { "_class_wxPyDropSource","_wxPyDropSource",0},
6947 { "_class_wxScrollEvent","_wxScrollEvent",0},
6948 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
6949 { "_class_wxImageList","_wxImageList",0},
6950 { "_wxPyTipProvider","_class_wxPyTipProvider",0},
6951 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
6952 { "_wxWindowID","_wxCoord",0},
6953 { "_wxWindowID","_wxPrintQuality",0},
6954 { "_wxWindowID","_time_t",0},
6955 { "_wxWindowID","_size_t",0},
6956 { "_wxWindowID","_EBool",0},
6957 { "_wxWindowID","_uint",0},
6958 { "_wxWindowID","_int",0},
6959 { "_wxWindowID","_signed_int",0},
6960 { "_wxWindowID","_unsigned_int",0},
6961 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
6962 { "_int","_wxCoord",0},
6963 { "_int","_wxPrintQuality",0},
6964 { "_int","_time_t",0},
6965 { "_int","_size_t",0},
6966 { "_int","_EBool",0},
6967 { "_int","_uint",0},
6968 { "_int","_wxWindowID",0},
6969 { "_int","_unsigned_int",0},
6970 { "_int","_signed_int",0},
6971 { "_class_wxMouseEvent","_wxMouseEvent",0},
6972 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
6973 { "_wxLogWindow","_class_wxLogWindow",0},
6974 { "_class_wxSpinEvent","_wxSpinEvent",0},
6975 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
6976 { "_time_t","_wxCoord",0},
6977 { "_time_t","_wxPrintQuality",0},
6978 { "_time_t","_unsigned_int",0},
6979 { "_time_t","_int",0},
6980 { "_time_t","_wxWindowID",0},
6981 { "_time_t","_uint",0},
6982 { "_time_t","_size_t",0},
6983 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
6984 { "_wxLogNull","_class_wxLogNull",0},
6985 { "_wxSize","_class_wxSize",0},
6986 { "_wxRegionIterator","_class_wxRegionIterator",0},
6987 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
6988 { "_class_wxLogTextCtrl","_wxLogTextCtrl",0},
6989 { "_class_wxLogGui","_wxLogGui",0},
6990 { "_class_wxPaintDC","_wxPaintDC",0},
6991 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
6992 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
6993 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
6994 { "_wxValidator","_class_wxValidator",0},
6995 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
6996 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
6997 { "_class_wxIcon","_wxIcon",0},
6998 { "_class_wxColour","_wxColour",0},
6999 { "_class_wxScreenDC","_wxScreenDC",0},
7000 { "_wxPalette","_class_wxPalette",0},
7001 { "_class_wxIdleEvent","_wxIdleEvent",0},
7002 { "_wxCoord","_int",0},
7003 { "_wxCoord","_signed_int",0},
7004 { "_wxCoord","_unsigned_int",0},
7005 { "_wxCoord","_wxWindowID",0},
7006 { "_wxCoord","_uint",0},
7007 { "_wxCoord","_EBool",0},
7008 { "_wxCoord","_size_t",0},
7009 { "_wxCoord","_time_t",0},
7010 { "_wxCoord","_wxPrintQuality",0},
7011 { "_wxEraseEvent","_class_wxEraseEvent",0},
7012 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
7013 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
7014 { "_class_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7015 { "_class_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
7016 { "_class_wxTipProvider","_wxTipProvider",0},
7017 { "_wxRegion","_class_wxRegion",0},
7018 { "_class_wxShowEvent","_wxShowEvent",0},
7019 { "_class_wxPyTipProvider","_wxPyTipProvider",0},
7020 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
7021 { "_wxActivateEvent","_class_wxActivateEvent",0},
7022 { "_class_wxBusyInfo","_wxBusyInfo",0},
7023 { "_class_wxJoystick","_wxJoystick",0},
7024 { "_class_wxCommandEvent","_wxCommandEvent",0},
7025 { "_class_wxClientDC","_wxClientDC",0},
7026 { "_class_wxSizeEvent","_wxSizeEvent",0},
7027 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
7028 { "_class_wxLogNull","_wxLogNull",0},
7029 { "_class_wxSize","_wxSize",0},
7030 { "_class_wxBitmap","_wxBitmap",0},
7031 { "_class_wxMemoryDC","_wxMemoryDC",0},
7032 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
7033 { "_wxMenuBar","_class_wxMenuBar",0},
7034 { "_wxOutputStream","_class_wxOutputStream",0},
7035 { "_wxEvtHandler","_class_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7036 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
7037 { "_wxEvtHandler","_class_wxEvtHandler",0},
7038 { "_wxMenuItem","_class_wxMenuItem",0},
7039 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
7040 { "_wxKeyEvent","_class_wxKeyEvent",0},
7041 { "_wxMoveEvent","_class_wxMoveEvent",0},
7042 { "_class_wxPalette","_wxPalette",0},
7043 { "_wxFileDataObject","_class_wxFileDataObject",0},
7044 { "_class_wxEraseEvent","_wxEraseEvent",0},
7045 { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
7046 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
7047 { "_wxWindow","_class_wxWindow",0},
7048 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
7049 { "_wxLogStderr","_class_wxLogStderr",0},
7052 static PyObject
*SWIG_globals
;
7056 SWIGEXPORT(void) initmisc2c() {
7058 SWIG_globals
= SWIG_newvarlink();
7059 m
= Py_InitModule("misc2c", misc2cMethods
);
7060 d
= PyModule_GetDict(m
);
7061 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
7062 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
7063 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
7064 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
7065 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
7066 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
7067 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
7068 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
7069 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
7070 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
7071 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
7072 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
7073 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
7074 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
7075 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
7076 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
7077 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
7078 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
7079 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
7080 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
7081 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
7082 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
7083 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
7084 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
7085 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
7086 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
7087 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
7088 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
7089 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
7090 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
7091 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
7092 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
7093 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
7094 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
7095 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
7096 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
7097 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
7098 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
7099 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
7100 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
7101 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
7102 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
7103 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
7104 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
7105 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
7106 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
7107 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
7108 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
7109 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
7110 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
7111 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
7112 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
7113 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
7114 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
7115 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
7116 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
7117 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
7118 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
7119 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
7120 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
7121 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
7122 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
7123 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
7124 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
7125 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
7126 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
7127 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
7128 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
7129 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
7130 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
7131 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
7132 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
7133 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
7134 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
7135 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
7136 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
7137 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
7138 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
7139 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
7140 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
7141 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
7142 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
7143 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
7144 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
7145 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
7146 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
7147 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
7148 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
7149 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
7150 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
7151 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
7152 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
7153 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
7154 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
7155 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
7156 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
7157 PyDict_SetItemString(d
,"wxEVT_END_PROCESS", PyInt_FromLong((long) wxEVT_END_PROCESS
));
7160 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7161 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);