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_wxGetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
365 PyObject
* _resultobj
;
371 wxWindow
* _arg4
= (wxWindow
*) NULL
;
372 int _arg5
= (int ) -1;
373 int _arg6
= (int ) -1;
374 bool _arg7
= (bool ) TRUE
;
375 int _arg8
= (int ) 150;
376 int _arg9
= (int ) 200;
377 PyObject
* _obj0
= 0;
378 PyObject
* _obj1
= 0;
379 PyObject
* _obj3
= 0;
380 PyObject
* _argo4
= 0;
381 int tempbool7
= (int) TRUE
;
382 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoice",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
388 #if PYTHON_API_VERSION >= 1009
389 char* tmpPtr
; int tmpSize
;
390 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
391 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
394 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
396 _arg0
= new wxString(tmpPtr
, tmpSize
);
398 if (!PyString_Check(_obj0
)) {
399 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
402 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
406 #if PYTHON_API_VERSION >= 1009
407 char* tmpPtr
; int tmpSize
;
408 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
409 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
412 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
414 _arg1
= new wxString(tmpPtr
, tmpSize
);
416 if (!PyString_Check(_obj1
)) {
417 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
420 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
425 _arg3
= wxString_LIST_helper(_obj3
);
431 if (_argo4
== Py_None
) { _arg4
= NULL
; }
432 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
433 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoice. Expected _wxWindow_p.");
437 _arg7
= (bool ) tempbool7
;
440 _arg2
= PyList_Size(_obj3
);
447 wxPy_BEGIN_ALLOW_THREADS
;
448 _result
= new wxString (wxGetSingleChoice(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
));
450 wxPy_END_ALLOW_THREADS
;
452 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
471 static PyObject
*_wrap_wxGetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
472 PyObject
* _resultobj
;
478 wxWindow
* _arg4
= (wxWindow
*) NULL
;
479 int _arg5
= (int ) -1;
480 int _arg6
= (int ) -1;
481 bool _arg7
= (bool ) TRUE
;
482 int _arg8
= (int ) 150;
483 int _arg9
= (int ) 200;
484 PyObject
* _obj0
= 0;
485 PyObject
* _obj1
= 0;
486 PyObject
* _obj3
= 0;
487 PyObject
* _argo4
= 0;
488 int tempbool7
= (int) TRUE
;
489 char *_kwnames
[] = { "message","caption","choices","parent","x","y","centre","width","height", NULL
};
492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|Oiiiii:wxGetSingleChoiceIndex",_kwnames
,&_obj0
,&_obj1
,&_obj3
,&_argo4
,&_arg5
,&_arg6
,&tempbool7
,&_arg8
,&_arg9
))
495 #if PYTHON_API_VERSION >= 1009
496 char* tmpPtr
; int tmpSize
;
497 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
498 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
501 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
503 _arg0
= new wxString(tmpPtr
, tmpSize
);
505 if (!PyString_Check(_obj0
)) {
506 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
509 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
513 #if PYTHON_API_VERSION >= 1009
514 char* tmpPtr
; int tmpSize
;
515 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
516 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
519 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
521 _arg1
= new wxString(tmpPtr
, tmpSize
);
523 if (!PyString_Check(_obj1
)) {
524 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
527 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
532 _arg3
= wxString_LIST_helper(_obj3
);
538 if (_argo4
== Py_None
) { _arg4
= NULL
; }
539 else if (SWIG_GetPtrObj(_argo4
,(void **) &_arg4
,"_wxWindow_p")) {
540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 5 of wxGetSingleChoiceIndex. Expected _wxWindow_p.");
544 _arg7
= (bool ) tempbool7
;
547 _arg2
= PyList_Size(_obj3
);
554 wxPy_BEGIN_ALLOW_THREADS
;
555 _result
= (int )wxGetSingleChoiceIndex(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,_arg7
,_arg8
,_arg9
);
557 wxPy_END_ALLOW_THREADS
;
558 } _resultobj
= Py_BuildValue("i",_result
);
573 static PyObject
*_wrap_wxMessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
574 PyObject
* _resultobj
;
577 wxString
* _arg1
= (wxString
*) &wxPyEmptyStr
;
578 int _arg2
= (int ) wxOK
|wxCENTRE
;
579 wxWindow
* _arg3
= (wxWindow
*) NULL
;
580 int _arg4
= (int ) -1;
581 int _arg5
= (int ) -1;
582 PyObject
* _obj0
= 0;
583 PyObject
* _obj1
= 0;
584 PyObject
* _argo3
= 0;
585 char *_kwnames
[] = { "message","caption","style","parent","x","y", NULL
};
588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OiOii:wxMessageBox",_kwnames
,&_obj0
,&_obj1
,&_arg2
,&_argo3
,&_arg4
,&_arg5
))
591 #if PYTHON_API_VERSION >= 1009
592 char* tmpPtr
; int tmpSize
;
593 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
594 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
597 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
599 _arg0
= new wxString(tmpPtr
, tmpSize
);
601 if (!PyString_Check(_obj0
)) {
602 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
605 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
610 #if PYTHON_API_VERSION >= 1009
611 char* tmpPtr
; int tmpSize
;
612 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
613 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
616 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
618 _arg1
= new wxString(tmpPtr
, tmpSize
);
620 if (!PyString_Check(_obj1
)) {
621 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
624 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
628 if (_argo3
== Py_None
) { _arg3
= NULL
; }
629 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
630 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxMessageBox. Expected _wxWindow_p.");
635 wxPy_BEGIN_ALLOW_THREADS
;
636 _result
= (int )wxMessageBox(*_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
,_arg5
);
638 wxPy_END_ALLOW_THREADS
;
639 } _resultobj
= Py_BuildValue("i",_result
);
651 static PyObject
*_wrap_wxGetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
652 PyObject
* _resultobj
;
658 long _arg4
= (long ) 0;
659 long _arg5
= (long ) 100;
660 wxWindow
* _arg6
= (wxWindow
*) NULL
;
661 wxPoint
* _arg7
= (wxPoint
*) &wxDefaultPosition
;
662 PyObject
* _obj0
= 0;
663 PyObject
* _obj1
= 0;
664 PyObject
* _obj2
= 0;
665 PyObject
* _argo6
= 0;
667 PyObject
* _obj7
= 0;
668 char *_kwnames
[] = { "message","prompt","caption","value","min","max","parent","pos", NULL
};
671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOl|llOO:wxGetNumberFromUser",_kwnames
,&_obj0
,&_obj1
,&_obj2
,&_arg3
,&_arg4
,&_arg5
,&_argo6
,&_obj7
))
674 #if PYTHON_API_VERSION >= 1009
675 char* tmpPtr
; int tmpSize
;
676 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
677 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
680 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
682 _arg0
= new wxString(tmpPtr
, tmpSize
);
684 if (!PyString_Check(_obj0
)) {
685 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
688 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
692 #if PYTHON_API_VERSION >= 1009
693 char* tmpPtr
; int tmpSize
;
694 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
695 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
698 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
700 _arg1
= new wxString(tmpPtr
, tmpSize
);
702 if (!PyString_Check(_obj1
)) {
703 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
706 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
710 #if PYTHON_API_VERSION >= 1009
711 char* tmpPtr
; int tmpSize
;
712 if (!PyString_Check(_obj2
) && !PyUnicode_Check(_obj2
)) {
713 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
716 if (PyString_AsStringAndSize(_obj2
, &tmpPtr
, &tmpSize
) == -1)
718 _arg2
= new wxString(tmpPtr
, tmpSize
);
720 if (!PyString_Check(_obj2
)) {
721 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
724 _arg2
= new wxString(PyString_AS_STRING(_obj2
), PyString_GET_SIZE(_obj2
));
728 if (_argo6
== Py_None
) { _arg6
= NULL
; }
729 else if (SWIG_GetPtrObj(_argo6
,(void **) &_arg6
,"_wxWindow_p")) {
730 PyErr_SetString(PyExc_TypeError
,"Type error in argument 7 of wxGetNumberFromUser. Expected _wxWindow_p.");
737 if (! wxPoint_helper(_obj7
, &_arg7
))
741 wxPy_BEGIN_ALLOW_THREADS
;
742 _result
= (long )wxGetNumberFromUser(*_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
744 wxPy_END_ALLOW_THREADS
;
745 } _resultobj
= Py_BuildValue("l",_result
);
761 static PyObject
*_wrap_wxColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
762 PyObject
* _resultobj
;
764 char *_kwnames
[] = { NULL
};
767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxColourDisplay",_kwnames
))
770 wxPy_BEGIN_ALLOW_THREADS
;
771 _result
= (bool )wxColourDisplay();
773 wxPy_END_ALLOW_THREADS
;
774 } _resultobj
= Py_BuildValue("i",_result
);
778 static PyObject
*_wrap_wxDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
779 PyObject
* _resultobj
;
781 char *_kwnames
[] = { NULL
};
784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplayDepth",_kwnames
))
787 wxPy_BEGIN_ALLOW_THREADS
;
788 _result
= (int )wxDisplayDepth();
790 wxPy_END_ALLOW_THREADS
;
791 } _resultobj
= Py_BuildValue("i",_result
);
795 static PyObject
*_wrap_wxGetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
796 PyObject
* _resultobj
;
798 char *_kwnames
[] = { NULL
};
801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplayDepth",_kwnames
))
804 wxPy_BEGIN_ALLOW_THREADS
;
805 _result
= (int )wxGetDisplayDepth();
807 wxPy_END_ALLOW_THREADS
;
808 } _resultobj
= Py_BuildValue("i",_result
);
812 static PyObject
*_wrap_wxDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
813 PyObject
* _resultobj
;
818 char *_kwnames
[] = { NULL
};
827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySize",_kwnames
))
830 wxPy_BEGIN_ALLOW_THREADS
;
831 wxDisplaySize(_arg0
,_arg1
);
833 wxPy_END_ALLOW_THREADS
;
834 } Py_INCREF(Py_None
);
835 _resultobj
= Py_None
;
838 o
= PyInt_FromLong((long) (*_arg0
));
839 _resultobj
= t_output_helper(_resultobj
, o
);
843 o
= PyInt_FromLong((long) (*_arg1
));
844 _resultobj
= t_output_helper(_resultobj
, o
);
849 static PyObject
*_wrap_wxGetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
850 PyObject
* _resultobj
;
852 char *_kwnames
[] = { NULL
};
856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySize",_kwnames
))
859 wxPy_BEGIN_ALLOW_THREADS
;
860 _result
= new wxSize (wxGetDisplaySize());
862 wxPy_END_ALLOW_THREADS
;
863 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
864 _resultobj
= Py_BuildValue("s",_ptemp
);
868 static PyObject
*_wrap_wxDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
869 PyObject
* _resultobj
;
874 char *_kwnames
[] = { NULL
};
883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxDisplaySizeMM",_kwnames
))
886 wxPy_BEGIN_ALLOW_THREADS
;
887 wxDisplaySizeMM(_arg0
,_arg1
);
889 wxPy_END_ALLOW_THREADS
;
890 } Py_INCREF(Py_None
);
891 _resultobj
= Py_None
;
894 o
= PyInt_FromLong((long) (*_arg0
));
895 _resultobj
= t_output_helper(_resultobj
, o
);
899 o
= PyInt_FromLong((long) (*_arg1
));
900 _resultobj
= t_output_helper(_resultobj
, o
);
905 static PyObject
*_wrap_wxGetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
906 PyObject
* _resultobj
;
908 char *_kwnames
[] = { NULL
};
912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetDisplaySizeMM",_kwnames
))
915 wxPy_BEGIN_ALLOW_THREADS
;
916 _result
= new wxSize (wxGetDisplaySizeMM());
918 wxPy_END_ALLOW_THREADS
;
919 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
920 _resultobj
= Py_BuildValue("s",_ptemp
);
924 static PyObject
*_wrap_wxSetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
925 PyObject
* _resultobj
;
927 PyObject
* _argo0
= 0;
928 char *_kwnames
[] = { "cursor", NULL
};
931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxSetCursor",_kwnames
,&_argo0
))
934 if (_argo0
== Py_None
) { _arg0
= NULL
; }
935 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
936 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSetCursor. Expected _wxCursor_p.");
941 wxPy_BEGIN_ALLOW_THREADS
;
944 wxPy_END_ALLOW_THREADS
;
945 } Py_INCREF(Py_None
);
946 _resultobj
= Py_None
;
950 static PyObject
*_wrap_wxFindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
951 PyObject
* _resultobj
;
954 wxWindow
* _arg1
= (wxWindow
*) NULL
;
955 PyObject
* _obj0
= 0;
956 PyObject
* _argo1
= 0;
957 char *_kwnames
[] = { "label","parent", NULL
};
961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByLabel",_kwnames
,&_obj0
,&_argo1
))
964 #if PYTHON_API_VERSION >= 1009
965 char* tmpPtr
; int tmpSize
;
966 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
967 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
970 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
972 _arg0
= new wxString(tmpPtr
, tmpSize
);
974 if (!PyString_Check(_obj0
)) {
975 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
978 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
982 if (_argo1
== Py_None
) { _arg1
= NULL
; }
983 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
984 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByLabel. Expected _wxWindow_p.");
989 wxPy_BEGIN_ALLOW_THREADS
;
990 _result
= (wxWindow
*)wxFindWindowByLabel(*_arg0
,_arg1
);
992 wxPy_END_ALLOW_THREADS
;
994 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
995 _resultobj
= Py_BuildValue("s",_ptemp
);
998 _resultobj
= Py_None
;
1007 static PyObject
*_wrap_wxFindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1008 PyObject
* _resultobj
;
1011 wxWindow
* _arg1
= (wxWindow
*) NULL
;
1012 PyObject
* _obj0
= 0;
1013 PyObject
* _argo1
= 0;
1014 char *_kwnames
[] = { "name","parent", NULL
};
1018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|O:wxFindWindowByName",_kwnames
,&_obj0
,&_argo1
))
1021 #if PYTHON_API_VERSION >= 1009
1022 char* tmpPtr
; int tmpSize
;
1023 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1024 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1027 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1029 _arg0
= new wxString(tmpPtr
, tmpSize
);
1031 if (!PyString_Check(_obj0
)) {
1032 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1035 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1039 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1040 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
1041 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxFindWindowByName. Expected _wxWindow_p.");
1046 wxPy_BEGIN_ALLOW_THREADS
;
1047 _result
= (wxWindow
*)wxFindWindowByName(*_arg0
,_arg1
);
1049 wxPy_END_ALLOW_THREADS
;
1051 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1052 _resultobj
= Py_BuildValue("s",_ptemp
);
1055 _resultobj
= Py_None
;
1064 static PyObject
*_wrap_wxBeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1065 PyObject
* _resultobj
;
1066 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
1067 PyObject
* _argo0
= 0;
1068 char *_kwnames
[] = { "cursor", NULL
};
1071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxBeginBusyCursor",_kwnames
,&_argo0
))
1074 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1075 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
1076 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxBeginBusyCursor. Expected _wxCursor_p.");
1081 wxPy_BEGIN_ALLOW_THREADS
;
1082 wxBeginBusyCursor(_arg0
);
1084 wxPy_END_ALLOW_THREADS
;
1085 } Py_INCREF(Py_None
);
1086 _resultobj
= Py_None
;
1090 static PyObject
*_wrap_wxGetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1091 PyObject
* _resultobj
;
1093 char *_kwnames
[] = { NULL
};
1097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxGetActiveWindow",_kwnames
))
1100 wxPy_BEGIN_ALLOW_THREADS
;
1101 _result
= (wxWindow
*)wxGetActiveWindow();
1103 wxPy_END_ALLOW_THREADS
;
1105 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
1106 _resultobj
= Py_BuildValue("s",_ptemp
);
1109 _resultobj
= Py_None
;
1114 static PyObject
*_wrap_wxResourceAddIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1115 PyObject
* _resultobj
;
1119 char *_kwnames
[] = { "name","value", NULL
};
1122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"si:wxResourceAddIdentifier",_kwnames
,&_arg0
,&_arg1
))
1125 wxPy_BEGIN_ALLOW_THREADS
;
1126 _result
= (bool )wxResourceAddIdentifier(_arg0
,_arg1
);
1128 wxPy_END_ALLOW_THREADS
;
1129 } _resultobj
= Py_BuildValue("i",_result
);
1133 static PyObject
*_wrap_wxResourceClear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1134 PyObject
* _resultobj
;
1135 char *_kwnames
[] = { NULL
};
1138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxResourceClear",_kwnames
))
1141 wxPy_BEGIN_ALLOW_THREADS
;
1144 wxPy_END_ALLOW_THREADS
;
1145 } Py_INCREF(Py_None
);
1146 _resultobj
= Py_None
;
1150 static PyObject
*_wrap_wxResourceCreateBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1151 PyObject
* _resultobj
;
1154 char *_kwnames
[] = { "resource", NULL
};
1158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateBitmap",_kwnames
,&_arg0
))
1161 wxPy_BEGIN_ALLOW_THREADS
;
1162 _result
= new wxBitmap (wxResourceCreateBitmap(_arg0
));
1164 wxPy_END_ALLOW_THREADS
;
1165 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxBitmap_p");
1166 _resultobj
= Py_BuildValue("s",_ptemp
);
1170 static PyObject
*_wrap_wxResourceCreateIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1171 PyObject
* _resultobj
;
1174 char *_kwnames
[] = { "resource", NULL
};
1178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateIcon",_kwnames
,&_arg0
))
1181 wxPy_BEGIN_ALLOW_THREADS
;
1182 _result
= new wxIcon (wxResourceCreateIcon(_arg0
));
1184 wxPy_END_ALLOW_THREADS
;
1185 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxIcon_p");
1186 _resultobj
= Py_BuildValue("s",_ptemp
);
1190 static PyObject
*_wrap_wxResourceCreateMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1191 PyObject
* _resultobj
;
1192 wxMenuBar
* _result
;
1194 char *_kwnames
[] = { "resource", NULL
};
1198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceCreateMenuBar",_kwnames
,&_arg0
))
1201 wxPy_BEGIN_ALLOW_THREADS
;
1202 _result
= (wxMenuBar
*)wxResourceCreateMenuBar(_arg0
);
1204 wxPy_END_ALLOW_THREADS
;
1206 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxMenuBar_p");
1207 _resultobj
= Py_BuildValue("s",_ptemp
);
1210 _resultobj
= Py_None
;
1215 static PyObject
*_wrap_wxResourceGetIdentifier(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1216 PyObject
* _resultobj
;
1219 char *_kwnames
[] = { "name", NULL
};
1222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxResourceGetIdentifier",_kwnames
,&_arg0
))
1225 wxPy_BEGIN_ALLOW_THREADS
;
1226 _result
= (int )wxResourceGetIdentifier(_arg0
);
1228 wxPy_END_ALLOW_THREADS
;
1229 } _resultobj
= Py_BuildValue("i",_result
);
1233 static PyObject
*_wrap_wxResourceParseData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1234 PyObject
* _resultobj
;
1237 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1238 PyObject
* _argo1
= 0;
1239 char *_kwnames
[] = { "resource","table", NULL
};
1242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseData",_kwnames
,&_arg0
,&_argo1
))
1245 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1246 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1247 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseData. Expected _wxResourceTable_p.");
1252 wxPy_BEGIN_ALLOW_THREADS
;
1253 _result
= (bool )wxResourceParseData(_arg0
,_arg1
);
1255 wxPy_END_ALLOW_THREADS
;
1256 } _resultobj
= Py_BuildValue("i",_result
);
1260 static PyObject
*_wrap_wxResourceParseFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1261 PyObject
* _resultobj
;
1264 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1265 PyObject
* _argo1
= 0;
1266 char *_kwnames
[] = { "filename","table", NULL
};
1269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseFile",_kwnames
,&_arg0
,&_argo1
))
1272 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1273 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1274 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseFile. Expected _wxResourceTable_p.");
1279 wxPy_BEGIN_ALLOW_THREADS
;
1280 _result
= (bool )wxResourceParseFile(_arg0
,_arg1
);
1282 wxPy_END_ALLOW_THREADS
;
1283 } _resultobj
= Py_BuildValue("i",_result
);
1287 static PyObject
*_wrap_wxResourceParseString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1288 PyObject
* _resultobj
;
1291 wxResourceTable
* _arg1
= (wxResourceTable
*) NULL
;
1292 PyObject
* _argo1
= 0;
1293 char *_kwnames
[] = { "resource","table", NULL
};
1296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s|O:wxResourceParseString",_kwnames
,&_arg0
,&_argo1
))
1299 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1300 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxResourceTable_p")) {
1301 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxResourceParseString. Expected _wxResourceTable_p.");
1306 wxPy_BEGIN_ALLOW_THREADS
;
1307 _result
= (bool )wxResourceParseString(_arg0
,_arg1
);
1309 wxPy_END_ALLOW_THREADS
;
1310 } _resultobj
= Py_BuildValue("i",_result
);
1314 static PyObject
*_wrap_wxSystemSettings_GetSystemColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1315 PyObject
* _resultobj
;
1318 char *_kwnames
[] = { "index", NULL
};
1322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemColour",_kwnames
,&_arg0
))
1325 wxPy_BEGIN_ALLOW_THREADS
;
1326 _result
= new wxColour (wxSystemSettings_GetSystemColour(_arg0
));
1328 wxPy_END_ALLOW_THREADS
;
1329 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxColour_p");
1330 _resultobj
= Py_BuildValue("s",_ptemp
);
1334 static PyObject
*_wrap_wxSystemSettings_GetSystemFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1335 PyObject
* _resultobj
;
1338 char *_kwnames
[] = { "index", NULL
};
1342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemFont",_kwnames
,&_arg0
))
1345 wxPy_BEGIN_ALLOW_THREADS
;
1346 _result
= new wxFont (wxSystemSettings_GetSystemFont(_arg0
));
1348 wxPy_END_ALLOW_THREADS
;
1349 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxFont_p");
1350 _resultobj
= Py_BuildValue("s",_ptemp
);
1354 static PyObject
*_wrap_wxSystemSettings_GetSystemMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1355 PyObject
* _resultobj
;
1358 char *_kwnames
[] = { "index", NULL
};
1361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxSystemSettings_GetSystemMetric",_kwnames
,&_arg0
))
1364 wxPy_BEGIN_ALLOW_THREADS
;
1365 _result
= (int )wxSystemSettings_GetSystemMetric(_arg0
);
1367 wxPy_END_ALLOW_THREADS
;
1368 } _resultobj
= Py_BuildValue("i",_result
);
1372 static PyObject
*_wrap_wxToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1373 PyObject
* _resultobj
;
1376 char *_kwnames
[] = { "flag", NULL
};
1379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxToolTip_Enable",_kwnames
,&tempbool0
))
1381 _arg0
= (bool ) tempbool0
;
1383 wxPy_BEGIN_ALLOW_THREADS
;
1384 wxToolTip_Enable(_arg0
);
1386 wxPy_END_ALLOW_THREADS
;
1387 } Py_INCREF(Py_None
);
1388 _resultobj
= Py_None
;
1392 static PyObject
*_wrap_wxToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1393 PyObject
* _resultobj
;
1395 char *_kwnames
[] = { "milliseconds", NULL
};
1398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"l:wxToolTip_SetDelay",_kwnames
,&_arg0
))
1401 wxPy_BEGIN_ALLOW_THREADS
;
1402 wxToolTip_SetDelay(_arg0
);
1404 wxPy_END_ALLOW_THREADS
;
1405 } Py_INCREF(Py_None
);
1406 _resultobj
= Py_None
;
1410 static PyObject
*_wrap_wxCaret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1411 PyObject
* _resultobj
;
1413 char *_kwnames
[] = { NULL
};
1416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxCaret_GetBlinkTime",_kwnames
))
1419 wxPy_BEGIN_ALLOW_THREADS
;
1420 _result
= (int )wxCaret_GetBlinkTime();
1422 wxPy_END_ALLOW_THREADS
;
1423 } _resultobj
= Py_BuildValue("i",_result
);
1427 static PyObject
*_wrap_wxCaret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1428 PyObject
* _resultobj
;
1430 char *_kwnames
[] = { "milliseconds", NULL
};
1433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:wxCaret_SetBlinkTime",_kwnames
,&_arg0
))
1436 wxPy_BEGIN_ALLOW_THREADS
;
1437 wxCaret_SetBlinkTime(_arg0
);
1439 wxPy_END_ALLOW_THREADS
;
1440 } Py_INCREF(Py_None
);
1441 _resultobj
= Py_None
;
1445 static PyObject
*_wrap_wxPostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1446 PyObject
* _resultobj
;
1447 wxEvtHandler
* _arg0
;
1449 PyObject
* _argo0
= 0;
1450 PyObject
* _argo1
= 0;
1451 char *_kwnames
[] = { "dest","event", NULL
};
1454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxPostEvent",_kwnames
,&_argo0
,&_argo1
))
1457 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1458 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
1459 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPostEvent. Expected _wxEvtHandler_p.");
1464 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1465 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvent_p")) {
1466 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPostEvent. Expected _wxEvent_p.");
1471 wxPy_BEGIN_ALLOW_THREADS
;
1472 wxPostEvent(_arg0
,*_arg1
);
1474 wxPy_END_ALLOW_THREADS
;
1475 } Py_INCREF(Py_None
);
1476 _resultobj
= Py_None
;
1480 static PyObject
*_wrap_wxWakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1481 PyObject
* _resultobj
;
1482 char *_kwnames
[] = { NULL
};
1485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxWakeUpIdle",_kwnames
))
1488 wxPy_BEGIN_ALLOW_THREADS
;
1491 wxPy_END_ALLOW_THREADS
;
1492 } Py_INCREF(Py_None
);
1493 _resultobj
= Py_None
;
1497 static PyObject
*_wrap_wxSafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1498 PyObject
* _resultobj
;
1500 wxWindow
* _arg0
= (wxWindow
*) NULL
;
1501 PyObject
* _argo0
= 0;
1502 char *_kwnames
[] = { "win", NULL
};
1505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:wxSafeYield",_kwnames
,&_argo0
))
1508 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1509 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1510 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxSafeYield. Expected _wxWindow_p.");
1515 wxPy_BEGIN_ALLOW_THREADS
;
1516 _result
= (bool )wxSafeYield(_arg0
);
1518 wxPy_END_ALLOW_THREADS
;
1519 } _resultobj
= Py_BuildValue("i",_result
);
1523 static PyObject
*_wrap_wxShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1524 PyObject
* _resultobj
;
1527 wxTipProvider
* _arg1
;
1528 bool _arg2
= (bool ) TRUE
;
1529 PyObject
* _argo0
= 0;
1530 PyObject
* _argo1
= 0;
1531 int tempbool2
= (int) TRUE
;
1532 char *_kwnames
[] = { "parent","tipProvider","showAtStartup", NULL
};
1535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxShowTip",_kwnames
,&_argo0
,&_argo1
,&tempbool2
))
1538 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1539 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
1540 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxShowTip. Expected _wxWindow_p.");
1545 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1546 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTipProvider_p")) {
1547 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxShowTip. Expected _wxTipProvider_p.");
1551 _arg2
= (bool ) tempbool2
;
1553 wxPy_BEGIN_ALLOW_THREADS
;
1554 _result
= (bool )wxShowTip(_arg0
,_arg1
,_arg2
);
1556 wxPy_END_ALLOW_THREADS
;
1557 } _resultobj
= Py_BuildValue("i",_result
);
1561 static PyObject
*_wrap_wxCreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1562 PyObject
* _resultobj
;
1563 wxTipProvider
* _result
;
1566 PyObject
* _obj0
= 0;
1567 char *_kwnames
[] = { "filename","currentTip", NULL
};
1571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxCreateFileTipProvider",_kwnames
,&_obj0
,&_arg1
))
1574 #if PYTHON_API_VERSION >= 1009
1575 char* tmpPtr
; int tmpSize
;
1576 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1577 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1580 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1582 _arg0
= new wxString(tmpPtr
, tmpSize
);
1584 if (!PyString_Check(_obj0
)) {
1585 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1588 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1592 wxPy_BEGIN_ALLOW_THREADS
;
1593 _result
= (wxTipProvider
*)wxCreateFileTipProvider(*_arg0
,_arg1
);
1595 wxPy_END_ALLOW_THREADS
;
1597 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxTipProvider_p");
1598 _resultobj
= Py_BuildValue("s",_ptemp
);
1601 _resultobj
= Py_None
;
1610 static PyObject
*_wrap_wxDragIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1611 PyObject
* _resultobj
;
1612 wxGenericDragImage
* _result
;
1614 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
1615 wxPoint
* _arg2
= (wxPoint
*) &wxPyNullPoint
;
1616 PyObject
* _argo0
= 0;
1617 PyObject
* _argo1
= 0;
1619 PyObject
* _obj2
= 0;
1620 char *_kwnames
[] = { "image","cursor","hotspot", NULL
};
1624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxDragIcon",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
1627 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1628 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxIcon_p")) {
1629 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragIcon. Expected _wxIcon_p.");
1634 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1635 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
1636 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragIcon. Expected _wxCursor_p.");
1643 if (! wxPoint_helper(_obj2
, &_arg2
))
1647 wxPy_BEGIN_ALLOW_THREADS
;
1648 _result
= (wxGenericDragImage
*)wxDragIcon(*_arg0
,*_arg1
,*_arg2
);
1650 wxPy_END_ALLOW_THREADS
;
1652 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1653 _resultobj
= Py_BuildValue("s",_ptemp
);
1656 _resultobj
= Py_None
;
1661 static PyObject
*_wrap_wxDragString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1662 PyObject
* _resultobj
;
1663 wxGenericDragImage
* _result
;
1665 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
1666 wxPoint
* _arg2
= (wxPoint
*) &wxPyNullPoint
;
1667 PyObject
* _obj0
= 0;
1668 PyObject
* _argo1
= 0;
1670 PyObject
* _obj2
= 0;
1671 char *_kwnames
[] = { "str","cursor","hotspot", NULL
};
1675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:wxDragString",_kwnames
,&_obj0
,&_argo1
,&_obj2
))
1678 #if PYTHON_API_VERSION >= 1009
1679 char* tmpPtr
; int tmpSize
;
1680 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
1681 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
1684 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
1686 _arg0
= new wxString(tmpPtr
, tmpSize
);
1688 if (!PyString_Check(_obj0
)) {
1689 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
1692 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
1696 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1697 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
1698 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragString. Expected _wxCursor_p.");
1705 if (! wxPoint_helper(_obj2
, &_arg2
))
1709 wxPy_BEGIN_ALLOW_THREADS
;
1710 _result
= (wxGenericDragImage
*)wxDragString(*_arg0
,*_arg1
,*_arg2
);
1712 wxPy_END_ALLOW_THREADS
;
1714 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1715 _resultobj
= Py_BuildValue("s",_ptemp
);
1718 _resultobj
= Py_None
;
1727 static PyObject
*_wrap_wxDragTreeItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1728 PyObject
* _resultobj
;
1729 wxGenericDragImage
* _result
;
1731 wxTreeItemId
* _arg1
;
1732 PyObject
* _argo0
= 0;
1733 PyObject
* _argo1
= 0;
1734 char *_kwnames
[] = { "treeCtrl","id", NULL
};
1738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragTreeItem",_kwnames
,&_argo0
,&_argo1
))
1741 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1742 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTreeCtrl_p")) {
1743 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragTreeItem. Expected _wxTreeCtrl_p.");
1748 if (_argo1
== Py_None
) { _arg1
= NULL
; }
1749 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxTreeItemId_p")) {
1750 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxDragTreeItem. Expected _wxTreeItemId_p.");
1755 wxPy_BEGIN_ALLOW_THREADS
;
1756 _result
= (wxGenericDragImage
*)wxDragTreeItem(*_arg0
,*_arg1
);
1758 wxPy_END_ALLOW_THREADS
;
1760 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1761 _resultobj
= Py_BuildValue("s",_ptemp
);
1764 _resultobj
= Py_None
;
1769 static PyObject
*_wrap_wxDragListItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1770 PyObject
* _resultobj
;
1771 wxGenericDragImage
* _result
;
1774 PyObject
* _argo0
= 0;
1775 char *_kwnames
[] = { "listCtrl","id", NULL
};
1779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Ol:wxDragListItem",_kwnames
,&_argo0
,&_arg1
))
1782 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1783 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxListCtrl_p")) {
1784 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragListItem. Expected _wxListCtrl_p.");
1789 wxPy_BEGIN_ALLOW_THREADS
;
1790 _result
= (wxGenericDragImage
*)wxDragListItem(*_arg0
,_arg1
);
1792 wxPy_END_ALLOW_THREADS
;
1794 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
1795 _resultobj
= Py_BuildValue("s",_ptemp
);
1798 _resultobj
= Py_None
;
1803 static PyObject
*_wrap_wxSysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
* _resultobj
;
1805 unsigned long _result
;
1806 char *_kwnames
[] = { NULL
};
1809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxSysErrorCode",_kwnames
))
1812 wxPy_BEGIN_ALLOW_THREADS
;
1813 _result
= (unsigned long )wxSysErrorCode();
1815 wxPy_END_ALLOW_THREADS
;
1816 } _resultobj
= Py_BuildValue("l",_result
);
1820 static PyObject
*_wrap_wxSysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
* _resultobj
;
1823 unsigned long _arg0
= (unsigned long ) 0;
1824 char *_kwnames
[] = { "nErrCode", NULL
};
1827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|l:wxSysErrorMsg",_kwnames
,&_arg0
))
1830 wxPy_BEGIN_ALLOW_THREADS
;
1831 _result
= (char *)wxSysErrorMsg(_arg0
);
1833 wxPy_END_ALLOW_THREADS
;
1834 } _resultobj
= Py_BuildValue("s", _result
);
1838 static PyObject
*_wrap_wxLogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
* _resultobj
;
1841 char *_kwnames
[] = { "szFormat", NULL
};
1844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogFatalError",_kwnames
,&_arg0
))
1847 wxPy_BEGIN_ALLOW_THREADS
;
1848 wxLogFatalError(_arg0
);
1850 wxPy_END_ALLOW_THREADS
;
1851 } Py_INCREF(Py_None
);
1852 _resultobj
= Py_None
;
1856 static PyObject
*_wrap_wxLogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1857 PyObject
* _resultobj
;
1859 char *_kwnames
[] = { "szFormat", NULL
};
1862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogError",_kwnames
,&_arg0
))
1865 wxPy_BEGIN_ALLOW_THREADS
;
1868 wxPy_END_ALLOW_THREADS
;
1869 } Py_INCREF(Py_None
);
1870 _resultobj
= Py_None
;
1874 static PyObject
*_wrap_wxLogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1875 PyObject
* _resultobj
;
1877 char *_kwnames
[] = { "szFormat", NULL
};
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogWarning",_kwnames
,&_arg0
))
1883 wxPy_BEGIN_ALLOW_THREADS
;
1884 wxLogWarning(_arg0
);
1886 wxPy_END_ALLOW_THREADS
;
1887 } Py_INCREF(Py_None
);
1888 _resultobj
= Py_None
;
1892 static PyObject
*_wrap_wxLogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1893 PyObject
* _resultobj
;
1895 char *_kwnames
[] = { "szFormat", NULL
};
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogMessage",_kwnames
,&_arg0
))
1901 wxPy_BEGIN_ALLOW_THREADS
;
1902 wxLogMessage(_arg0
);
1904 wxPy_END_ALLOW_THREADS
;
1905 } Py_INCREF(Py_None
);
1906 _resultobj
= Py_None
;
1910 static PyObject
*_wrap_wxLogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
* _resultobj
;
1913 char *_kwnames
[] = { "szFormat", NULL
};
1916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogInfo",_kwnames
,&_arg0
))
1919 wxPy_BEGIN_ALLOW_THREADS
;
1922 wxPy_END_ALLOW_THREADS
;
1923 } Py_INCREF(Py_None
);
1924 _resultobj
= Py_None
;
1928 static PyObject
*_wrap_wxLogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
* _resultobj
;
1931 char *_kwnames
[] = { "szFormat", NULL
};
1934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogVerbose",_kwnames
,&_arg0
))
1937 wxPy_BEGIN_ALLOW_THREADS
;
1938 wxLogVerbose(_arg0
);
1940 wxPy_END_ALLOW_THREADS
;
1941 } Py_INCREF(Py_None
);
1942 _resultobj
= Py_None
;
1946 static PyObject
*_wrap_wxLogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
* _resultobj
;
1949 char *_kwnames
[] = { "szFormat", NULL
};
1952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogStatus",_kwnames
,&_arg0
))
1955 wxPy_BEGIN_ALLOW_THREADS
;
1958 wxPy_END_ALLOW_THREADS
;
1959 } Py_INCREF(Py_None
);
1960 _resultobj
= Py_None
;
1964 static PyObject
*_wrap_wxLogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
* _resultobj
;
1968 PyObject
* _argo0
= 0;
1969 char *_kwnames
[] = { "pFrame","szFormat", NULL
};
1972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxLogStatusFrame",_kwnames
,&_argo0
,&_arg1
))
1975 if (_argo0
== Py_None
) { _arg0
= NULL
; }
1976 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
1977 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogStatusFrame. Expected _wxFrame_p.");
1982 wxPy_BEGIN_ALLOW_THREADS
;
1983 wxLogStatus(_arg0
,_arg1
);
1985 wxPy_END_ALLOW_THREADS
;
1986 } Py_INCREF(Py_None
);
1987 _resultobj
= Py_None
;
1991 static PyObject
*_wrap_wxLogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1992 PyObject
* _resultobj
;
1994 char *_kwnames
[] = { "szFormat", NULL
};
1997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLogSysError",_kwnames
,&_arg0
))
2000 wxPy_BEGIN_ALLOW_THREADS
;
2001 wxLogSysError(_arg0
);
2003 wxPy_END_ALLOW_THREADS
;
2004 } Py_INCREF(Py_None
);
2005 _resultobj
= Py_None
;
2009 static PyObject
*_wrap_wxExecute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2010 PyObject
* _resultobj
;
2013 int _arg1
= (int ) FALSE
;
2014 wxPyProcess
* _arg2
= (wxPyProcess
*) NULL
;
2015 PyObject
* _obj0
= 0;
2016 PyObject
* _argo2
= 0;
2017 char *_kwnames
[] = { "command","sync","process", NULL
};
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iO:wxExecute",_kwnames
,&_obj0
,&_arg1
,&_argo2
))
2023 #if PYTHON_API_VERSION >= 1009
2024 char* tmpPtr
; int tmpSize
;
2025 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2026 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2029 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2031 _arg0
= new wxString(tmpPtr
, tmpSize
);
2033 if (!PyString_Check(_obj0
)) {
2034 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2037 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2041 if (_argo2
== Py_None
) { _arg2
= NULL
; }
2042 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPyProcess_p")) {
2043 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxExecute. Expected _wxPyProcess_p.");
2048 wxPy_BEGIN_ALLOW_THREADS
;
2049 _result
= (long )wxExecute(*_arg0
,_arg1
,_arg2
);
2051 wxPy_END_ALLOW_THREADS
;
2052 } _resultobj
= Py_BuildValue("l",_result
);
2060 #define new_wxToolTip(_swigarg0) (new wxToolTip(_swigarg0))
2061 static PyObject
*_wrap_new_wxToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2062 PyObject
* _resultobj
;
2063 wxToolTip
* _result
;
2065 PyObject
* _obj0
= 0;
2066 char *_kwnames
[] = { "tip", NULL
};
2070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxToolTip",_kwnames
,&_obj0
))
2073 #if PYTHON_API_VERSION >= 1009
2074 char* tmpPtr
; int tmpSize
;
2075 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
2076 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2079 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
2081 _arg0
= new wxString(tmpPtr
, tmpSize
);
2083 if (!PyString_Check(_obj0
)) {
2084 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2087 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
2091 wxPy_BEGIN_ALLOW_THREADS
;
2092 _result
= (wxToolTip
*)new_wxToolTip(*_arg0
);
2094 wxPy_END_ALLOW_THREADS
;
2096 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxToolTip_p");
2097 _resultobj
= Py_BuildValue("s",_ptemp
);
2100 _resultobj
= Py_None
;
2109 #define wxToolTip_SetTip(_swigobj,_swigarg0) (_swigobj->SetTip(_swigarg0))
2110 static PyObject
*_wrap_wxToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2111 PyObject
* _resultobj
;
2114 PyObject
* _argo0
= 0;
2115 PyObject
* _obj1
= 0;
2116 char *_kwnames
[] = { "self","tip", NULL
};
2119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxToolTip_SetTip",_kwnames
,&_argo0
,&_obj1
))
2122 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2123 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2124 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_SetTip. Expected _wxToolTip_p.");
2129 #if PYTHON_API_VERSION >= 1009
2130 char* tmpPtr
; int tmpSize
;
2131 if (!PyString_Check(_obj1
) && !PyUnicode_Check(_obj1
)) {
2132 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
2135 if (PyString_AsStringAndSize(_obj1
, &tmpPtr
, &tmpSize
) == -1)
2137 _arg1
= new wxString(tmpPtr
, tmpSize
);
2139 if (!PyString_Check(_obj1
)) {
2140 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
2143 _arg1
= new wxString(PyString_AS_STRING(_obj1
), PyString_GET_SIZE(_obj1
));
2147 wxPy_BEGIN_ALLOW_THREADS
;
2148 wxToolTip_SetTip(_arg0
,*_arg1
);
2150 wxPy_END_ALLOW_THREADS
;
2151 } Py_INCREF(Py_None
);
2152 _resultobj
= Py_None
;
2160 #define wxToolTip_GetTip(_swigobj) (_swigobj->GetTip())
2161 static PyObject
*_wrap_wxToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2162 PyObject
* _resultobj
;
2165 PyObject
* _argo0
= 0;
2166 char *_kwnames
[] = { "self", NULL
};
2169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetTip",_kwnames
,&_argo0
))
2172 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2173 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2174 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetTip. Expected _wxToolTip_p.");
2179 wxPy_BEGIN_ALLOW_THREADS
;
2180 _result
= new wxString (wxToolTip_GetTip(_arg0
));
2182 wxPy_END_ALLOW_THREADS
;
2184 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
2192 #define wxToolTip_GetWindow(_swigobj) (_swigobj->GetWindow())
2193 static PyObject
*_wrap_wxToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2194 PyObject
* _resultobj
;
2197 PyObject
* _argo0
= 0;
2198 char *_kwnames
[] = { "self", NULL
};
2202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxToolTip_GetWindow",_kwnames
,&_argo0
))
2205 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2206 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxToolTip_p")) {
2207 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxToolTip_GetWindow. Expected _wxToolTip_p.");
2212 wxPy_BEGIN_ALLOW_THREADS
;
2213 _result
= (wxWindow
*)wxToolTip_GetWindow(_arg0
);
2215 wxPy_END_ALLOW_THREADS
;
2217 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2218 _resultobj
= Py_BuildValue("s",_ptemp
);
2221 _resultobj
= Py_None
;
2226 #define new_wxCaret(_swigarg0,_swigarg1) (new wxCaret(_swigarg0,_swigarg1))
2227 static PyObject
*_wrap_new_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2228 PyObject
* _resultobj
;
2232 PyObject
* _argo0
= 0;
2234 PyObject
* _obj1
= 0;
2235 char *_kwnames
[] = { "window","size", NULL
};
2239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:new_wxCaret",_kwnames
,&_argo0
,&_obj1
))
2242 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2243 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
2244 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxCaret. Expected _wxWindow_p.");
2250 if (! wxSize_helper(_obj1
, &_arg1
))
2254 wxPy_BEGIN_ALLOW_THREADS
;
2255 _result
= (wxCaret
*)new_wxCaret(_arg0
,*_arg1
);
2257 wxPy_END_ALLOW_THREADS
;
2259 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxCaret_p");
2260 _resultobj
= Py_BuildValue("s",_ptemp
);
2263 _resultobj
= Py_None
;
2268 #define delete_wxCaret(_swigobj) (delete _swigobj)
2269 static PyObject
*_wrap_delete_wxCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2270 PyObject
* _resultobj
;
2272 PyObject
* _argo0
= 0;
2273 char *_kwnames
[] = { "self", NULL
};
2276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxCaret",_kwnames
,&_argo0
))
2279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxCaret. Expected _wxCaret_p.");
2286 wxPy_BEGIN_ALLOW_THREADS
;
2287 delete_wxCaret(_arg0
);
2289 wxPy_END_ALLOW_THREADS
;
2290 } Py_INCREF(Py_None
);
2291 _resultobj
= Py_None
;
2295 #define wxCaret_IsOk(_swigobj) (_swigobj->IsOk())
2296 static PyObject
*_wrap_wxCaret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2297 PyObject
* _resultobj
;
2300 PyObject
* _argo0
= 0;
2301 char *_kwnames
[] = { "self", NULL
};
2304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsOk",_kwnames
,&_argo0
))
2307 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2308 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2309 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsOk. Expected _wxCaret_p.");
2314 wxPy_BEGIN_ALLOW_THREADS
;
2315 _result
= (bool )wxCaret_IsOk(_arg0
);
2317 wxPy_END_ALLOW_THREADS
;
2318 } _resultobj
= Py_BuildValue("i",_result
);
2322 #define wxCaret_IsVisible(_swigobj) (_swigobj->IsVisible())
2323 static PyObject
*_wrap_wxCaret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2324 PyObject
* _resultobj
;
2327 PyObject
* _argo0
= 0;
2328 char *_kwnames
[] = { "self", NULL
};
2331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_IsVisible",_kwnames
,&_argo0
))
2334 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2335 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2336 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_IsVisible. Expected _wxCaret_p.");
2341 wxPy_BEGIN_ALLOW_THREADS
;
2342 _result
= (bool )wxCaret_IsVisible(_arg0
);
2344 wxPy_END_ALLOW_THREADS
;
2345 } _resultobj
= Py_BuildValue("i",_result
);
2349 #define wxCaret_GetPositionTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1))
2350 static PyObject
*_wrap_wxCaret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2351 PyObject
* _resultobj
;
2357 PyObject
* _argo0
= 0;
2358 char *_kwnames
[] = { "self", NULL
};
2367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPositionTuple",_kwnames
,&_argo0
))
2370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPositionTuple. Expected _wxCaret_p.");
2377 wxPy_BEGIN_ALLOW_THREADS
;
2378 wxCaret_GetPositionTuple(_arg0
,_arg1
,_arg2
);
2380 wxPy_END_ALLOW_THREADS
;
2381 } Py_INCREF(Py_None
);
2382 _resultobj
= Py_None
;
2385 o
= PyInt_FromLong((long) (*_arg1
));
2386 _resultobj
= t_output_helper(_resultobj
, o
);
2390 o
= PyInt_FromLong((long) (*_arg2
));
2391 _resultobj
= t_output_helper(_resultobj
, o
);
2396 #define wxCaret_GetPosition(_swigobj) (_swigobj->GetPosition())
2397 static PyObject
*_wrap_wxCaret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2398 PyObject
* _resultobj
;
2401 PyObject
* _argo0
= 0;
2402 char *_kwnames
[] = { "self", NULL
};
2406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetPosition",_kwnames
,&_argo0
))
2409 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2410 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2411 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetPosition. Expected _wxCaret_p.");
2416 wxPy_BEGIN_ALLOW_THREADS
;
2417 _result
= new wxPoint (wxCaret_GetPosition(_arg0
));
2419 wxPy_END_ALLOW_THREADS
;
2420 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
2421 _resultobj
= Py_BuildValue("s",_ptemp
);
2425 #define wxCaret_GetSizeTuple(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1))
2426 static PyObject
*_wrap_wxCaret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2427 PyObject
* _resultobj
;
2433 PyObject
* _argo0
= 0;
2434 char *_kwnames
[] = { "self", NULL
};
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSizeTuple",_kwnames
,&_argo0
))
2446 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2447 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2448 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSizeTuple. Expected _wxCaret_p.");
2453 wxPy_BEGIN_ALLOW_THREADS
;
2454 wxCaret_GetSizeTuple(_arg0
,_arg1
,_arg2
);
2456 wxPy_END_ALLOW_THREADS
;
2457 } Py_INCREF(Py_None
);
2458 _resultobj
= Py_None
;
2461 o
= PyInt_FromLong((long) (*_arg1
));
2462 _resultobj
= t_output_helper(_resultobj
, o
);
2466 o
= PyInt_FromLong((long) (*_arg2
));
2467 _resultobj
= t_output_helper(_resultobj
, o
);
2472 #define wxCaret_GetSize(_swigobj) (_swigobj->GetSize())
2473 static PyObject
*_wrap_wxCaret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2474 PyObject
* _resultobj
;
2477 PyObject
* _argo0
= 0;
2478 char *_kwnames
[] = { "self", NULL
};
2482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_GetSize",_kwnames
,&_argo0
))
2485 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2486 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2487 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_GetSize. Expected _wxCaret_p.");
2492 wxPy_BEGIN_ALLOW_THREADS
;
2493 _result
= new wxSize (wxCaret_GetSize(_arg0
));
2495 wxPy_END_ALLOW_THREADS
;
2496 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxSize_p");
2497 _resultobj
= Py_BuildValue("s",_ptemp
);
2501 #define wxCaret_GetWindow(_swigobj) (_swigobj->GetWindow())
2502 static PyObject
*_wrap_wxCaret_GetWindow(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_GetWindow",_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_GetWindow. Expected _wxCaret_p.");
2521 wxPy_BEGIN_ALLOW_THREADS
;
2522 _result
= (wxWindow
*)wxCaret_GetWindow(_arg0
);
2524 wxPy_END_ALLOW_THREADS
;
2526 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindow_p");
2527 _resultobj
= Py_BuildValue("s",_ptemp
);
2530 _resultobj
= Py_None
;
2535 #define wxCaret_MoveXY(_swigobj,_swigarg0,_swigarg1) (_swigobj->Move(_swigarg0,_swigarg1))
2536 static PyObject
*_wrap_wxCaret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
* _resultobj
;
2541 PyObject
* _argo0
= 0;
2542 char *_kwnames
[] = { "self","x","y", NULL
};
2545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_MoveXY",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2548 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2549 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2550 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_MoveXY. Expected _wxCaret_p.");
2555 wxPy_BEGIN_ALLOW_THREADS
;
2556 wxCaret_MoveXY(_arg0
,_arg1
,_arg2
);
2558 wxPy_END_ALLOW_THREADS
;
2559 } Py_INCREF(Py_None
);
2560 _resultobj
= Py_None
;
2564 #define wxCaret_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
2565 static PyObject
*_wrap_wxCaret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2566 PyObject
* _resultobj
;
2569 PyObject
* _argo0
= 0;
2571 PyObject
* _obj1
= 0;
2572 char *_kwnames
[] = { "self","pt", NULL
};
2575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_Move",_kwnames
,&_argo0
,&_obj1
))
2578 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2579 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2580 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Move. Expected _wxCaret_p.");
2586 if (! wxPoint_helper(_obj1
, &_arg1
))
2590 wxPy_BEGIN_ALLOW_THREADS
;
2591 wxCaret_Move(_arg0
,*_arg1
);
2593 wxPy_END_ALLOW_THREADS
;
2594 } Py_INCREF(Py_None
);
2595 _resultobj
= Py_None
;
2599 #define wxCaret_SetSizeWH(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
2600 static PyObject
*_wrap_wxCaret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2601 PyObject
* _resultobj
;
2605 PyObject
* _argo0
= 0;
2606 char *_kwnames
[] = { "self","width","height", NULL
};
2609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxCaret_SetSizeWH",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
2612 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2613 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2614 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSizeWH. Expected _wxCaret_p.");
2619 wxPy_BEGIN_ALLOW_THREADS
;
2620 wxCaret_SetSizeWH(_arg0
,_arg1
,_arg2
);
2622 wxPy_END_ALLOW_THREADS
;
2623 } Py_INCREF(Py_None
);
2624 _resultobj
= Py_None
;
2628 #define wxCaret_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0))
2629 static PyObject
*_wrap_wxCaret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2630 PyObject
* _resultobj
;
2633 PyObject
* _argo0
= 0;
2635 PyObject
* _obj1
= 0;
2636 char *_kwnames
[] = { "self","size", NULL
};
2639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxCaret_SetSize",_kwnames
,&_argo0
,&_obj1
))
2642 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2643 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2644 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_SetSize. Expected _wxCaret_p.");
2650 if (! wxSize_helper(_obj1
, &_arg1
))
2654 wxPy_BEGIN_ALLOW_THREADS
;
2655 wxCaret_SetSize(_arg0
,*_arg1
);
2657 wxPy_END_ALLOW_THREADS
;
2658 } Py_INCREF(Py_None
);
2659 _resultobj
= Py_None
;
2663 #define wxCaret_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
2664 static PyObject
*_wrap_wxCaret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2665 PyObject
* _resultobj
;
2667 int _arg1
= (int ) TRUE
;
2668 PyObject
* _argo0
= 0;
2669 char *_kwnames
[] = { "self","show", NULL
};
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxCaret_Show",_kwnames
,&_argo0
,&_arg1
))
2675 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2676 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2677 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Show. Expected _wxCaret_p.");
2682 wxPy_BEGIN_ALLOW_THREADS
;
2683 wxCaret_Show(_arg0
,_arg1
);
2685 wxPy_END_ALLOW_THREADS
;
2686 } Py_INCREF(Py_None
);
2687 _resultobj
= Py_None
;
2691 #define wxCaret_Hide(_swigobj) (_swigobj->Hide())
2692 static PyObject
*_wrap_wxCaret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2693 PyObject
* _resultobj
;
2695 PyObject
* _argo0
= 0;
2696 char *_kwnames
[] = { "self", NULL
};
2699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxCaret_Hide",_kwnames
,&_argo0
))
2702 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2703 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCaret_p")) {
2704 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxCaret_Hide. Expected _wxCaret_p.");
2709 wxPy_BEGIN_ALLOW_THREADS
;
2710 wxCaret_Hide(_arg0
);
2712 wxPy_END_ALLOW_THREADS
;
2713 } Py_INCREF(Py_None
);
2714 _resultobj
= Py_None
;
2718 #define new_wxFontEnumerator() (new wxPyFontEnumerator())
2719 static PyObject
*_wrap_new_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2720 PyObject
* _resultobj
;
2721 wxPyFontEnumerator
* _result
;
2722 char *_kwnames
[] = { NULL
};
2726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxFontEnumerator",_kwnames
))
2729 wxPy_BEGIN_ALLOW_THREADS
;
2730 _result
= (wxPyFontEnumerator
*)new_wxFontEnumerator();
2732 wxPy_END_ALLOW_THREADS
;
2734 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyFontEnumerator_p");
2735 _resultobj
= Py_BuildValue("s",_ptemp
);
2738 _resultobj
= Py_None
;
2743 #define delete_wxPyFontEnumerator(_swigobj) (delete _swigobj)
2744 static PyObject
*_wrap_delete_wxFontEnumerator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2745 PyObject
* _resultobj
;
2746 wxPyFontEnumerator
* _arg0
;
2747 PyObject
* _argo0
= 0;
2748 char *_kwnames
[] = { "self", NULL
};
2751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxFontEnumerator",_kwnames
,&_argo0
))
2754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxFontEnumerator. Expected _wxPyFontEnumerator_p.");
2761 wxPy_BEGIN_ALLOW_THREADS
;
2762 delete_wxPyFontEnumerator(_arg0
);
2764 wxPy_END_ALLOW_THREADS
;
2765 } Py_INCREF(Py_None
);
2766 _resultobj
= Py_None
;
2770 #define wxFontEnumerator__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
2771 static PyObject
*_wrap_wxFontEnumerator__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
* _resultobj
;
2773 wxPyFontEnumerator
* _arg0
;
2776 PyObject
* _argo0
= 0;
2777 PyObject
* _obj1
= 0;
2778 PyObject
* _obj2
= 0;
2779 char *_kwnames
[] = { "self","self","_class", NULL
};
2782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxFontEnumerator__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
2785 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2786 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2787 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator__setSelf. Expected _wxPyFontEnumerator_p.");
2798 wxPy_BEGIN_ALLOW_THREADS
;
2799 wxFontEnumerator__setSelf(_arg0
,_arg1
,_arg2
);
2801 wxPy_END_ALLOW_THREADS
;
2802 } Py_INCREF(Py_None
);
2803 _resultobj
= Py_None
;
2807 #define wxFontEnumerator_EnumerateFacenames(_swigobj,_swigarg0,_swigarg1) (_swigobj->EnumerateFacenames(_swigarg0,_swigarg1))
2808 static PyObject
*_wrap_wxFontEnumerator_EnumerateFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
* _resultobj
;
2811 wxPyFontEnumerator
* _arg0
;
2812 wxFontEncoding _arg1
= (wxFontEncoding
) wxFONTENCODING_SYSTEM
;
2813 bool _arg2
= (bool ) FALSE
;
2814 PyObject
* _argo0
= 0;
2815 int tempbool2
= (int) FALSE
;
2816 char *_kwnames
[] = { "self","encoding","fixedWidthOnly", NULL
};
2819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxFontEnumerator_EnumerateFacenames",_kwnames
,&_argo0
,&_arg1
,&tempbool2
))
2822 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2823 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2824 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateFacenames. Expected _wxPyFontEnumerator_p.");
2828 _arg2
= (bool ) tempbool2
;
2830 wxPy_BEGIN_ALLOW_THREADS
;
2831 _result
= (bool )wxFontEnumerator_EnumerateFacenames(_arg0
,_arg1
,_arg2
);
2833 wxPy_END_ALLOW_THREADS
;
2834 } _resultobj
= Py_BuildValue("i",_result
);
2838 #define wxFontEnumerator_EnumerateEncodings(_swigobj,_swigarg0) (_swigobj->EnumerateEncodings(_swigarg0))
2839 static PyObject
*_wrap_wxFontEnumerator_EnumerateEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2840 PyObject
* _resultobj
;
2842 wxPyFontEnumerator
* _arg0
;
2843 char * _arg1
= (char *) "";
2844 PyObject
* _argo0
= 0;
2845 char *_kwnames
[] = { "self","facename", NULL
};
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|s:wxFontEnumerator_EnumerateEncodings",_kwnames
,&_argo0
,&_arg1
))
2851 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2852 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2853 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_EnumerateEncodings. Expected _wxPyFontEnumerator_p.");
2858 wxPy_BEGIN_ALLOW_THREADS
;
2859 _result
= (bool )wxFontEnumerator_EnumerateEncodings(_arg0
,_arg1
);
2861 wxPy_END_ALLOW_THREADS
;
2862 } _resultobj
= Py_BuildValue("i",_result
);
2866 static PyObject
* wxPyFontEnumerator_GetEncodings(wxPyFontEnumerator
*self
) {
2867 wxArrayString
* arr
= self
->GetEncodings();
2868 PyObject
* list
= PyList_New(0);
2869 for (size_t x
=0; x
<arr
->GetCount(); x
++)
2870 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
2873 static PyObject
*_wrap_wxFontEnumerator_GetEncodings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2874 PyObject
* _resultobj
;
2876 wxPyFontEnumerator
* _arg0
;
2877 PyObject
* _argo0
= 0;
2878 char *_kwnames
[] = { "self", NULL
};
2881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetEncodings",_kwnames
,&_argo0
))
2884 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2885 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2886 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetEncodings. Expected _wxPyFontEnumerator_p.");
2891 wxPy_BEGIN_ALLOW_THREADS
;
2892 _result
= (PyObject
*)wxPyFontEnumerator_GetEncodings(_arg0
);
2894 wxPy_END_ALLOW_THREADS
;
2896 _resultobj
= _result
;
2901 static PyObject
* wxPyFontEnumerator_GetFacenames(wxPyFontEnumerator
*self
) {
2902 wxArrayString
* arr
= self
->GetFacenames();
2903 PyObject
* list
= PyList_New(0);
2904 for (size_t x
=0; x
<arr
->GetCount(); x
++)
2905 PyList_Append(list
, PyString_FromString((*arr
)[x
]));
2908 static PyObject
*_wrap_wxFontEnumerator_GetFacenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2909 PyObject
* _resultobj
;
2911 wxPyFontEnumerator
* _arg0
;
2912 PyObject
* _argo0
= 0;
2913 char *_kwnames
[] = { "self", NULL
};
2916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxFontEnumerator_GetFacenames",_kwnames
,&_argo0
))
2919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyFontEnumerator_p")) {
2921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxFontEnumerator_GetFacenames. Expected _wxPyFontEnumerator_p.");
2926 wxPy_BEGIN_ALLOW_THREADS
;
2927 _result
= (PyObject
*)wxPyFontEnumerator_GetFacenames(_arg0
);
2929 wxPy_END_ALLOW_THREADS
;
2931 _resultobj
= _result
;
2936 #define new_wxBusyCursor(_swigarg0) (new wxBusyCursor(_swigarg0))
2937 static PyObject
*_wrap_new_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2938 PyObject
* _resultobj
;
2939 wxBusyCursor
* _result
;
2940 wxCursor
* _arg0
= (wxCursor
*) wxHOURGLASS_CURSOR
;
2941 PyObject
* _argo0
= 0;
2942 char *_kwnames
[] = { "cursor", NULL
};
2946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxBusyCursor",_kwnames
,&_argo0
))
2949 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2950 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxCursor_p")) {
2951 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxBusyCursor. Expected _wxCursor_p.");
2956 wxPy_BEGIN_ALLOW_THREADS
;
2957 _result
= (wxBusyCursor
*)new_wxBusyCursor(_arg0
);
2959 wxPy_END_ALLOW_THREADS
;
2961 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxBusyCursor_p");
2962 _resultobj
= Py_BuildValue("s",_ptemp
);
2965 _resultobj
= Py_None
;
2970 #define delete_wxBusyCursor(_swigobj) (delete _swigobj)
2971 static PyObject
*_wrap_delete_wxBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2972 PyObject
* _resultobj
;
2973 wxBusyCursor
* _arg0
;
2974 PyObject
* _argo0
= 0;
2975 char *_kwnames
[] = { "self", NULL
};
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxBusyCursor",_kwnames
,&_argo0
))
2981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
2982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBusyCursor_p")) {
2983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxBusyCursor. Expected _wxBusyCursor_p.");
2988 wxPy_BEGIN_ALLOW_THREADS
;
2989 delete_wxBusyCursor(_arg0
);
2991 wxPy_END_ALLOW_THREADS
;
2992 } Py_INCREF(Py_None
);
2993 _resultobj
= Py_None
;
2997 #define new_wxWindowDisabler(_swigarg0) (new wxWindowDisabler(_swigarg0))
2998 static PyObject
*_wrap_new_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
* _resultobj
;
3000 wxWindowDisabler
* _result
;
3001 wxWindow
* _arg0
= (wxWindow
*) NULL
;
3002 PyObject
* _argo0
= 0;
3003 char *_kwnames
[] = { "winToSkip", NULL
};
3007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|O:new_wxWindowDisabler",_kwnames
,&_argo0
))
3010 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3011 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
3012 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxWindowDisabler. Expected _wxWindow_p.");
3017 wxPy_BEGIN_ALLOW_THREADS
;
3018 _result
= (wxWindowDisabler
*)new_wxWindowDisabler(_arg0
);
3020 wxPy_END_ALLOW_THREADS
;
3022 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxWindowDisabler_p");
3023 _resultobj
= Py_BuildValue("s",_ptemp
);
3026 _resultobj
= Py_None
;
3031 #define delete_wxWindowDisabler(_swigobj) (delete _swigobj)
3032 static PyObject
*_wrap_delete_wxWindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3033 PyObject
* _resultobj
;
3034 wxWindowDisabler
* _arg0
;
3035 PyObject
* _argo0
= 0;
3036 char *_kwnames
[] = { "self", NULL
};
3039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxWindowDisabler",_kwnames
,&_argo0
))
3042 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3043 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindowDisabler_p")) {
3044 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxWindowDisabler. Expected _wxWindowDisabler_p.");
3049 wxPy_BEGIN_ALLOW_THREADS
;
3050 delete_wxWindowDisabler(_arg0
);
3052 wxPy_END_ALLOW_THREADS
;
3053 } Py_INCREF(Py_None
);
3054 _resultobj
= Py_None
;
3058 #define delete_wxTipProvider(_swigobj) (delete _swigobj)
3059 static PyObject
*_wrap_delete_wxTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3060 PyObject
* _resultobj
;
3061 wxTipProvider
* _arg0
;
3062 PyObject
* _argo0
= 0;
3063 char *_kwnames
[] = { "self", NULL
};
3066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxTipProvider",_kwnames
,&_argo0
))
3069 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3070 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3071 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxTipProvider. Expected _wxTipProvider_p.");
3076 wxPy_BEGIN_ALLOW_THREADS
;
3077 delete_wxTipProvider(_arg0
);
3079 wxPy_END_ALLOW_THREADS
;
3080 } Py_INCREF(Py_None
);
3081 _resultobj
= Py_None
;
3085 #define wxTipProvider_GetTip(_swigobj) (_swigobj->GetTip())
3086 static PyObject
*_wrap_wxTipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3087 PyObject
* _resultobj
;
3089 wxTipProvider
* _arg0
;
3090 PyObject
* _argo0
= 0;
3091 char *_kwnames
[] = { "self", NULL
};
3094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetTip",_kwnames
,&_argo0
))
3097 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3098 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3099 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetTip. Expected _wxTipProvider_p.");
3104 wxPy_BEGIN_ALLOW_THREADS
;
3105 _result
= new wxString (wxTipProvider_GetTip(_arg0
));
3107 wxPy_END_ALLOW_THREADS
;
3109 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
3117 #define wxTipProvider_GetCurrentTip(_swigobj) (_swigobj->GetCurrentTip())
3118 static PyObject
*_wrap_wxTipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3119 PyObject
* _resultobj
;
3121 wxTipProvider
* _arg0
;
3122 PyObject
* _argo0
= 0;
3123 char *_kwnames
[] = { "self", NULL
};
3126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxTipProvider_GetCurrentTip",_kwnames
,&_argo0
))
3129 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3130 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTipProvider_p")) {
3131 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxTipProvider_GetCurrentTip. Expected _wxTipProvider_p.");
3136 wxPy_BEGIN_ALLOW_THREADS
;
3137 _result
= (size_t )wxTipProvider_GetCurrentTip(_arg0
);
3139 wxPy_END_ALLOW_THREADS
;
3140 } _resultobj
= Py_BuildValue("i",_result
);
3144 static void *SwigwxPyTipProviderTowxTipProvider(void *ptr
) {
3145 wxPyTipProvider
*src
;
3146 wxTipProvider
*dest
;
3147 src
= (wxPyTipProvider
*) ptr
;
3148 dest
= (wxTipProvider
*) src
;
3149 return (void *) dest
;
3152 #define new_wxPyTipProvider(_swigarg0) (new wxPyTipProvider(_swigarg0))
3153 static PyObject
*_wrap_new_wxPyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3154 PyObject
* _resultobj
;
3155 wxPyTipProvider
* _result
;
3157 char *_kwnames
[] = { "currentTip", NULL
};
3161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"i:new_wxPyTipProvider",_kwnames
,&_arg0
))
3164 wxPy_BEGIN_ALLOW_THREADS
;
3165 _result
= (wxPyTipProvider
*)new_wxPyTipProvider(_arg0
);
3167 wxPy_END_ALLOW_THREADS
;
3169 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTipProvider_p");
3170 _resultobj
= Py_BuildValue("s",_ptemp
);
3173 _resultobj
= Py_None
;
3178 #define new_wxDragImage(_swigarg0,_swigarg1,_swigarg2) (new wxGenericDragImage(_swigarg0,_swigarg1,_swigarg2))
3179 static PyObject
*_wrap_new_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3180 PyObject
* _resultobj
;
3181 wxGenericDragImage
* _result
;
3183 wxCursor
* _arg1
= (wxCursor
*) &wxNullCursor
;
3184 wxPoint
* _arg2
= (wxPoint
*) &wxPyNullPoint
;
3185 PyObject
* _argo0
= 0;
3186 PyObject
* _argo1
= 0;
3188 PyObject
* _obj2
= 0;
3189 char *_kwnames
[] = { "image","cursor","hotspot", NULL
};
3193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|OO:new_wxDragImage",_kwnames
,&_argo0
,&_argo1
,&_obj2
))
3196 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3197 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxBitmap_p")) {
3198 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxDragImage. Expected _wxBitmap_p.");
3203 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3204 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxCursor_p")) {
3205 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxDragImage. Expected _wxCursor_p.");
3212 if (! wxPoint_helper(_obj2
, &_arg2
))
3216 wxPy_BEGIN_ALLOW_THREADS
;
3217 _result
= (wxGenericDragImage
*)new_wxDragImage(*_arg0
,*_arg1
,*_arg2
);
3219 wxPy_END_ALLOW_THREADS
;
3221 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGenericDragImage_p");
3222 _resultobj
= Py_BuildValue("s",_ptemp
);
3225 _resultobj
= Py_None
;
3230 #define delete_wxGenericDragImage(_swigobj) (delete _swigobj)
3231 static PyObject
*_wrap_delete_wxDragImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
* _resultobj
;
3233 wxGenericDragImage
* _arg0
;
3234 PyObject
* _argo0
= 0;
3235 char *_kwnames
[] = { "self", NULL
};
3238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxDragImage",_kwnames
,&_argo0
))
3241 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3242 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3243 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxDragImage. Expected _wxGenericDragImage_p.");
3248 wxPy_BEGIN_ALLOW_THREADS
;
3249 delete_wxGenericDragImage(_arg0
);
3251 wxPy_END_ALLOW_THREADS
;
3252 } Py_INCREF(Py_None
);
3253 _resultobj
= Py_None
;
3257 #define wxDragImage_BeginDrag(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3258 static PyObject
*_wrap_wxDragImage_BeginDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
* _resultobj
;
3261 wxGenericDragImage
* _arg0
;
3264 bool _arg3
= (bool ) FALSE
;
3265 wxRect
* _arg4
= (wxRect
*) NULL
;
3266 PyObject
* _argo0
= 0;
3268 PyObject
* _obj1
= 0;
3269 PyObject
* _argo2
= 0;
3270 int tempbool3
= (int) FALSE
;
3272 PyObject
* _obj4
= 0;
3273 char *_kwnames
[] = { "self","hotspot","window","fullScreen","rect", NULL
};
3276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO|iO:wxDragImage_BeginDrag",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&tempbool3
,&_obj4
))
3279 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3280 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3281 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag. Expected _wxGenericDragImage_p.");
3287 if (! wxPoint_helper(_obj1
, &_arg1
))
3291 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3292 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3293 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag. Expected _wxWindow_p.");
3297 _arg3
= (bool ) tempbool3
;
3301 if (! wxRect_helper(_obj4
, &_arg4
))
3305 wxPy_BEGIN_ALLOW_THREADS
;
3306 _result
= (bool )wxDragImage_BeginDrag(_arg0
,*_arg1
,_arg2
,_arg3
,_arg4
);
3308 wxPy_END_ALLOW_THREADS
;
3309 } _resultobj
= Py_BuildValue("i",_result
);
3313 #define wxDragImage_BeginDrag2(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->BeginDrag(_swigarg0,_swigarg1,_swigarg2))
3314 static PyObject
*_wrap_wxDragImage_BeginDrag2(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3315 PyObject
* _resultobj
;
3317 wxGenericDragImage
* _arg0
;
3321 PyObject
* _argo0
= 0;
3323 PyObject
* _obj1
= 0;
3324 PyObject
* _argo2
= 0;
3325 PyObject
* _argo3
= 0;
3326 char *_kwnames
[] = { "self","hotspot","window","fullScreenRect", NULL
};
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOO:wxDragImage_BeginDrag2",_kwnames
,&_argo0
,&_obj1
,&_argo2
,&_argo3
))
3332 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3333 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3334 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_BeginDrag2. Expected _wxGenericDragImage_p.");
3340 if (! wxPoint_helper(_obj1
, &_arg1
))
3344 if (_argo2
== Py_None
) { _arg2
= NULL
; }
3345 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxWindow_p")) {
3346 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3351 if (_argo3
== Py_None
) { _arg3
= NULL
; }
3352 else if (SWIG_GetPtrObj(_argo3
,(void **) &_arg3
,"_wxWindow_p")) {
3353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 4 of wxDragImage_BeginDrag2. Expected _wxWindow_p.");
3358 wxPy_BEGIN_ALLOW_THREADS
;
3359 _result
= (bool )wxDragImage_BeginDrag2(_arg0
,*_arg1
,_arg2
,_arg3
);
3361 wxPy_END_ALLOW_THREADS
;
3362 } _resultobj
= Py_BuildValue("i",_result
);
3366 #define wxDragImage_EndDrag(_swigobj) (_swigobj->EndDrag())
3367 static PyObject
*_wrap_wxDragImage_EndDrag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3368 PyObject
* _resultobj
;
3370 wxGenericDragImage
* _arg0
;
3371 PyObject
* _argo0
= 0;
3372 char *_kwnames
[] = { "self", NULL
};
3375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_EndDrag",_kwnames
,&_argo0
))
3378 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3379 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3380 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_EndDrag. Expected _wxGenericDragImage_p.");
3385 wxPy_BEGIN_ALLOW_THREADS
;
3386 _result
= (bool )wxDragImage_EndDrag(_arg0
);
3388 wxPy_END_ALLOW_THREADS
;
3389 } _resultobj
= Py_BuildValue("i",_result
);
3393 #define wxDragImage_Move(_swigobj,_swigarg0) (_swigobj->Move(_swigarg0))
3394 static PyObject
*_wrap_wxDragImage_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
* _resultobj
;
3397 wxGenericDragImage
* _arg0
;
3399 PyObject
* _argo0
= 0;
3401 PyObject
* _obj1
= 0;
3402 char *_kwnames
[] = { "self","pt", NULL
};
3405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_Move",_kwnames
,&_argo0
,&_obj1
))
3408 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3409 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3410 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Move. Expected _wxGenericDragImage_p.");
3416 if (! wxPoint_helper(_obj1
, &_arg1
))
3420 wxPy_BEGIN_ALLOW_THREADS
;
3421 _result
= (bool )wxDragImage_Move(_arg0
,*_arg1
);
3423 wxPy_END_ALLOW_THREADS
;
3424 } _resultobj
= Py_BuildValue("i",_result
);
3428 #define wxDragImage_Show(_swigobj) (_swigobj->Show())
3429 static PyObject
*_wrap_wxDragImage_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3430 PyObject
* _resultobj
;
3432 wxGenericDragImage
* _arg0
;
3433 PyObject
* _argo0
= 0;
3434 char *_kwnames
[] = { "self", NULL
};
3437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Show",_kwnames
,&_argo0
))
3440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Show. Expected _wxGenericDragImage_p.");
3447 wxPy_BEGIN_ALLOW_THREADS
;
3448 _result
= (bool )wxDragImage_Show(_arg0
);
3450 wxPy_END_ALLOW_THREADS
;
3451 } _resultobj
= Py_BuildValue("i",_result
);
3455 #define wxDragImage_Hide(_swigobj) (_swigobj->Hide())
3456 static PyObject
*_wrap_wxDragImage_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3457 PyObject
* _resultobj
;
3459 wxGenericDragImage
* _arg0
;
3460 PyObject
* _argo0
= 0;
3461 char *_kwnames
[] = { "self", NULL
};
3464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxDragImage_Hide",_kwnames
,&_argo0
))
3467 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3468 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3469 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_Hide. Expected _wxGenericDragImage_p.");
3474 wxPy_BEGIN_ALLOW_THREADS
;
3475 _result
= (bool )wxDragImage_Hide(_arg0
);
3477 wxPy_END_ALLOW_THREADS
;
3478 } _resultobj
= Py_BuildValue("i",_result
);
3482 #define wxDragImage_GetImageRect(_swigobj,_swigarg0) (_swigobj->GetImageRect(_swigarg0))
3483 static PyObject
*_wrap_wxDragImage_GetImageRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
* _resultobj
;
3486 wxGenericDragImage
* _arg0
;
3488 PyObject
* _argo0
= 0;
3490 PyObject
* _obj1
= 0;
3491 char *_kwnames
[] = { "self","pos", NULL
};
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO:wxDragImage_GetImageRect",_kwnames
,&_argo0
,&_obj1
))
3498 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3499 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3500 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_GetImageRect. Expected _wxGenericDragImage_p.");
3506 if (! wxPoint_helper(_obj1
, &_arg1
))
3510 wxPy_BEGIN_ALLOW_THREADS
;
3511 _result
= new wxRect (wxDragImage_GetImageRect(_arg0
,*_arg1
));
3513 wxPy_END_ALLOW_THREADS
;
3514 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxRect_p");
3515 _resultobj
= Py_BuildValue("s",_ptemp
);
3519 #define wxDragImage_RedrawImage(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->RedrawImage(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3520 static PyObject
*_wrap_wxDragImage_RedrawImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3521 PyObject
* _resultobj
;
3523 wxGenericDragImage
* _arg0
;
3528 PyObject
* _argo0
= 0;
3530 PyObject
* _obj1
= 0;
3532 PyObject
* _obj2
= 0;
3535 char *_kwnames
[] = { "self","oldPos","newPos","eraseOld","drawNew", NULL
};
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOOii:wxDragImage_RedrawImage",_kwnames
,&_argo0
,&_obj1
,&_obj2
,&tempbool3
,&tempbool4
))
3541 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3542 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGenericDragImage_p")) {
3543 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxDragImage_RedrawImage. Expected _wxGenericDragImage_p.");
3549 if (! wxPoint_helper(_obj1
, &_arg1
))
3554 if (! wxPoint_helper(_obj2
, &_arg2
))
3557 _arg3
= (bool ) tempbool3
;
3558 _arg4
= (bool ) tempbool4
;
3560 wxPy_BEGIN_ALLOW_THREADS
;
3561 _result
= (bool )wxDragImage_RedrawImage(_arg0
,*_arg1
,*_arg2
,_arg3
,_arg4
);
3563 wxPy_END_ALLOW_THREADS
;
3564 } _resultobj
= Py_BuildValue("i",_result
);
3568 #define new_wxPyTimer(_swigarg0) (new wxPyTimer(_swigarg0))
3569 static PyObject
*_wrap_new_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
* _resultobj
;
3571 wxPyTimer
* _result
;
3573 PyObject
* _obj0
= 0;
3574 char *_kwnames
[] = { "notify", NULL
};
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxPyTimer",_kwnames
,&_obj0
))
3584 wxPy_BEGIN_ALLOW_THREADS
;
3585 _result
= (wxPyTimer
*)new_wxPyTimer(_arg0
);
3587 wxPy_END_ALLOW_THREADS
;
3589 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyTimer_p");
3590 _resultobj
= Py_BuildValue("s",_ptemp
);
3593 _resultobj
= Py_None
;
3598 #define delete_wxPyTimer(_swigobj) (delete _swigobj)
3599 static PyObject
*_wrap_delete_wxPyTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3600 PyObject
* _resultobj
;
3602 PyObject
* _argo0
= 0;
3603 char *_kwnames
[] = { "self", NULL
};
3606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxPyTimer",_kwnames
,&_argo0
))
3609 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3610 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3611 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxPyTimer. Expected _wxPyTimer_p.");
3616 wxPy_BEGIN_ALLOW_THREADS
;
3617 delete_wxPyTimer(_arg0
);
3619 wxPy_END_ALLOW_THREADS
;
3620 } Py_INCREF(Py_None
);
3621 _resultobj
= Py_None
;
3625 #define wxPyTimer_GetInterval(_swigobj) (_swigobj->GetInterval())
3626 static PyObject
*_wrap_wxPyTimer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3627 PyObject
* _resultobj
;
3630 PyObject
* _argo0
= 0;
3631 char *_kwnames
[] = { "self", NULL
};
3634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_GetInterval",_kwnames
,&_argo0
))
3637 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3638 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3639 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_GetInterval. Expected _wxPyTimer_p.");
3644 wxPy_BEGIN_ALLOW_THREADS
;
3645 _result
= (int )wxPyTimer_GetInterval(_arg0
);
3647 wxPy_END_ALLOW_THREADS
;
3648 } _resultobj
= Py_BuildValue("i",_result
);
3652 #define wxPyTimer_IsOneShot(_swigobj) (_swigobj->IsOneShot())
3653 static PyObject
*_wrap_wxPyTimer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3654 PyObject
* _resultobj
;
3657 PyObject
* _argo0
= 0;
3658 char *_kwnames
[] = { "self", NULL
};
3661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsOneShot",_kwnames
,&_argo0
))
3664 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3665 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3666 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsOneShot. Expected _wxPyTimer_p.");
3671 wxPy_BEGIN_ALLOW_THREADS
;
3672 _result
= (bool )wxPyTimer_IsOneShot(_arg0
);
3674 wxPy_END_ALLOW_THREADS
;
3675 } _resultobj
= Py_BuildValue("i",_result
);
3679 #define wxPyTimer_IsRunning(_swigobj) (_swigobj->IsRunning())
3680 static PyObject
*_wrap_wxPyTimer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3681 PyObject
* _resultobj
;
3684 PyObject
* _argo0
= 0;
3685 char *_kwnames
[] = { "self", NULL
};
3688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_IsRunning",_kwnames
,&_argo0
))
3691 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3692 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3693 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_IsRunning. Expected _wxPyTimer_p.");
3698 wxPy_BEGIN_ALLOW_THREADS
;
3699 _result
= (bool )wxPyTimer_IsRunning(_arg0
);
3701 wxPy_END_ALLOW_THREADS
;
3702 } _resultobj
= Py_BuildValue("i",_result
);
3706 #define wxPyTimer_SetOwner(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetOwner(_swigarg0,_swigarg1))
3707 static PyObject
*_wrap_wxPyTimer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
* _resultobj
;
3710 wxEvtHandler
* _arg1
;
3711 int _arg2
= (int ) -1;
3712 PyObject
* _argo0
= 0;
3713 PyObject
* _argo1
= 0;
3714 char *_kwnames
[] = { "self","owner","id", NULL
};
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxPyTimer_SetOwner",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
3720 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3721 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3722 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_SetOwner. Expected _wxPyTimer_p.");
3727 if (_argo1
== Py_None
) { _arg1
= NULL
; }
3728 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxEvtHandler_p")) {
3729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxPyTimer_SetOwner. Expected _wxEvtHandler_p.");
3734 wxPy_BEGIN_ALLOW_THREADS
;
3735 wxPyTimer_SetOwner(_arg0
,_arg1
,_arg2
);
3737 wxPy_END_ALLOW_THREADS
;
3738 } Py_INCREF(Py_None
);
3739 _resultobj
= Py_None
;
3743 #define wxPyTimer_Start(_swigobj,_swigarg0,_swigarg1) (_swigobj->Start(_swigarg0,_swigarg1))
3744 static PyObject
*_wrap_wxPyTimer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
* _resultobj
;
3747 int _arg1
= (int ) -1;
3748 int _arg2
= (int ) FALSE
;
3749 PyObject
* _argo0
= 0;
3750 char *_kwnames
[] = { "self","milliseconds","oneShot", NULL
};
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|ii:wxPyTimer_Start",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3756 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3757 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3758 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Start. Expected _wxPyTimer_p.");
3763 wxPy_BEGIN_ALLOW_THREADS
;
3764 wxPyTimer_Start(_arg0
,_arg1
,_arg2
);
3766 wxPy_END_ALLOW_THREADS
;
3767 } Py_INCREF(Py_None
);
3768 _resultobj
= Py_None
;
3772 #define wxPyTimer_Stop(_swigobj) (_swigobj->Stop())
3773 static PyObject
*_wrap_wxPyTimer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3774 PyObject
* _resultobj
;
3776 PyObject
* _argo0
= 0;
3777 char *_kwnames
[] = { "self", NULL
};
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxPyTimer_Stop",_kwnames
,&_argo0
))
3783 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3784 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyTimer_p")) {
3785 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxPyTimer_Stop. Expected _wxPyTimer_p.");
3790 wxPy_BEGIN_ALLOW_THREADS
;
3791 wxPyTimer_Stop(_arg0
);
3793 wxPy_END_ALLOW_THREADS
;
3794 } Py_INCREF(Py_None
);
3795 _resultobj
= Py_None
;
3799 #define new_wxLog() (new wxLog())
3800 static PyObject
*_wrap_new_wxLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
* _resultobj
;
3803 char *_kwnames
[] = { NULL
};
3807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLog",_kwnames
))
3810 wxPy_BEGIN_ALLOW_THREADS
;
3811 _result
= (wxLog
*)new_wxLog();
3813 wxPy_END_ALLOW_THREADS
;
3815 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
3816 _resultobj
= Py_BuildValue("s",_ptemp
);
3819 _resultobj
= Py_None
;
3824 static PyObject
*_wrap_wxLog_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
* _resultobj
;
3827 char *_kwnames
[] = { NULL
};
3830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_IsEnabled",_kwnames
))
3833 wxPy_BEGIN_ALLOW_THREADS
;
3834 _result
= (bool )wxLog::IsEnabled();
3836 wxPy_END_ALLOW_THREADS
;
3837 } _resultobj
= Py_BuildValue("i",_result
);
3841 static PyObject
*_wrap_wxLog_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3842 PyObject
* _resultobj
;
3844 bool _arg0
= (bool ) TRUE
;
3845 int tempbool0
= (int) TRUE
;
3846 char *_kwnames
[] = { "doIt", NULL
};
3849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:wxLog_EnableLogging",_kwnames
,&tempbool0
))
3851 _arg0
= (bool ) tempbool0
;
3853 wxPy_BEGIN_ALLOW_THREADS
;
3854 _result
= (bool )wxLog::EnableLogging(_arg0
);
3856 wxPy_END_ALLOW_THREADS
;
3857 } _resultobj
= Py_BuildValue("i",_result
);
3861 static PyObject
*_wrap_wxLog_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
* _resultobj
;
3865 int _arg2
= (int ) 0;
3866 PyObject
* _argo0
= 0;
3867 char *_kwnames
[] = { "level","szString","t", NULL
};
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|i:wxLog_OnLog",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
3873 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3874 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogLevel_p")) {
3875 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_OnLog. Expected _wxLogLevel_p.");
3880 wxPy_BEGIN_ALLOW_THREADS
;
3881 wxLog::OnLog(*_arg0
,_arg1
,_arg2
);
3883 wxPy_END_ALLOW_THREADS
;
3884 } Py_INCREF(Py_None
);
3885 _resultobj
= Py_None
;
3889 #define wxLog_Flush(_swigobj) (_swigobj->Flush())
3890 static PyObject
*_wrap_wxLog_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3891 PyObject
* _resultobj
;
3893 PyObject
* _argo0
= 0;
3894 char *_kwnames
[] = { "self", NULL
};
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_Flush",_kwnames
,&_argo0
))
3900 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3901 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
3902 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_Flush. Expected _wxLog_p.");
3907 wxPy_BEGIN_ALLOW_THREADS
;
3910 wxPy_END_ALLOW_THREADS
;
3911 } Py_INCREF(Py_None
);
3912 _resultobj
= Py_None
;
3916 #define wxLog_HasPendingMessages(_swigobj) (_swigobj->HasPendingMessages())
3917 static PyObject
*_wrap_wxLog_HasPendingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3918 PyObject
* _resultobj
;
3921 PyObject
* _argo0
= 0;
3922 char *_kwnames
[] = { "self", NULL
};
3925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_HasPendingMessages",_kwnames
,&_argo0
))
3928 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3929 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
3930 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_HasPendingMessages. Expected _wxLog_p.");
3935 wxPy_BEGIN_ALLOW_THREADS
;
3936 _result
= (bool )wxLog_HasPendingMessages(_arg0
);
3938 wxPy_END_ALLOW_THREADS
;
3939 } _resultobj
= Py_BuildValue("i",_result
);
3943 static PyObject
*_wrap_wxLog_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
* _resultobj
;
3945 char *_kwnames
[] = { NULL
};
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_FlushActive",_kwnames
))
3951 wxPy_BEGIN_ALLOW_THREADS
;
3952 wxLog::FlushActive();
3954 wxPy_END_ALLOW_THREADS
;
3955 } Py_INCREF(Py_None
);
3956 _resultobj
= Py_None
;
3960 static PyObject
*_wrap_wxLog_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3961 PyObject
* _resultobj
;
3963 char *_kwnames
[] = { NULL
};
3967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetActiveTarget",_kwnames
))
3970 wxPy_BEGIN_ALLOW_THREADS
;
3971 _result
= (wxLog
*)wxLog::GetActiveTarget();
3973 wxPy_END_ALLOW_THREADS
;
3975 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
3976 _resultobj
= Py_BuildValue("s",_ptemp
);
3979 _resultobj
= Py_None
;
3984 static PyObject
*_wrap_wxLog_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
* _resultobj
;
3988 PyObject
* _argo0
= 0;
3989 char *_kwnames
[] = { "pLogger", NULL
};
3993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetActiveTarget",_kwnames
,&_argo0
))
3996 if (_argo0
== Py_None
) { _arg0
= NULL
; }
3997 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
3998 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetActiveTarget. Expected _wxLog_p.");
4003 wxPy_BEGIN_ALLOW_THREADS
;
4004 _result
= (wxLog
*)wxLog::SetActiveTarget(_arg0
);
4006 wxPy_END_ALLOW_THREADS
;
4008 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4009 _resultobj
= Py_BuildValue("s",_ptemp
);
4012 _resultobj
= Py_None
;
4017 static PyObject
*_wrap_wxLog_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
* _resultobj
;
4019 char *_kwnames
[] = { NULL
};
4022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Suspend",_kwnames
))
4025 wxPy_BEGIN_ALLOW_THREADS
;
4028 wxPy_END_ALLOW_THREADS
;
4029 } Py_INCREF(Py_None
);
4030 _resultobj
= Py_None
;
4034 static PyObject
*_wrap_wxLog_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
* _resultobj
;
4036 char *_kwnames
[] = { NULL
};
4039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_Resume",_kwnames
))
4042 wxPy_BEGIN_ALLOW_THREADS
;
4045 wxPy_END_ALLOW_THREADS
;
4046 } Py_INCREF(Py_None
);
4047 _resultobj
= Py_None
;
4051 #define wxLog_SetVerbose(_swigobj,_swigarg0) (_swigobj->SetVerbose(_swigarg0))
4052 static PyObject
*_wrap_wxLog_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
* _resultobj
;
4055 bool _arg1
= (bool ) TRUE
;
4056 PyObject
* _argo0
= 0;
4057 int tempbool1
= (int) TRUE
;
4058 char *_kwnames
[] = { "self","bVerbose", NULL
};
4061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLog_SetVerbose",_kwnames
,&_argo0
,&tempbool1
))
4064 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4065 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4066 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetVerbose. Expected _wxLog_p.");
4070 _arg1
= (bool ) tempbool1
;
4072 wxPy_BEGIN_ALLOW_THREADS
;
4073 wxLog_SetVerbose(_arg0
,_arg1
);
4075 wxPy_END_ALLOW_THREADS
;
4076 } Py_INCREF(Py_None
);
4077 _resultobj
= Py_None
;
4081 static PyObject
*_wrap_wxLog_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
* _resultobj
;
4083 char *_kwnames
[] = { NULL
};
4086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_DontCreateOnDemand",_kwnames
))
4089 wxPy_BEGIN_ALLOW_THREADS
;
4090 wxLog::DontCreateOnDemand();
4092 wxPy_END_ALLOW_THREADS
;
4093 } Py_INCREF(Py_None
);
4094 _resultobj
= Py_None
;
4098 static PyObject
*_wrap_wxLog_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4099 PyObject
* _resultobj
;
4100 wxTraceMask
* _arg0
;
4101 PyObject
* _argo0
= 0;
4102 char *_kwnames
[] = { "ulMask", NULL
};
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_SetTraceMask",_kwnames
,&_argo0
))
4108 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4109 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTraceMask_p")) {
4110 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_SetTraceMask. Expected _wxTraceMask_p.");
4115 wxPy_BEGIN_ALLOW_THREADS
;
4116 wxLog::SetTraceMask(*_arg0
);
4118 wxPy_END_ALLOW_THREADS
;
4119 } Py_INCREF(Py_None
);
4120 _resultobj
= Py_None
;
4124 static PyObject
*_wrap_wxLog_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
* _resultobj
;
4127 PyObject
* _obj0
= 0;
4128 char *_kwnames
[] = { "str", NULL
};
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_AddTraceMask",_kwnames
,&_obj0
))
4134 #if PYTHON_API_VERSION >= 1009
4135 char* tmpPtr
; int tmpSize
;
4136 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4137 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4140 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4142 _arg0
= new wxString(tmpPtr
, tmpSize
);
4144 if (!PyString_Check(_obj0
)) {
4145 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4148 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4152 wxPy_BEGIN_ALLOW_THREADS
;
4153 wxLog::AddTraceMask(*_arg0
);
4155 wxPy_END_ALLOW_THREADS
;
4156 } Py_INCREF(Py_None
);
4157 _resultobj
= Py_None
;
4165 static PyObject
*_wrap_wxLog_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
* _resultobj
;
4168 PyObject
* _obj0
= 0;
4169 char *_kwnames
[] = { "str", NULL
};
4172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_RemoveTraceMask",_kwnames
,&_obj0
))
4175 #if PYTHON_API_VERSION >= 1009
4176 char* tmpPtr
; int tmpSize
;
4177 if (!PyString_Check(_obj0
) && !PyUnicode_Check(_obj0
)) {
4178 PyErr_SetString(PyExc_TypeError
, "String or Unicode type required");
4181 if (PyString_AsStringAndSize(_obj0
, &tmpPtr
, &tmpSize
) == -1)
4183 _arg0
= new wxString(tmpPtr
, tmpSize
);
4185 if (!PyString_Check(_obj0
)) {
4186 PyErr_SetString(PyExc_TypeError
, wxStringErrorMsg
);
4189 _arg0
= new wxString(PyString_AS_STRING(_obj0
), PyString_GET_SIZE(_obj0
));
4193 wxPy_BEGIN_ALLOW_THREADS
;
4194 wxLog::RemoveTraceMask(*_arg0
);
4196 wxPy_END_ALLOW_THREADS
;
4197 } Py_INCREF(Py_None
);
4198 _resultobj
= Py_None
;
4206 #define wxLog_GetVerbose(_swigobj) (_swigobj->GetVerbose())
4207 static PyObject
*_wrap_wxLog_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4208 PyObject
* _resultobj
;
4211 PyObject
* _argo0
= 0;
4212 char *_kwnames
[] = { "self", NULL
};
4215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLog_GetVerbose",_kwnames
,&_argo0
))
4218 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4219 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLog_p")) {
4220 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLog_GetVerbose. Expected _wxLog_p.");
4225 wxPy_BEGIN_ALLOW_THREADS
;
4226 _result
= (bool )wxLog_GetVerbose(_arg0
);
4228 wxPy_END_ALLOW_THREADS
;
4229 } _resultobj
= Py_BuildValue("i",_result
);
4233 static PyObject
*_wrap_wxLog_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4234 PyObject
* _resultobj
;
4235 wxTraceMask
* _result
;
4236 char *_kwnames
[] = { NULL
};
4240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":wxLog_GetTraceMask",_kwnames
))
4243 wxPy_BEGIN_ALLOW_THREADS
;
4244 _result
= new wxTraceMask (wxLog::GetTraceMask());
4246 wxPy_END_ALLOW_THREADS
;
4247 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxTraceMask_p");
4248 _resultobj
= Py_BuildValue("s",_ptemp
);
4252 static PyObject
*_wrap_wxLog_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4253 PyObject
* _resultobj
;
4256 char *_kwnames
[] = { "mask", NULL
};
4259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"s:wxLog_IsAllowedTraceMask",_kwnames
,&_arg0
))
4262 wxPy_BEGIN_ALLOW_THREADS
;
4263 _result
= (bool )wxLog::IsAllowedTraceMask(_arg0
);
4265 wxPy_END_ALLOW_THREADS
;
4266 } _resultobj
= Py_BuildValue("i",_result
);
4270 static void *SwigwxLogStderrTowxLog(void *ptr
) {
4273 src
= (wxLogStderr
*) ptr
;
4274 dest
= (wxLog
*) src
;
4275 return (void *) dest
;
4278 #define new_wxLogStderr() (new wxLogStderr())
4279 static PyObject
*_wrap_new_wxLogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4280 PyObject
* _resultobj
;
4281 wxLogStderr
* _result
;
4282 char *_kwnames
[] = { NULL
};
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogStderr",_kwnames
))
4289 wxPy_BEGIN_ALLOW_THREADS
;
4290 _result
= (wxLogStderr
*)new_wxLogStderr();
4292 wxPy_END_ALLOW_THREADS
;
4294 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogStderr_p");
4295 _resultobj
= Py_BuildValue("s",_ptemp
);
4298 _resultobj
= Py_None
;
4303 static void *SwigwxLogTextCtrlTowxLog(void *ptr
) {
4306 src
= (wxLogTextCtrl
*) ptr
;
4307 dest
= (wxLog
*) src
;
4308 return (void *) dest
;
4311 #define new_wxLogTextCtrl(_swigarg0) (new wxLogTextCtrl(_swigarg0))
4312 static PyObject
*_wrap_new_wxLogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
* _resultobj
;
4314 wxLogTextCtrl
* _result
;
4316 PyObject
* _argo0
= 0;
4317 char *_kwnames
[] = { "pTextCtrl", NULL
};
4321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:new_wxLogTextCtrl",_kwnames
,&_argo0
))
4324 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4325 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxTextCtrl_p")) {
4326 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogTextCtrl. Expected _wxTextCtrl_p.");
4331 wxPy_BEGIN_ALLOW_THREADS
;
4332 _result
= (wxLogTextCtrl
*)new_wxLogTextCtrl(_arg0
);
4334 wxPy_END_ALLOW_THREADS
;
4336 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogTextCtrl_p");
4337 _resultobj
= Py_BuildValue("s",_ptemp
);
4340 _resultobj
= Py_None
;
4345 static void *SwigwxLogGuiTowxLog(void *ptr
) {
4348 src
= (wxLogGui
*) ptr
;
4349 dest
= (wxLog
*) src
;
4350 return (void *) dest
;
4353 #define new_wxLogGui() (new wxLogGui())
4354 static PyObject
*_wrap_new_wxLogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4355 PyObject
* _resultobj
;
4357 char *_kwnames
[] = { NULL
};
4361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogGui",_kwnames
))
4364 wxPy_BEGIN_ALLOW_THREADS
;
4365 _result
= (wxLogGui
*)new_wxLogGui();
4367 wxPy_END_ALLOW_THREADS
;
4369 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogGui_p");
4370 _resultobj
= Py_BuildValue("s",_ptemp
);
4373 _resultobj
= Py_None
;
4378 static void *SwigwxLogWindowTowxLog(void *ptr
) {
4381 src
= (wxLogWindow
*) ptr
;
4382 dest
= (wxLog
*) src
;
4383 return (void *) dest
;
4386 #define new_wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3) (new wxLogWindow(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4387 static PyObject
*_wrap_new_wxLogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4388 PyObject
* _resultobj
;
4389 wxLogWindow
* _result
;
4392 bool _arg2
= (bool ) TRUE
;
4393 bool _arg3
= (bool ) TRUE
;
4394 PyObject
* _argo0
= 0;
4395 int tempbool2
= (int) TRUE
;
4396 int tempbool3
= (int) TRUE
;
4397 char *_kwnames
[] = { "pParent","szTitle","bShow","bPassToOld", NULL
};
4401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os|ii:new_wxLogWindow",_kwnames
,&_argo0
,&_arg1
,&tempbool2
,&tempbool3
))
4404 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4405 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxFrame_p")) {
4406 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxLogWindow. Expected _wxFrame_p.");
4410 _arg2
= (bool ) tempbool2
;
4411 _arg3
= (bool ) tempbool3
;
4413 wxPy_BEGIN_ALLOW_THREADS
;
4414 _result
= (wxLogWindow
*)new_wxLogWindow(_arg0
,_arg1
,_arg2
,_arg3
);
4416 wxPy_END_ALLOW_THREADS
;
4418 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogWindow_p");
4419 _resultobj
= Py_BuildValue("s",_ptemp
);
4422 _resultobj
= Py_None
;
4427 #define wxLogWindow_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0))
4428 static PyObject
*_wrap_wxLogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
* _resultobj
;
4430 wxLogWindow
* _arg0
;
4431 bool _arg1
= (bool ) TRUE
;
4432 PyObject
* _argo0
= 0;
4433 int tempbool1
= (int) TRUE
;
4434 char *_kwnames
[] = { "self","bShow", NULL
};
4437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|i:wxLogWindow_Show",_kwnames
,&_argo0
,&tempbool1
))
4440 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4441 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4442 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_Show. Expected _wxLogWindow_p.");
4446 _arg1
= (bool ) tempbool1
;
4448 wxPy_BEGIN_ALLOW_THREADS
;
4449 wxLogWindow_Show(_arg0
,_arg1
);
4451 wxPy_END_ALLOW_THREADS
;
4452 } Py_INCREF(Py_None
);
4453 _resultobj
= Py_None
;
4457 #define wxLogWindow_GetFrame(_swigobj) (_swigobj->GetFrame())
4458 static PyObject
*_wrap_wxLogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
* _resultobj
;
4461 wxLogWindow
* _arg0
;
4462 PyObject
* _argo0
= 0;
4463 char *_kwnames
[] = { "self", NULL
};
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetFrame",_kwnames
,&_argo0
))
4470 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4471 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4472 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetFrame. Expected _wxLogWindow_p.");
4477 wxPy_BEGIN_ALLOW_THREADS
;
4478 _result
= (wxFrame
*)wxLogWindow_GetFrame(_arg0
);
4480 wxPy_END_ALLOW_THREADS
;
4482 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxFrame_p");
4483 _resultobj
= Py_BuildValue("s",_ptemp
);
4486 _resultobj
= Py_None
;
4491 #define wxLogWindow_GetOldLog(_swigobj) (_swigobj->GetOldLog())
4492 static PyObject
*_wrap_wxLogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
* _resultobj
;
4495 wxLogWindow
* _arg0
;
4496 PyObject
* _argo0
= 0;
4497 char *_kwnames
[] = { "self", NULL
};
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_GetOldLog",_kwnames
,&_argo0
))
4504 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4505 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4506 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_GetOldLog. Expected _wxLogWindow_p.");
4511 wxPy_BEGIN_ALLOW_THREADS
;
4512 _result
= (wxLog
*)wxLogWindow_GetOldLog(_arg0
);
4514 wxPy_END_ALLOW_THREADS
;
4516 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLog_p");
4517 _resultobj
= Py_BuildValue("s",_ptemp
);
4520 _resultobj
= Py_None
;
4525 #define wxLogWindow_IsPassingMessages(_swigobj) (_swigobj->IsPassingMessages())
4526 static PyObject
*_wrap_wxLogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
* _resultobj
;
4529 wxLogWindow
* _arg0
;
4530 PyObject
* _argo0
= 0;
4531 char *_kwnames
[] = { "self", NULL
};
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxLogWindow_IsPassingMessages",_kwnames
,&_argo0
))
4537 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4538 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4539 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_IsPassingMessages. Expected _wxLogWindow_p.");
4544 wxPy_BEGIN_ALLOW_THREADS
;
4545 _result
= (bool )wxLogWindow_IsPassingMessages(_arg0
);
4547 wxPy_END_ALLOW_THREADS
;
4548 } _resultobj
= Py_BuildValue("i",_result
);
4552 #define wxLogWindow_PassMessages(_swigobj,_swigarg0) (_swigobj->PassMessages(_swigarg0))
4553 static PyObject
*_wrap_wxLogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
* _resultobj
;
4555 wxLogWindow
* _arg0
;
4557 PyObject
* _argo0
= 0;
4559 char *_kwnames
[] = { "self","bDoPass", NULL
};
4562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxLogWindow_PassMessages",_kwnames
,&_argo0
,&tempbool1
))
4565 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4566 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogWindow_p")) {
4567 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxLogWindow_PassMessages. Expected _wxLogWindow_p.");
4571 _arg1
= (bool ) tempbool1
;
4573 wxPy_BEGIN_ALLOW_THREADS
;
4574 wxLogWindow_PassMessages(_arg0
,_arg1
);
4576 wxPy_END_ALLOW_THREADS
;
4577 } Py_INCREF(Py_None
);
4578 _resultobj
= Py_None
;
4582 #define new_wxLogNull() (new wxLogNull())
4583 static PyObject
*_wrap_new_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
* _resultobj
;
4585 wxLogNull
* _result
;
4586 char *_kwnames
[] = { NULL
};
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,":new_wxLogNull",_kwnames
))
4593 wxPy_BEGIN_ALLOW_THREADS
;
4594 _result
= (wxLogNull
*)new_wxLogNull();
4596 wxPy_END_ALLOW_THREADS
;
4598 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxLogNull_p");
4599 _resultobj
= Py_BuildValue("s",_ptemp
);
4602 _resultobj
= Py_None
;
4607 #define delete_wxLogNull(_swigobj) (delete _swigobj)
4608 static PyObject
*_wrap_delete_wxLogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
* _resultobj
;
4611 PyObject
* _argo0
= 0;
4612 char *_kwnames
[] = { "self", NULL
};
4615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxLogNull",_kwnames
,&_argo0
))
4618 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4619 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxLogNull_p")) {
4620 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxLogNull. Expected _wxLogNull_p.");
4625 wxPy_BEGIN_ALLOW_THREADS
;
4626 delete_wxLogNull(_arg0
);
4628 wxPy_END_ALLOW_THREADS
;
4629 } Py_INCREF(Py_None
);
4630 _resultobj
= Py_None
;
4634 static void *SwigwxProcessEventTowxEvent(void *ptr
) {
4635 wxProcessEvent
*src
;
4637 src
= (wxProcessEvent
*) ptr
;
4638 dest
= (wxEvent
*) src
;
4639 return (void *) dest
;
4642 #define new_wxProcessEvent(_swigarg0,_swigarg1,_swigarg2) (new wxProcessEvent(_swigarg0,_swigarg1,_swigarg2))
4643 static PyObject
*_wrap_new_wxProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4644 PyObject
* _resultobj
;
4645 wxProcessEvent
* _result
;
4646 int _arg0
= (int ) 0;
4647 int _arg1
= (int ) 0;
4648 int _arg2
= (int ) 0;
4649 char *_kwnames
[] = { "id","pid","exitcode", NULL
};
4653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|iii:new_wxProcessEvent",_kwnames
,&_arg0
,&_arg1
,&_arg2
))
4656 wxPy_BEGIN_ALLOW_THREADS
;
4657 _result
= (wxProcessEvent
*)new_wxProcessEvent(_arg0
,_arg1
,_arg2
);
4659 wxPy_END_ALLOW_THREADS
;
4661 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxProcessEvent_p");
4662 _resultobj
= Py_BuildValue("s",_ptemp
);
4665 _resultobj
= Py_None
;
4670 #define wxProcessEvent_GetPid(_swigobj) (_swigobj->GetPid())
4671 static PyObject
*_wrap_wxProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
* _resultobj
;
4674 wxProcessEvent
* _arg0
;
4675 PyObject
* _argo0
= 0;
4676 char *_kwnames
[] = { "self", NULL
};
4679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetPid",_kwnames
,&_argo0
))
4682 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4683 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4684 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetPid. Expected _wxProcessEvent_p.");
4689 wxPy_BEGIN_ALLOW_THREADS
;
4690 _result
= (int )wxProcessEvent_GetPid(_arg0
);
4692 wxPy_END_ALLOW_THREADS
;
4693 } _resultobj
= Py_BuildValue("i",_result
);
4697 #define wxProcessEvent_GetExitCode(_swigobj) (_swigobj->GetExitCode())
4698 static PyObject
*_wrap_wxProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4699 PyObject
* _resultobj
;
4701 wxProcessEvent
* _arg0
;
4702 PyObject
* _argo0
= 0;
4703 char *_kwnames
[] = { "self", NULL
};
4706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_GetExitCode",_kwnames
,&_argo0
))
4709 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4710 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4711 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_GetExitCode. Expected _wxProcessEvent_p.");
4716 wxPy_BEGIN_ALLOW_THREADS
;
4717 _result
= (int )wxProcessEvent_GetExitCode(_arg0
);
4719 wxPy_END_ALLOW_THREADS
;
4720 } _resultobj
= Py_BuildValue("i",_result
);
4724 #define wxProcessEvent_m_pid_set(_swigobj,_swigval) (_swigobj->m_pid = _swigval,_swigval)
4725 static PyObject
*_wrap_wxProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4726 PyObject
* _resultobj
;
4728 wxProcessEvent
* _arg0
;
4730 PyObject
* _argo0
= 0;
4731 char *_kwnames
[] = { "self","m_pid", NULL
};
4734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_pid_set",_kwnames
,&_argo0
,&_arg1
))
4737 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4738 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4739 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_set. Expected _wxProcessEvent_p.");
4744 wxPy_BEGIN_ALLOW_THREADS
;
4745 _result
= (int )wxProcessEvent_m_pid_set(_arg0
,_arg1
);
4747 wxPy_END_ALLOW_THREADS
;
4748 } _resultobj
= Py_BuildValue("i",_result
);
4752 #define wxProcessEvent_m_pid_get(_swigobj) ((int ) _swigobj->m_pid)
4753 static PyObject
*_wrap_wxProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4754 PyObject
* _resultobj
;
4756 wxProcessEvent
* _arg0
;
4757 PyObject
* _argo0
= 0;
4758 char *_kwnames
[] = { "self", NULL
};
4761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_pid_get",_kwnames
,&_argo0
))
4764 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4765 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4766 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_pid_get. Expected _wxProcessEvent_p.");
4771 wxPy_BEGIN_ALLOW_THREADS
;
4772 _result
= (int )wxProcessEvent_m_pid_get(_arg0
);
4774 wxPy_END_ALLOW_THREADS
;
4775 } _resultobj
= Py_BuildValue("i",_result
);
4779 #define wxProcessEvent_m_exitcode_set(_swigobj,_swigval) (_swigobj->m_exitcode = _swigval,_swigval)
4780 static PyObject
*_wrap_wxProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
* _resultobj
;
4783 wxProcessEvent
* _arg0
;
4785 PyObject
* _argo0
= 0;
4786 char *_kwnames
[] = { "self","m_exitcode", NULL
};
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxProcessEvent_m_exitcode_set",_kwnames
,&_argo0
,&_arg1
))
4792 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4793 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4794 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_set. Expected _wxProcessEvent_p.");
4799 wxPy_BEGIN_ALLOW_THREADS
;
4800 _result
= (int )wxProcessEvent_m_exitcode_set(_arg0
,_arg1
);
4802 wxPy_END_ALLOW_THREADS
;
4803 } _resultobj
= Py_BuildValue("i",_result
);
4807 #define wxProcessEvent_m_exitcode_get(_swigobj) ((int ) _swigobj->m_exitcode)
4808 static PyObject
*_wrap_wxProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4809 PyObject
* _resultobj
;
4811 wxProcessEvent
* _arg0
;
4812 PyObject
* _argo0
= 0;
4813 char *_kwnames
[] = { "self", NULL
};
4816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcessEvent_m_exitcode_get",_kwnames
,&_argo0
))
4819 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4820 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxProcessEvent_p")) {
4821 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcessEvent_m_exitcode_get. Expected _wxProcessEvent_p.");
4826 wxPy_BEGIN_ALLOW_THREADS
;
4827 _result
= (int )wxProcessEvent_m_exitcode_get(_arg0
);
4829 wxPy_END_ALLOW_THREADS
;
4830 } _resultobj
= Py_BuildValue("i",_result
);
4834 static void *SwigwxPyProcessTowxEvtHandler(void *ptr
) {
4837 src
= (wxPyProcess
*) ptr
;
4838 dest
= (wxEvtHandler
*) src
;
4839 return (void *) dest
;
4842 #define new_wxProcess(_swigarg0,_swigarg1) (new wxPyProcess(_swigarg0,_swigarg1))
4843 static PyObject
*_wrap_new_wxProcess(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4844 PyObject
* _resultobj
;
4845 wxPyProcess
* _result
;
4846 wxEvtHandler
* _arg0
= (wxEvtHandler
*) NULL
;
4847 int _arg1
= (int ) -1;
4848 PyObject
* _argo0
= 0;
4849 char *_kwnames
[] = { "parent","id", NULL
};
4853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|Oi:new_wxProcess",_kwnames
,&_argo0
,&_arg1
))
4856 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4857 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxEvtHandler_p")) {
4858 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxProcess. Expected _wxEvtHandler_p.");
4863 wxPy_BEGIN_ALLOW_THREADS
;
4864 _result
= (wxPyProcess
*)new_wxProcess(_arg0
,_arg1
);
4866 wxPy_END_ALLOW_THREADS
;
4868 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxPyProcess_p");
4869 _resultobj
= Py_BuildValue("s",_ptemp
);
4872 _resultobj
= Py_None
;
4877 static void wxPyProcess_Destroy(wxPyProcess
*self
) { delete self
; }
4878 static PyObject
*_wrap_wxProcess_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4879 PyObject
* _resultobj
;
4880 wxPyProcess
* _arg0
;
4881 PyObject
* _argo0
= 0;
4882 char *_kwnames
[] = { "self", NULL
};
4885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Destroy",_kwnames
,&_argo0
))
4888 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4889 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
4890 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Destroy. Expected _wxPyProcess_p.");
4895 wxPy_BEGIN_ALLOW_THREADS
;
4896 wxPyProcess_Destroy(_arg0
);
4898 wxPy_END_ALLOW_THREADS
;
4899 } Py_INCREF(Py_None
);
4900 _resultobj
= Py_None
;
4904 #define wxProcess__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1))
4905 static PyObject
*_wrap_wxProcess__setSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
* _resultobj
;
4907 wxPyProcess
* _arg0
;
4910 PyObject
* _argo0
= 0;
4911 PyObject
* _obj1
= 0;
4912 PyObject
* _obj2
= 0;
4913 char *_kwnames
[] = { "self","self","_class", NULL
};
4916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OOO:wxProcess__setSelf",_kwnames
,&_argo0
,&_obj1
,&_obj2
))
4919 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4920 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
4921 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess__setSelf. Expected _wxPyProcess_p.");
4932 wxPy_BEGIN_ALLOW_THREADS
;
4933 wxProcess__setSelf(_arg0
,_arg1
,_arg2
);
4935 wxPy_END_ALLOW_THREADS
;
4936 } Py_INCREF(Py_None
);
4937 _resultobj
= Py_None
;
4941 #define wxProcess_base_OnTerminate(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnTerminate(_swigarg0,_swigarg1))
4942 static PyObject
*_wrap_wxProcess_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4943 PyObject
* _resultobj
;
4944 wxPyProcess
* _arg0
;
4947 PyObject
* _argo0
= 0;
4948 char *_kwnames
[] = { "self","pid","status", NULL
};
4951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oii:wxProcess_base_OnTerminate",_kwnames
,&_argo0
,&_arg1
,&_arg2
))
4954 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4955 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
4956 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_base_OnTerminate. Expected _wxPyProcess_p.");
4961 wxPy_BEGIN_ALLOW_THREADS
;
4962 wxProcess_base_OnTerminate(_arg0
,_arg1
,_arg2
);
4964 wxPy_END_ALLOW_THREADS
;
4965 } Py_INCREF(Py_None
);
4966 _resultobj
= Py_None
;
4970 #define wxProcess_Redirect(_swigobj) (_swigobj->Redirect())
4971 static PyObject
*_wrap_wxProcess_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4972 PyObject
* _resultobj
;
4973 wxPyProcess
* _arg0
;
4974 PyObject
* _argo0
= 0;
4975 char *_kwnames
[] = { "self", NULL
};
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Redirect",_kwnames
,&_argo0
))
4981 if (_argo0
== Py_None
) { _arg0
= NULL
; }
4982 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
4983 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Redirect. Expected _wxPyProcess_p.");
4988 wxPy_BEGIN_ALLOW_THREADS
;
4989 wxProcess_Redirect(_arg0
);
4991 wxPy_END_ALLOW_THREADS
;
4992 } Py_INCREF(Py_None
);
4993 _resultobj
= Py_None
;
4997 #define wxProcess_IsRedirected(_swigobj) (_swigobj->IsRedirected())
4998 static PyObject
*_wrap_wxProcess_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
* _resultobj
;
5001 wxPyProcess
* _arg0
;
5002 PyObject
* _argo0
= 0;
5003 char *_kwnames
[] = { "self", NULL
};
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_IsRedirected",_kwnames
,&_argo0
))
5009 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5010 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5011 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_IsRedirected. Expected _wxPyProcess_p.");
5016 wxPy_BEGIN_ALLOW_THREADS
;
5017 _result
= (bool )wxProcess_IsRedirected(_arg0
);
5019 wxPy_END_ALLOW_THREADS
;
5020 } _resultobj
= Py_BuildValue("i",_result
);
5024 #define wxProcess_Detach(_swigobj) (_swigobj->Detach())
5025 static PyObject
*_wrap_wxProcess_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
* _resultobj
;
5027 wxPyProcess
* _arg0
;
5028 PyObject
* _argo0
= 0;
5029 char *_kwnames
[] = { "self", NULL
};
5032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_Detach",_kwnames
,&_argo0
))
5035 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5036 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5037 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_Detach. Expected _wxPyProcess_p.");
5042 wxPy_BEGIN_ALLOW_THREADS
;
5043 wxProcess_Detach(_arg0
);
5045 wxPy_END_ALLOW_THREADS
;
5046 } Py_INCREF(Py_None
);
5047 _resultobj
= Py_None
;
5051 #define wxProcess_GetInputStream(_swigobj) (_swigobj->GetInputStream())
5052 static PyObject
*_wrap_wxProcess_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5053 PyObject
* _resultobj
;
5054 wxInputStream
* _result
;
5055 wxPyProcess
* _arg0
;
5056 PyObject
* _argo0
= 0;
5057 char *_kwnames
[] = { "self", NULL
};
5060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetInputStream",_kwnames
,&_argo0
))
5063 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5064 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5065 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetInputStream. Expected _wxPyProcess_p.");
5070 wxPy_BEGIN_ALLOW_THREADS
;
5071 _result
= (wxInputStream
*)wxProcess_GetInputStream(_arg0
);
5073 wxPy_END_ALLOW_THREADS
;
5075 wxPyInputStream
* _ptr
= NULL
;
5078 _ptr
= new wxPyInputStream(_result
);
5082 SWIG_MakePtr(swigptr
, _ptr
, "_wxPyInputStream_p");
5084 PyObject
* classobj
= PyDict_GetItemString(wxPython_dict
, "wxInputStreamPtr");
5087 _resultobj
= Py_None
;
5089 PyObject
* arg
= Py_BuildValue("(s)", swigptr
);
5090 _resultobj
= PyInstance_New(classobj
, arg
, NULL
);
5094 PyObject
* one
= PyInt_FromLong(1);
5095 PyObject_SetAttrString(_resultobj
, "thisown", one
);
5100 _resultobj
= Py_None
;
5106 #define wxProcess_GetErrorStream(_swigobj) (_swigobj->GetErrorStream())
5107 static PyObject
*_wrap_wxProcess_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5108 PyObject
* _resultobj
;
5109 wxInputStream
* _result
;
5110 wxPyProcess
* _arg0
;
5111 PyObject
* _argo0
= 0;
5112 char *_kwnames
[] = { "self", NULL
};
5115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetErrorStream",_kwnames
,&_argo0
))
5118 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5119 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5120 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetErrorStream. Expected _wxPyProcess_p.");
5125 wxPy_BEGIN_ALLOW_THREADS
;
5126 _result
= (wxInputStream
*)wxProcess_GetErrorStream(_arg0
);
5128 wxPy_END_ALLOW_THREADS
;
5130 wxPyInputStream
* _ptr
= NULL
;
5133 _ptr
= new wxPyInputStream(_result
);
5137 SWIG_MakePtr(swigptr
, _ptr
, "_wxPyInputStream_p");
5139 PyObject
* classobj
= PyDict_GetItemString(wxPython_dict
, "wxInputStreamPtr");
5142 _resultobj
= Py_None
;
5144 PyObject
* arg
= Py_BuildValue("(s)", swigptr
);
5145 _resultobj
= PyInstance_New(classobj
, arg
, NULL
);
5149 PyObject
* one
= PyInt_FromLong(1);
5150 PyObject_SetAttrString(_resultobj
, "thisown", one
);
5155 _resultobj
= Py_None
;
5161 #define wxProcess_GetOutputStream(_swigobj) (_swigobj->GetOutputStream())
5162 static PyObject
*_wrap_wxProcess_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5163 PyObject
* _resultobj
;
5164 wxOutputStream
* _result
;
5165 wxPyProcess
* _arg0
;
5166 PyObject
* _argo0
= 0;
5167 char *_kwnames
[] = { "self", NULL
};
5171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_GetOutputStream",_kwnames
,&_argo0
))
5174 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5175 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5176 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_GetOutputStream. Expected _wxPyProcess_p.");
5181 wxPy_BEGIN_ALLOW_THREADS
;
5182 _result
= (wxOutputStream
*)wxProcess_GetOutputStream(_arg0
);
5184 wxPy_END_ALLOW_THREADS
;
5186 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxOutputStream_p");
5187 _resultobj
= Py_BuildValue("s",_ptemp
);
5190 _resultobj
= Py_None
;
5195 #define wxProcess_CloseOutput(_swigobj) (_swigobj->CloseOutput())
5196 static PyObject
*_wrap_wxProcess_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
* _resultobj
;
5198 wxPyProcess
* _arg0
;
5199 PyObject
* _argo0
= 0;
5200 char *_kwnames
[] = { "self", NULL
};
5203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxProcess_CloseOutput",_kwnames
,&_argo0
))
5206 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5207 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxPyProcess_p")) {
5208 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxProcess_CloseOutput. Expected _wxPyProcess_p.");
5213 wxPy_BEGIN_ALLOW_THREADS
;
5214 wxProcess_CloseOutput(_arg0
);
5216 wxPy_END_ALLOW_THREADS
;
5217 } Py_INCREF(Py_None
);
5218 _resultobj
= Py_None
;
5222 #define new_wxJoystick(_swigarg0) (new wxJoystick(_swigarg0))
5223 static PyObject
*_wrap_new_wxJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5224 PyObject
* _resultobj
;
5225 wxJoystick
* _result
;
5226 int _arg0
= (int ) wxJOYSTICK1
;
5227 char *_kwnames
[] = { "joystick", NULL
};
5231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"|i:new_wxJoystick",_kwnames
,&_arg0
))
5234 wxPy_BEGIN_ALLOW_THREADS
;
5235 _result
= (wxJoystick
*)new_wxJoystick(_arg0
);
5237 wxPy_END_ALLOW_THREADS
;
5239 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxJoystick_p");
5240 _resultobj
= Py_BuildValue("s",_ptemp
);
5243 _resultobj
= Py_None
;
5248 #define wxJoystick_GetPosition(_swigobj) (_swigobj->GetPosition())
5249 static PyObject
*_wrap_wxJoystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
* _resultobj
;
5253 PyObject
* _argo0
= 0;
5254 char *_kwnames
[] = { "self", NULL
};
5258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPosition",_kwnames
,&_argo0
))
5261 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5262 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5263 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPosition. Expected _wxJoystick_p.");
5268 wxPy_BEGIN_ALLOW_THREADS
;
5269 _result
= new wxPoint (wxJoystick_GetPosition(_arg0
));
5271 wxPy_END_ALLOW_THREADS
;
5272 } SWIG_MakePtr(_ptemp
, (void *) _result
,"_wxPoint_p");
5273 _resultobj
= Py_BuildValue("s",_ptemp
);
5277 #define wxJoystick_GetZPosition(_swigobj) (_swigobj->GetZPosition())
5278 static PyObject
*_wrap_wxJoystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5279 PyObject
* _resultobj
;
5282 PyObject
* _argo0
= 0;
5283 char *_kwnames
[] = { "self", NULL
};
5286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZPosition",_kwnames
,&_argo0
))
5289 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5290 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5291 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZPosition. Expected _wxJoystick_p.");
5296 wxPy_BEGIN_ALLOW_THREADS
;
5297 _result
= (int )wxJoystick_GetZPosition(_arg0
);
5299 wxPy_END_ALLOW_THREADS
;
5300 } _resultobj
= Py_BuildValue("i",_result
);
5304 #define wxJoystick_GetButtonState(_swigobj) (_swigobj->GetButtonState())
5305 static PyObject
*_wrap_wxJoystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
* _resultobj
;
5309 PyObject
* _argo0
= 0;
5310 char *_kwnames
[] = { "self", NULL
};
5313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetButtonState",_kwnames
,&_argo0
))
5316 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5317 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5318 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetButtonState. Expected _wxJoystick_p.");
5323 wxPy_BEGIN_ALLOW_THREADS
;
5324 _result
= (int )wxJoystick_GetButtonState(_arg0
);
5326 wxPy_END_ALLOW_THREADS
;
5327 } _resultobj
= Py_BuildValue("i",_result
);
5331 #define wxJoystick_GetPOVPosition(_swigobj) (_swigobj->GetPOVPosition())
5332 static PyObject
*_wrap_wxJoystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5333 PyObject
* _resultobj
;
5336 PyObject
* _argo0
= 0;
5337 char *_kwnames
[] = { "self", NULL
};
5340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVPosition",_kwnames
,&_argo0
))
5343 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5344 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5345 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVPosition. Expected _wxJoystick_p.");
5350 wxPy_BEGIN_ALLOW_THREADS
;
5351 _result
= (int )wxJoystick_GetPOVPosition(_arg0
);
5353 wxPy_END_ALLOW_THREADS
;
5354 } _resultobj
= Py_BuildValue("i",_result
);
5358 #define wxJoystick_GetPOVCTSPosition(_swigobj) (_swigobj->GetPOVCTSPosition())
5359 static PyObject
*_wrap_wxJoystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5360 PyObject
* _resultobj
;
5363 PyObject
* _argo0
= 0;
5364 char *_kwnames
[] = { "self", NULL
};
5367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPOVCTSPosition",_kwnames
,&_argo0
))
5370 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5371 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5372 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPOVCTSPosition. Expected _wxJoystick_p.");
5377 wxPy_BEGIN_ALLOW_THREADS
;
5378 _result
= (int )wxJoystick_GetPOVCTSPosition(_arg0
);
5380 wxPy_END_ALLOW_THREADS
;
5381 } _resultobj
= Py_BuildValue("i",_result
);
5385 #define wxJoystick_GetRudderPosition(_swigobj) (_swigobj->GetRudderPosition())
5386 static PyObject
*_wrap_wxJoystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5387 PyObject
* _resultobj
;
5390 PyObject
* _argo0
= 0;
5391 char *_kwnames
[] = { "self", NULL
};
5394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderPosition",_kwnames
,&_argo0
))
5397 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5398 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5399 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderPosition. Expected _wxJoystick_p.");
5404 wxPy_BEGIN_ALLOW_THREADS
;
5405 _result
= (int )wxJoystick_GetRudderPosition(_arg0
);
5407 wxPy_END_ALLOW_THREADS
;
5408 } _resultobj
= Py_BuildValue("i",_result
);
5412 #define wxJoystick_GetUPosition(_swigobj) (_swigobj->GetUPosition())
5413 static PyObject
*_wrap_wxJoystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5414 PyObject
* _resultobj
;
5417 PyObject
* _argo0
= 0;
5418 char *_kwnames
[] = { "self", NULL
};
5421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUPosition",_kwnames
,&_argo0
))
5424 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5425 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5426 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUPosition. Expected _wxJoystick_p.");
5431 wxPy_BEGIN_ALLOW_THREADS
;
5432 _result
= (int )wxJoystick_GetUPosition(_arg0
);
5434 wxPy_END_ALLOW_THREADS
;
5435 } _resultobj
= Py_BuildValue("i",_result
);
5439 #define wxJoystick_GetVPosition(_swigobj) (_swigobj->GetVPosition())
5440 static PyObject
*_wrap_wxJoystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5441 PyObject
* _resultobj
;
5444 PyObject
* _argo0
= 0;
5445 char *_kwnames
[] = { "self", NULL
};
5448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVPosition",_kwnames
,&_argo0
))
5451 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5452 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5453 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVPosition. Expected _wxJoystick_p.");
5458 wxPy_BEGIN_ALLOW_THREADS
;
5459 _result
= (int )wxJoystick_GetVPosition(_arg0
);
5461 wxPy_END_ALLOW_THREADS
;
5462 } _resultobj
= Py_BuildValue("i",_result
);
5466 #define wxJoystick_GetMovementThreshold(_swigobj) (_swigobj->GetMovementThreshold())
5467 static PyObject
*_wrap_wxJoystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5468 PyObject
* _resultobj
;
5471 PyObject
* _argo0
= 0;
5472 char *_kwnames
[] = { "self", NULL
};
5475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMovementThreshold",_kwnames
,&_argo0
))
5478 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5479 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5480 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMovementThreshold. Expected _wxJoystick_p.");
5485 wxPy_BEGIN_ALLOW_THREADS
;
5486 _result
= (int )wxJoystick_GetMovementThreshold(_arg0
);
5488 wxPy_END_ALLOW_THREADS
;
5489 } _resultobj
= Py_BuildValue("i",_result
);
5493 #define wxJoystick_SetMovementThreshold(_swigobj,_swigarg0) (_swigobj->SetMovementThreshold(_swigarg0))
5494 static PyObject
*_wrap_wxJoystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5495 PyObject
* _resultobj
;
5498 PyObject
* _argo0
= 0;
5499 char *_kwnames
[] = { "self","threshold", NULL
};
5502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Oi:wxJoystick_SetMovementThreshold",_kwnames
,&_argo0
,&_arg1
))
5505 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5506 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5507 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetMovementThreshold. Expected _wxJoystick_p.");
5512 wxPy_BEGIN_ALLOW_THREADS
;
5513 wxJoystick_SetMovementThreshold(_arg0
,_arg1
);
5515 wxPy_END_ALLOW_THREADS
;
5516 } Py_INCREF(Py_None
);
5517 _resultobj
= Py_None
;
5521 #define wxJoystick_IsOk(_swigobj) (_swigobj->IsOk())
5522 static PyObject
*_wrap_wxJoystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5523 PyObject
* _resultobj
;
5526 PyObject
* _argo0
= 0;
5527 char *_kwnames
[] = { "self", NULL
};
5530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_IsOk",_kwnames
,&_argo0
))
5533 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5534 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5535 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_IsOk. Expected _wxJoystick_p.");
5540 wxPy_BEGIN_ALLOW_THREADS
;
5541 _result
= (bool )wxJoystick_IsOk(_arg0
);
5543 wxPy_END_ALLOW_THREADS
;
5544 } _resultobj
= Py_BuildValue("i",_result
);
5548 #define wxJoystick_GetNumberJoysticks(_swigobj) (_swigobj->GetNumberJoysticks())
5549 static PyObject
*_wrap_wxJoystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5550 PyObject
* _resultobj
;
5553 PyObject
* _argo0
= 0;
5554 char *_kwnames
[] = { "self", NULL
};
5557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberJoysticks",_kwnames
,&_argo0
))
5560 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5561 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5562 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberJoysticks. Expected _wxJoystick_p.");
5567 wxPy_BEGIN_ALLOW_THREADS
;
5568 _result
= (int )wxJoystick_GetNumberJoysticks(_arg0
);
5570 wxPy_END_ALLOW_THREADS
;
5571 } _resultobj
= Py_BuildValue("i",_result
);
5575 #define wxJoystick_GetManufacturerId(_swigobj) (_swigobj->GetManufacturerId())
5576 static PyObject
*_wrap_wxJoystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5577 PyObject
* _resultobj
;
5580 PyObject
* _argo0
= 0;
5581 char *_kwnames
[] = { "self", NULL
};
5584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetManufacturerId",_kwnames
,&_argo0
))
5587 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5588 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5589 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetManufacturerId. Expected _wxJoystick_p.");
5594 wxPy_BEGIN_ALLOW_THREADS
;
5595 _result
= (int )wxJoystick_GetManufacturerId(_arg0
);
5597 wxPy_END_ALLOW_THREADS
;
5598 } _resultobj
= Py_BuildValue("i",_result
);
5602 #define wxJoystick_GetProductId(_swigobj) (_swigobj->GetProductId())
5603 static PyObject
*_wrap_wxJoystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
* _resultobj
;
5607 PyObject
* _argo0
= 0;
5608 char *_kwnames
[] = { "self", NULL
};
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductId",_kwnames
,&_argo0
))
5614 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5615 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5616 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductId. Expected _wxJoystick_p.");
5621 wxPy_BEGIN_ALLOW_THREADS
;
5622 _result
= (int )wxJoystick_GetProductId(_arg0
);
5624 wxPy_END_ALLOW_THREADS
;
5625 } _resultobj
= Py_BuildValue("i",_result
);
5629 #define wxJoystick_GetProductName(_swigobj) (_swigobj->GetProductName())
5630 static PyObject
*_wrap_wxJoystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
* _resultobj
;
5634 PyObject
* _argo0
= 0;
5635 char *_kwnames
[] = { "self", NULL
};
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetProductName",_kwnames
,&_argo0
))
5641 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5642 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5643 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetProductName. Expected _wxJoystick_p.");
5648 wxPy_BEGIN_ALLOW_THREADS
;
5649 _result
= new wxString (wxJoystick_GetProductName(_arg0
));
5651 wxPy_END_ALLOW_THREADS
;
5653 _resultobj
= PyString_FromStringAndSize(_result
->c_str(), _result
->Len());
5661 #define wxJoystick_GetXMin(_swigobj) (_swigobj->GetXMin())
5662 static PyObject
*_wrap_wxJoystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
* _resultobj
;
5666 PyObject
* _argo0
= 0;
5667 char *_kwnames
[] = { "self", NULL
};
5670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMin",_kwnames
,&_argo0
))
5673 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5674 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5675 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMin. Expected _wxJoystick_p.");
5680 wxPy_BEGIN_ALLOW_THREADS
;
5681 _result
= (int )wxJoystick_GetXMin(_arg0
);
5683 wxPy_END_ALLOW_THREADS
;
5684 } _resultobj
= Py_BuildValue("i",_result
);
5688 #define wxJoystick_GetYMin(_swigobj) (_swigobj->GetYMin())
5689 static PyObject
*_wrap_wxJoystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5690 PyObject
* _resultobj
;
5693 PyObject
* _argo0
= 0;
5694 char *_kwnames
[] = { "self", NULL
};
5697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMin",_kwnames
,&_argo0
))
5700 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5701 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5702 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMin. Expected _wxJoystick_p.");
5707 wxPy_BEGIN_ALLOW_THREADS
;
5708 _result
= (int )wxJoystick_GetYMin(_arg0
);
5710 wxPy_END_ALLOW_THREADS
;
5711 } _resultobj
= Py_BuildValue("i",_result
);
5715 #define wxJoystick_GetZMin(_swigobj) (_swigobj->GetZMin())
5716 static PyObject
*_wrap_wxJoystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5717 PyObject
* _resultobj
;
5720 PyObject
* _argo0
= 0;
5721 char *_kwnames
[] = { "self", NULL
};
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMin",_kwnames
,&_argo0
))
5727 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5728 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5729 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMin. Expected _wxJoystick_p.");
5734 wxPy_BEGIN_ALLOW_THREADS
;
5735 _result
= (int )wxJoystick_GetZMin(_arg0
);
5737 wxPy_END_ALLOW_THREADS
;
5738 } _resultobj
= Py_BuildValue("i",_result
);
5742 #define wxJoystick_GetXMax(_swigobj) (_swigobj->GetXMax())
5743 static PyObject
*_wrap_wxJoystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
* _resultobj
;
5747 PyObject
* _argo0
= 0;
5748 char *_kwnames
[] = { "self", NULL
};
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetXMax",_kwnames
,&_argo0
))
5754 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5755 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5756 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetXMax. Expected _wxJoystick_p.");
5761 wxPy_BEGIN_ALLOW_THREADS
;
5762 _result
= (int )wxJoystick_GetXMax(_arg0
);
5764 wxPy_END_ALLOW_THREADS
;
5765 } _resultobj
= Py_BuildValue("i",_result
);
5769 #define wxJoystick_GetYMax(_swigobj) (_swigobj->GetYMax())
5770 static PyObject
*_wrap_wxJoystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5771 PyObject
* _resultobj
;
5774 PyObject
* _argo0
= 0;
5775 char *_kwnames
[] = { "self", NULL
};
5778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetYMax",_kwnames
,&_argo0
))
5781 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5782 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5783 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetYMax. Expected _wxJoystick_p.");
5788 wxPy_BEGIN_ALLOW_THREADS
;
5789 _result
= (int )wxJoystick_GetYMax(_arg0
);
5791 wxPy_END_ALLOW_THREADS
;
5792 } _resultobj
= Py_BuildValue("i",_result
);
5796 #define wxJoystick_GetZMax(_swigobj) (_swigobj->GetZMax())
5797 static PyObject
*_wrap_wxJoystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5798 PyObject
* _resultobj
;
5801 PyObject
* _argo0
= 0;
5802 char *_kwnames
[] = { "self", NULL
};
5805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetZMax",_kwnames
,&_argo0
))
5808 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5809 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5810 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetZMax. Expected _wxJoystick_p.");
5815 wxPy_BEGIN_ALLOW_THREADS
;
5816 _result
= (int )wxJoystick_GetZMax(_arg0
);
5818 wxPy_END_ALLOW_THREADS
;
5819 } _resultobj
= Py_BuildValue("i",_result
);
5823 #define wxJoystick_GetNumberButtons(_swigobj) (_swigobj->GetNumberButtons())
5824 static PyObject
*_wrap_wxJoystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
* _resultobj
;
5828 PyObject
* _argo0
= 0;
5829 char *_kwnames
[] = { "self", NULL
};
5832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberButtons",_kwnames
,&_argo0
))
5835 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5836 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5837 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberButtons. Expected _wxJoystick_p.");
5842 wxPy_BEGIN_ALLOW_THREADS
;
5843 _result
= (int )wxJoystick_GetNumberButtons(_arg0
);
5845 wxPy_END_ALLOW_THREADS
;
5846 } _resultobj
= Py_BuildValue("i",_result
);
5850 #define wxJoystick_GetNumberAxes(_swigobj) (_swigobj->GetNumberAxes())
5851 static PyObject
*_wrap_wxJoystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
* _resultobj
;
5855 PyObject
* _argo0
= 0;
5856 char *_kwnames
[] = { "self", NULL
};
5859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetNumberAxes",_kwnames
,&_argo0
))
5862 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5863 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5864 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetNumberAxes. Expected _wxJoystick_p.");
5869 wxPy_BEGIN_ALLOW_THREADS
;
5870 _result
= (int )wxJoystick_GetNumberAxes(_arg0
);
5872 wxPy_END_ALLOW_THREADS
;
5873 } _resultobj
= Py_BuildValue("i",_result
);
5877 #define wxJoystick_GetMaxButtons(_swigobj) (_swigobj->GetMaxButtons())
5878 static PyObject
*_wrap_wxJoystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
* _resultobj
;
5882 PyObject
* _argo0
= 0;
5883 char *_kwnames
[] = { "self", NULL
};
5886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxButtons",_kwnames
,&_argo0
))
5889 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5890 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5891 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxButtons. Expected _wxJoystick_p.");
5896 wxPy_BEGIN_ALLOW_THREADS
;
5897 _result
= (int )wxJoystick_GetMaxButtons(_arg0
);
5899 wxPy_END_ALLOW_THREADS
;
5900 } _resultobj
= Py_BuildValue("i",_result
);
5904 #define wxJoystick_GetMaxAxes(_swigobj) (_swigobj->GetMaxAxes())
5905 static PyObject
*_wrap_wxJoystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5906 PyObject
* _resultobj
;
5909 PyObject
* _argo0
= 0;
5910 char *_kwnames
[] = { "self", NULL
};
5913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetMaxAxes",_kwnames
,&_argo0
))
5916 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5917 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5918 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetMaxAxes. Expected _wxJoystick_p.");
5923 wxPy_BEGIN_ALLOW_THREADS
;
5924 _result
= (int )wxJoystick_GetMaxAxes(_arg0
);
5926 wxPy_END_ALLOW_THREADS
;
5927 } _resultobj
= Py_BuildValue("i",_result
);
5931 #define wxJoystick_GetPollingMin(_swigobj) (_swigobj->GetPollingMin())
5932 static PyObject
*_wrap_wxJoystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
* _resultobj
;
5936 PyObject
* _argo0
= 0;
5937 char *_kwnames
[] = { "self", NULL
};
5940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMin",_kwnames
,&_argo0
))
5943 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5944 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5945 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMin. Expected _wxJoystick_p.");
5950 wxPy_BEGIN_ALLOW_THREADS
;
5951 _result
= (int )wxJoystick_GetPollingMin(_arg0
);
5953 wxPy_END_ALLOW_THREADS
;
5954 } _resultobj
= Py_BuildValue("i",_result
);
5958 #define wxJoystick_GetPollingMax(_swigobj) (_swigobj->GetPollingMax())
5959 static PyObject
*_wrap_wxJoystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5960 PyObject
* _resultobj
;
5963 PyObject
* _argo0
= 0;
5964 char *_kwnames
[] = { "self", NULL
};
5967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetPollingMax",_kwnames
,&_argo0
))
5970 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5971 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5972 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetPollingMax. Expected _wxJoystick_p.");
5977 wxPy_BEGIN_ALLOW_THREADS
;
5978 _result
= (int )wxJoystick_GetPollingMax(_arg0
);
5980 wxPy_END_ALLOW_THREADS
;
5981 } _resultobj
= Py_BuildValue("i",_result
);
5985 #define wxJoystick_GetRudderMin(_swigobj) (_swigobj->GetRudderMin())
5986 static PyObject
*_wrap_wxJoystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5987 PyObject
* _resultobj
;
5990 PyObject
* _argo0
= 0;
5991 char *_kwnames
[] = { "self", NULL
};
5994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMin",_kwnames
,&_argo0
))
5997 if (_argo0
== Py_None
) { _arg0
= NULL
; }
5998 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
5999 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMin. Expected _wxJoystick_p.");
6004 wxPy_BEGIN_ALLOW_THREADS
;
6005 _result
= (int )wxJoystick_GetRudderMin(_arg0
);
6007 wxPy_END_ALLOW_THREADS
;
6008 } _resultobj
= Py_BuildValue("i",_result
);
6012 #define wxJoystick_GetRudderMax(_swigobj) (_swigobj->GetRudderMax())
6013 static PyObject
*_wrap_wxJoystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
* _resultobj
;
6017 PyObject
* _argo0
= 0;
6018 char *_kwnames
[] = { "self", NULL
};
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetRudderMax",_kwnames
,&_argo0
))
6024 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6025 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6026 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetRudderMax. Expected _wxJoystick_p.");
6031 wxPy_BEGIN_ALLOW_THREADS
;
6032 _result
= (int )wxJoystick_GetRudderMax(_arg0
);
6034 wxPy_END_ALLOW_THREADS
;
6035 } _resultobj
= Py_BuildValue("i",_result
);
6039 #define wxJoystick_GetUMin(_swigobj) (_swigobj->GetUMin())
6040 static PyObject
*_wrap_wxJoystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6041 PyObject
* _resultobj
;
6044 PyObject
* _argo0
= 0;
6045 char *_kwnames
[] = { "self", NULL
};
6048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMin",_kwnames
,&_argo0
))
6051 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6052 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6053 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMin. Expected _wxJoystick_p.");
6058 wxPy_BEGIN_ALLOW_THREADS
;
6059 _result
= (int )wxJoystick_GetUMin(_arg0
);
6061 wxPy_END_ALLOW_THREADS
;
6062 } _resultobj
= Py_BuildValue("i",_result
);
6066 #define wxJoystick_GetUMax(_swigobj) (_swigobj->GetUMax())
6067 static PyObject
*_wrap_wxJoystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6068 PyObject
* _resultobj
;
6071 PyObject
* _argo0
= 0;
6072 char *_kwnames
[] = { "self", NULL
};
6075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetUMax",_kwnames
,&_argo0
))
6078 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6079 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6080 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetUMax. Expected _wxJoystick_p.");
6085 wxPy_BEGIN_ALLOW_THREADS
;
6086 _result
= (int )wxJoystick_GetUMax(_arg0
);
6088 wxPy_END_ALLOW_THREADS
;
6089 } _resultobj
= Py_BuildValue("i",_result
);
6093 #define wxJoystick_GetVMin(_swigobj) (_swigobj->GetVMin())
6094 static PyObject
*_wrap_wxJoystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
* _resultobj
;
6098 PyObject
* _argo0
= 0;
6099 char *_kwnames
[] = { "self", NULL
};
6102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMin",_kwnames
,&_argo0
))
6105 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6106 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6107 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMin. Expected _wxJoystick_p.");
6112 wxPy_BEGIN_ALLOW_THREADS
;
6113 _result
= (int )wxJoystick_GetVMin(_arg0
);
6115 wxPy_END_ALLOW_THREADS
;
6116 } _resultobj
= Py_BuildValue("i",_result
);
6120 #define wxJoystick_GetVMax(_swigobj) (_swigobj->GetVMax())
6121 static PyObject
*_wrap_wxJoystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6122 PyObject
* _resultobj
;
6125 PyObject
* _argo0
= 0;
6126 char *_kwnames
[] = { "self", NULL
};
6129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_GetVMax",_kwnames
,&_argo0
))
6132 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6133 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6134 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_GetVMax. Expected _wxJoystick_p.");
6139 wxPy_BEGIN_ALLOW_THREADS
;
6140 _result
= (int )wxJoystick_GetVMax(_arg0
);
6142 wxPy_END_ALLOW_THREADS
;
6143 } _resultobj
= Py_BuildValue("i",_result
);
6147 #define wxJoystick_HasRudder(_swigobj) (_swigobj->HasRudder())
6148 static PyObject
*_wrap_wxJoystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6149 PyObject
* _resultobj
;
6152 PyObject
* _argo0
= 0;
6153 char *_kwnames
[] = { "self", NULL
};
6156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasRudder",_kwnames
,&_argo0
))
6159 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6160 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6161 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasRudder. Expected _wxJoystick_p.");
6166 wxPy_BEGIN_ALLOW_THREADS
;
6167 _result
= (bool )wxJoystick_HasRudder(_arg0
);
6169 wxPy_END_ALLOW_THREADS
;
6170 } _resultobj
= Py_BuildValue("i",_result
);
6174 #define wxJoystick_HasZ(_swigobj) (_swigobj->HasZ())
6175 static PyObject
*_wrap_wxJoystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6176 PyObject
* _resultobj
;
6179 PyObject
* _argo0
= 0;
6180 char *_kwnames
[] = { "self", NULL
};
6183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasZ",_kwnames
,&_argo0
))
6186 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6187 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6188 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasZ. Expected _wxJoystick_p.");
6193 wxPy_BEGIN_ALLOW_THREADS
;
6194 _result
= (bool )wxJoystick_HasZ(_arg0
);
6196 wxPy_END_ALLOW_THREADS
;
6197 } _resultobj
= Py_BuildValue("i",_result
);
6201 #define wxJoystick_HasU(_swigobj) (_swigobj->HasU())
6202 static PyObject
*_wrap_wxJoystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6203 PyObject
* _resultobj
;
6206 PyObject
* _argo0
= 0;
6207 char *_kwnames
[] = { "self", NULL
};
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasU",_kwnames
,&_argo0
))
6213 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6214 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6215 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasU. Expected _wxJoystick_p.");
6220 wxPy_BEGIN_ALLOW_THREADS
;
6221 _result
= (bool )wxJoystick_HasU(_arg0
);
6223 wxPy_END_ALLOW_THREADS
;
6224 } _resultobj
= Py_BuildValue("i",_result
);
6228 #define wxJoystick_HasV(_swigobj) (_swigobj->HasV())
6229 static PyObject
*_wrap_wxJoystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6230 PyObject
* _resultobj
;
6233 PyObject
* _argo0
= 0;
6234 char *_kwnames
[] = { "self", NULL
};
6237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasV",_kwnames
,&_argo0
))
6240 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6241 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6242 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasV. Expected _wxJoystick_p.");
6247 wxPy_BEGIN_ALLOW_THREADS
;
6248 _result
= (bool )wxJoystick_HasV(_arg0
);
6250 wxPy_END_ALLOW_THREADS
;
6251 } _resultobj
= Py_BuildValue("i",_result
);
6255 #define wxJoystick_HasPOV(_swigobj) (_swigobj->HasPOV())
6256 static PyObject
*_wrap_wxJoystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
* _resultobj
;
6260 PyObject
* _argo0
= 0;
6261 char *_kwnames
[] = { "self", NULL
};
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV",_kwnames
,&_argo0
))
6267 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6268 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6269 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV. Expected _wxJoystick_p.");
6274 wxPy_BEGIN_ALLOW_THREADS
;
6275 _result
= (bool )wxJoystick_HasPOV(_arg0
);
6277 wxPy_END_ALLOW_THREADS
;
6278 } _resultobj
= Py_BuildValue("i",_result
);
6282 #define wxJoystick_HasPOV4Dir(_swigobj) (_swigobj->HasPOV4Dir())
6283 static PyObject
*_wrap_wxJoystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
* _resultobj
;
6287 PyObject
* _argo0
= 0;
6288 char *_kwnames
[] = { "self", NULL
};
6291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOV4Dir",_kwnames
,&_argo0
))
6294 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6295 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6296 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOV4Dir. Expected _wxJoystick_p.");
6301 wxPy_BEGIN_ALLOW_THREADS
;
6302 _result
= (bool )wxJoystick_HasPOV4Dir(_arg0
);
6304 wxPy_END_ALLOW_THREADS
;
6305 } _resultobj
= Py_BuildValue("i",_result
);
6309 #define wxJoystick_HasPOVCTS(_swigobj) (_swigobj->HasPOVCTS())
6310 static PyObject
*_wrap_wxJoystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6311 PyObject
* _resultobj
;
6314 PyObject
* _argo0
= 0;
6315 char *_kwnames
[] = { "self", NULL
};
6318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_HasPOVCTS",_kwnames
,&_argo0
))
6321 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6322 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6323 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_HasPOVCTS. Expected _wxJoystick_p.");
6328 wxPy_BEGIN_ALLOW_THREADS
;
6329 _result
= (bool )wxJoystick_HasPOVCTS(_arg0
);
6331 wxPy_END_ALLOW_THREADS
;
6332 } _resultobj
= Py_BuildValue("i",_result
);
6336 #define wxJoystick_SetCapture(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetCapture(_swigarg0,_swigarg1))
6337 static PyObject
*_wrap_wxJoystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
* _resultobj
;
6342 int _arg2
= (int ) 0;
6343 PyObject
* _argo0
= 0;
6344 PyObject
* _argo1
= 0;
6345 char *_kwnames
[] = { "self","win","pollingFreq", NULL
};
6348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"OO|i:wxJoystick_SetCapture",_kwnames
,&_argo0
,&_argo1
,&_arg2
))
6351 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6352 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6353 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_SetCapture. Expected _wxJoystick_p.");
6358 if (_argo1
== Py_None
) { _arg1
= NULL
; }
6359 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxWindow_p")) {
6360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of wxJoystick_SetCapture. Expected _wxWindow_p.");
6365 wxPy_BEGIN_ALLOW_THREADS
;
6366 _result
= (bool )wxJoystick_SetCapture(_arg0
,_arg1
,_arg2
);
6368 wxPy_END_ALLOW_THREADS
;
6369 } _resultobj
= Py_BuildValue("i",_result
);
6373 #define wxJoystick_ReleaseCapture(_swigobj) (_swigobj->ReleaseCapture())
6374 static PyObject
*_wrap_wxJoystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6375 PyObject
* _resultobj
;
6378 PyObject
* _argo0
= 0;
6379 char *_kwnames
[] = { "self", NULL
};
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxJoystick_ReleaseCapture",_kwnames
,&_argo0
))
6385 if (_argo0
== Py_None
) { _arg0
= NULL
; }
6386 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxJoystick_p")) {
6387 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxJoystick_ReleaseCapture. Expected _wxJoystick_p.");
6392 wxPy_BEGIN_ALLOW_THREADS
;
6393 _result
= (bool )wxJoystick_ReleaseCapture(_arg0
);
6395 wxPy_END_ALLOW_THREADS
;
6396 } _resultobj
= Py_BuildValue("i",_result
);
6400 static PyMethodDef misc2cMethods
[] = {
6401 { "wxJoystick_ReleaseCapture", (PyCFunction
) _wrap_wxJoystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
6402 { "wxJoystick_SetCapture", (PyCFunction
) _wrap_wxJoystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
6403 { "wxJoystick_HasPOVCTS", (PyCFunction
) _wrap_wxJoystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
6404 { "wxJoystick_HasPOV4Dir", (PyCFunction
) _wrap_wxJoystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
6405 { "wxJoystick_HasPOV", (PyCFunction
) _wrap_wxJoystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
6406 { "wxJoystick_HasV", (PyCFunction
) _wrap_wxJoystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
6407 { "wxJoystick_HasU", (PyCFunction
) _wrap_wxJoystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
6408 { "wxJoystick_HasZ", (PyCFunction
) _wrap_wxJoystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
6409 { "wxJoystick_HasRudder", (PyCFunction
) _wrap_wxJoystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
6410 { "wxJoystick_GetVMax", (PyCFunction
) _wrap_wxJoystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
6411 { "wxJoystick_GetVMin", (PyCFunction
) _wrap_wxJoystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
6412 { "wxJoystick_GetUMax", (PyCFunction
) _wrap_wxJoystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
6413 { "wxJoystick_GetUMin", (PyCFunction
) _wrap_wxJoystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
6414 { "wxJoystick_GetRudderMax", (PyCFunction
) _wrap_wxJoystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
6415 { "wxJoystick_GetRudderMin", (PyCFunction
) _wrap_wxJoystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
6416 { "wxJoystick_GetPollingMax", (PyCFunction
) _wrap_wxJoystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
6417 { "wxJoystick_GetPollingMin", (PyCFunction
) _wrap_wxJoystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
6418 { "wxJoystick_GetMaxAxes", (PyCFunction
) _wrap_wxJoystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
6419 { "wxJoystick_GetMaxButtons", (PyCFunction
) _wrap_wxJoystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
6420 { "wxJoystick_GetNumberAxes", (PyCFunction
) _wrap_wxJoystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
6421 { "wxJoystick_GetNumberButtons", (PyCFunction
) _wrap_wxJoystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
6422 { "wxJoystick_GetZMax", (PyCFunction
) _wrap_wxJoystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
6423 { "wxJoystick_GetYMax", (PyCFunction
) _wrap_wxJoystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
6424 { "wxJoystick_GetXMax", (PyCFunction
) _wrap_wxJoystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
6425 { "wxJoystick_GetZMin", (PyCFunction
) _wrap_wxJoystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
6426 { "wxJoystick_GetYMin", (PyCFunction
) _wrap_wxJoystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
6427 { "wxJoystick_GetXMin", (PyCFunction
) _wrap_wxJoystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
6428 { "wxJoystick_GetProductName", (PyCFunction
) _wrap_wxJoystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
6429 { "wxJoystick_GetProductId", (PyCFunction
) _wrap_wxJoystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
6430 { "wxJoystick_GetManufacturerId", (PyCFunction
) _wrap_wxJoystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
6431 { "wxJoystick_GetNumberJoysticks", (PyCFunction
) _wrap_wxJoystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
6432 { "wxJoystick_IsOk", (PyCFunction
) _wrap_wxJoystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
6433 { "wxJoystick_SetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
6434 { "wxJoystick_GetMovementThreshold", (PyCFunction
) _wrap_wxJoystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
6435 { "wxJoystick_GetVPosition", (PyCFunction
) _wrap_wxJoystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
6436 { "wxJoystick_GetUPosition", (PyCFunction
) _wrap_wxJoystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
6437 { "wxJoystick_GetRudderPosition", (PyCFunction
) _wrap_wxJoystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
6438 { "wxJoystick_GetPOVCTSPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
6439 { "wxJoystick_GetPOVPosition", (PyCFunction
) _wrap_wxJoystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
6440 { "wxJoystick_GetButtonState", (PyCFunction
) _wrap_wxJoystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
6441 { "wxJoystick_GetZPosition", (PyCFunction
) _wrap_wxJoystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
6442 { "wxJoystick_GetPosition", (PyCFunction
) _wrap_wxJoystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6443 { "new_wxJoystick", (PyCFunction
) _wrap_new_wxJoystick
, METH_VARARGS
| METH_KEYWORDS
},
6444 { "wxProcess_CloseOutput", (PyCFunction
) _wrap_wxProcess_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
6445 { "wxProcess_GetOutputStream", (PyCFunction
) _wrap_wxProcess_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
6446 { "wxProcess_GetErrorStream", (PyCFunction
) _wrap_wxProcess_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
6447 { "wxProcess_GetInputStream", (PyCFunction
) _wrap_wxProcess_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
6448 { "wxProcess_Detach", (PyCFunction
) _wrap_wxProcess_Detach
, METH_VARARGS
| METH_KEYWORDS
},
6449 { "wxProcess_IsRedirected", (PyCFunction
) _wrap_wxProcess_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
6450 { "wxProcess_Redirect", (PyCFunction
) _wrap_wxProcess_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
6451 { "wxProcess_base_OnTerminate", (PyCFunction
) _wrap_wxProcess_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
6452 { "wxProcess__setSelf", (PyCFunction
) _wrap_wxProcess__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
6453 { "wxProcess_Destroy", (PyCFunction
) _wrap_wxProcess_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
6454 { "new_wxProcess", (PyCFunction
) _wrap_new_wxProcess
, METH_VARARGS
| METH_KEYWORDS
},
6455 { "wxProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
6456 { "wxProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_wxProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
6457 { "wxProcessEvent_m_pid_get", (PyCFunction
) _wrap_wxProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
6458 { "wxProcessEvent_m_pid_set", (PyCFunction
) _wrap_wxProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
6459 { "wxProcessEvent_GetExitCode", (PyCFunction
) _wrap_wxProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
6460 { "wxProcessEvent_GetPid", (PyCFunction
) _wrap_wxProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
6461 { "new_wxProcessEvent", (PyCFunction
) _wrap_new_wxProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
6462 { "delete_wxLogNull", (PyCFunction
) _wrap_delete_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
6463 { "new_wxLogNull", (PyCFunction
) _wrap_new_wxLogNull
, METH_VARARGS
| METH_KEYWORDS
},
6464 { "wxLogWindow_PassMessages", (PyCFunction
) _wrap_wxLogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
6465 { "wxLogWindow_IsPassingMessages", (PyCFunction
) _wrap_wxLogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
6466 { "wxLogWindow_GetOldLog", (PyCFunction
) _wrap_wxLogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
6467 { "wxLogWindow_GetFrame", (PyCFunction
) _wrap_wxLogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
6468 { "wxLogWindow_Show", (PyCFunction
) _wrap_wxLogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
6469 { "new_wxLogWindow", (PyCFunction
) _wrap_new_wxLogWindow
, METH_VARARGS
| METH_KEYWORDS
},
6470 { "new_wxLogGui", (PyCFunction
) _wrap_new_wxLogGui
, METH_VARARGS
| METH_KEYWORDS
},
6471 { "new_wxLogTextCtrl", (PyCFunction
) _wrap_new_wxLogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
6472 { "new_wxLogStderr", (PyCFunction
) _wrap_new_wxLogStderr
, METH_VARARGS
| METH_KEYWORDS
},
6473 { "wxLog_IsAllowedTraceMask", (PyCFunction
) _wrap_wxLog_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
6474 { "wxLog_GetTraceMask", (PyCFunction
) _wrap_wxLog_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
6475 { "wxLog_GetVerbose", (PyCFunction
) _wrap_wxLog_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
6476 { "wxLog_RemoveTraceMask", (PyCFunction
) _wrap_wxLog_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
6477 { "wxLog_AddTraceMask", (PyCFunction
) _wrap_wxLog_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
6478 { "wxLog_SetTraceMask", (PyCFunction
) _wrap_wxLog_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
6479 { "wxLog_DontCreateOnDemand", (PyCFunction
) _wrap_wxLog_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
6480 { "wxLog_SetVerbose", (PyCFunction
) _wrap_wxLog_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
6481 { "wxLog_Resume", (PyCFunction
) _wrap_wxLog_Resume
, METH_VARARGS
| METH_KEYWORDS
},
6482 { "wxLog_Suspend", (PyCFunction
) _wrap_wxLog_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
6483 { "wxLog_SetActiveTarget", (PyCFunction
) _wrap_wxLog_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
6484 { "wxLog_GetActiveTarget", (PyCFunction
) _wrap_wxLog_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
6485 { "wxLog_FlushActive", (PyCFunction
) _wrap_wxLog_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
6486 { "wxLog_HasPendingMessages", (PyCFunction
) _wrap_wxLog_HasPendingMessages
, METH_VARARGS
| METH_KEYWORDS
},
6487 { "wxLog_Flush", (PyCFunction
) _wrap_wxLog_Flush
, METH_VARARGS
| METH_KEYWORDS
},
6488 { "wxLog_OnLog", (PyCFunction
) _wrap_wxLog_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
6489 { "wxLog_EnableLogging", (PyCFunction
) _wrap_wxLog_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
6490 { "wxLog_IsEnabled", (PyCFunction
) _wrap_wxLog_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
6491 { "new_wxLog", (PyCFunction
) _wrap_new_wxLog
, METH_VARARGS
| METH_KEYWORDS
},
6492 { "wxPyTimer_Stop", (PyCFunction
) _wrap_wxPyTimer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
6493 { "wxPyTimer_Start", (PyCFunction
) _wrap_wxPyTimer_Start
, METH_VARARGS
| METH_KEYWORDS
},
6494 { "wxPyTimer_SetOwner", (PyCFunction
) _wrap_wxPyTimer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
6495 { "wxPyTimer_IsRunning", (PyCFunction
) _wrap_wxPyTimer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
6496 { "wxPyTimer_IsOneShot", (PyCFunction
) _wrap_wxPyTimer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
6497 { "wxPyTimer_GetInterval", (PyCFunction
) _wrap_wxPyTimer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
6498 { "delete_wxPyTimer", (PyCFunction
) _wrap_delete_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
6499 { "new_wxPyTimer", (PyCFunction
) _wrap_new_wxPyTimer
, METH_VARARGS
| METH_KEYWORDS
},
6500 { "wxDragImage_RedrawImage", (PyCFunction
) _wrap_wxDragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
},
6501 { "wxDragImage_GetImageRect", (PyCFunction
) _wrap_wxDragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
},
6502 { "wxDragImage_Hide", (PyCFunction
) _wrap_wxDragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
},
6503 { "wxDragImage_Show", (PyCFunction
) _wrap_wxDragImage_Show
, METH_VARARGS
| METH_KEYWORDS
},
6504 { "wxDragImage_Move", (PyCFunction
) _wrap_wxDragImage_Move
, METH_VARARGS
| METH_KEYWORDS
},
6505 { "wxDragImage_EndDrag", (PyCFunction
) _wrap_wxDragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
},
6506 { "wxDragImage_BeginDrag2", (PyCFunction
) _wrap_wxDragImage_BeginDrag2
, METH_VARARGS
| METH_KEYWORDS
},
6507 { "wxDragImage_BeginDrag", (PyCFunction
) _wrap_wxDragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
},
6508 { "delete_wxDragImage", (PyCFunction
) _wrap_delete_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
6509 { "new_wxDragImage", (PyCFunction
) _wrap_new_wxDragImage
, METH_VARARGS
| METH_KEYWORDS
},
6510 { "new_wxPyTipProvider", (PyCFunction
) _wrap_new_wxPyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
6511 { "wxTipProvider_GetCurrentTip", (PyCFunction
) _wrap_wxTipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
6512 { "wxTipProvider_GetTip", (PyCFunction
) _wrap_wxTipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
6513 { "delete_wxTipProvider", (PyCFunction
) _wrap_delete_wxTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
6514 { "delete_wxWindowDisabler", (PyCFunction
) _wrap_delete_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
6515 { "new_wxWindowDisabler", (PyCFunction
) _wrap_new_wxWindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
6516 { "delete_wxBusyCursor", (PyCFunction
) _wrap_delete_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
6517 { "new_wxBusyCursor", (PyCFunction
) _wrap_new_wxBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
6518 { "wxFontEnumerator_GetFacenames", (PyCFunction
) _wrap_wxFontEnumerator_GetFacenames
, METH_VARARGS
| METH_KEYWORDS
},
6519 { "wxFontEnumerator_GetEncodings", (PyCFunction
) _wrap_wxFontEnumerator_GetEncodings
, METH_VARARGS
| METH_KEYWORDS
},
6520 { "wxFontEnumerator_EnumerateEncodings", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateEncodings
, METH_VARARGS
| METH_KEYWORDS
},
6521 { "wxFontEnumerator_EnumerateFacenames", (PyCFunction
) _wrap_wxFontEnumerator_EnumerateFacenames
, METH_VARARGS
| METH_KEYWORDS
},
6522 { "wxFontEnumerator__setSelf", (PyCFunction
) _wrap_wxFontEnumerator__setSelf
, METH_VARARGS
| METH_KEYWORDS
},
6523 { "delete_wxFontEnumerator", (PyCFunction
) _wrap_delete_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
6524 { "new_wxFontEnumerator", (PyCFunction
) _wrap_new_wxFontEnumerator
, METH_VARARGS
| METH_KEYWORDS
},
6525 { "wxCaret_Hide", (PyCFunction
) _wrap_wxCaret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
6526 { "wxCaret_Show", (PyCFunction
) _wrap_wxCaret_Show
, METH_VARARGS
| METH_KEYWORDS
},
6527 { "wxCaret_SetSize", (PyCFunction
) _wrap_wxCaret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
6528 { "wxCaret_SetSizeWH", (PyCFunction
) _wrap_wxCaret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
6529 { "wxCaret_Move", (PyCFunction
) _wrap_wxCaret_Move
, METH_VARARGS
| METH_KEYWORDS
},
6530 { "wxCaret_MoveXY", (PyCFunction
) _wrap_wxCaret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
6531 { "wxCaret_GetWindow", (PyCFunction
) _wrap_wxCaret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6532 { "wxCaret_GetSize", (PyCFunction
) _wrap_wxCaret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
6533 { "wxCaret_GetSizeTuple", (PyCFunction
) _wrap_wxCaret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
6534 { "wxCaret_GetPosition", (PyCFunction
) _wrap_wxCaret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
6535 { "wxCaret_GetPositionTuple", (PyCFunction
) _wrap_wxCaret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
6536 { "wxCaret_IsVisible", (PyCFunction
) _wrap_wxCaret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
6537 { "wxCaret_IsOk", (PyCFunction
) _wrap_wxCaret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
6538 { "delete_wxCaret", (PyCFunction
) _wrap_delete_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
6539 { "new_wxCaret", (PyCFunction
) _wrap_new_wxCaret
, METH_VARARGS
| METH_KEYWORDS
},
6540 { "wxToolTip_GetWindow", (PyCFunction
) _wrap_wxToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
6541 { "wxToolTip_GetTip", (PyCFunction
) _wrap_wxToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
6542 { "wxToolTip_SetTip", (PyCFunction
) _wrap_wxToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
6543 { "new_wxToolTip", (PyCFunction
) _wrap_new_wxToolTip
, METH_VARARGS
| METH_KEYWORDS
},
6544 { "wxExecute", (PyCFunction
) _wrap_wxExecute
, METH_VARARGS
| METH_KEYWORDS
},
6545 { "wxLogSysError", (PyCFunction
) _wrap_wxLogSysError
, METH_VARARGS
| METH_KEYWORDS
},
6546 { "wxLogStatusFrame", (PyCFunction
) _wrap_wxLogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
6547 { "wxLogStatus", (PyCFunction
) _wrap_wxLogStatus
, METH_VARARGS
| METH_KEYWORDS
},
6548 { "wxLogVerbose", (PyCFunction
) _wrap_wxLogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
6549 { "wxLogInfo", (PyCFunction
) _wrap_wxLogInfo
, METH_VARARGS
| METH_KEYWORDS
},
6550 { "wxLogMessage", (PyCFunction
) _wrap_wxLogMessage
, METH_VARARGS
| METH_KEYWORDS
},
6551 { "wxLogWarning", (PyCFunction
) _wrap_wxLogWarning
, METH_VARARGS
| METH_KEYWORDS
},
6552 { "wxLogError", (PyCFunction
) _wrap_wxLogError
, METH_VARARGS
| METH_KEYWORDS
},
6553 { "wxLogFatalError", (PyCFunction
) _wrap_wxLogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
6554 { "wxSysErrorMsg", (PyCFunction
) _wrap_wxSysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
6555 { "wxSysErrorCode", (PyCFunction
) _wrap_wxSysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
6556 { "wxDragListItem", (PyCFunction
) _wrap_wxDragListItem
, METH_VARARGS
| METH_KEYWORDS
},
6557 { "wxDragTreeItem", (PyCFunction
) _wrap_wxDragTreeItem
, METH_VARARGS
| METH_KEYWORDS
},
6558 { "wxDragString", (PyCFunction
) _wrap_wxDragString
, METH_VARARGS
| METH_KEYWORDS
},
6559 { "wxDragIcon", (PyCFunction
) _wrap_wxDragIcon
, METH_VARARGS
| METH_KEYWORDS
},
6560 { "wxCreateFileTipProvider", (PyCFunction
) _wrap_wxCreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
6561 { "wxShowTip", (PyCFunction
) _wrap_wxShowTip
, METH_VARARGS
| METH_KEYWORDS
},
6562 { "wxSafeYield", (PyCFunction
) _wrap_wxSafeYield
, METH_VARARGS
| METH_KEYWORDS
},
6563 { "wxWakeUpIdle", (PyCFunction
) _wrap_wxWakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
6564 { "wxPostEvent", (PyCFunction
) _wrap_wxPostEvent
, METH_VARARGS
| METH_KEYWORDS
},
6565 { "wxCaret_SetBlinkTime", (PyCFunction
) _wrap_wxCaret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
6566 { "wxCaret_GetBlinkTime", (PyCFunction
) _wrap_wxCaret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
6567 { "wxToolTip_SetDelay", (PyCFunction
) _wrap_wxToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
6568 { "wxToolTip_Enable", (PyCFunction
) _wrap_wxToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
6569 { "wxSystemSettings_GetSystemMetric", (PyCFunction
) _wrap_wxSystemSettings_GetSystemMetric
, METH_VARARGS
| METH_KEYWORDS
},
6570 { "wxSystemSettings_GetSystemFont", (PyCFunction
) _wrap_wxSystemSettings_GetSystemFont
, METH_VARARGS
| METH_KEYWORDS
},
6571 { "wxSystemSettings_GetSystemColour", (PyCFunction
) _wrap_wxSystemSettings_GetSystemColour
, METH_VARARGS
| METH_KEYWORDS
},
6572 { "wxResourceParseString", (PyCFunction
) _wrap_wxResourceParseString
, METH_VARARGS
| METH_KEYWORDS
},
6573 { "wxResourceParseFile", (PyCFunction
) _wrap_wxResourceParseFile
, METH_VARARGS
| METH_KEYWORDS
},
6574 { "wxResourceParseData", (PyCFunction
) _wrap_wxResourceParseData
, METH_VARARGS
| METH_KEYWORDS
},
6575 { "wxResourceGetIdentifier", (PyCFunction
) _wrap_wxResourceGetIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
6576 { "wxResourceCreateMenuBar", (PyCFunction
) _wrap_wxResourceCreateMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
6577 { "wxResourceCreateIcon", (PyCFunction
) _wrap_wxResourceCreateIcon
, METH_VARARGS
| METH_KEYWORDS
},
6578 { "wxResourceCreateBitmap", (PyCFunction
) _wrap_wxResourceCreateBitmap
, METH_VARARGS
| METH_KEYWORDS
},
6579 { "wxResourceClear", (PyCFunction
) _wrap_wxResourceClear
, METH_VARARGS
| METH_KEYWORDS
},
6580 { "wxResourceAddIdentifier", (PyCFunction
) _wrap_wxResourceAddIdentifier
, METH_VARARGS
| METH_KEYWORDS
},
6581 { "wxGetActiveWindow", (PyCFunction
) _wrap_wxGetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
6582 { "wxBeginBusyCursor", (PyCFunction
) _wrap_wxBeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
6583 { "wxFindWindowByName", (PyCFunction
) _wrap_wxFindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
6584 { "wxFindWindowByLabel", (PyCFunction
) _wrap_wxFindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
6585 { "wxSetCursor", (PyCFunction
) _wrap_wxSetCursor
, METH_VARARGS
| METH_KEYWORDS
},
6586 { "wxGetDisplaySizeMM", (PyCFunction
) _wrap_wxGetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
6587 { "wxDisplaySizeMM", (PyCFunction
) _wrap_wxDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
6588 { "wxGetDisplaySize", (PyCFunction
) _wrap_wxGetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
6589 { "wxDisplaySize", (PyCFunction
) _wrap_wxDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
6590 { "wxGetDisplayDepth", (PyCFunction
) _wrap_wxGetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
6591 { "wxDisplayDepth", (PyCFunction
) _wrap_wxDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
6592 { "wxColourDisplay", (PyCFunction
) _wrap_wxColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
6593 { "wxGetNumberFromUser", (PyCFunction
) _wrap_wxGetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
6594 { "wxMessageBox", (PyCFunction
) _wrap_wxMessageBox
, METH_VARARGS
| METH_KEYWORDS
},
6595 { "wxGetSingleChoiceIndex", (PyCFunction
) _wrap_wxGetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
6596 { "wxGetSingleChoice", (PyCFunction
) _wrap_wxGetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
6597 { "wxGetTextFromUser", (PyCFunction
) _wrap_wxGetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
6598 { "wxFileSelector", (PyCFunction
) _wrap_wxFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
6605 * This table is used by the pointer type-checker
6607 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
6608 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
6609 { "_wxEvent","_class_wxProcessEvent",SwigwxProcessEventTowxEvent
},
6610 { "_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
6611 { "_wxEvent","_class_wxEvent",0},
6612 { "_class_wxActivateEvent","_wxActivateEvent",0},
6613 { "_signed_long","_long",0},
6614 { "_wxMenuEvent","_class_wxMenuEvent",0},
6615 { "_class_wxProcessEvent","_wxProcessEvent",0},
6616 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
6617 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
6618 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
6619 { "_wxWindowDisabler","_class_wxWindowDisabler",0},
6620 { "_wxPrintQuality","_wxCoord",0},
6621 { "_wxPrintQuality","_int",0},
6622 { "_wxPrintQuality","_signed_int",0},
6623 { "_wxPrintQuality","_unsigned_int",0},
6624 { "_wxPrintQuality","_wxWindowID",0},
6625 { "_wxPrintQuality","_uint",0},
6626 { "_wxPrintQuality","_EBool",0},
6627 { "_wxPrintQuality","_size_t",0},
6628 { "_wxPrintQuality","_time_t",0},
6629 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
6630 { "_class_wxRegionIterator","_wxRegionIterator",0},
6631 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
6632 { "_class_wxMenuBar","_wxMenuBar",0},
6633 { "_class_wxEvtHandler","_class_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
6634 { "_class_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
6635 { "_class_wxEvtHandler","_wxEvtHandler",0},
6636 { "_wxPaintEvent","_class_wxPaintEvent",0},
6637 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
6638 { "_wxCursor","_class_wxCursor",0},
6639 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
6640 { "_wxPyProcess","_class_wxPyProcess",0},
6641 { "_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog
},
6642 { "_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
6643 { "_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog
},
6644 { "_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
6645 { "_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
6646 { "_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
6647 { "_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog
},
6648 { "_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
6649 { "_wxLog","_class_wxLog",0},
6650 { "_wxMask","_class_wxMask",0},
6651 { "_wxToolTip","_class_wxToolTip",0},
6652 { "_wxPen","_class_wxPen",0},
6653 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
6654 { "_byte","_unsigned_char",0},
6655 { "_wxDataObject","_class_wxDataObject",0},
6656 { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
6657 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
6658 { "_wxPyDropSource","_class_wxPyDropSource",0},
6659 { "_long","_unsigned_long",0},
6660 { "_long","_signed_long",0},
6661 { "_wxImageList","_class_wxImageList",0},
6662 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
6663 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
6664 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
6665 { "_class_wxClipboard","_wxClipboard",0},
6666 { "_wxDC","_class_wxDC",0},
6667 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
6668 { "_wxSpinEvent","_class_wxSpinEvent",0},
6669 { "_size_t","_wxCoord",0},
6670 { "_size_t","_wxPrintQuality",0},
6671 { "_size_t","_time_t",0},
6672 { "_size_t","_unsigned_int",0},
6673 { "_size_t","_int",0},
6674 { "_size_t","_wxWindowID",0},
6675 { "_size_t","_uint",0},
6676 { "_class_wxRealPoint","_wxRealPoint",0},
6677 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
6678 { "_wxPrinterDC","_class_wxPrinterDC",0},
6679 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
6680 { "_wxLogGui","_class_wxLogGui",0},
6681 { "_class_wxMenuItem","_wxMenuItem",0},
6682 { "_class_wxPaintEvent","_wxPaintEvent",0},
6683 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
6684 { "_wxPanel","_class_wxPanel",0},
6685 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
6686 { "_wxPyEvent","_class_wxPyEvent",0},
6687 { "_class_wxMask","_wxMask",0},
6688 { "_wxTextDataObject","_class_wxTextDataObject",0},
6689 { "_class_wxKeyEvent","_wxKeyEvent",0},
6690 { "_class_wxToolTip","_wxToolTip",0},
6691 { "_wxColour","_class_wxColour",0},
6692 { "_class_wxDialog","_wxDialog",0},
6693 { "_wxBusyCursor","_class_wxBusyCursor",0},
6694 { "_class_wxFileDataObject","_wxFileDataObject",0},
6695 { "_wxIdleEvent","_class_wxIdleEvent",0},
6696 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
6697 { "_class_wxDataObject","_wxDataObject",0},
6698 { "_wxCaret","_class_wxCaret",0},
6699 { "_wxBrush","_class_wxBrush",0},
6700 { "_wxDataFormat","_class_wxDataFormat",0},
6701 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
6702 { "_wxShowEvent","_class_wxShowEvent",0},
6703 { "_uint","_wxCoord",0},
6704 { "_uint","_wxPrintQuality",0},
6705 { "_uint","_time_t",0},
6706 { "_uint","_size_t",0},
6707 { "_uint","_unsigned_int",0},
6708 { "_uint","_int",0},
6709 { "_uint","_wxWindowID",0},
6710 { "_wxChar","_char",0},
6711 { "_wxPyValidator","_class_wxPyValidator",0},
6712 { "_class_wxEvent","_class_wxProcessEvent",SwigwxProcessEventTowxEvent
},
6713 { "_class_wxEvent","_wxProcessEvent",SwigwxProcessEventTowxEvent
},
6714 { "_class_wxEvent","_wxEvent",0},
6715 { "_wxRect","_class_wxRect",0},
6716 { "_wxCommandEvent","_class_wxCommandEvent",0},
6717 { "_wxSizeEvent","_class_wxSizeEvent",0},
6718 { "_class_wxLogWindow","_wxLogWindow",0},
6719 { "_wxPoint","_class_wxPoint",0},
6720 { "_class_wxWindowDisabler","_wxWindowDisabler",0},
6721 { "_char","_wxChar",0},
6722 { "_wxBitmap","_class_wxBitmap",0},
6723 { "_wxWindowDC","_class_wxWindowDC",0},
6724 { "_wxTimerEvent","_class_wxTimerEvent",0},
6725 { "_wxPyTimer","_class_wxPyTimer",0},
6726 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
6727 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
6728 { "_class_wxValidator","_wxValidator",0},
6729 { "_class_wxPyEvent","_wxPyEvent",0},
6730 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
6731 { "_class_wxBusyCursor","_wxBusyCursor",0},
6732 { "_wxDropTarget","_class_wxDropTarget",0},
6733 { "_wxScrollEvent","_class_wxScrollEvent",0},
6734 { "_EBool","_wxCoord",0},
6735 { "_EBool","_wxPrintQuality",0},
6736 { "_EBool","_signed_int",0},
6737 { "_EBool","_int",0},
6738 { "_EBool","_wxWindowID",0},
6739 { "_class_wxRegion","_wxRegion",0},
6740 { "_class_wxDataFormat","_wxDataFormat",0},
6741 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
6742 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
6743 { "_wxFont","_class_wxFont",0},
6744 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
6745 { "_wxCloseEvent","_class_wxCloseEvent",0},
6746 { "_wxProcessEvent","_class_wxProcessEvent",0},
6747 { "_unsigned_long","_long",0},
6748 { "_class_wxRect","_wxRect",0},
6749 { "_class_wxDC","_wxDC",0},
6750 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
6751 { "_wxGenericDragImage","_class_wxGenericDragImage",0},
6752 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
6753 { "_wxPyInputStream","_class_wxPyInputStream",0},
6754 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
6755 { "_class_wxOutputStream","_wxOutputStream",0},
6756 { "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
6757 { "_wxFocusEvent","_class_wxFocusEvent",0},
6758 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
6759 { "_class_wxTimerEvent","_wxTimerEvent",0},
6760 { "_class_wxPyTimer","_wxPyTimer",0},
6761 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
6762 { "_class_wxPanel","_wxPanel",0},
6763 { "_signed_int","_wxCoord",0},
6764 { "_signed_int","_wxPrintQuality",0},
6765 { "_signed_int","_EBool",0},
6766 { "_signed_int","_wxWindowID",0},
6767 { "_signed_int","_int",0},
6768 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
6769 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
6770 { "_class_wxTextDataObject","_wxTextDataObject",0},
6771 { "_wxMenu","_class_wxMenu",0},
6772 { "_class_wxMoveEvent","_wxMoveEvent",0},
6773 { "_wxScreenDC","_class_wxScreenDC",0},
6774 { "_WXTYPE","_short",0},
6775 { "_WXTYPE","_signed_short",0},
6776 { "_WXTYPE","_unsigned_short",0},
6777 { "_class_wxDropTarget","_wxDropTarget",0},
6778 { "_class_wxCaret","_wxCaret",0},
6779 { "_class_wxBrush","_wxBrush",0},
6780 { "_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
6781 { "_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
6782 { "_wxTipProvider","_class_wxTipProvider",0},
6783 { "_unsigned_short","_WXTYPE",0},
6784 { "_unsigned_short","_short",0},
6785 { "_class_wxWindow","_wxWindow",0},
6786 { "_class_wxLogStderr","_wxLogStderr",0},
6787 { "_class_wxFont","_wxFont",0},
6788 { "_wxClipboard","_class_wxClipboard",0},
6789 { "_class_wxPyValidator","_wxPyValidator",0},
6790 { "_class_wxCloseEvent","_wxCloseEvent",0},
6791 { "_wxBusyInfo","_class_wxBusyInfo",0},
6792 { "_class_wxMenuEvent","_wxMenuEvent",0},
6793 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
6794 { "_wxJoystick","_class_wxJoystick",0},
6795 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
6796 { "_wxClientDC","_class_wxClientDC",0},
6797 { "_wxMouseEvent","_class_wxMouseEvent",0},
6798 { "_class_wxGenericDragImage","_wxGenericDragImage",0},
6799 { "_class_wxPoint","_wxPoint",0},
6800 { "_class_wxPyInputStream","_wxPyInputStream",0},
6801 { "_wxRealPoint","_class_wxRealPoint",0},
6802 { "_signed_short","_WXTYPE",0},
6803 { "_signed_short","_short",0},
6804 { "_wxMemoryDC","_class_wxMemoryDC",0},
6805 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
6806 { "_wxPaintDC","_class_wxPaintDC",0},
6807 { "_class_wxWindowDC","_wxWindowDC",0},
6808 { "_class_wxFocusEvent","_wxFocusEvent",0},
6809 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
6810 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
6811 { "_class_wxCursor","_wxCursor",0},
6812 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
6813 { "_class_wxPyProcess","_wxPyProcess",0},
6814 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
6815 { "_class_wxLog","_class_wxLogWindow",SwigwxLogWindowTowxLog
},
6816 { "_class_wxLog","_wxLogWindow",SwigwxLogWindowTowxLog
},
6817 { "_class_wxLog","_class_wxLogGui",SwigwxLogGuiTowxLog
},
6818 { "_class_wxLog","_wxLogGui",SwigwxLogGuiTowxLog
},
6819 { "_class_wxLog","_class_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
6820 { "_class_wxLog","_wxLogTextCtrl",SwigwxLogTextCtrlTowxLog
},
6821 { "_class_wxLog","_class_wxLogStderr",SwigwxLogStderrTowxLog
},
6822 { "_class_wxLog","_wxLogStderr",SwigwxLogStderrTowxLog
},
6823 { "_class_wxLog","_wxLog",0},
6824 { "_unsigned_char","_byte",0},
6825 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
6826 { "_class_wxMenu","_wxMenu",0},
6827 { "_unsigned_int","_wxCoord",0},
6828 { "_unsigned_int","_wxPrintQuality",0},
6829 { "_unsigned_int","_time_t",0},
6830 { "_unsigned_int","_size_t",0},
6831 { "_unsigned_int","_uint",0},
6832 { "_unsigned_int","_wxWindowID",0},
6833 { "_unsigned_int","_int",0},
6834 { "_wxIcon","_class_wxIcon",0},
6835 { "_wxDialog","_class_wxDialog",0},
6836 { "_class_wxPen","_wxPen",0},
6837 { "_short","_WXTYPE",0},
6838 { "_short","_unsigned_short",0},
6839 { "_short","_signed_short",0},
6840 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
6841 { "_class_wxPyDropSource","_wxPyDropSource",0},
6842 { "_class_wxScrollEvent","_wxScrollEvent",0},
6843 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
6844 { "_class_wxImageList","_wxImageList",0},
6845 { "_wxPyTipProvider","_class_wxPyTipProvider",0},
6846 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
6847 { "_wxWindowID","_wxCoord",0},
6848 { "_wxWindowID","_wxPrintQuality",0},
6849 { "_wxWindowID","_time_t",0},
6850 { "_wxWindowID","_size_t",0},
6851 { "_wxWindowID","_EBool",0},
6852 { "_wxWindowID","_uint",0},
6853 { "_wxWindowID","_int",0},
6854 { "_wxWindowID","_signed_int",0},
6855 { "_wxWindowID","_unsigned_int",0},
6856 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
6857 { "_int","_wxCoord",0},
6858 { "_int","_wxPrintQuality",0},
6859 { "_int","_time_t",0},
6860 { "_int","_size_t",0},
6861 { "_int","_EBool",0},
6862 { "_int","_uint",0},
6863 { "_int","_wxWindowID",0},
6864 { "_int","_unsigned_int",0},
6865 { "_int","_signed_int",0},
6866 { "_class_wxMouseEvent","_wxMouseEvent",0},
6867 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
6868 { "_wxLogWindow","_class_wxLogWindow",0},
6869 { "_class_wxSpinEvent","_wxSpinEvent",0},
6870 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
6871 { "_time_t","_wxCoord",0},
6872 { "_time_t","_wxPrintQuality",0},
6873 { "_time_t","_unsigned_int",0},
6874 { "_time_t","_int",0},
6875 { "_time_t","_wxWindowID",0},
6876 { "_time_t","_uint",0},
6877 { "_time_t","_size_t",0},
6878 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
6879 { "_wxLogNull","_class_wxLogNull",0},
6880 { "_wxSize","_class_wxSize",0},
6881 { "_wxRegionIterator","_class_wxRegionIterator",0},
6882 { "_class_wxPrinterDC","_wxPrinterDC",0},
6883 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
6884 { "_class_wxLogTextCtrl","_wxLogTextCtrl",0},
6885 { "_class_wxLogGui","_wxLogGui",0},
6886 { "_class_wxPaintDC","_wxPaintDC",0},
6887 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
6888 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
6889 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
6890 { "_wxValidator","_class_wxValidator",0},
6891 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
6892 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
6893 { "_class_wxIcon","_wxIcon",0},
6894 { "_class_wxColour","_wxColour",0},
6895 { "_class_wxScreenDC","_wxScreenDC",0},
6896 { "_wxPalette","_class_wxPalette",0},
6897 { "_class_wxIdleEvent","_wxIdleEvent",0},
6898 { "_wxCoord","_int",0},
6899 { "_wxCoord","_signed_int",0},
6900 { "_wxCoord","_unsigned_int",0},
6901 { "_wxCoord","_wxWindowID",0},
6902 { "_wxCoord","_uint",0},
6903 { "_wxCoord","_EBool",0},
6904 { "_wxCoord","_size_t",0},
6905 { "_wxCoord","_time_t",0},
6906 { "_wxCoord","_wxPrintQuality",0},
6907 { "_wxEraseEvent","_class_wxEraseEvent",0},
6908 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
6909 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
6910 { "_class_wxTipProvider","_class_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
6911 { "_class_wxTipProvider","_wxPyTipProvider",SwigwxPyTipProviderTowxTipProvider
},
6912 { "_class_wxTipProvider","_wxTipProvider",0},
6913 { "_wxRegion","_class_wxRegion",0},
6914 { "_class_wxShowEvent","_wxShowEvent",0},
6915 { "_class_wxPyTipProvider","_wxPyTipProvider",0},
6916 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
6917 { "_wxActivateEvent","_class_wxActivateEvent",0},
6918 { "_class_wxBusyInfo","_wxBusyInfo",0},
6919 { "_class_wxJoystick","_wxJoystick",0},
6920 { "_class_wxCommandEvent","_wxCommandEvent",0},
6921 { "_class_wxClientDC","_wxClientDC",0},
6922 { "_class_wxSizeEvent","_wxSizeEvent",0},
6923 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
6924 { "_class_wxLogNull","_wxLogNull",0},
6925 { "_class_wxSize","_wxSize",0},
6926 { "_class_wxBitmap","_wxBitmap",0},
6927 { "_class_wxMemoryDC","_wxMemoryDC",0},
6928 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
6929 { "_wxMenuBar","_class_wxMenuBar",0},
6930 { "_wxOutputStream","_class_wxOutputStream",0},
6931 { "_wxEvtHandler","_class_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
6932 { "_wxEvtHandler","_wxPyProcess",SwigwxPyProcessTowxEvtHandler
},
6933 { "_wxEvtHandler","_class_wxEvtHandler",0},
6934 { "_wxMenuItem","_class_wxMenuItem",0},
6935 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
6936 { "_wxKeyEvent","_class_wxKeyEvent",0},
6937 { "_wxMoveEvent","_class_wxMoveEvent",0},
6938 { "_class_wxPalette","_wxPalette",0},
6939 { "_wxFileDataObject","_class_wxFileDataObject",0},
6940 { "_class_wxEraseEvent","_wxEraseEvent",0},
6941 { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
6942 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
6943 { "_wxWindow","_class_wxWindow",0},
6944 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
6945 { "_wxLogStderr","_class_wxLogStderr",0},
6948 static PyObject
*SWIG_globals
;
6952 SWIGEXPORT(void) initmisc2c() {
6954 SWIG_globals
= SWIG_newvarlink();
6955 m
= Py_InitModule("misc2c", misc2cMethods
);
6956 d
= PyModule_GetDict(m
);
6957 PyDict_SetItemString(d
,"wxSYS_WHITE_BRUSH", PyInt_FromLong((long) wxSYS_WHITE_BRUSH
));
6958 PyDict_SetItemString(d
,"wxSYS_LTGRAY_BRUSH", PyInt_FromLong((long) wxSYS_LTGRAY_BRUSH
));
6959 PyDict_SetItemString(d
,"wxSYS_GRAY_BRUSH", PyInt_FromLong((long) wxSYS_GRAY_BRUSH
));
6960 PyDict_SetItemString(d
,"wxSYS_DKGRAY_BRUSH", PyInt_FromLong((long) wxSYS_DKGRAY_BRUSH
));
6961 PyDict_SetItemString(d
,"wxSYS_BLACK_BRUSH", PyInt_FromLong((long) wxSYS_BLACK_BRUSH
));
6962 PyDict_SetItemString(d
,"wxSYS_NULL_BRUSH", PyInt_FromLong((long) wxSYS_NULL_BRUSH
));
6963 PyDict_SetItemString(d
,"wxSYS_HOLLOW_BRUSH", PyInt_FromLong((long) wxSYS_HOLLOW_BRUSH
));
6964 PyDict_SetItemString(d
,"wxSYS_WHITE_PEN", PyInt_FromLong((long) wxSYS_WHITE_PEN
));
6965 PyDict_SetItemString(d
,"wxSYS_BLACK_PEN", PyInt_FromLong((long) wxSYS_BLACK_PEN
));
6966 PyDict_SetItemString(d
,"wxSYS_NULL_PEN", PyInt_FromLong((long) wxSYS_NULL_PEN
));
6967 PyDict_SetItemString(d
,"wxSYS_OEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_OEM_FIXED_FONT
));
6968 PyDict_SetItemString(d
,"wxSYS_ANSI_FIXED_FONT", PyInt_FromLong((long) wxSYS_ANSI_FIXED_FONT
));
6969 PyDict_SetItemString(d
,"wxSYS_ANSI_VAR_FONT", PyInt_FromLong((long) wxSYS_ANSI_VAR_FONT
));
6970 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FONT
));
6971 PyDict_SetItemString(d
,"wxSYS_DEVICE_DEFAULT_FONT", PyInt_FromLong((long) wxSYS_DEVICE_DEFAULT_FONT
));
6972 PyDict_SetItemString(d
,"wxSYS_DEFAULT_PALETTE", PyInt_FromLong((long) wxSYS_DEFAULT_PALETTE
));
6973 PyDict_SetItemString(d
,"wxSYS_SYSTEM_FIXED_FONT", PyInt_FromLong((long) wxSYS_SYSTEM_FIXED_FONT
));
6974 PyDict_SetItemString(d
,"wxSYS_DEFAULT_GUI_FONT", PyInt_FromLong((long) wxSYS_DEFAULT_GUI_FONT
));
6975 PyDict_SetItemString(d
,"wxSYS_COLOUR_SCROLLBAR", PyInt_FromLong((long) wxSYS_COLOUR_SCROLLBAR
));
6976 PyDict_SetItemString(d
,"wxSYS_COLOUR_BACKGROUND", PyInt_FromLong((long) wxSYS_COLOUR_BACKGROUND
));
6977 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVECAPTION
));
6978 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTION", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTION
));
6979 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENU", PyInt_FromLong((long) wxSYS_COLOUR_MENU
));
6980 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOW", PyInt_FromLong((long) wxSYS_COLOUR_WINDOW
));
6981 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWFRAME", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWFRAME
));
6982 PyDict_SetItemString(d
,"wxSYS_COLOUR_MENUTEXT", PyInt_FromLong((long) wxSYS_COLOUR_MENUTEXT
));
6983 PyDict_SetItemString(d
,"wxSYS_COLOUR_WINDOWTEXT", PyInt_FromLong((long) wxSYS_COLOUR_WINDOWTEXT
));
6984 PyDict_SetItemString(d
,"wxSYS_COLOUR_CAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_CAPTIONTEXT
));
6985 PyDict_SetItemString(d
,"wxSYS_COLOUR_ACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_ACTIVEBORDER
));
6986 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVEBORDER", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVEBORDER
));
6987 PyDict_SetItemString(d
,"wxSYS_COLOUR_APPWORKSPACE", PyInt_FromLong((long) wxSYS_COLOUR_APPWORKSPACE
));
6988 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHT
));
6989 PyDict_SetItemString(d
,"wxSYS_COLOUR_HIGHLIGHTTEXT", PyInt_FromLong((long) wxSYS_COLOUR_HIGHLIGHTTEXT
));
6990 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNFACE", PyInt_FromLong((long) wxSYS_COLOUR_BTNFACE
));
6991 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_BTNSHADOW
));
6992 PyDict_SetItemString(d
,"wxSYS_COLOUR_GRAYTEXT", PyInt_FromLong((long) wxSYS_COLOUR_GRAYTEXT
));
6993 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNTEXT", PyInt_FromLong((long) wxSYS_COLOUR_BTNTEXT
));
6994 PyDict_SetItemString(d
,"wxSYS_COLOUR_INACTIVECAPTIONTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
6995 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHIGHLIGHT
));
6996 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DDKSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DDKSHADOW
));
6997 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DLIGHT
));
6998 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOTEXT", PyInt_FromLong((long) wxSYS_COLOUR_INFOTEXT
));
6999 PyDict_SetItemString(d
,"wxSYS_COLOUR_INFOBK", PyInt_FromLong((long) wxSYS_COLOUR_INFOBK
));
7000 PyDict_SetItemString(d
,"wxSYS_COLOUR_DESKTOP", PyInt_FromLong((long) wxSYS_COLOUR_DESKTOP
));
7001 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DFACE", PyInt_FromLong((long) wxSYS_COLOUR_3DFACE
));
7002 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DSHADOW", PyInt_FromLong((long) wxSYS_COLOUR_3DSHADOW
));
7003 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHIGHLIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHIGHLIGHT
));
7004 PyDict_SetItemString(d
,"wxSYS_COLOUR_3DHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_3DHILIGHT
));
7005 PyDict_SetItemString(d
,"wxSYS_COLOUR_BTNHILIGHT", PyInt_FromLong((long) wxSYS_COLOUR_BTNHILIGHT
));
7006 PyDict_SetItemString(d
,"wxSYS_MOUSE_BUTTONS", PyInt_FromLong((long) wxSYS_MOUSE_BUTTONS
));
7007 PyDict_SetItemString(d
,"wxSYS_BORDER_X", PyInt_FromLong((long) wxSYS_BORDER_X
));
7008 PyDict_SetItemString(d
,"wxSYS_BORDER_Y", PyInt_FromLong((long) wxSYS_BORDER_Y
));
7009 PyDict_SetItemString(d
,"wxSYS_CURSOR_X", PyInt_FromLong((long) wxSYS_CURSOR_X
));
7010 PyDict_SetItemString(d
,"wxSYS_CURSOR_Y", PyInt_FromLong((long) wxSYS_CURSOR_Y
));
7011 PyDict_SetItemString(d
,"wxSYS_DCLICK_X", PyInt_FromLong((long) wxSYS_DCLICK_X
));
7012 PyDict_SetItemString(d
,"wxSYS_DCLICK_Y", PyInt_FromLong((long) wxSYS_DCLICK_Y
));
7013 PyDict_SetItemString(d
,"wxSYS_DRAG_X", PyInt_FromLong((long) wxSYS_DRAG_X
));
7014 PyDict_SetItemString(d
,"wxSYS_DRAG_Y", PyInt_FromLong((long) wxSYS_DRAG_Y
));
7015 PyDict_SetItemString(d
,"wxSYS_EDGE_X", PyInt_FromLong((long) wxSYS_EDGE_X
));
7016 PyDict_SetItemString(d
,"wxSYS_EDGE_Y", PyInt_FromLong((long) wxSYS_EDGE_Y
));
7017 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_X
));
7018 PyDict_SetItemString(d
,"wxSYS_HSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_HSCROLL_ARROW_Y
));
7019 PyDict_SetItemString(d
,"wxSYS_HTHUMB_X", PyInt_FromLong((long) wxSYS_HTHUMB_X
));
7020 PyDict_SetItemString(d
,"wxSYS_ICON_X", PyInt_FromLong((long) wxSYS_ICON_X
));
7021 PyDict_SetItemString(d
,"wxSYS_ICON_Y", PyInt_FromLong((long) wxSYS_ICON_Y
));
7022 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_X", PyInt_FromLong((long) wxSYS_ICONSPACING_X
));
7023 PyDict_SetItemString(d
,"wxSYS_ICONSPACING_Y", PyInt_FromLong((long) wxSYS_ICONSPACING_Y
));
7024 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_X", PyInt_FromLong((long) wxSYS_WINDOWMIN_X
));
7025 PyDict_SetItemString(d
,"wxSYS_WINDOWMIN_Y", PyInt_FromLong((long) wxSYS_WINDOWMIN_Y
));
7026 PyDict_SetItemString(d
,"wxSYS_SCREEN_X", PyInt_FromLong((long) wxSYS_SCREEN_X
));
7027 PyDict_SetItemString(d
,"wxSYS_SCREEN_Y", PyInt_FromLong((long) wxSYS_SCREEN_Y
));
7028 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_X", PyInt_FromLong((long) wxSYS_FRAMESIZE_X
));
7029 PyDict_SetItemString(d
,"wxSYS_FRAMESIZE_Y", PyInt_FromLong((long) wxSYS_FRAMESIZE_Y
));
7030 PyDict_SetItemString(d
,"wxSYS_SMALLICON_X", PyInt_FromLong((long) wxSYS_SMALLICON_X
));
7031 PyDict_SetItemString(d
,"wxSYS_SMALLICON_Y", PyInt_FromLong((long) wxSYS_SMALLICON_Y
));
7032 PyDict_SetItemString(d
,"wxSYS_HSCROLL_Y", PyInt_FromLong((long) wxSYS_HSCROLL_Y
));
7033 PyDict_SetItemString(d
,"wxSYS_VSCROLL_X", PyInt_FromLong((long) wxSYS_VSCROLL_X
));
7034 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_X", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_X
));
7035 PyDict_SetItemString(d
,"wxSYS_VSCROLL_ARROW_Y", PyInt_FromLong((long) wxSYS_VSCROLL_ARROW_Y
));
7036 PyDict_SetItemString(d
,"wxSYS_VTHUMB_Y", PyInt_FromLong((long) wxSYS_VTHUMB_Y
));
7037 PyDict_SetItemString(d
,"wxSYS_CAPTION_Y", PyInt_FromLong((long) wxSYS_CAPTION_Y
));
7038 PyDict_SetItemString(d
,"wxSYS_MENU_Y", PyInt_FromLong((long) wxSYS_MENU_Y
));
7039 PyDict_SetItemString(d
,"wxSYS_NETWORK_PRESENT", PyInt_FromLong((long) wxSYS_NETWORK_PRESENT
));
7040 PyDict_SetItemString(d
,"wxSYS_PENWINDOWS_PRESENT", PyInt_FromLong((long) wxSYS_PENWINDOWS_PRESENT
));
7041 PyDict_SetItemString(d
,"wxSYS_SHOW_SOUNDS", PyInt_FromLong((long) wxSYS_SHOW_SOUNDS
));
7042 PyDict_SetItemString(d
,"wxSYS_SWAP_BUTTONS", PyInt_FromLong((long) wxSYS_SWAP_BUTTONS
));
7043 PyDict_SetItemString(d
,"wxLOG_FatalError", PyInt_FromLong((long) wxLOG_FatalError
));
7044 PyDict_SetItemString(d
,"wxLOG_Error", PyInt_FromLong((long) wxLOG_Error
));
7045 PyDict_SetItemString(d
,"wxLOG_Warning", PyInt_FromLong((long) wxLOG_Warning
));
7046 PyDict_SetItemString(d
,"wxLOG_Message", PyInt_FromLong((long) wxLOG_Message
));
7047 PyDict_SetItemString(d
,"wxLOG_Info", PyInt_FromLong((long) wxLOG_Info
));
7048 PyDict_SetItemString(d
,"wxLOG_Status", PyInt_FromLong((long) wxLOG_Status
));
7049 PyDict_SetItemString(d
,"wxLOG_Debug", PyInt_FromLong((long) wxLOG_Debug
));
7050 PyDict_SetItemString(d
,"wxLOG_Trace", PyInt_FromLong((long) wxLOG_Trace
));
7051 PyDict_SetItemString(d
,"wxLOG_Progress", PyInt_FromLong((long) wxLOG_Progress
));
7052 PyDict_SetItemString(d
,"wxLOG_User", PyInt_FromLong((long) wxLOG_User
));
7055 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
7056 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);